mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-23 16:21:15 +00:00
Fix offsets
This commit is contained in:
parent
0851ecc31d
commit
5a4b5b5f32
@ -13,6 +13,8 @@ struct LegoPathEdgeContainer;
|
|||||||
struct LegoUnknown100db7f4;
|
struct LegoUnknown100db7f4;
|
||||||
class LegoWEEdge;
|
class LegoWEEdge;
|
||||||
|
|
||||||
|
extern MxLong g_unk0x100f3308;
|
||||||
|
|
||||||
// VTABLE: LEGO1 0x100d6e28
|
// VTABLE: LEGO1 0x100d6e28
|
||||||
// SIZE 0x154
|
// SIZE 0x154
|
||||||
class LegoPathActor : public LegoActor {
|
class LegoPathActor : public LegoActor {
|
||||||
|
|||||||
@ -102,7 +102,6 @@ class LegoRaceCar : public LegoCarRaceActor, public LegoRaceMap {
|
|||||||
static MxLong g_timeLastSoundPlayed;
|
static MxLong g_timeLastSoundPlayed;
|
||||||
static MxS32 g_unk0x100f0b88;
|
static MxS32 g_unk0x100f0b88;
|
||||||
static MxBool g_unk0x100f0b8c;
|
static MxBool g_unk0x100f0b8c;
|
||||||
static MxLong g_unk0x100f3308;
|
|
||||||
static Mx3DPointFloat g_vector020;
|
static Mx3DPointFloat g_vector020;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -125,11 +125,6 @@ MxS32 LegoRaceCar::g_unk0x100f0b88 = 0;
|
|||||||
// GLOBAL: BETA10 0x101f5f98
|
// GLOBAL: BETA10 0x101f5f98
|
||||||
MxBool LegoRaceCar::g_unk0x100f0b8c = TRUE;
|
MxBool LegoRaceCar::g_unk0x100f0b8c = TRUE;
|
||||||
|
|
||||||
// Not sure why the next two are so far away from the rest in address space
|
|
||||||
|
|
||||||
// GLOBAL: LEGO1 0x100f3308
|
|
||||||
MxLong LegoRaceCar::g_unk0x100f3308 = 0;
|
|
||||||
|
|
||||||
// Initialized at LEGO1 0x10012db0
|
// Initialized at LEGO1 0x10012db0
|
||||||
// GLOBAL: LEGO1 0x10102af0
|
// GLOBAL: LEGO1 0x10102af0
|
||||||
Mx3DPointFloat LegoRaceCar::g_vector020 = Mx3DPointFloat(0.0f, 2.0f, 0.0f);
|
Mx3DPointFloat LegoRaceCar::g_vector020 = Mx3DPointFloat(0.0f, 2.0f, 0.0f);
|
||||||
|
|||||||
@ -20,7 +20,7 @@ class MxTimer : public MxCore {
|
|||||||
return g_lastTimeTimerStarted;
|
return g_lastTimeTimerStarted;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
return g_lastTimeCalculated - this->m_startTime;
|
return GetTimeElapsed();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -29,7 +29,7 @@ class MxTimer : public MxCore {
|
|||||||
static MxLong GetLastTimeCalculated() { return g_lastTimeCalculated; }
|
static MxLong GetLastTimeCalculated() { return g_lastTimeCalculated; }
|
||||||
static MxLong GetLastTimeTimerStarted() { return g_lastTimeTimerStarted; }
|
static MxLong GetLastTimeTimerStarted() { return g_lastTimeTimerStarted; }
|
||||||
|
|
||||||
// FUNCTION: BETA10 0x1000f320
|
// FUNCTION: BETA10 0x10017810
|
||||||
MxLong GetTimeElapsed() { return g_lastTimeCalculated - m_startTime; }
|
MxLong GetTimeElapsed() { return g_lastTimeCalculated - m_startTime; }
|
||||||
|
|
||||||
// SYNTHETIC: LEGO1 0x100ae0d0
|
// SYNTHETIC: LEGO1 0x100ae0d0
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user