-
-
Notifications
You must be signed in to change notification settings - Fork 4
Refactor PlaybackSerialiser #203
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
ScribbleTAS
merged 79 commits into
MinecraftTAS:develop
from
ScribbleTAS:refactor/serialiser
Jul 11, 2024
Merged
Changes from all commits
Commits
Show all changes
79 commits
Select commit
Hold shift + click to select a range
36c2126
[Commands/SaveTAS] Added clickable link for opening tasfile directory
ScribbleTAS 04c8466
[PlaybackSerialiser] Added basic layout
ScribbleTAS cb132b3
[PlaybackSerialiser] Added serialisation methods to FlavorBase
ScribbleTAS 91f1ab7
[PlaybackSerialiser] Created 'BetaFlavor'
ScribbleTAS 4b14988
[PlaybackSerialiser] Added flavor registry
ScribbleTAS a1959aa
[Common] Added AbstractRegistry
ScribbleTAS ae3c1dc
Cleaned up TASmodClient
ScribbleTAS e09a4d6
[PlaybackSerialiser] Added serialise functionality
ScribbleTAS 91af4a2
[PlaybackSerialiser] Switched flavor to pass by reference
ScribbleTAS 6a7e042
[PlaybackSerialiser] Added tests for PlaybackFlavorBase
ScribbleTAS 30fcb3d
[PlaybackSerialiser] Adding start of deserialisation
ScribbleTAS e82cdbd
[PlaybackSerialiser] Added metadata deserialisation
ScribbleTAS 0601e69
[PlaybackSerialiser] Added tests for deserialising metadata
ScribbleTAS e0968e2
[PlaybackSerialiser] Refined metadata deserialisation
ScribbleTAS 69de29d
[PlaybackSerialiser] Added extract tick
ScribbleTAS b436e0e
[PlaybackSerialiser] Fixed bugs and tests in deserialisation
ScribbleTAS 7879fe1
[PlaybackSerialiser] Added splitting inputs
ScribbleTAS 6bdccd9
[PlaybackSerialiser] Added keyboard deserialisation
ScribbleTAS 5fe6ae6
[PlaybackSerialiser] Added tests for splitting inputs
ScribbleTAS a506767
[PlaybackSerialiser] Added mouse deserialisation
ScribbleTAS 7de41ca
[PlaybackSerialiser] Add camera angle deserialisation
ScribbleTAS cc618ce
[PlaybackSerialiser] Added tests for mouse, camera, numeric and float
ScribbleTAS 3a33f3b
[PlaybackSerialiser] Split container deserialisation into comments an…
ScribbleTAS f1fc94e
[PlaybackSerialiser] Added test for splittingContainer
ScribbleTAS 86b7c4a
[PlaybackSerialiser] Start rewriting playbackserialiser
ScribbleTAS a3c4faf
[PlaybackSerialiser] Finished PlaybackSerialiser, started adding tests
ScribbleTAS 16e7b4a
[PlaybackSerialiser] Renamed PlaybackFlavorBase to SerialiserFlavorBase
ScribbleTAS cd305cf
[PlaybackSerialiser] Added PlaybackExtensions
ScribbleTAS 4a46f2a
[PlaybackSerialiser] Added PlaybackExtensions to registry
ScribbleTAS 2c3d99e
[PlaybackSerialiser] Fixed tests
ScribbleTAS cf01afd
[PlaybackSerialiser] Renamed Extensions to FileCommands
ScribbleTAS 451ad0d
[PlaybackSerialiser] Added serialising inline and endline comments
ScribbleTAS d11b157
[PlaybackSerialiser] Added serialising FileCommandExtensions
ScribbleTAS 7e90b2e
[PlaybackSerialiser] Trying to figure out how to store PlaybackFileCo…
ScribbleTAS bda3d7f
[PlaybackSerialiser] Trying to figure out how to store PlaybackFileCo…
ScribbleTAS d935813
[PlaybackSerialiser] Moved parts of filecommand handling to the registry
ScribbleTAS 0060d3f
[PlaybackSerialiser] Added FileCommand deserialisation
ScribbleTAS 1f4f363
[PlaybackSerialiser] Added improved FileCommand deserialisation
ScribbleTAS 8a847c9
[PlaybackSerialiser] Fixed tests for deserialising container
ScribbleTAS 1643d51
[PlaybackSerialiser] Added test for serialising inline comments
ScribbleTAS df287a5
[PlaybackSerialiser] Added tests for serialisingComments
ScribbleTAS 06b77fc
[PlaybackSerialiser] Fixed PlaybackFileCommandContainer not being abl…
ScribbleTAS d2fdf9f
[PlaybackSerialiser] Added support for relative coord input (#184)
ScribbleTAS ccfd759
[PlaybackSerialiser] Rewrite modules, added tests
ScribbleTAS 82ed56d
[PlaybackSerialiser] Added tests for failing to extract container
ScribbleTAS 144b45f
[PlaybackSerialiser] Added PlaybackSerialiser tests
ScribbleTAS 62d85db
[PlaybackSerialiser] Fixed "equals" in TickContainer
ScribbleTAS d18ecd1
[PlaybackSerialiser] Fixed tests
ScribbleTAS 9ce00b3
[PlaybackSerialiser] Testing relative TASfile inputs
ScribbleTAS 543489f
[PlaybackSerialiser] Various fixes and improvements
ScribbleTAS e29d52b
[PlaybackSerialiser] Added tests for serialiser errors
ScribbleTAS f805a28
[PlaybackSerialiser] Added linecount to PlaybackLoadException
ScribbleTAS 1219a22
[PlaybackSerialiser] Rewrite DesyncMonitor as file command extension
ScribbleTAS 947a29c
[PlaybackSerialiser] Added PlaybackFileCommandLine for better readabi…
ScribbleTAS 2da7c94
[PlaybackSerialiser] Added options and label FileCommands
ScribbleTAS a2fdbb5
[PlaybackSerialiser] Added implementation to Beta1Flavor
ScribbleTAS efe2dfa
[PlaybackSerialiser] Hook up commands to the new serialiser
ScribbleTAS ca4d5aa
[PlaybackSerialiser] Added PlaybackSaveException
ScribbleTAS 5b8a22c
[PlaybackController] Removed deprecated fields
ScribbleTAS be1dcc1
[MCTCommon/Keybinds] Fixed custom isKeyDownFunc not being used
ScribbleTAS 3f92474
[PlaybackController] Fixed TASfile not being applied to the controller
ScribbleTAS e6f89b0
[PlaybackController] Fixed metadata getting cleared onLoad
ScribbleTAS 86c5c52
[PlaybackSerialiser] Fixed FileCommmands#onRecord() not being called
ScribbleTAS f137d43
[PlaybackSerialiser] Fixed DesyncMonitorFileCommand not being loaded
ScribbleTAS a66ef9c
[MCTCommon] Further abstracted registries
ScribbleTAS f610827
[PlaybackSerialiser] Added stopIndex to serialiser
ScribbleTAS bb8cfca
[Events] Split EvenServer and EventClient into more sub events
ScribbleTAS 4d06957
[Savestates] Added serialiser to client savestates
ScribbleTAS e0c0cfd
[PlaybackSerialiser] Added better styling for metadata
ScribbleTAS ab5f91d
Add .gitattributes file
ScribbleTAS d3a11d8
[PlaybackSerialiser] Reduced clutter
ScribbleTAS bd2e0f0
[PlaybackSerialiser] Renames PlaybackSerialiser2 to PlaybackSerialiser
ScribbleTAS 102a8a8
[PlaybackSerialiser] Starting with CommandFileCommand
ScribbleTAS d1e806e
[PlaybackSerialiser] Finished CommandFileCommand
ScribbleTAS 8af3ffb
[PlaybackSerialiser] Store enabled filecommands in the config
ScribbleTAS 6a8979a
[PlaybackSerialiser] Fixed NPE in FileCommandsRegistry config
ScribbleTAS 966bb45
[PlaybackSerialiser] Changed PlaybackMetadataExtension to abstract class
ScribbleTAS 4d12a49
Formatted files, fixed fc_label and fc_hud not resetting properly
ScribbleTAS c7a4493
[PlaybackSerialiser] Changed TASFile to TASfile for better consistency
ScribbleTAS File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
*.java diff=java | ||
*.md diff=markdown |
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
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
23 changes: 15 additions & 8 deletions
23
src/main/java/com/minecrafttas/mctcommon/LanguageManager.java
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
2 changes: 1 addition & 1 deletion
2
src/main/java/com/minecrafttas/mctcommon/events/EventClient.java
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
2 changes: 1 addition & 1 deletion
2
src/main/java/com/minecrafttas/mctcommon/events/EventServer.java
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
4 changes: 2 additions & 2 deletions
4
...s/mctcommon/server/ByteBufferBuilder.java → ...tcommon/networking/ByteBufferBuilder.java
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
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
4 changes: 2 additions & 2 deletions
4
...ctcommon/server/CompactPacketHandler.java → ...mmon/networking/CompactPacketHandler.java
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.