mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 08:24:16 +00:00
Implement LegoCarRaceActor::VTable0x70
and VTable0x1c
(#1079)
* Implement/match `LegoCarRaceActor::VTable0x70` * Add BETA10 annotations * Start with VTable0x9c, fix data type * basic BETA10 code completion * small fix * small fix * cleanup * Fix formatting * Address review comments * review comment --------- Co-authored-by: jonschz <jonschz@users.noreply.github.com>
This commit is contained in:
@@ -5,10 +5,12 @@
|
||||
#include "legorace.h"
|
||||
|
||||
// VTABLE: LEGO1 0x100d4b70
|
||||
// VTABLE: BETA10 0x101bd5f0
|
||||
// SIZE 0x2c
|
||||
class CarRaceState : public RaceState {
|
||||
public:
|
||||
// FUNCTION: LEGO1 0x1000dd30
|
||||
// FUNCTION: BETA10 0x100a9100
|
||||
const char* ClassName() const override // vtable+0x0c
|
||||
{
|
||||
// STRING: LEGO1 0x100f009c
|
||||
@@ -16,6 +18,7 @@ public:
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x1000dd40
|
||||
// FUNCTION: BETA10 0x100a9130
|
||||
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||
{
|
||||
return !strcmp(p_name, CarRaceState::ClassName()) || RaceState::IsA(p_name);
|
||||
@@ -26,12 +29,14 @@ public:
|
||||
};
|
||||
|
||||
// VTABLE: LEGO1 0x100d5e50
|
||||
// VTABLE: BETA10 0x101be290
|
||||
// SIZE 0x154
|
||||
class CarRace : public LegoRace {
|
||||
public:
|
||||
CarRace();
|
||||
|
||||
// FUNCTION: LEGO1 0x10016b20
|
||||
// FUNCTION: BETA10 0x100c9870
|
||||
const char* ClassName() const override // vtable+0x0c
|
||||
{
|
||||
// STRING: LEGO1 0x100f0528
|
||||
@@ -39,6 +44,7 @@ public:
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x10016b30
|
||||
// FUNCTION: BETA10 0x100c98a0
|
||||
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||
{
|
||||
return !strcmp(p_name, CarRace::ClassName()) || LegoRace::IsA(p_name);
|
||||
|
Reference in New Issue
Block a user