.tmcpr files are now being deleted upon starting the game

Finally fixed Replay code
Finally fixed Lighting code
This commit is contained in:
Marius Metzger
2015-04-06 16:00:08 +02:00
parent e4d282bffe
commit 66e27a97a4
10 changed files with 103 additions and 68 deletions

View File

@@ -50,8 +50,6 @@ public class ReplayHandler {
public static long lastExit = 0;
private static float gamma = 0f;
private static Entity currentEntity = null;
public static void insertPacketInstantly(Packet p) {
@@ -85,17 +83,13 @@ public class ReplayHandler {
return currentEntity == cameraEntity;
}
public static void setInitialGamma(float initial) {
gamma = initial;
}
public static float getInitialGamma() {
return gamma;
}
public static void setInPath(boolean replaying) {
inPath = replaying;
}
public static void stopHurrying() {
if(replaySender != null) replaySender.stopHurrying();
}
public static void startPath(boolean save) {
if(!ReplayHandler.isInPath()) ReplayProcess.startReplayProcess(save);