Commit Graph

68 Commits

Author SHA1 Message Date
johni0702
aa3eb463ee Add full brightness extra 2015-10-09 08:32:49 +02:00
johni0702
526ee76d4a Add Play/Pause hotkey 2015-10-04 15:44:27 +02:00
johni0702
213c16c81d Rewrite thumbnail creation 2015-10-04 15:43:19 +02:00
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
03aead65b6 Gigantic warning cleanup 2015-08-31 17:49:21 +02:00
johni0702
aee9d6b232 Rewrite authentication handling
Fix logout not working until restart
2015-08-31 16:16:22 +02:00
CrushedPixel
00b0c56935 Instead of counting all values larger than or equal 1000 as "Ambient Lighting Gamma", only count 1000 itself as "Ambient Lighting Gamma". So unless a Player manually sets his Gamma Value to 1000, the Brightness won't be reset to "Moody" anymore - before this change, every value larger than 1000 would be reset to "Moody" as well. 2015-08-18 21:19:44 +02:00
CrushedPixel
d4259c103f Added Shortcut to toggle Interpolation ('O' key) 2015-08-05 13:03:53 +02:00
CrushedPixel
7b67fb4242 Instead of ticking the world once (which updated entities and such), simply set the EntityRenderer's lightmapUpdateNeeded to true when updating Ambient Lighting
Properly handle manual Gamma changes in LightingHandler not to confuse users why their Brightness setting is being reset constantly
2015-07-24 14:35:28 +02:00
CrushedPixel
a7cf488d0b Reorder custom Replay Mod Keybindings for better display in GuiReplayOverlay 2015-07-17 01:26:11 +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
d1ffa877b0 Load download Folder from ReplayFileIO in DownloadedFileHandler
DRY code in ReplayFileIO to retreive and create directories from config
2015-07-16 14:01:46 +02:00
CrushedPixel
a58e06703c Using the DELETE Key, selected Keyframes can now be removed
Added StaticKeybindings to provide non-changeable KeyBindings
2015-07-13 22:27:14 +02:00
CrushedPixel
e26e09a264 Made GuiDraggingNumberInput fully functional
Linked GuiObjectManager to new Keybinding
Renamed RoundUtils#round to RoundUtils#round2Decimals for easier understanding
2015-07-08 12:13:23 +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
e22b37babe Created ReplayAsset interface and AssetRepository class which can contain such ReplayAssets. ReplayAssets allow users to add custom Files (so far only images, might be extended by .obj files) to the Replay which will later be used for CustomImageObjects.
Created GuiReplayManager to allow users to manage their assets.
Created BoundingUtils class to provide a simple method to fit an image into given bounds. This implementation fixes https://trello.com/c/WTnicWkJ/
2015-07-07 18:45:48 +02:00
CrushedPixel
a5eadd2d01 Created GuiEntryListEntry interface for GuiEntryList contained classes to avoid toString() methods from having to be abused
Created GuiFileChooser and according Listeners
Added (non-functional) GuiAssetAdder for CustomImageObjects
2015-07-06 13:44:50 +02:00
CrushedPixel
013d5963ff Created CustomObjectRenderer to allow for BufferedImages to be rendered at a given Position. This supports Zoom and Rotation on all 3 axes. 2015-07-06 00:28:57 +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
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
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
b0f253538c Fix crash on exit of replay (no longer processing clicks mid-rendering) and OpenGL error warnings
Remove MCTimerHandler, instead always install the ReplayTimer
2015-06-16 19:33:48 +02:00
CrushedPixel
3341b3e681 Added Keybinding to toggle Path Preview Visibility 2015-06-15 14:42:41 +02:00
johni0702
be4ee42dcb Add GuiTextArea
Reorder and add description to GuiUpload
2015-06-14 14:13:03 +02:00
CrushedPixel
d30ef19c89 Added Event Markers to Replay, which allow players to quickly mark important events while recording (M key by default)
Added Event Marker Indicators to be displayed on GuiTimeline
2015-06-09 16:08:06 +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
37dd104968 Crosshairs are visible while in Replay Viewer (to indicate a spectate-able entity) 2015-06-02 19:05:44 +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
johni0702
4c5e084edc Use UUIDs instead of entity ids for storing invisible players 2015-06-01 14:35:44 +02:00
CrushedPixel
2918e163d2 Added Eyecon as indicator that Ambient Lighting is enabled
Added ShutdownHook to Lighting Handler to prevent high Brightness Values from being saved
2015-06-01 13:57:42 +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
CrushedPixel
7eb24e19bc Removed Reflection Classes from Source entirely 2015-05-26 16:32:11 +02:00
CrushedPixel
2ecbef3641 Started implementing Spectator Hand Rendering 2015-05-25 14:18:32 +02:00
johni0702
538e95ad95 Set name of unnamed threads 2015-05-24 15:18:41 +02:00
CrushedPixel
1c9a04d1dc You can now Like/Dislike files from the Replay Center 2015-05-24 15:00:50 +02:00
CrushedPixel
cbbc50a37a Renamed "Camera Tilt" to "Camera Roll" (new naming convention!)
Changed Camera Roll to use Degree Values
Started adding Timeline Position Editing to GuiEditKeyframe
2015-05-22 17:06:36 +02:00
CrushedPixel
03e176b9ec Moved ResourceHelper to registry package
Properly used ResourceHelper.freeAllResources() in onGuiClosed instead of GuiEventHandler
2015-05-21 22:23:07 +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
4754ecc6bf Started creating GuiEditKeyframe
Therefore, added support for floating point numbers in GuiNumberInput
2015-05-20 16:40:54 +02:00
CrushedPixel
ce9e717d21 Replaced Spectate Selection GUI with Player Overview GUI, added way to hide specific players
Updated Skin File retrieving to new Mojang API

IMPORTANT: clean and rebuild the IntelliJ project, Access Transformers added!
2015-05-20 16:40:17 +02:00
CrushedPixel
f27d31dcbb Indicates current Tab in the Replay Center by deactivating the according button
Restricted Favoriting Replays to downloaded ones
2015-05-16 23:54:00 +02:00
CrushedPixel
a8cc614e91 Fixed Pagination not being updated correctly
Added GuiLoadingListEntry to Lists while in Replay Center
2015-05-16 22:10:58 +02:00
CrushedPixel
6196fa3ee9 Added "Downloaded" Tab to Replay Center to be able to open downloaded replays 2015-05-16 18:44:53 +02:00
CrushedPixel
bf03e2e05b Removed unnecessary dot from downloaded file names 2015-05-11 23:51:16 +02:00