SuccessChanges

Summary

  1. Created CustomObjectRepository which can be serialized by Gson, storing all CustomImageObjects created (details)
Commit 45f64faa774744938696d17746d72c5d495f3cd8 by CrushedPixel
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
The file was modifiedsrc/main/java/eu/crushedpixel/replaymod/gui/elements/GuiDraggingNumberInput.java
The file was modifiedsrc/main/resources/assets/replaymod/lang/en_US.lang
The file was modifiedsrc/main/java/eu/crushedpixel/replaymod/replay/ReplayHandler.java
The file was modifiedsrc/main/java/eu/crushedpixel/replaymod/utils/ReplayFile.java
The file was modifiedsrc/main/java/eu/crushedpixel/replaymod/holders/Transformations.java
The file was addedsrc/main/java/eu/crushedpixel/replaymod/assets/CustomObjectRepository.java
The file was modifiedsrc/main/java/eu/crushedpixel/replaymod/holders/Transformation.java
The file was modifiedsrc/main/java/eu/crushedpixel/replaymod/assets/ReplayImageAsset.java
The file was modifiedsrc/main/java/eu/crushedpixel/replaymod/assets/CustomImageObject.java
The file was modifiedsrc/main/java/eu/crushedpixel/replaymod/gui/GuiObjectManager.java
The file was modifiedsrc/main/java/eu/crushedpixel/replaymod/utils/RoundUtils.java
The file was addedsrc/main/java/eu/crushedpixel/replaymod/gui/elements/listeners/NumberValueChangeListener.java
The file was modifiedsrc/main/java/eu/crushedpixel/replaymod/gui/elements/GuiNumberInput.java
The file was modifiedsrc/main/java/eu/crushedpixel/replaymod/interpolation/KeyframeList.java
The file was modifiedsrc/main/java/eu/crushedpixel/replaymod/gui/elements/GuiEntryList.java
The file was modifiedsrc/main/java/eu/crushedpixel/replaymod/utils/ReplayFileIO.java
The file was modifiedsrc/main/java/eu/crushedpixel/replaymod/renderer/CustomObjectRenderer.java