Draft
Conversation
- to do: file format for splitter language, add usage to main project, test functionality
Currently only supports NWA
- moved public stuff to top of file and private stuff to bottom - added comments
- moved public stuff to the top of the file and private to the bottom - changed NWASplitter stuct to make it generic - added compare_type enum (might remove this) - added Element and MemoryEntry structs to make generic interface - added setup function for initializing memory and conditions - made client public - updated Update function for generic interface, construct arguments, build multi-byte values from little endian data - start, reset, and split helper functions updated for generic usability - addedfindInSlice, compareTypeConverter, and compare functions for generic usability
- added example usage
added autosplitter service initialization and activation
added service struct added service thread to connect, setup NWA splitter, control splitter
added read deadline
removed unneeded enum and converter function made MemoryEntry struct variables public fixed hex to int conversion and byte to int conversion added output for invalid condition lengths
service to set up config token validity checking auth code generation token generation, storage, and refreshing frontend token retreival
WebsocketManager connects to raceroom after authentication RaceList get list of available races RaceData gets data for selected races LoginWithOAuth handles authentication to racetime.gg
fixed restURL protocol added imports for go interface and buttonlist functions RaceList requests a list of races and returns json response data RaceListWindow displays list of races as interactable buttons Clicking on a button replaces the window contents with the RaceWindow contents RaceWindow opens authenticated websocket for the selected race, handles responses to messages (not everything is handled), and builds the webpage OAuth login hides the auth button and shows the race list/window button
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds Racetime.gg integration
Screenshots/GIF (if UI)
Checklist
task fmt)task test)task lint)Notes for reviewers
TODO:
Needs a second window to continue testing and callback is probably incorrect.