Commit Graph

351 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
8bd051eb27 Add metadata injection for 360 degree videos (mp4 format only)
Add com.googlecode.mp4parser:isoparser Library to build.gradle
Create inject360Metadata boolean setting in RenderOptions and added respective checkbox to GuiRenderSettings
Create MetadataInjector to inject 360 Degree Spherical Metadata into mp4 videos
2015-09-21 11:59:46 +02:00
CrushedPixel
664e788f7b Added hoverText and hoverTextColor fields to GuiAdvancedCheckBox to allow for info text to be rendered 2015-09-21 09:58:55 +02:00
CrushedPixel
7196bc03bd Rebalance the maximum and default SpectatorDataThirdPersonInfo#shoulderCamSmoothness values (+1 squashed commit)
Squashed commits:
[d1374a7] Information about the shoulder camera's position are now stored in a separate, interpolateable Object instead of directly in the SpectatorData Object
2015-09-10 19:31:07 +02:00
CrushedPixel
e00064e00c Better error output when GuiReplayViewer can't load .mcpr file to see which file can't be read 2015-09-09 17:45:41 +02:00
CrushedPixel
ed8eb318ea Changed Pitch/Yaw Offset Input fields in GuiEditKeyframe to only accept Integer values 2015-09-09 15:26:18 +02:00
CrushedPixel
030374df2a Fixed GuiNumberInput#getIntValue() returning 0 if floating point number is entered 2015-09-09 15:22:39 +02:00
CrushedPixel
eeded7a7fd Spectator Keyframe segments using Shoulder Camera are rendered in a different color on the timeline 2015-09-06 18:35:15 +02:00
CrushedPixel
ad9806ed24 Created proper GuiEditKeyframe window for Spectator Keyframes, with possibility to toggle the Spectating Method and set its values 2015-09-06 18:35:15 +02:00
CrushedPixel
78bb48b62f Added setters for Position and Size variables to GuiElement interface and implemented them 2015-09-06 18:35:15 +02:00
CrushedPixel
2f522c68fe Instead of using AdvancedPosition objects with a value for spectatedEntityID, use SpectatorData objects for Spectator Keyframes. This allows us to add more options to Spectator Keyframes. 2015-09-04 17:38:10 +02:00
CrushedPixel
9d4fdccb0f Added option to completely hide invisible entities like Armor Stands instead of them being rendered semi-transparent 2015-09-04 01:32:57 +02:00
CrushedPixel
97fad83868 Fix direct calls to drawTextBox in GuiEntryList and GuiDropdown incorrectly rendering the Gui Element. Direct calls to drawTextBox are nevertheless deprecated from now on. 2015-09-02 15:40:56 +02:00
CrushedPixel
03aead65b6 Gigantic warning cleanup 2015-08-31 17:49:21 +02:00
CrushedPixel
dd1aab16ef Fixed the probably most retarded thing one of us has ever done (and I think it wasn't me this time) - connecting Replays now works again 2015-08-31 17:48:14 +02:00
CrushedPixel
5eed7a8246 Fixed NPE when trying to open a downloaded file with an empty replay_recordings folder 2015-08-31 17:48:14 +02:00
CrushedPixel
e0259d0c5a Some general warning cleanup 2015-08-31 17:48:14 +02:00
CrushedPixel
6d7946d8a7 Properly respect expanded state of GuiDropdown in its isHovering() method 2015-08-31 17:48:14 +02:00
CrushedPixel
e1d307cfcf Only poll Mouse Wheel change if hovering over GuiDropdown/GuiEntryList to avoid multiple Elements clashing 2015-08-31 17:48:14 +02:00
CrushedPixel
635e821688 Removed unneccessary import in GuiObjectManager (yay, no warnings!) 2015-08-31 17:48:14 +02:00
johni0702
aee9d6b232 Rewrite authentication handling
Fix logout not working until restart
2015-08-31 16:16:22 +02:00
CrushedPixel
ca6cfa6b86 Increased maximum Password length from 32 to 1024 2015-08-30 21:10:48 +02:00
CrushedPixel
d31128fc11 Fix GuiReplayOverlay not resizing upon Gui Scale change (did it for you, Johni) 2015-08-22 16:35:18 +02:00
CrushedPixel
959a4c3ce1 Fixed GuiReplaySpeedSlider's Display String incorrectly resetting upon Window resize 2015-08-22 16:35:18 +02:00
CrushedPixel
605526e524 Clean up unnecessary value assignment in GuiReplaySpeedSlider Constructor, which is overridden by calling the reset() method two statements later 2015-08-22 16:35:17 +02:00
CrushedPixel
fd5e351f82 The TickAndRenderListener already handles the Keybindings, no need to do so in GuiMouseInput 2015-08-22 16:35:17 +02:00
johni0702
2053432f26 Apparently ZipFile isn't Closeable in 1.6 (it is in 1.7) even though Closeable was added in 1.5 2015-08-20 15:04:05 +02:00
johni0702
139553c15b Sort assets by name in AssetManager and ObjectManager 2015-08-19 12:22:55 +02:00
johni0702
cd19a768a1 Add option for showing chat messages 2015-08-19 12:22:55 +02:00
johni0702
dcd4cbdfaa Remove debug output (shame on me) 2015-08-19 12:22:54 +02:00
CrushedPixel
f2752f2790 Custom Objects are now being saved with Path Presets instead of globally 2015-08-16 18:30:17 +02:00
CrushedPixel
0746004421 Places new CustomImageObjects at Camera's exact instead of Block Position 2015-08-16 15:37:21 +02:00
CrushedPixel
5cb4682ad9 Deep-Copies the CustomImageObjects from the original Object List in the GuiObjectManager to prevent the dirty check when closing the GUI from failing 2015-08-16 14:52:32 +02:00
CrushedPixel
46f13a200c For some unknown reason, this combination of mc.toggleFullscreen() and the Swing File Chooser doesn't freeze the JVM on Windows when in Fullscreen 2015-08-16 12:11:06 +02:00
johni0702
8d7bc1b8d6 Fix NPE when inserting new line anywhere but at the end 2015-08-16 11:34:36 +02:00
johni0702
8630675f5c Fix IndexOutOfBoundsException in Replay Center and Viewer when disk access is very fast 2015-08-14 21:16:28 +02:00
johni0702
26d20d0f91 Add error screen when renaming a replay fails 2015-08-14 18:32:04 +02:00
johni0702
28f4356d34 Use FIFO queue for loaded replays in replay center/viewer 2015-08-14 15:16:56 +02:00
johni0702
0e5191e755 Prevent zoom from zooming out to the right of the timeline 2015-08-14 13:16:39 +02:00
johni0702
49f7e07fad Disallow creation of replays with negative duration 2015-08-13 17:56:57 +02:00
johni0702
b2e246264c Add more space for sec and ms fields in trimming gui 2015-08-13 17:22:52 +02:00
johni0702
accc6c106f Fix invalid key id crashing the game 2015-08-13 11:07:26 +02:00
johni0702
f666fc71e0 Fix concurrency issues with loading replays in replay center 2015-08-13 10:57:14 +02:00
johni0702
8f699a9140 Fix concurrency issues with loading replays in replay viewer 2015-08-13 10:56:46 +02:00
CrushedPixel
d8cd278399 Prevent NPE in GuiReplayListEntry that can occur when the API returns an invalid Thumbnail 2015-08-12 10:10:37 +02:00
CrushedPixel
59592b938a Added Disclaimer to Replay Editor indicating that bugs may occur 2015-08-11 15:15:44 +02:00
CrushedPixel
189aa18afb Prevent NPE when removing the last Element from the "Connect Replays" list 2015-08-11 15:15:43 +02:00
CrushedPixel
c9ce092ae1 Disable "Modify Replay" Button in GuiReplayEditor 2015-08-11 15:15:43 +02:00
CrushedPixel
197500857f Call fireValueChangeEvent() in GuiNumberInput when digits have been deleted 2015-08-11 13:37:27 +02:00
johni0702
4aa1ee847f Fix cancel button being of 0 height 2015-08-10 14:20:53 +02:00