Commit Graph

30 Commits

Author SHA1 Message Date
johni0702
372521f319 Add ReplayStudio as subproject
Move large parts of pathing to ReplayStudio
Upgrade to Java 8
2016-07-28 15:45:01 +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
bdd9d1da33 Replacing FileSystems call with File.getCanonicalFile in ReplayFileIO (which I should've used from the beginning) 2015-07-24 14:01:16 +02:00
CrushedPixel
4f94e41b9a Do not use Java 1.7 only File#toPath() method in ReplayFileIO#makeFolderFromPath 2015-07-24 13:26:30 +02:00
CrushedPixel
6547595318 ReplayFileIO#makeFolderFromPath removes dots (.) from file path to not confuse Windows File Systems. before: /eclipse/./replay_videos/, after: /eclipse/replay_videos/ 2015-07-23 13:11:01 +02:00
johni0702
6422558028 General warning cleanup 2015-07-19 16:21:56 +02:00
CrushedPixel
d2921eaf54 Created getNextFreeFile method in ReplayFileIO to provide the next free file with a filename like FILENAME_X.EXTENSION 2015-07-16 14:43:58 +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
66c595eb04 Marker Keyframes are now being saved in a KeyframeList in the ReplayHandler
Made MarkerKeyframes names editable in GuiEditKeyframe
Shows "Unnamed Marker" if Marker name is empty
2015-07-13 01:21:48 +02:00
CrushedPixel
f55f169d01 Removed MarkerKeyframe and replaced it with generic type of Keyframe using the new Marker POJO 2015-07-13 00:17:29 +02:00
CrushedPixel
45f64faa77 Created CustomObjectRepository which can be serialized by Gson, storing all CustomImageObjects created
CustomObjectRepository is now being saved to and loaded from the ReplayFile
The CustomObjectRenderer uses the GuiObjectManager's timeline cursor position as interpolation timestamp for the CustomImageObjects which are drawn if a GuiObjectManager is open (instant preview)
KeyframeList's add() method now removes Keyframes with the same timestamp before adding the new Keyframe
Transformations class now holds default values to prevent NullPointerExceptions in methods calling getTransformationForTimestamp()
Added Javadoc to Transformation POJO
Created NumberValueChangeListener which can be applied to GuiNumberInput objects
Made step size customizable in GuiDraggingNumberInput
Changing a ReplayImageAssets image now notifies the CustomImageObjects linked to that asset
Modified RoundUtils to provide a round() method which uses the DecimalFormat class instead of Math.round which is unstable
2015-07-12 16:21:11 +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
b2ad52d5b6 Markers are now subclasses of Keyframe
Markers can now be moved and jumped to on the Replay Timeline
2015-06-09 22:55:20 +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
johni0702
dd46027a3a Fix java 1.6 compatibility 2015-06-03 23:30:48 +02:00
CrushedPixel
6152104df3 Added Option to hide Server IP when uploading a Replay File 2015-06-03 20:33:26 +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
johni0702
37d31408bd Save resource packs to replay file and use those during replay 2015-05-29 12:16:28 +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
johni0702
136761b424 Clean up and restructure the replay sender
Add a ReplayFile class for easy reading of replay files
2015-05-11 14:15:00 +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
CrushedPixel
0003f040ed Refactored and reformatted code to use less static variables 2015-04-23 14:09:54 +02:00
Marius Metzger
ce6df4b9be Made Screenshots save as soon as the file is ready to allow compatibility with non-unix file systems
Seriously Windows, why do you have to lock the file?
2015-04-14 22:07:28 +02:00
Marius Metzger
df183cd5a6 Updated build.gradle to use local distributions of Replay Studio instead of mvn repo (which didn't work on Mac)
Made Screenshots work on Windows File Systems (only worked on UNIX before)
Dried Screenshot ZIP Code
2015-04-13 15:02:20 +02:00
Marius Metzger
352fcbde4e Freed mouse during rendering process
Made replay_recordings and replay_videos folder customizable through config file (not recommended)
2015-04-06 19:15:55 +02:00
Marius Metzger
5b859340fd Fixed two similar time keyframes not setting the Replay Speed to 0 sometimes 2015-03-31 17:50:39 +02:00
Marius Metzger
becbf47088 Reworked Camera Movement in Replay Viewer
Finally made Replay Trimming work
Fixed and dried ReplayProcess pathTick() method
2015-03-31 01:10:01 +02:00
Marius Metzger
11e26e0129 Updated build.gradle to automatically build fat jars with the dependencies in the /libs folder. This utilizes the shade.sh shell script. Use ./gradlew without explicitely invoking the build task, as this will automatically build a fat jar.
Sorry for this painful commit, but git somehow f'd up and sees changes in files where there aren't any.
2015-03-21 17:05:53 +01:00
Marius Metzger
681c8ea3e1 Pushed missing files 2015-03-10 15:29:29 +01:00