Commit Graph

325 Commits

Author SHA1 Message Date
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
CrushedPixel
40aaf7fbef When initially asked to Log in, rename "Cancel" to "Skip" button to indicate that the user doesn't have to log in in order to use the mod 2015-08-07 12:23:58 +02:00
johni0702
00fd746eb7 Remove unnecessary localization
Clean up position and size calculation
2015-08-04 23:14:31 +02:00
CrushedPixel
b32aaf5609 Initially set the GuiObjectManager's Keyframe Timeline's cursor position to the GuiReplayOverlay's Keyframe Timeline's cursor position 2015-08-04 17:26:00 +02:00
CrushedPixel
eb281b9df4 Added Disclaimer to GuiRegister telling users that registering means they agree with ReplayMod.com's Terms of Services 2015-08-02 13:56:34 +02:00
CrushedPixel
34fe741cc4 Call Minecraft#updateDisplay in VideoRenderer if not in High Performance Mode, to resize the GuiVideoRenderer if user resized screen (requested by many users)
This has no side effects on the rendered video.
Change GuiVideoRenderer#initGui method to allow for resizing
2015-07-30 12:59:54 +02:00
CrushedPixel
7e99cfeb50 Allow for spaces in Replay Names in GuiRenameReplay and use proper variable names instead of copy-pasted SrgNames 2015-07-30 11:43:18 +02:00
CrushedPixel
7bc3574515 When setting the last camera position before a time jump, a boolean has to be passed indicating whether that position should be enforced or ignored if it's out of a reasonable distance from the player's position.
This is used by the GuiMarkerTimeline to ensure that jumping to Marker Keyframes actually results in the Marker Keyframe's Position.

The actual code handling Position jumping after Time jumping was moved to the ReplayHandler and is now also called when jumping using the "Please wait" Screen.
2015-07-30 11:29:45 +02:00
CrushedPixel
8d8fa6a835 Be more reasonable in GuiKeyframeRepository with user inputs, not replacing the keyframeSetList's elements every time the Keyframe Preset's name changes and therefore not calling the Listener which set the nameInput's value every time. This leads to a smoother user experience regarding the nameInput Text Field. 2015-07-30 11:00:44 +02:00
CrushedPixel
62b2e04b85 The Camera Path Play/Pause button now tells the user where it's going to start (current cursor position or start) 2015-07-30 10:54:25 +02:00
CrushedPixel
d4e16ee07e Pressing the chat button if a GuiMouseInput is already present closes this GuiMouseInput (easier toggle between mouse and camera mode) 2015-07-29 12:24:43 +02:00
CrushedPixel
dd68b1546d The GuiRenderSettings loads their initial settings from the Replay Mod config
Upon rendering, the GuiRenderSettings saves the current RenderOptions to the Replay Mod config
2015-07-28 00:00:38 +02:00
CrushedPixel
0494b9cffe Added a setFPS() method to GuiVideoFramerateSlider to programmatically change the FPS value 2015-07-27 23:58:08 +02:00
CrushedPixel
4f69d9e22f Added hover message in GuiUploadFile to tell the user why they can't upload a File 2015-07-25 15:15:59 +02:00
CrushedPixel
caf0807e8b Only allow Alphanumerical characters and underscores when registering a new username
Use RegexUtils in GuiUploadFile
2015-07-25 14:53:03 +02:00
CrushedPixel
5427616ceb Reworked ReplayProcess to get rid of own Interpolation instances (as these can be handled by the KeyframeLists)
Camera Paths are now started from the current cursor position, using Ctrl-click the path always starts from the beginning
2015-07-25 14:11:06 +02:00
CrushedPixel
f91791ff9e Keyframes are now live edited (to allow for better fine tweaking of camera paths) 2015-07-24 18:00:01 +02:00
CrushedPixel
aae4af2062 Rework GuiVideoRenderer's Estimated Time Left to ignore the first frame (which took a long time to initialize) and be able to cope with multiple frames changing since the last update (Fast Rendering Mode) | https://trello.com/c/szQQycno/ 2015-07-24 13:09:32 +02:00
CrushedPixel
853c8a45e0 ComposedElements properly draw overlays of their underlying Elements 2015-07-23 22:41:48 +02:00
CrushedPixel
be8286ad9c Center and free the Mouse cursor whenever a GuiReplayOverlay is opened 2015-07-23 13:20:39 +02:00
CrushedPixel
eb57e7be2c Since we can't determine the file extension without parsing the actual ffmpeg arguments, we don't manually delete the destination video file when rendering but instead tell FFmpeg to overwrite this file if it already exists using the -y parameter. 2015-07-23 13:09:56 +02:00
CrushedPixel
6e9a77098a When clicking Time/Marker Keyframes, the time is now traveled with the "Please wait" screen 2015-07-22 23:13:21 +02:00
CrushedPixel
9d025cfae0 Synchronizing the Replay Timeline now respects the Speed Slider's value as a stretch factor. Shift key ignores that stretch value. 2015-07-21 23:58:56 +02:00
CrushedPixel
ff6b09dcba Adjust MARKER_DISTANCE value in GuiTimeline to avoid visual glitches 2015-07-21 03:44:33 +02:00
CrushedPixel
91399301f7 GuiReplayOverlay: The Keyframe Timeline should be zoomed in more initially
Do not reset Timeline whenever resetUI is called, only if "deep" reset
2015-07-21 03:44:11 +02:00
CrushedPixel
d3b07e6679 Do not restrict Camera Yaw Values in GuiEditKeyframe 2015-07-21 03:41:02 +02:00
CrushedPixel
585482a542 GuiArrowButton now draws from Texture instead of awful calculations 2015-07-20 02:03:01 +02:00