INNER CODE UNIT · C++
physicsDelta
camila314/gdp · GJBaseGameLayer/GJBaseGameLayer_update.cpp:89
float physicsDelta = delta / stepCount;
float physicsSecond = (delta * 60.0) / stepCount;
float warpedPhysicsDelta = (delta / m_timewarp) / stepCount;
float prevTimewarp = m_timewarp;
for (int stepIter = 0; stepIter < stepCount; ++stepIter) {
// i dont know what this is
this->m_unk342c = {0, 0, 0, 0};
m_totalTime += physicsDelta;
m_totalWarpedTime += warpedPhysicsDelta;
if (!this->m_bool_32b8)
this->m_double_32b0 += warpedPhysicsDelta;
this->updateAttemptTime(warpedPhysicsDelta);
m_player1->m_totalTime = m_totalTime;
m_player2->m_totalTime = m_totalTime;