Skip to content

Commit

Permalink
Address review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jonschz committed Sep 3, 2024
1 parent 2bfebc0 commit bd4fc75
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
5 changes: 3 additions & 2 deletions LEGO1/lego/legoomni/include/legocarbuild.h
Original file line number Diff line number Diff line change
Expand Up @@ -74,14 +74,15 @@ class LegoCarBuild : public LegoWorld {
return "LegoCarBuild";
}

MxLong Notify(MxParam& p_param) override; // vtable+0x04
MxResult Tickle() override; // vtable+0x08

// FUNCTION: LEGO1 0x10022950
MxBool IsA(const char* p_name) const override // vtable+0x10
{
return !strcmp(p_name, LegoCarBuild::ClassName()) || LegoWorld::IsA(p_name);
}

MxLong Notify(MxParam& p_param) override; // vtable+0x04
MxResult Tickle() override; // vtable+0x08
MxResult Create(MxDSAction& p_dsAction) override; // vtable+0x18
void ReadyWorld() override; // vtable+0x50
MxBool VTable0x5c() override; // vtable+0x5c
Expand Down
3 changes: 0 additions & 3 deletions LEGO1/lego/legoomni/src/build/legocarbuild.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,6 @@ void LegoCarBuild::VTable0x74(MxFloat p_param1[3], MxFloat p_param2[3])
p_param2[0] = (fVar1 * local14[0] + local20[0]) - m_unk0x2a4[0];
p_param2[1] = (fVar1 * local14[1] + local20[1]) - m_unk0x2a4[1];
p_param2[2] = 0.0;
return;
}

// FUNCTION: LEGO1 0x10023570
Expand Down Expand Up @@ -317,7 +316,6 @@ void LegoCarBuild::VTable0x80(MxFloat p_param1[2], MxFloat p_param2[2], MxFloat
// FUNCTION: BETA10 0x1006c18f
MxResult LegoCarBuild::Tickle()
{

if (!m_worldStarted) {
LegoWorld::Tickle();
return SUCCESS;
Expand Down Expand Up @@ -551,7 +549,6 @@ void LegoCarBuild::FUN_10025db0(const char* p_param1, undefined4 p_param2)
if (sVar3 != g_unk0x100f11cc) {
TogglePresentersEnabled();
g_unk0x100f11cc = sVar3;
return;
}
}
else {
Expand Down
2 changes: 1 addition & 1 deletion LEGO1/lego/legoomni/src/common/legogamestate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
#include "3dmanager/lego3dmanager.h"
#include "act2main_actions.h"
#include "act3_actions.h"
#include "assert.h"
#include "carrace_actions.h"
#include "carracer_actions.h"
#include "copter_actions.h"
Expand Down Expand Up @@ -57,6 +56,7 @@
#include "scripts.h"
#include "sndanim_actions.h"

#include <assert.h>
#include <stdio.h>

DECOMP_SIZE_ASSERT(LegoGameState::Username, 0x0e)
Expand Down

0 comments on commit bd4fc75

Please sign in to comment.