SuccessChanges

Summary

  1. Created AssetFileUtils to provide valid File Extensions for various ReplayAsset implementations. This class has to be updated if new ReplayAsset implementations are added. (details)
  2. 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. (details)
Commit 0b1d3d90013b021dd27f5c0f824b5b9ae95b00cd by CrushedPixel
Created AssetFileUtils to provide valid File Extensions for various ReplayAsset implementations. This class has to be updated if new ReplayAsset implementations are added.
The file was addedsrc/main/java/eu/crushedpixel/replaymod/assets/AssetFileUtils.java
Commit e22b37babecb01c4dcc839ad8f958cd3e0666aad by CrushedPixel
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/
The file was modifiedsrc/main/java/eu/crushedpixel/replaymod/replay/ReplayHandler.java
The file was modifiedsrc/main/resources/assets/replaymod/replay_gui.png
The file was addedsrc/main/java/eu/crushedpixel/replaymod/utils/BoundingUtils.java
The file was modifiedsrc/main/java/eu/crushedpixel/replaymod/registry/ResourceHelper.java
The file was addedsrc/main/java/eu/crushedpixel/replaymod/gui/GuiAssetManager.java
The file was modifiedsrc/main/java/eu/crushedpixel/replaymod/gui/elements/GuiFileChooser.java
The file was modifiedsrc/main/java/eu/crushedpixel/replaymod/video/frame/FrameRenderer.java
The file was addedsrc/main/java/eu/crushedpixel/replaymod/assets/AssetRepository.java
The file was modifiedsrc/main/java/eu/crushedpixel/replaymod/events/handlers/KeyInputHandler.java
The file was addedsrc/main/java/eu/crushedpixel/replaymod/assets/ReplayImageAsset.java
The file was modifiedsrc/main/java/eu/crushedpixel/replaymod/registry/KeybindRegistry.java
The file was addedsrc/main/java/eu/crushedpixel/replaymod/assets/ReplayAsset.java
The file was modifiedsrc/main/java/eu/crushedpixel/replaymod/utils/ReplayFile.java
The file was modifiedsrc/main/resources/assets/replaymod/lang/en_US.lang