mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-24 08:41:16 +00:00
fix linter issues
This commit is contained in:
parent
540969341b
commit
6c0ea3efe7
@ -3,8 +3,8 @@
|
|||||||
|
|
||||||
#include "decomp.h"
|
#include "decomp.h"
|
||||||
#include "legogamestate.h"
|
#include "legogamestate.h"
|
||||||
#include "legostate.h"
|
|
||||||
#include "legoracemap.h"
|
#include "legoracemap.h"
|
||||||
|
#include "legostate.h"
|
||||||
#include "legoworld.h"
|
#include "legoworld.h"
|
||||||
#include "mxrect32.h"
|
#include "mxrect32.h"
|
||||||
#include "mxtypes.h"
|
#include "mxtypes.h"
|
||||||
@ -125,7 +125,7 @@ class LegoRace : public LegoWorld {
|
|||||||
virtual MxLong HandleType0Notification(MxNotificationParam&) { return 0; } // vtable+0x78
|
virtual MxLong HandleType0Notification(MxNotificationParam&) { return 0; } // vtable+0x78
|
||||||
|
|
||||||
// STUB: LEGO1 0x1000dac0
|
// STUB: LEGO1 0x1000dac0
|
||||||
virtual void VTable0x7c(LegoRaceMap *, undefined4) {} // vtable+0x7c
|
virtual void VTable0x7c(LegoRaceMap*, undefined4) {} // vtable+0x7c
|
||||||
|
|
||||||
// SYNTHETIC: LEGO1 0x10015cc0
|
// SYNTHETIC: LEGO1 0x10015cc0
|
||||||
// LegoRace::`scalar deleting destructor'
|
// LegoRace::`scalar deleting destructor'
|
||||||
|
|||||||
@ -5,8 +5,8 @@
|
|||||||
#include "legoracemap.h"
|
#include "legoracemap.h"
|
||||||
|
|
||||||
struct EdgeReference {
|
struct EdgeReference {
|
||||||
char* name;
|
char* m_name;
|
||||||
LegoPathBoundary* data;
|
LegoPathBoundary* m_data;
|
||||||
};
|
};
|
||||||
|
|
||||||
// GLOBAL: LEGO1 0x100f0a20
|
// GLOBAL: LEGO1 0x100f0a20
|
||||||
|
|||||||
@ -67,10 +67,10 @@ void LegoRaceCar::ParseAction(char* p_extra)
|
|||||||
|
|
||||||
LegoAnimActor::ParseAction(p_extra);
|
LegoAnimActor::ParseAction(p_extra);
|
||||||
LegoRaceMap::ParseAction(p_extra);
|
LegoRaceMap::ParseAction(p_extra);
|
||||||
LegoRace* current_world = (LegoRace*) CurrentWorld();
|
LegoRace* currentWorld = (LegoRace*) CurrentWorld();
|
||||||
|
|
||||||
if (KeyValueStringParse(buffer, g_strCOMP, p_extra) && current_world) {
|
if (KeyValueStringParse(buffer, g_strCOMP, p_extra) && currentWorld) {
|
||||||
current_world->VTable0x7c(this, atoi(buffer));
|
currentWorld->VTable0x7c(this, atoi(buffer));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (m_userNavFlag) {
|
if (m_userNavFlag) {
|
||||||
@ -86,12 +86,12 @@ void LegoRaceCar::ParseAction(char* p_extra)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// STRING: LEGO1 0x100f0bc4
|
// STRING: LEGO1 0x100f0bc4
|
||||||
m_unk0x78 = current_world->FindPathBoundary("EDG03_44");
|
m_unk0x78 = currentWorld->FindPathBoundary("EDG03_44");
|
||||||
// STRING: LEGO1 0x100f0bb8
|
// STRING: LEGO1 0x100f0bb8
|
||||||
m_unk0x7c = current_world->FindPathBoundary("EDG03_54");
|
m_unk0x7c = currentWorld->FindPathBoundary("EDG03_54");
|
||||||
|
|
||||||
for (MxS32 j = 0; j < sizeOfArray(g_edgeReferences); j++) {
|
for (MxS32 j = 0; j < sizeOfArray(g_edgeReferences); j++) {
|
||||||
g_edgeReferences[j].data = current_world->FindPathBoundary(g_edgeReferences[j].name);
|
g_edgeReferences[j].m_data = currentWorld->FindPathBoundary(g_edgeReferences[j].m_name);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user