fix linter issues

This commit is contained in:
jonschz 2024-06-30 15:38:42 +02:00
parent 540969341b
commit 6c0ea3efe7
3 changed files with 10 additions and 10 deletions

View File

@ -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"

View File

@ -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

View File

@ -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);
} }
} }
} }