SuccessChanges

Summary

  1. Only register changes in ReplayFileAppender if something changed - this applies to GuiKeyframeRepository, GuiObjectManager, GuiPlayerOverview, GuiAssetManager (details)
  2. In GuiAssetManager, directly modify the ReplayHandler's Asset Repository instance, as ReplayImage#loadFromStream uses this instance to determine whether it has to notify Custom Image Objects about an image change (details)
Commit d45fcb8a34fac6d10f6d3a53f220b35c35877f65 by CrushedPixel
Only register changes in ReplayFileAppender if something changed - this applies to GuiKeyframeRepository, GuiObjectManager, GuiPlayerOverview, GuiAssetManager
Added equals method to ReplayImageAsset which is based on the BufferedImage's hash code (which is calculated only once)
The file was modifiedsrc/main/java/eu/crushedpixel/replaymod/gui/GuiKeyframeRepository.java
The file was addedsrc/main/java/eu/crushedpixel/replaymod/utils/BufferedImageUtils.java
The file was modifiedsrc/main/java/eu/crushedpixel/replaymod/gui/GuiAssetManager.java
The file was modifiedsrc/main/java/eu/crushedpixel/replaymod/assets/ReplayAsset.java
The file was modifiedsrc/main/java/eu/crushedpixel/replaymod/gui/GuiObjectManager.java
The file was modifiedsrc/main/java/eu/crushedpixel/replaymod/assets/ReplayImageAsset.java
The file was modifiedsrc/main/java/eu/crushedpixel/replaymod/gui/GuiPlayerOverview.java
The file was modifiedsrc/main/java/eu/crushedpixel/replaymod/assets/CustomImageObject.java
The file was modifiedsrc/main/java/eu/crushedpixel/replaymod/assets/AssetRepository.java
Commit 5b78f821165abeba224a5fb4533207d44323cf25 by CrushedPixel
In GuiAssetManager, directly modify the ReplayHandler's Asset Repository instance, as ReplayImage#loadFromStream uses this instance to determine whether it has to notify Custom Image Objects about an image change
The file was modifiedsrc/main/java/eu/crushedpixel/replaymod/gui/GuiAssetManager.java