More legoracers functions (#1067)

* Implement/match LegoRaceCar::VTable0x70

* Fix datacmp errors

* minor fix

* Fix naming issue

* Address review comments, part 1

* Address review comments, part 2

---------

Co-authored-by: jonschz <jonschz@users.noreply.github.com>
This commit is contained in:
jonschz
2024-07-18 22:20:59 +02:00
committed by GitHub
parent 210376f272
commit bc9abdc823
4 changed files with 81 additions and 8 deletions

View File

@@ -38,7 +38,7 @@ public:
override; // vtable+0x98
MxResult VTable0x9c() override; // vtable+0x9c
virtual void FUN_10080590();
virtual void FUN_10080590(float);
// FUNCTION: LEGO1 0x10012bb0
virtual void FUN_10012bb0(float p_unk0x14) { m_unk0x14 = p_unk0x14; }

View File

@@ -4,7 +4,8 @@
#include "legocarraceactor.h"
#include "legoracemap.h"
#define LEGORACECAR_UNKNOWN_STATE 0
#define LEGORACECAR_UNKNOWN_0 0
#define LEGORACECAR_UNKNOWN_1 1
#define LEGORACECAR_KICK1 2 // name guessed
#define LEGORACECAR_KICK2 4 // name validated by BETA10 0x100cb659
@@ -86,9 +87,12 @@ private:
LegoPathBoundary* m_unk0x7c; // 0x7c
static EdgeReference g_edgeReferences[];
static const SkeletonKickPhase g_skeletonKickPhases[]; // TODO: better name
static const SkeletonKickPhase g_skeletonKickPhases[];
static const char* g_strSpeedCopy;
static const char* g_srt001ra;
static const char* g_soundSkel3;
static MxS32 g_unk0x100f0b88;
static MxBool g_unk0x100f0b8c;
};
#endif // LEGORACERS_H