public TtcSimulation(TtcSaveState saveState, int startingFrame, List <int> dustFrames) { (_rng, _rngObjects) = TtcUtilities.CreateRngObjectsFromSaveState(saveState); _startingFrame = startingFrame; _currentFrame = _startingFrame; AddDustFrames(dustFrames); }
public TtcSimulation(List <int> dustFrames = null) { //set up objects _rng = new TtcRng(Config.Stream.GetUInt16(MiscConfig.RngAddress)); _rngObjects = TtcUtilities.CreateRngObjectsFromGame(_rng, dustFrames); //set up testing variables _startingFrame = MupenUtilities.GetFrameCount(); //the frame directly preceding any object initialization }
public TtcSimulation(ushort rngValue, int startingFrame, List <int> dustFrames = null) { //set up objects _rng = new TtcRng(rngValue); //initial RNG during star selection screen _rngObjects = TtcUtilities.CreateRngObjects(_rng, dustFrames); //set up testing variables _startingFrame = startingFrame; //the frame directly preceding any object initialization }
public TtcSimulation(TtcSaveState saveState) { (_rng, _rngObjects) = TtcUtilities.CreateRngObjectsFromSaveState(saveState); _startingFrame = 0; }
public TtcSaveState() : this( Config.Stream.GetUInt16(MiscConfig.RngAddress), TtcUtilities.CreateRngObjectsFromGame(new TtcRng(Config.Stream.GetUInt16(MiscConfig.RngAddress)))) { }