Commit Graph

344 Commits

Author SHA1 Message Date
CrushedPixel
c7bb053566 Only load Replay Files once in Replay Viewer to prevent the loader Thread from clashing with itself 2015-07-04 22:24:09 +02:00
CrushedPixel
434238c61d Unescapes HTML Character Entities in API calls | https://trello.com/c/Bm2Rk57m/ 2015-07-04 21:50:57 +02:00
CrushedPixel
57f094dddb Prevents duplicates from being added when resizing the Replay Viewer 2015-07-04 21:41:56 +02:00
CrushedPixel
da4857ad8e Properly resize Replay List in Replay Center when resizing the video | https://trello.com/c/AcXGDXYY/ 2015-07-04 21:41:25 +02:00
CrushedPixel
770c1da071 Only limit character count in GuiTextArea if it's positive 2015-07-04 21:40:44 +02:00
CrushedPixel
3813673ef6 Added a way to limit a GuiTextArea's maximum character count and used it in GuiUploadFile's Description Text Area
Set GuiUploadFile's Description Text Area's line and width limit to a high value for better results on the website | https://trello.com/c/YS9EyYPF/
2015-07-04 21:16:27 +02:00
CrushedPixel
0743b3e1ac Added Progress Bar and Cancel Button when downloading a Replay File from Replay Center (GuiReplayDownloading) | https://trello.com/c/1ZPhwmp8/ 2015-07-04 17:13:02 +02:00
CrushedPixel
22be6d193a Fixed https://trello.com/c/wwJ2XyGN/ | Jumping in time also moves cursor on Keyframe Timeline 2015-07-04 14:54:49 +02:00
CrushedPixel
7115805d45 Added ProgressFilter to allow for more accurate progress bar in GuiReplayEditingProcess and implemented it | https://trello.com/c/qXWxoTc1/ 2015-07-04 14:54:12 +02:00
CrushedPixel
9a30bd70d9 Only rewrites Marker Keyframes in Replay File if they actually changed | https://trello.com/c/tIRxc2lg/ 2015-07-03 13:04:39 +02:00
CrushedPixel
ab51cad1fc Resets color before drawing Eye Icon in GuiReplayOverlay | https://trello.com/c/IxHVkYQ8/ 2015-07-03 12:31:14 +02:00
CrushedPixel
d2cead161d Made GuiKeyframeRepository a lot slimmer (it's so sexy now *__*) 2015-07-03 12:25:56 +02:00
CrushedPixel
0bb335f692 Added Callback before clearing Keyframes | https://trello.com/c/ZzOk0ju1/ 2015-07-03 12:12:33 +02:00
CrushedPixel
5960632354 Added Clean Callback Setting to GuiReplaySettings 2015-07-03 11:59:27 +02:00
CrushedPixel
b1bd3de770 Added clearKeyframesCallback Replay Setting to determine whether a confirmation screen will be opened before clearing Keyframes using 'c'
Removed unused Replay Settings and removed all warnings from ReplaySettings.java
2015-07-03 11:52:39 +02:00
CrushedPixel
789dba7b50 Cleaned up ReplaySettings code (added @Override annotations, removed non-static calls to static variable) 2015-07-03 11:45:42 +02:00
CrushedPixel
a1941a8be5 Declared several variables in Method declaration final to make the code Java 1.6 compatible 2015-07-03 11:31:50 +02:00
CrushedPixel
c5924dd570 Reworked GuiKeyframeRepository, resolving https://trello.com/c/rEuxk1ls/ 2015-07-03 01:34:53 +02:00
CrushedPixel
6a3104c6bc Moved "Main Menu" Button in Replay Center to the right side because it annoyed Hudeler | https://trello.com/c/wUiKfybu/ 2015-07-03 00:26:26 +02:00
CrushedPixel
ff9e341c9a Added a way to customize the main Command | https://trello.com/c/PAFUGf6x/ 2015-07-03 00:08:19 +02:00
CrushedPixel
071a44e526 Uses ProgressUpdateListener interface in GuiUploadFile 2015-07-02 23:17:59 +02:00
CrushedPixel
8c81dd414e Added new Gui with Progress Bar when editing a Replay using the ReplayEditor | https://trello.com/c/uGFDgv6E/
Added ProgressUpdateListener interface for the use with ProgressBars
2015-07-02 23:08:09 +02:00
CrushedPixel
088bb00ab3 Fixed the GuiLoadingListEntry in the ReplayViewer List being removed at a completely wrong time | https://trello.com/c/O26k7DTC/ 2015-07-02 15:08:51 +02:00
CrushedPixel
c811c81be1 Optimized Aspect Ratio Calculation in ReplayScreenshot to replace 1280/720 with 16/9 2015-07-02 14:40:48 +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
CrushedPixel
d5007692de Opens "Please wait" GUI Screen if Replay needs to be edited by ReplayFileAppender
Added ReplayExitEvent
2015-07-02 13:24:50 +02:00
CrushedPixel
bfe721c00c Enabled Keyboard.enableRepeatEvents in GuiRenderSettings 2015-07-01 21:12:55 +02:00
CrushedPixel
dc2c199d0e Created installation scripts for Windows and Unix to automatically set the ffmpeg PATH variables 2015-07-01 15:27:20 +02:00
CrushedPixel
a189868390 Added Support for custom ffmpeg Command Line Arguments when Rendering a Video | https://trello.com/c/69CNoWuA/ 2015-07-01 13:28:41 +02:00
johni0702
c34ec09e6b Revert parts of "Finally gave up on trying to inject YouTube 360° Metadata into Videos and removed respective Checkbox in GuiRenderSettings"
This reverts parts of commit 9da89c4f07.
2015-06-30 18:17:00 +02:00
CrushedPixel
9da89c4f07 Finally gave up on trying to inject YouTube 360° Metadata into Videos and removed respective Checkbox in GuiRenderSettings 2015-06-30 18:10:33 +02:00
johni0702
8bf1731345 Fix buttons in replay settings toggling twice 2015-06-30 18:08:45 +02:00
johni0702
bd47bdeeb6 Update ReplayStudio version to fix OOM with Hypixel replays due to high number of ServerMapDataPackets 2015-06-30 17:13:50 +02:00
CrushedPixel
2ae5a95c6f RenderSettings: The Render Method Dropdown Listener calls the Y Resolution Input's moveCursorBy() Method to recalculate the aspect ratio if neccessary, resolving https://trello.com/c/unn8VGbf/ 2015-06-30 15:00:06 +02:00
CrushedPixel
45d69dff77 Created a Method to play Sounds directly from .wav files instead of using the buggy Minecraft Sound System and uses it in SoundHandler#playRenderSuccessSound(), fixing https://trello.com/c/d8hDHkc5/ 2015-06-30 14:49:07 +02:00
johni0702
38b49d8f4c Play the replay a few ticks in advance of the video to work around entity interpolation 2015-06-30 13:01:14 +02:00
CrushedPixel
7f1d0f59bc Added Bitrate Input Field for GuiRenderSettings 2015-06-30 01:33:46 +02:00
CrushedPixel
5e8bfcbc63 If rendering crashes while initializing, an Error Screen telling the user to install ffmpeg is displayed | https://trello.com/c/EDDIqP0V/ 2015-06-30 01:33:46 +02:00
johni0702
3de7394a0c Compare int and Integer using Objects.equals to prevent NPE 2015-06-29 22:28:58 +02:00
johni0702
586a9dbe1c Lombokize FileRating 2015-06-29 22:04:00 +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
johni0702
3122c0a71e Reduce object creation during rendering of path preview
Skip sqrt when comparing distances
2015-06-29 21:39:40 +02:00
CrushedPixel
540588125b Allow Camera Tilt Reset while other Keys (e.g. Movement) are pressed 2015-06-29 21:25:00 +02:00
CrushedPixel
645edbb20e Prevent ArrayIndexOutOfBoundsException when loading a newly created Camera Path by loading it from the dirty version | https://trello.com/c/WPikP6ig/ 2015-06-29 16:04:20 +02:00
CrushedPixel
e446a0cc6b Updated FileRating Holder class to fit updated get_ratings API call which now returns a boolean instead of numeric string 2015-06-29 16:02:34 +02:00
CrushedPixel
2d153a24dc Does not render Player's item/hand if Spectating a Spectator Mode Player 2015-06-29 15:45:46 +02:00
CrushedPixel
7c46259f54 Does not render Players at all if they're invisible (e.g. Spectator Mode) - resolving https://trello.com/c/Hy1NaAKu/
Does not render crosshair if hovering over invisible players
2015-06-29 15:44:01 +02:00
CrushedPixel
fb12119e5c While Recording, only insert S19PacketEntityHeadLook for recording player if value actually changed | https://trello.com/c/9MZeTBgj/ 2015-06-29 15:35:12 +02:00
CrushedPixel
f52ed6d92b Added a static helper class to determine whether an Entity can be spectated or not - this results in DRY code. While doing so, excluded mc.thePlayer from the spectateable Entities, resolving https://trello.com/c/anFRmsfM/ 2015-06-29 15:22:52 +02:00