Added Keyframe Repository, which is stored in Replay File itself and allows Camera Path Presets to be saved and loaded

This commit is contained in:
CrushedPixel
2015-05-01 23:20:16 +02:00
parent 2cccbe424a
commit e8320ebd0f
17 changed files with 525 additions and 144 deletions

View File

@@ -6,7 +6,7 @@ import eu.crushedpixel.replaymod.events.*;
import eu.crushedpixel.replaymod.localization.LocalizedResourcePack;
import eu.crushedpixel.replaymod.recording.ConnectionEventHandler;
import eu.crushedpixel.replaymod.reflection.MCPNames;
import eu.crushedpixel.replaymod.registry.FileCopyHandler;
import eu.crushedpixel.replaymod.registry.ReplayFileAppender;
import eu.crushedpixel.replaymod.registry.KeybindRegistry;
import eu.crushedpixel.replaymod.renderer.SafeEntityRenderer;
import eu.crushedpixel.replaymod.replay.ReplaySender;
@@ -62,7 +62,7 @@ public class ReplayMod {
public static KeyInputHandler keyInputHandler = new KeyInputHandler();
public static ReplaySender replaySender;
public static int TP_DISTANCE_LIMIT = 128;
public static FileCopyHandler fileCopyHandler;
public static ReplayFileAppender replayFileAppender;
private static Field defaultResourcePacksField;
static {
@@ -86,8 +86,8 @@ public class ReplayMod {
replaySettings = new ReplaySettings();
replaySettings.readValues();
fileCopyHandler = new FileCopyHandler();
fileCopyHandler.start();
replayFileAppender = new ReplayFileAppender();
replayFileAppender.start();
}
@EventHandler