Commit Graph

16 Commits

Author SHA1 Message Date
johni0702
f925d56ca2 Split mod into core, recording, replay, render[todo], paths[todo] and extras[wip] modules
Move everything to com.replaymod package
Add KeyBindingRegistry and SettingsRegistry
Recreate settings GUI with new GUI API and dynamically from SettingsRegistry
Use ReplayFile from ReplayStudio
ReplayHandler is now object oriented
Add GuiOverlay, GuiSlider and GuiTexturedButton to GUI API
Rewrite both overlays to use new GUI API
Fix size capping in vertical and horizontal layout
Allow CustomLayouts to have parents
Fix tooltip rendering when close to screen border
Allow changing of columns in GridLayout
2015-10-03 17:36:04 +02:00
CrushedPixel
ef8dccf2cb The ReplayFileAppender now saves downloaded files which were modified in the Replay Folder 2015-07-16 14:45:03 +02:00
CrushedPixel
40acb3f72d Created Method in ReplayFileAppender to queue all registed files starting with a specific string (e.g. folder name) for deletion 2015-07-07 20:12:19 +02:00
CrushedPixel
4a2c7df25f Only rewrite Replay Files once after Replay is closed, in order to prevent rewriting the Replay multiple times (e.g. if a Thumbnail gets added while viewing it and the Markers are added upon exiting). This also fixes the Windows File System not allowing the Replay Mod to delete the original .mcpr file because it thinks that it's still being edited.
Resolves https://trello.com/c/CmKfRKc0/
2015-07-02 14:40:17 +02:00
CrushedPixel
e1c19d7537 Made custom command line arguments respect placeholders like %FPS% 2015-07-02 13:25:29 +02:00
johni0702
a058497727 Fix all warnings
Add and make use of Lombok
Remove Mojang API
Remove ZipFileUtils
Remove StreamTools in favor of Apache IOUtils
Keyframe should be abstract all derivatives final
Replace clone in Keyframe with copy
Move some constants from GuiReplaySetttings to GuiConstants
2015-06-29 21:45:37 +02:00
CrushedPixel
7fed5e8d4d Since Files in ReplayFileAppender can be null (if their name entry should be removed from the ZIP), a null check was added when calling delete() 2015-06-03 02:31:28 +02:00
CrushedPixel
eef33d0229 Prevented endless loop in ReplayFileAppender 2015-06-02 23:28:55 +02:00
CrushedPixel
de78c1116e The ReplayFileAppender now changes Replay Files in one go (on Windows machines) if there is already a File to be added 2015-06-02 20:36:29 +02:00
CrushedPixel
479523d883 Fixed Race Condition which locked the user in the GuiReplaySaving caused by Minecraft opening the GUI in a delayed thread 2015-06-01 19:44:34 +02:00
CrushedPixel
e04496f74d Automatically registers GuiReplaySaving Objects in constructor to avoid forgetting them 2015-06-01 15:17:25 +02:00
CrushedPixel
87223fcc0e Whenever a Replay File is being written or modified and the user is not in-game, a GuiReplaySaving is opened and asks him to wait 2015-06-01 12:14:22 +02:00
johni0702
538e95ad95 Set name of unnamed threads 2015-05-24 15:18:41 +02:00
CrushedPixel
ee8f8567ea DRYed ReplayFileIO code to add/remove files from Replay File 2015-05-21 22:22:32 +02:00
CrushedPixel
fa187ae0e5 Added Option to save Player Visibility Settings in Replay 2015-05-20 23:56:34 +02:00
CrushedPixel
e8320ebd0f Added Keyframe Repository, which is stored in Replay File itself and allows Camera Path Presets to be saved and loaded 2015-05-01 23:20:16 +02:00