mirror of
https://github.com/darksaid98/Flashback.git
synced 2026-12-01 22:16:01 +00:00
0.3.1
This commit is contained in:
1 parent
60f19e7662
commit
fcf1b4168f
26 files changed
+489
-65
No files matched your search
@@ -72,6 +72,8 @@ public class ExportJob {
|
||||
private long encodeTimeNanos = 0;
|
||||
private long downloadTimeNanos = 0;
|
||||
|
||||
private double currentTickDouble = 0.0;
|
||||
|
||||
private double audioSamples = 0.0;
|
||||
|
||||
private final AtomicBoolean finishedServerTick = new AtomicBoolean(false);
|
||||
@@ -101,6 +103,10 @@ public class ExportJob {
|
||||
return this.settings.resolutionY() * (this.settings.ssaa() ? 2 : 1);
|
||||
}
|
||||
|
||||
public double getCurrentTickDouble() {
|
||||
return this.currentTickDouble;
|
||||
}
|
||||
|
||||
public Random getParticleRandom() {
|
||||
return this.particleRandom;
|
||||
}
|
||||
@@ -189,7 +195,7 @@ public class ExportJob {
|
||||
double lastTickDouble = 0;
|
||||
|
||||
for (int tickIndex = 0; tickIndex < ticks.size(); tickIndex++) {
|
||||
double currentTickDouble = ticks.getDouble(tickIndex);
|
||||
this.currentTickDouble = ticks.getDouble(tickIndex);
|
||||
float deltaTicksFloat = (float)(currentTickDouble - lastTickDouble);
|
||||
lastTickDouble = currentTickDouble;
|
||||
int currentTick = (int) currentTickDouble;
|
||||
|
||||
Reference in new issue
Block a user