Adjustments to "decomp" language

This commit is contained in:
Christian Semmler
2023-11-28 09:00:57 -05:00
parent 3d48cdede1
commit 1ba3b7f0a7
394 changed files with 1946 additions and 1944 deletions

View File

@@ -8,7 +8,7 @@ MxLong MxTimer::s_LastTimeCalculated = 0;
// 0x10101418
MxLong MxTimer::s_LastTimeTimerStarted = 0;
// OFFSET: LEGO1 0x100ae060
// FUNCTION: LEGO1 0x100ae060
MxTimer::MxTimer()
{
this->m_isRunning = FALSE;
@@ -17,21 +17,21 @@ MxTimer::MxTimer()
s_LastTimeCalculated = m_startTime;
}
// OFFSET: LEGO1 0x100ae140
// FUNCTION: LEGO1 0x100ae140
MxLong MxTimer::GetRealTime()
{
MxTimer::s_LastTimeCalculated = timeGetTime();
return MxTimer::s_LastTimeCalculated - this->m_startTime;
}
// OFFSET: LEGO1 0x100ae160
// FUNCTION: LEGO1 0x100ae160
void MxTimer::Start()
{
s_LastTimeTimerStarted = this->GetRealTime();
this->m_isRunning = TRUE;
}
// OFFSET: LEGO1 0x100ae180
// FUNCTION: LEGO1 0x100ae180
void MxTimer::Stop()
{
MxLong elapsed = this->GetRealTime();