Add start offset settings.
This commit is contained in:
@@ -483,8 +483,9 @@ namespace Cryville.Crtr {
|
|||||||
Game.MainLogger.Enumerate((level, module, msg) => { });
|
Game.MainLogger.Enumerate((level, module, msg) => { });
|
||||||
logs.text = "";
|
logs.text = "";
|
||||||
}
|
}
|
||||||
|
Game.AudioSequencer.SeekTime(startOffset, SeekOrigin.Current);
|
||||||
Game.AudioSequencer.Playing = true;
|
Game.AudioSequencer.Playing = true;
|
||||||
atime0 = Game.AudioClient.BufferPosition;
|
atime0 = Game.AudioClient.BufferPosition - startOffset;
|
||||||
inputProxy.SyncTime(cbus.Time);
|
inputProxy.SyncTime(cbus.Time);
|
||||||
started = true;
|
started = true;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -164,7 +164,6 @@ namespace Cryville.Crtr {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[Browsable(false)]
|
|
||||||
[Category("debug")]
|
[Category("debug")]
|
||||||
[Range(0, float.PositiveInfinity)][Step(10f)][Precision(1e-1)]
|
[Range(0, float.PositiveInfinity)][Step(10f)][Precision(1e-1)]
|
||||||
public float StartOffset {
|
public float StartOffset {
|
||||||
|
|||||||
Reference in New Issue
Block a user