MCPcopy Create free account
hub / github.com/TheForceEngine/TheForceEngine / saveInitTime

Function saveInitTime

TheForceEngine/TFE_Input/replay.cpp:169–178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

167 }
168
169 void saveInitTime()
170 {
171 inputEvents[0].curTick = TFE_DarkForces::s_curTick;
172 inputEvents[0].prevTick = TFE_DarkForces::s_prevTick;
173 inputEvents[0].deltaTime = TFE_DarkForces::s_deltaTime;
174 inputEvents[0].timeAccum = TFE_DarkForces::s_timeAccum;
175 inputEvents[0].plTick = TFE_DarkForces::s_playerTick;
176 inputEvents[0].plPrevTick = TFE_DarkForces::s_prevPlayerTick;
177 memcpy(inputEvents[0].frameTicks, TFE_DarkForces::s_frameTicks, sizeof(fixed16_16) * TFE_ARRAYSIZE(TFE_DarkForces::s_frameTicks));
178 }
179
180 void loadInitTime()
181 {

Callers 1

startRecordingFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected