Finished up some work, compiles fine. All functions are STUB annotated to not pollute reccmp.py output.

This commit is contained in:
Cydra 2023-06-27 23:25:40 +02:00
parent a19ab94388
commit daa0bf3f61
150 changed files with 4201 additions and 1015 deletions

23
LEGO1/act1state.cpp Normal file
View File

@ -0,0 +1,23 @@
#include "act1state.h"
// OFFSET: LEGO1 0x100334b0 STUB
Act1State::Act1State()
{
// TODO
}
// OFFSET: LEGO1 0x100346d0 STUB
MxBool Act1State::VTable0x18()
{
// TODO
return undefined4();
}
// OFFSET: LEGO1 0x10033ac0 STUB
undefined4 Act1State::VTable0x1c(undefined4 param)
{
// TODO
return undefined4();
}

View File

@ -1,11 +1,31 @@
#ifndef ACT1STATE_H
#define ACT1STATE_H
#include "legostate.h"
class Act1State : public LegoState
{
};
#endif // ACT1STATE_H
#ifndef ACT1STATE_H
#define ACT1STATE_H
#include "legostate.h"
#ifndef undefined4
#define undefined4 int
#endif
class Act1State : public LegoState
{
public:
Act1State();
// OFFSET: LEGO1 0x100338a0
inline virtual const char *GetClassName() const // vtable+0x0c
{
return "Act1State";
};
// OFFSET: LEGO1 0x100338b0
inline virtual MxBool IsClass(const char *name) const // vtable+0x10
{
return !strcmp(name, Act1State::GetClassName()) || LegoState::IsClass(name);
};
virtual MxBool VTable0x18();
virtual undefined4 VTable0x1c(undefined4 param);
};
#endif // ACT1STATE_H

View File

@ -1,18 +1,18 @@
#include "act2brick.h"
// OFFSET: LEGO1 0x1007a2b0
// OFFSET: LEGO1 0x1007a2b0 STUB
Act2Brick::Act2Brick()
{
// TODO
}
// OFFSET: LEGO1 0x1007a470
// OFFSET: LEGO1 0x1007a470 STUB
Act2Brick::~Act2Brick()
{
// TODO
}
// OFFSET: LEGO1 0x1007a8c0
// STUB OFFSET: LEGO1 0x1007a8c0 STUB
long Act2Brick::Notify(MxParam &p)
{
// TODO
@ -20,7 +20,7 @@ long Act2Brick::Notify(MxParam &p)
return 0;
}
// OFFSET: LEGO1 0x1007a7f0
// OFFSET: LEGO1 0x1007a7f0 STUB
long Act2Brick::Tickle()
{
// TODO

View File

@ -1,6 +1,6 @@
#include "act2policestation.h"
// OFFSET: LEGO1 0x100d53ac
// OFFSET: LEGO1 0x100d53ac STUB
long Act2PoliceStation::Notify(MxParam &p)
{
// TODO

View File

@ -1,7 +1,13 @@
#include "act3.h"
// OFFSET: LEGO1 0x10072270
Act3::Act3()
{
// TODO
}
#include "act3.h"
// OFFSET: LEGO1 0x10072270 STUB
Act3::Act3()
{
// TODO
}
// OFFSET: LEGO1 0x100726a0 STUB
Act3::~Act3()
{
// TODO
}

View File

@ -1,15 +1,16 @@
#ifndef ACT3_H
#define ACT3_H
#include "legoworld.h"
class Act3 : public LegoWorld
{
public:
Act3();
// VTABLE 0x100d9628
};
#endif // ACT3_H
#ifndef ACT3_H
#define ACT3_H
#include "legoworld.h"
class Act3 : public LegoWorld
{
public:
Act3();
virtual ~Act3();
// VTABLE 0x100d9628
};
#endif // ACT3_H

13
LEGO1/act3state.cpp Normal file
View File

@ -0,0 +1,13 @@
#include "act3state.h"
// OFFSET: LEGO1 0x10072270 STUB
Act3State::Act3State()
{
// TODO
}
// OFFSET: LEGO1 0x100d4fdc
MxBool Act3State::VTable0x14()
{
return MX_FALSE;
}

View File

@ -1,11 +1,26 @@
#ifndef ACT3STATE_H
#define ACT3STATE_H
#include "legostate.h"
class Act3State : public LegoState
{
};
#endif // ACT3STATE_H
#ifndef ACT3STATE_H
#define ACT3STATE_H
#include "legostate.h"
class Act3State : public LegoState
{
public:
Act3State();
// OFFSET: LEGO1 0x1000e300
inline virtual const char *GetClassName() const // vtable+0x0c
{
return "Act3State";
};
// OFFSET: LEGO1 0x100d4fd8
inline virtual MxBool IsClass(const char *name) const // vtable+0x10
{
return !strcmp(name, Act3State::GetClassName()) || LegoState::IsClass(name);
};
virtual MxBool VTable0x14();
};
#endif // ACT3STATE_H

View File

@ -1,7 +0,0 @@
#include "actlstate.h"
// OFFSET: LEGO1 0x100334b0
ActlState::ActlState()
{
// TODO
}

View File

@ -1,14 +0,0 @@
#ifndef ACTLSTATE_H
#define ACTLSTATE_H
#include "legostate.h"
class ActlState : public LegoState
{
public:
ActlState();
// SIZE 0x26c
};
#endif // ACTLSTATE_H

View File

@ -1,7 +1,7 @@
#include "ambulance.h"
// OFFSET: LEGO1 0x10035ee0
Ambulance::Ambulance()
{
// TODO
#include "ambulance.h"
// OFFSET: LEGO1 0x10035ee0 STUB
Ambulance::Ambulance()
{
// TODO
}

View File

@ -1,7 +1,15 @@
#include "ambulancemissionstate.h"
// OFFSET: LEGO1 0x100373a0
AmbulanceMissionState::AmbulanceMissionState()
{
// TODO
}
#include "ambulancemissionstate.h"
// OFFSET: LEGO1 0x100373a0 STUB
AmbulanceMissionState::AmbulanceMissionState()
{
// TODO
}
// OFFSET: LEGO1 0x10037440 STUB
undefined4 AmbulanceMissionState::VTable0x1c(undefined4 param)
{
// TODO
return undefined4();
}

View File

@ -1,16 +1,31 @@
#ifndef AMBULANCEMISSIONSTATE_H
#define AMBULANCEMISSIONSTATE_H
#include "legostate.h"
class AmbulanceMissionState : public LegoState
{
public:
AmbulanceMissionState();
// VTABLE 0x100d72a0
// SIZE 0x24
};
#endif // AMBULANCEMISSIONSTATE_H
#ifndef AMBULANCEMISSIONSTATE_H
#define AMBULANCEMISSIONSTATE_H
#include "legostate.h"
class AmbulanceMissionState : public LegoState
{
public:
AmbulanceMissionState();
// OFFSET: LEGO1 0x10037600
inline virtual const char *GetClassName() const // vtable+0x0c
{
// 0x100f00e8
return "AmbulanceMissionState";
};
// OFFSET: LEGO1 0x10037610
inline virtual MxBool IsClass(const char *name) const // vtable+0x10
{
return !strcmp(name, AmbulanceMissionState::GetClassName()) || LegoState::IsClass(name);
};
virtual undefined4 VTable0x1c(undefined4 param);
// VTABLE 0x100d72a0
// SIZE 0x24
};
#endif // AMBULANCEMISSIONSTATE_H

View File

@ -1,7 +1,29 @@
#include "animstate.h"
// OFFSET: LEGO1 0x10064ff0
AnimState::AnimState()
{
// TODO
}
#include "animstate.h"
// OFFSET: LEGO1 0x10064ff0 STUB
AnimState::AnimState()
{
// TODO
}
// OFFSET: LEGO1 0x10065150 STUB
AnimState::~AnimState()
{
// TODO
}
// OFFSET: LEGO1 0x100654f0 STUB
MxBool AnimState::VTable0x18()
{
// TODO
return MxBool();
}
// OFFSET: LEGO1 0x100652d0 STUB
undefined4 AnimState::VTable0x1c(undefined4 param)
{
// TODO
return undefined4();
}

View File

@ -1,15 +1,32 @@
#ifndef ANIMSTATE_H
#define ANIMSTATE_H
#include "legostate.h"
class AnimState : public LegoState
{
public:
AnimState();
// VTABLE 0x100d8d80
// SIZE 0x1c
};
#ifndef ANIMSTATE_H
#define ANIMSTATE_H
#include "legostate.h"
class AnimState : public LegoState
{
public:
AnimState();
virtual ~AnimState(); // vtable+0x0
// OFFSET: LEGO1 0x10065070
inline virtual const char *GetClassName() const // vtable+0x0c
{
// 0x100f0460
return "AnimState";
};
// OFFSET: LEGO1 0x10065080
inline virtual MxBool IsClass(const char *name) const // vtable+0x10
{
return !strcmp(name, AnimState::GetClassName()) || LegoState::IsClass(name);
};
virtual MxBool VTable0x18(); // vtable+0x18
virtual undefined4 VTable0x1c(undefined4 param); // vtable+0x1c
// VTABLE 0x100d8d80
// SIZE 0x1c
};
#endif // ANIMSTATE_H

View File

@ -1,6 +1,6 @@
#include "beachhouseentity.h"
// OFFSET: LEGO1 0x100153b0
// OFFSET: LEGO1 0x100153b0 STUB
undefined4 BeachHouseEntity::VTable0x50()
{
// TODO

View File

@ -1,19 +1,19 @@
#ifndef BEACHHOUSEENTITY_H
#define BEACHHOUSEENTITY_H
#include "buildingentity.h"
#ifndef undefined4
#define undefined4 int
#endif
class BeachHouseEntity : public BuildingEntity
{
virtual undefined4 VTable0x50(); // vtable+0x50
// VTABLE 0x100d4a18
// SIZE 0x68
};
#endif // BEACHHOUSEENTITY_H
#ifndef BEACHHOUSEENTITY_H
#define BEACHHOUSEENTITY_H
#include "buildingentity.h"
#ifndef undefined4
#define undefined4 int
#endif
class BeachHouseEntity : public BuildingEntity
{
virtual undefined4 VTable0x50(); // vtable+0x50
// VTABLE 0x100d4a18
// SIZE 0x68
};
#endif // BEACHHOUSEENTITY_H

View File

@ -1,27 +1,27 @@
#include "bike.h"
// OFFSET: LEGO1 0x10076670
Bike::Bike()
{
// TODO
}
// OFFSET: LEGO1 0x100769a0
undefined4 Bike::VTable0xcc()
{
// TODO
return 0;
}
// OFFSET: LEGO1 0x10076aa0
undefined4 Bike::VTable0xd4(undefined4 param)
{
return undefined4();
}
// OFFSET: LEGO1 0x10076920
void Bike::VTable0xe4()
{
// TODO
}
#include "bike.h"
// OFFSET: LEGO1 0x10076670 STUB
Bike::Bike()
{
// TODO
}
// OFFSET: LEGO1 0x100769a0 STUB
undefined4 Bike::VTable0xcc()
{
// TODO
return 0;
}
// OFFSET: LEGO1 0x10076aa0 STUB
undefined4 Bike::VTable0xd4(undefined4 param)
{
return undefined4();
}
// OFFSET: LEGO1 0x10076920 STUB
void Bike::VTable0xe4()
{
// TODO
}

View File

@ -1,12 +1,12 @@
#include "buildingentity.h"
// OFFSET: LEGO1 0x10014e20
// OFFSET: LEGO1 0x10014e20 STUB
BuildingEntity::BuildingEntity()
{
// TODO
}
// OFFSET: LEGO1 0x10015030
// OFFSET: LEGO1 0x10015030 STUB
BuildingEntity::~BuildingEntity()
{
// TODO

View File

@ -1,18 +1,18 @@
#include "bumpbouy.h"
// 0x100f0394
static char* g_bumpBouyString = "BumpBouy";
// OFFSET: LEGO1 0x100274e0
const char *BumpBouy::GetClassName() const
{
return g_bumpBouyString;
}
// OFFSET: LEG01 0x10027500
MxBool BumpBouy::IsClass(const char *name) const
{
// TODO
return MxBool();
}
#include "bumpbouy.h"
// 0x100f0394
static char* g_bumpBouyString = "BumpBouy";
// OFFSET: LEGO1 0x100274e0 STUB
const char *BumpBouy::GetClassName() const
{
return g_bumpBouyString;
}
// OFFSET: LEG01 0x10027500 STUB
MxBool BumpBouy::IsClass(const char *name) const
{
// TODO
return MxBool();
}

View File

@ -1,6 +1,6 @@
#include "carrace.h"
// OFFSET: LEGO1 0x10016a90
// OFFSET: LEGO1 0x10016a90 STUB
CarRace::CarRace()
{
// TODO

View File

@ -1,10 +1,23 @@
#ifndef CARRACESTATE_H
#define CARRACESTATE_H
#include "racestate.h"
class CarRaceState : public RaceState
{
};
#endif // CARRACESTATE_H
#ifndef CARRACESTATE_H
#define CARRACESTATE_H
#include "racestate.h"
class CarRaceState : public RaceState
{
public:
// OFFSET: LEGO1 0x1000dd30
inline virtual const char *GetClassName() const // vtable+0x0c
{
// 0x100f009c
return "CarRaceState";
};
// OFFSET: LEGO1 0x1000dd40
inline virtual MxBool IsClass(const char *name) const // vtable+0x10
{
return !strcmp(name, CarRaceState::GetClassName()) || RaceState::IsClass(name);
};
};
#endif // CARRACESTATE_H

View File

@ -1,7 +1,7 @@
#include "dunebuggy.h"
// OFFSET: LEGO1 0x10067bb0
DuneBuggy::DuneBuggy()
{
// TODO
#include "dunebuggy.h"
// OFFSET: LEGO1 0x10067bb0 STUB
DuneBuggy::DuneBuggy()
{
// TODO
}

View File

@ -3,19 +3,19 @@
// 0x100f04ac
static char* g_elevatorBottomClassName = "ElevatorBottom";
// OFFSET: LEGO1 0x10017e90
// OFFSET: LEGO1 0x10017e90 STUB
ElevatorBottom::ElevatorBottom()
{
// TODO
}
// OFFSET: LEGO1 0x10018060
// OFFSET: LEGO1 0x10018060 STUB
ElevatorBottom::~ElevatorBottom()
{
// TODO
}
// OFFSET: LEGO1 0x10018150
// OFFSET: LEGO1 0x10018150 STUB
long ElevatorBottom::Notify(MxParam &p)
{
// TODO
@ -23,13 +23,13 @@ long ElevatorBottom::Notify(MxParam &p)
return 0;
}
// OFFSET: LEGO1 0x10017f20
// OFFSET: LEGO1 0x10017f20 STUB
const char *ElevatorBottom::GetClassName() const
{
return g_elevatorBottomClassName;
}
// OFFSET: LEGO1 0x10017f30
// OFFSET: LEGO1 0x10017f30 STUB
MxBool ElevatorBottom::IsClass(const char *name) const
{
// TODO
@ -37,7 +37,7 @@ MxBool ElevatorBottom::IsClass(const char *name) const
return MxBool();
}
// OFFSET: LEGO1 0x10017f10
// OFFSET: LEGO1 0x10017f10 STUB
undefined4 ElevatorBottom::VTable0x5c()
{
// TODO
@ -45,7 +45,7 @@ undefined4 ElevatorBottom::VTable0x5c()
return 1;
}
// OFFSET: LEGO1 0x100182c0
// OFFSET: LEGO1 0x100182c0 STUB
void ElevatorBottom::VTable0x68(undefined1 param_1)
{
// TODO

View File

@ -1,18 +1,18 @@
#include "gasstation.h"
// OFFSET: LEGO1 0x100046a0
// OFFSET: LEGO1 0x100046a0 STUB
GasStation::GasStation()
{
// TODO
}
// OFFSET: LEGO1 0x100048c0
// OFFSET: LEGO1 0x100048c0 STUB
GasStation::~GasStation()
{
// TODO
}
// OFFSET: LEGO1 0x10004a60
// OFFSET: LEGO1 0x10004a60 STUB
long GasStation::Notify(MxParam &p)
{
// TODO
@ -20,7 +20,7 @@ long GasStation::Notify(MxParam &p)
return 0;
}
// OFFSET: LEGO1 0x10005c90
// OFFSET: LEGO1 0x10005c90 STUB
long GasStation::Tickle()
{
// TODO
@ -28,7 +28,7 @@ long GasStation::Tickle()
return 0;
}
// OFFSET: LEGO1 0x10005e70
// OFFSET: LEGO1 0x10005e70 STUB
undefined GasStation::VTable0x64(undefined4 param)
{
// TODO

View File

@ -1,9 +1,9 @@
#include "gasstationentity.h"
// OFFSET: LEGO1 0x100151d0
undefined4 GasStationEntity::VTable0x50()
{
// TODO
return 0;
#include "gasstationentity.h"
// OFFSET: LEGO1 0x100151d0 STUB
undefined4 GasStationEntity::VTable0x50()
{
// TODO
return 0;
}

View File

@ -1,7 +1,15 @@
#include "gasstationstate.h"
// OFFSET: LEGO1 0x10005eb0
GasStationState::GasStationState()
{
// TODO
}
#include "gasstationstate.h"
// OFFSET: LEGO1 0x10005eb0 STUB
GasStationState::GasStationState()
{
// TODO
}
// OFFSET: LEGO1 0x10006300 STUB
undefined4 GasStationState::VTable0x1c(undefined4 param)
{
// TODO
return undefined4();
}

View File

@ -8,6 +8,21 @@ class GasStationState : public LegoState
public:
GasStationState();
// OFFSET: LEGO1 0x100061d0
inline virtual const char *GetClassName() const // vtable+0x0c
{
// 0x100f0174
return "GasStationState";
};
// OFFSET: LEGO1 0x100061e0
inline virtual MxBool IsClass(const char *name) const // vtable+0x10
{
return !strcmp(name, GasStationState::GetClassName()) || LegoState::IsClass(name);
};
virtual undefined4 VTable0x1c(undefined4 param);
// field 0x8 is prob MxResult
// field 0xc is prob MxResult
// field 0x10 is prob MxResult

View File

@ -1,42 +1,42 @@
#include "helicopter.h"
// 0x100f0130
static char* g_helicopterClassName = "Helicopter";
// OFFSET: LEGO1 0x10001e60
Helicopter::Helicopter()
{
// TODO
}
// OFFSET: LEGO1 0x10003230
Helicopter::~Helicopter()
{
// TODO
}
// OFFSET: LEGO1 0x10003070
const char *Helicopter::GetClassName() const
{
return g_helicopterClassName;
}
// OFFSET: LEGO1 0x10003080
MxBool Helicopter::IsClass(const char *name) const
{
// TODO
return MxBool();
}
// OFFSET: LEGO1 0x10003ee0
void Helicopter::VTable0x70(float param_1)
{
// TODO
}
// OFFSET:LEGO1 0x10003360
void Helicopter::VTable0xe4()
{
// TODO
}
#include "helicopter.h"
// 0x100f0130
static char* g_helicopterClassName = "Helicopter";
// OFFSET: LEGO1 0x10001e60 STUB
Helicopter::Helicopter()
{
// TODO
}
// OFFSET: LEGO1 0x10003230 STUB
Helicopter::~Helicopter()
{
// TODO
}
// OFFSET: LEGO1 0x10003070 STUB
const char *Helicopter::GetClassName() const
{
return g_helicopterClassName;
}
// OFFSET: LEGO1 0x10003080 STUB
MxBool Helicopter::IsClass(const char *name) const
{
// TODO
return MxBool();
}
// OFFSET: LEGO1 0x10003ee0 STUB
void Helicopter::VTable0x70(float param_1)
{
// TODO
}
// OFFSET:LEGO1 0x10003360 STUB
void Helicopter::VTable0xe4()
{
// TODO
}

13
LEGO1/helicopterstate.cpp Normal file
View File

@ -0,0 +1,13 @@
#include "helicopterstate.h"
// OFFSET: LEGO1 0x1000e0b0
MxBool HelicopterState::VTable0x14()
{
return MX_FALSE;
}
// OFFSET: LEGO1 0x1000e0c0 STUB
MxBool HelicopterState::VTable0x18()
{
return MX_TRUE;
}

View File

@ -5,6 +5,22 @@
class HelicopterState : public LegoState
{
public:
// OFFSET: LEGO1 0x1000e0d0
inline virtual const char *GetClassName() const // vtable+0x0c
{
// 0x100f0144
return "HelicopterState";
};
// OFFSET: LEGO1 0x100d5428
inline virtual MxBool IsClass(const char *name) const // vtable+0x10
{
return !strcmp(name, HelicopterState::GetClassName()) || LegoState::IsClass(name);
};
virtual MxBool VTable0x14();
virtual MxBool VTable0x18();
};
#endif // HELICOPTERSTATE_H
#endif // HELICOPTERSTATE_H

View File

@ -1,18 +1,18 @@
#include "historybook.h"
// OFFSET: LEGO1 0x100822f0
// OFFSET: LEGO1 0x100822f0 STUB
HistoryBook::HistoryBook()
{
// TODO
}
// OFFSET: LEGO1 0x100824d0
// OFFSET: LEGO1 0x100824d0 STUB
HistoryBook::~HistoryBook()
{
// TODO
}
// OFFSET: LEGO1 0x10082680
// OFFSET: LEGO1 0x10082680 STUB
long HistoryBook::Notify(MxParam &p)
{
// TODO

View File

@ -1,27 +1,27 @@
#include "hospital.h"
// OFFSET: LEGO1 0x100745e0
Hospital::Hospital()
{
// TODO
}
// OFFSET: LEGO1 0x100747f0
Hospital::~Hospital()
{
// TODO
}
// OFFSET: LEGO1 0x10074990
long Hospital::Notify(MxParam &p)
{
// TODO
return 0;
}
// OFFSET: LEGO1 0x10076220
void Hospital::VTable0x68(char param_1)
{
// TODO
}
#include "hospital.h"
// OFFSET: LEGO1 0x100745e0 STUB
Hospital::Hospital()
{
// TODO
}
// OFFSET: LEGO1 0x100747f0 STUB
Hospital::~Hospital()
{
// TODO
}
// OFFSET: LEGO1 0x10074990 STUB
long Hospital::Notify(MxParam &p)
{
// TODO
return 0;
}
// OFFSET: LEGO1 0x10076220 STUB
void Hospital::VTable0x68(char param_1)
{
// TODO
}

View File

@ -1,9 +1,9 @@
#include "hospitalentity.h"
// OFFSET: LEGO1 0x10015270
undefined4 HospitalEntity::VTable0x50()
{
// TODO
return undefined4();
#include "hospitalentity.h"
// OFFSET: LEGO1 0x10015270 STUB
undefined4 HospitalEntity::VTable0x50()
{
// TODO
return undefined4();
}

View File

@ -1,7 +1,15 @@
#include "hospitalstate.h"
// OFFSET: LEGO1 0x10076370
HospitalState::HospitalState()
{
// TODO
}
#include "hospitalstate.h"
// OFFSET: LEGO1 0x10076370 STUB
HospitalState::HospitalState()
{
// TODO
}
// OFFSET: LEGO1 0x10076530 STUB
undefined4 HospitalState::VTable0x1c(undefined4 param)
{
// TODO
return undefined4();
}

View File

@ -1,15 +1,30 @@
#ifndef HOSPITALSTATE_H
#define HOSPITALSTATE_H
#include "legostate.h"
class HospitalState : public LegoState
{
public:
HospitalState();
// VTABLE 0x100d97a0
// SIZE 0x18
};
#endif // HOSPITALSTATE_H
#ifndef HOSPITALSTATE_H
#define HOSPITALSTATE_H
#include "legostate.h"
class HospitalState : public LegoState
{
public:
HospitalState();
// OFFSET: LEGO1 0x10076400
inline virtual const char *GetClassName() const // vtable+0x0c
{
// 0x100f0480
return "HospitalState";
};
// OFFSET: LEGO1 0x10076410
inline virtual MxBool IsClass(const char *name) const // vtable+0x10
{
return !strcmp(name, HospitalState::GetClassName()) || LegoState::IsClass(name);
};
virtual undefined4 VTable0x1c(undefined4 param);
// VTABLE 0x100d97a0
// SIZE 0x18
};
#endif // HOSPITALSTATE_H

View File

@ -1,18 +1,18 @@
#include "infocenter.h"
// OFFSET: LEGO1 0x1006ea20
// OFFSET: LEGO1 0x1006ea20 STUB
InfoCenter::InfoCenter()
{
// TODO
}
// OFFSET: LEGO1 0x1006ec90
// OFFSET: LEGO1 0x1006ec90 STUB
InfoCenter::~InfoCenter()
{
// TODO
}
// OFFSET: LEGO1 0x1006ef10
// OFFSET: LEGO1 0x1006ef10 STUB
long InfoCenter::Notify(MxParam &p)
{
// TODO
@ -20,7 +20,7 @@ long InfoCenter::Notify(MxParam &p)
return 0;
}
// OFFSET: LEGO1 0x10070af0
// OFFSET: LEGO1 0x10070af0 STUB
long InfoCenter::Tickle()
{
// TODO

View File

@ -1,18 +1,18 @@
#include "infocenterdoor.h"
// OFFSET: LEGO1 0x10037730
// OFFSET: LEGO1 0x10037730 STUB
InfoCenterDoor::InfoCenterDoor()
{
// TODO
}
// OFFSET: LEGO1 0x100378f0
// OFFSET: LEGO1 0x100378f0 STUB
InfoCenterDoor::~InfoCenterDoor()
{
// TODO
}
// OFFSET: LEGO1 0x100379e0
// OFFSET: LEGO1 0x100379e0 STUB
long InfoCenterDoor::Notify(MxParam &p)
{
// TODO

View File

@ -1,9 +1,9 @@
#include "infocenterentity.h"
// OFFSET: LEGO1 0x100150c0
undefined4 InfoCenterEntity::VTable0x50()
{
// TODO
return undefined4();
#include "infocenterentity.h"
// OFFSET: LEGO1 0x100150c0 STUB
undefined4 InfoCenterEntity::VTable0x50()
{
// TODO
return undefined4();
}

View File

@ -1,7 +1,19 @@
#include "infocenterstate.h"
// OFFSET: LEGO1 0x10071600
InfoCenterState::InfoCenterState()
{
// TODO
}
#include "infocenterstate.h"
// OFFSET: LEGO1 0x10071600 STUB
InfoCenterState::InfoCenterState()
{
// TODO
}
// OFFSET: LEGO1 0x10071920 STUB
InfoCenterState::~InfoCenterState()
{
// TODO
}
// OFFSET: LEGO1 0x10071830
MxBool InfoCenterState::VTable0x14()
{
return MX_FALSE;
}

View File

@ -1,15 +1,31 @@
#ifndef INFOCENTERSTATE_H
#define INFOCENTERSTATE_H
#include "legostate.h"
class InfoCenterState : public LegoState
{
public:
InfoCenterState();
// VTABLE 0x100d93a8
// SIZE 0x94
};
#ifndef INFOCENTERSTATE_H
#define INFOCENTERSTATE_H
#include "legostate.h"
class InfoCenterState : public LegoState
{
public:
InfoCenterState();
virtual ~InfoCenterState();
// OFFSET: LEGO1 0x10071840
inline virtual const char *GetClassName() const // vtable+0x0c
{
// 0x100f04dc
return "InfoCenterState";
};
// OFFSET: LEGO1 0x10071850
inline virtual MxBool IsClass(const char *name) const // vtable+0x10
{
return !strcmp(name, InfoCenterState::GetClassName()) || LegoState::IsClass(name);
};
virtual MxBool VTable0x14();
// VTABLE 0x100d93a8
// SIZE 0x94
};
#endif // INFOCENTERSTATE_H

View File

@ -1,18 +1,18 @@
#include "isle.h"
// OFFSET: LEGO1 0x10030820
// OFFSET: LEGO1 0x10030820 STUB
Isle::Isle()
{
// TODO
}
// OFFSET: LEGO1 0x10030fc0
// OFFSET: LEGO1 0x10030fc0 STUB
void Isle::VTable0x50()
{
// TODO
}
// OFFSET: LEGO1 0x10033180
// OFFSET: LEGO1 0x10033180 STUB
undefined4 Isle::VTable0x64()
{
// TODO
@ -20,7 +20,7 @@ undefined4 Isle::VTable0x64()
return undefined4();
}
// OFFSET: LEGO1 0x10033050
// OFFSET: LEGO1 0x10033050 STUB
void Isle::VTable0x6c(int *param)
{
// TODO

View File

@ -3,7 +3,7 @@
// 0x100f07dc
static char* g_isleActorClassName = "IsleActor";
// OFFSET: LEGO1 0x100d5178
// OFFSET: LEGO1 0x100d5178 STUB
long IsleActor::Notify(MxParam &p)
{
// TODO
@ -11,13 +11,13 @@ long IsleActor::Notify(MxParam &p)
return 0;
}
// OFFSET: LEGO1 0x1000e660
// OFFSET: LEGO1 0x1000e660 STUB
const char *IsleActor::GetClassName() const
{
return g_isleActorClassName;
}
// OFFSET: LEGO1 0x1000e670
// OFFSET: LEGO1 0x1000e670 STUB
MxBool IsleActor::IsClass(const char *name) const
{
// TODO

View File

@ -1,12 +1,12 @@
#include "islepathactor.h"
// OFFSET: LEGO1 0x10001e60
// OFFSET: LEGO1 0x10001e60 STUB
IslePathActor::IslePathActor()
{
// TODO
}
// OFFSET: LEGO1 0x1001a2a0
// OFFSET: LEGO1 0x1001a2a0 STUB
void IslePathActor::Destroy()
{
// LegoEntity::Destroy(this);
@ -14,7 +14,7 @@ void IslePathActor::Destroy()
// TODO
}
// OFFSET: LEGO1 0x1001b5b0
// OFFSET: LEGO1 0x1001b5b0 STUB
void IslePathActor::VTable0xec(undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, void *, char)
{
// TODO

View File

@ -1,7 +1,7 @@
#include "jetski.h"
// OFFSET: LEGO1 0x1007e3b0
Jetski::Jetski()
{
// TODO
#include "jetski.h"
// OFFSET: LEGO1 0x1007e3b0 STUB
Jetski::Jetski()
{
// TODO
}

View File

@ -1,15 +1,15 @@
#include "jetskiRace.h"
// OFFSET: LEGO1 0x10015aa0
JetskiRace::JetskiRace()
{
// TODO
}
// OFFSET: LEGO1 0x100166a0
undefined4 JetskiRace::VTable0x70(int param_1)
{
// TODO
return undefined4();
}
#include "jetskiRace.h"
// OFFSET: LEGO1 0x10015aa0 STUB
JetskiRace::JetskiRace()
{
// TODO
}
// OFFSET: LEGO1 0x100166a0 STUB
undefined4 JetskiRace::VTable0x70(int param_1)
{
// TODO
return undefined4();
}

View File

@ -5,6 +5,20 @@
class JetskiRaceState : public RaceState
{
public:
// OFFSET: LEGO1 0x1000dc40
inline virtual const char *GetClassName() const // vtable+0x0c
{
// 0x100f00ac
return "JetskiRaceState";
};
// OFFSET: LEGO1 0x1000dc50
inline virtual MxBool IsClass(const char *name) const // vtable+0x10
{
return !strcmp(name, JetskiRaceState::GetClassName()) || RaceState::IsClass(name);
};
// VTABLE 0x100d4fa8
// SIZE 0x2c
};

View File

@ -1,6 +1,6 @@
#include "jukebox.h"
// OFFSET: LEGO1 0x1005d660
// OFFSET: LEGO1 0x1005d660 STUB
JukeBox::JukeBox()
{
// TODO

View File

@ -1,13 +1,13 @@
#include "jukeboxentity.h"
// OFFSET: LEGO1 0x10085bc0
JukeBoxEntity::JukeBoxEntity()
{
// TODO
}
// OFFSET: LEGO1 0x10085dd0
JukeBoxEntity::~JukeBoxEntity()
{
// TODO
}
#include "jukeboxentity.h"
// OFFSET: LEGO1 0x10085bc0 STUB
JukeBoxEntity::JukeBoxEntity()
{
// TODO
}
// OFFSET: LEGO1 0x10085dd0 STUB
JukeBoxEntity::~JukeBoxEntity()
{
// TODO
}

7
LEGO1/jukeboxstate.cpp Normal file
View File

@ -0,0 +1,7 @@
#include "jukeboxstate.h"
// OFFSET: LEGO1 0x1000f300
MxBool JukeBoxState::VTable0x14()
{
return MX_FALSE;
}

View File

@ -1,11 +1,28 @@
#ifndef JUKEBOXSTATE_H
#define JUKEBOXSTATE_H
#include "legostate.h"
class JukeBoxState : public LegoState
{
// SIZE 0x10
};
#ifndef JUKEBOXSTATE_H
#define JUKEBOXSTATE_H
#include "legostate.h"
class JukeBoxState : public LegoState
{
public:
// OFFSET: LEGO1 0x1000f310
inline virtual const char *GetClassName() const // vtable+0x0c
{
// 0x100f02bc
return "JukeBoxState";
};
// OFFSET: LEGO1 0x1000f320
inline virtual MxBool IsClass(const char *name) const // vtable+0x10
{
return !strcmp(name, JukeBoxState::GetClassName()) || LegoState::IsClass(name);
};
virtual MxBool VTable0x14();
// VTABLE 0x100d4a90
// SIZE 0x10
};
#endif // JUKEBOXSTATE_H

7
LEGO1/legoact2state.cpp Normal file
View File

@ -0,0 +1,7 @@
#include "legoact2state.h"
// OFFSET: LEGO1 0x1000df70
MxBool LegoAct2State::VTable0x14()
{
return MX_FALSE;
}

View File

@ -1,11 +1,27 @@
#ifndef LEGOACT2STATE_H
#define LEGOACT2STATE_H
#include "legostate.h"
class LegoAct2State : public LegoState
{
// SIZE 0x10
};
#endif // LEGOACT2STATE_H
#ifndef LEGOACT2STATE_H
#define LEGOACT2STATE_H
#include "legostate.h"
class LegoAct2State : public LegoState
{
public:
// OFFSET: LEGO1 0x1000df80
inline virtual const char *GetClassName() const // vtable+0x0c
{
// 0x100f0428
return "LegoAct2State";
};
// OFFSET: LEGO1 0x1000df90
inline virtual MxBool IsClass(const char *name) const // vtable+0x10
{
return !strcmp(name, LegoAct2State::GetClassName()) || LegoState::IsClass(name);
};
virtual MxBool VTable0x14();
// SIZE 0x10
};
#endif // LEGOACT2STATE_H

View File

@ -1,7 +1,7 @@
#include "legoactioncontrolpresenter.h"
// OFFSET: LEGO1 0x10043e20
void LegoActionControlPresenter::VTable0x5c(char param)
{
// TODO
#include "legoactioncontrolpresenter.h"
// OFFSET: LEGO1 0x10043e20 STUB
void LegoActionControlPresenter::VTable0x5c(char param)
{
// TODO
}

View File

@ -1,24 +1,24 @@
#include "legoanimactor.h"
// 0x100f057c
static char* g_legoAnimActorClassName = "LegoAnimActor";
// OFFSET: LEGO1 0x1000fb90
const char* GetClassNameInternal()
{
return g_legoAnimActorClassName;
}
// OFFSET: LEGO1 0x1000fb90
const char *LegoAnimActor::GetClassName() const
{
return GetClassNameInternal();
}
// OFFSET: LEGO1 0x1000fbb0
MxBool LegoAnimActor::IsClass(const char *name) const
{
// TODO
return MxBool();
}
#include "legoanimactor.h"
// 0x100f057c
static char* g_legoAnimActorClassName = "LegoAnimActor";
// OFFSET: LEGO1 0x1000fb90 STUB
const char* GetClassNameInternal()
{
return g_legoAnimActorClassName;
}
// OFFSET: LEGO1 0x1000fb90 STUB
const char *LegoAnimActor::GetClassName() const
{
return GetClassNameInternal();
}
// OFFSET: LEGO1 0x1000fbb0 STUB
MxBool LegoAnimActor::IsClass(const char *name) const
{
// TODO
return MxBool();
}

View File

@ -1,17 +1,17 @@
#include "legoanimationmanager.h"
// OFFSET: LEGO1 0x1005eb60
// OFFSET: LEGO1 0x1005eb60 STUB
LegoAnimationManager::LegoAnimationManager()
{
}
// OFFSET: LEGO1 0x1005ed30
// OFFSET: LEGO1 0x1005ed30 STUB
LegoAnimationManager::~LegoAnimationManager()
{
// TODO
}
// OFFSET: LEGO1 0x100619f0
// OFFSET: LEGO1 0x100619f0 STUB
long LegoAnimationManager::Notify(MxParam &p)
{
// TODO
@ -19,7 +19,7 @@ long LegoAnimationManager::Notify(MxParam &p)
return 0;
}
// OFFSET: LEGO1 0x10061cc0
// OFFSET: LEGO1 0x10061cc0 STUB
long LegoAnimationManager::Tickle()
{
// TODO
@ -27,7 +27,8 @@ long LegoAnimationManager::Tickle()
return 0;
}
// OFFSET: LEGO1 0x1005f130
// OFFSET: LEGO1 0x1005f130 STUB
void LegoAnimationManager::Init()
{
// TODO
}

View File

@ -1,7 +1,7 @@
#include "legoanimmmpresenter.h"
// OFFSET: LEGO1 0x1004a8d0
LegoAnimMMPresenter::LegoAnimMMPresenter()
{
// TODO
#include "legoanimmmpresenter.h"
// OFFSET: LEGO1 0x1004a8d0 STUB
LegoAnimMMPresenter::LegoAnimMMPresenter()
{
// TODO
}

View File

@ -1,13 +1,13 @@
#include "legoanimpresenter.h"
// OFFSET: LEGO1 0x10068420
LegoAnimPresenter::LegoAnimPresenter()
{
// TODO
}
// OFFSET: LEGO1 0x100686f0
void LegoAnimPresenter::Init()
{
// TODO
}
#include "legoanimpresenter.h"
// OFFSET: LEGO1 0x10068420 STUB
LegoAnimPresenter::LegoAnimPresenter()
{
// TODO
}
// OFFSET: LEGO1 0x100686f0 STUB
void LegoAnimPresenter::Init()
{
// TODO
}

View File

@ -1,17 +1,18 @@
#include "legobuildingmanager.h"
// OFFSET: LEGO1 0x1002f8c0
LegoBuildingManager::LegoBuildingManager()
{
}
// OFFSET: LEGO1 0x10030150
void LegoBuildingManager::UnknownFunction(int param_1, int param_2, char param_3, LegoBuildingManager *param_4)
{
// TODO
}
// OFFSET: LEGO1 0x1002f9d0
void LegoBuildingManager::Init()
{
}
#include "legobuildingmanager.h"
// OFFSET: LEGO1 0x1002f8c0 STUB
LegoBuildingManager::LegoBuildingManager()
{
}
// OFFSET: LEGO1 0x10030150 STUB
void LegoBuildingManager::UnknownFunction(int param_1, int param_2, char param_3, LegoBuildingManager *param_4)
{
// TODO
}
// OFFSET: LEGO1 0x1002f9d0 STUB
void LegoBuildingManager::Init()
{
// TODO
}

View File

@ -1,25 +1,25 @@
#include "legocachesound.h"
// OFFSET: LEGO1 0x100064d0
LegoCacheSound::LegoCacheSound()
{
// TODO
}
// OFFSET: LEGO1 0x10006630
LegoCacheSound::~LegoCacheSound()
{
// TODO
}
// OFFSET: LEGO1 0x10006920
void LegoCacheSound::VTable0x18()
{
// TODO
}
// OFFSET: LEGO1 0x100066d0
void LegoCacheSound::Init()
{
// TODO
}
#include "legocachesound.h"
// OFFSET: LEGO1 0x100064d0 STUB
LegoCacheSound::LegoCacheSound()
{
// TODO
}
// OFFSET: LEGO1 0x10006630 STUB
LegoCacheSound::~LegoCacheSound()
{
// TODO
}
// OFFSET: LEGO1 0x10006920 STUB
void LegoCacheSound::VTable0x18()
{
// TODO
}
// OFFSET: LEGO1 0x100066d0 STUB
void LegoCacheSound::Init()
{
// TODO
}

View File

@ -1,13 +1,13 @@
#include "legocameracontroller.h"
// OFFSET: LEGO1 0x10011f70
LegoCameraController::~LegoCameraController()
{
// TODO
}
// OFFSET: LEGO1 0x10011ff0
void LegoCameraController::VTable0x44()
{
// TODO
}
#include "legocameracontroller.h"
// OFFSET: LEGO1 0x10011f70 STUB
LegoCameraController::~LegoCameraController()
{
// TODO
}
// OFFSET: LEGO1 0x10011ff0 STUB
void LegoCameraController::VTable0x44()
{
// TODO
}

View File

@ -1,18 +1,18 @@
#include "legocarbuild.h"
// OFFSET: LEGO1 0x100226d0
// OFFSET: LEGO1 0x100226d0 STUB
LegoCarBuild::LegoCarBuild()
{
// TODO
}
// OFFSET: LEGO1 0x10022a80
// OFFSET: LEGO1 0x10022a80 STUB
LegoCarBuild::~LegoCarBuild()
{
// TODO
}
// OFFSET: LEGO1 0x10024050
// OFFSET: LEGO1 0x10024050 STUB
long LegoCarBuild::Notify(MxParam &p)
{
// TODO
@ -20,7 +20,7 @@ long LegoCarBuild::Notify(MxParam &p)
return 0;
}
// OFFSET: LEGO1 0x100238b0
// OFFSET: LEGO1 0x100238b0 STUB
long LegoCarBuild::Tickle()
{
// TODO
@ -28,7 +28,7 @@ long LegoCarBuild::Tickle()
return 0;
}
// OFFSET: LEGO1 0x10025e70
// OFFSET: LEGO1 0x10025e70 STUB
undefined4 LegoCarBuild::VTable0x64()
{
// TODO
@ -36,31 +36,31 @@ undefined4 LegoCarBuild::VTable0x64()
return undefined4();
}
// OFFSET: LEGO1 0x100256c0
// OFFSET: LEGO1 0x100256c0 STUB
void LegoCarBuild::VTable0x68(char param_1)
{
// TODO
}
// OFFSET: LEGO1 0x10022fc0
// OFFSET: LEGO1 0x10022fc0 STUB
void LegoCarBuild::VTable0x6c()
{
// TODO
}
// OFFSET: LEGO1 0x10023500
// OFFSET: LEGO1 0x10023500 STUB
void LegoCarBuild::VTable0x74(float *param_1, float *param_2)
{
// TODO
}
// OFFSET: LEGO1 0x10023570
// OFFSET: LEGO1 0x10023570 STUB
void LegoCarBuild::VTable0x78(float *param_1, float *param_2)
{
// TODO
}
// OFFSET: LEGO1 0x10023620
// OFFSET: LEGO1 0x10023620 STUB
void LegoCarBuild::VTable0x7c(float *param_1, float *param_2)
{
// TODO

View File

@ -1,13 +1,13 @@
#include "legocarbuildanimpresenter.h"
// OFFSET: LEGO1 0x10078400
LegoCarBuildAnimPresenter::LegoCarBuildAnimPresenter()
{
// TODO
}
// OFFSET: LEGO1 0x10078680
LegoCarBuildAnimPresenter::~LegoCarBuildAnimPresenter()
{
// TODO
}
#include "legocarbuildanimpresenter.h"
// OFFSET: LEGO1 0x10078400 STUB
LegoCarBuildAnimPresenter::LegoCarBuildAnimPresenter()
{
// TODO
}
// OFFSET: LEGO1 0x10078680 STUB
LegoCarBuildAnimPresenter::~LegoCarBuildAnimPresenter()
{
// TODO
}

View File

@ -3,13 +3,13 @@
// 0x100f31b8
static char* g_legoControlManagerClassName = "LegoControlManager";
// OFFSET: LEGO1 0x10028d60
// OFFSET: LEGO1 0x10028d60 STUB
LegoControlManager::~LegoControlManager()
{
// TODO
}
// OFFSET: LEGO1 0x10029600
// OFFSET: LEGO1 0x10029600 STUB
long LegoControlManager::Tickle()
{
// TODO
@ -17,13 +17,13 @@ long LegoControlManager::Tickle()
return 0;
}
// OFFSET: LEGO1 0x10028cb0
// OFFSET: LEGO1 0x10028cb0 STUB
const char *LegoControlManager::GetClassName() const
{
return g_legoControlManagerClassName;
}
// OFFSET: LEGO1 0x10028cc0
// OFFSET: LEGO1 0x10028cc0 STUB
MxBool LegoControlManager::IsClass(const char *name) const
{
// TODO

View File

@ -1,9 +1,6 @@
#include "legoentity.h"
// 0x100f0064
static char* g_legoEntityClassName = "LegoEntity";
// OFFSET: LEGO1 0x100105f0
// OFFSET: LEGO1 0x100105f0 STUB
LegoEntity::LegoEntity()
{
// TODO
@ -15,7 +12,7 @@ LegoEntity::~LegoEntity()
Destroy();
}
// OFFSET: LEGO1 0x100114f0
// OFFSET: LEGO1 0x100114f0 STUB
long LegoEntity::Notify(MxParam &p)
{
// TODO
@ -23,21 +20,7 @@ long LegoEntity::Notify(MxParam &p)
return 0;
}
// OFFSET: LEGO1 0x1000c2f0
const char *LegoEntity::GetClassName() const
{
return g_legoEntityClassName;
}
// OFFSET: LEGO1 0x1000c300
MxBool LegoEntity::IsClass(const char *name) const
{
// TODO
return MxBool();
}
// OFFSET: LEGO1 0x100107e0
// OFFSET: LEGO1 0x100107e0 STUB
undefined4 LegoEntity::VTable0x18(undefined4 param)
{
// TODO
@ -45,32 +28,80 @@ undefined4 LegoEntity::VTable0x18(undefined4 param)
return undefined4();
}
// OFFSET: LEGO1 0x10010810
// OFFSET: LEGO1 0x10010810 STUB
void LegoEntity::Destroy()
{
// TODO
}
// OFFSET: LEGO1 0x10010e10
// OFFSET: LEGO1 0x10010e10 STUB
void LegoEntity::VTable0x20(char *param)
{
// TODO
}
// OFFSET: LEGO1 0x100108a0
// OFFSET: LEGO1 0x100108a0 STUB
void LegoEntity::VTable0x24(undefined4 param_1, undefined1 param_2, undefined1 param_3)
{
// TODO
}
// OFFSET: LEGO1 0x10010790
// OFFSET: LEGO1 0x10010790 STUB
void LegoEntity::VTable0x28(undefined4 param_1, undefined4 param2)
{
// TODO
}
// OFFSET: LEGO1 0x10010650
// OFFSET: LEGO1 0x10010650 STUB
void LegoEntity::VTable0x2c(undefined1 param)
{
// TODO
}
// OFFSET: LEGO1 0x10001090 STUB
void LegoEntity::VTable0x30(undefined4 param)
{
// TODO
}
// OFFSET: LEGO1 0x10010f10 STUB
void LegoEntity::VTable0x34(undefined1 param)
{
// TODO
}
// OFFSET: LEGO1 0x10011070 STUB
void LegoEntity::VTable0x38()
{
// TODO
}
// OFFSET: LEGO1 0x10011300 STUB
void LegoEntity::VTable0x3c()
{
// TODO
}
// OFFSET: LEGO1 0x10011360 STUB
void LegoEntity::VTable0x40()
{
// TODO
}
// OFFSET: LEGO1 0x100113c0 STUB
void LegoEntity::VTable0x44()
{
// TODO
}
// OFFSET: LEGO1 0x10011420 STUB
void LegoEntity::VTable0x48(undefined4 param)
{
// TODO
}
// OFFSET: LEGO1 0x10011470 STUB
void LegoEntity::VTable0x4c()
{
// TODO
}

View File

@ -3,10 +3,6 @@
#include "mxentity.h"
#ifndef undefined4
#define undefined4 int
#endif
#ifndef undefined1
#define undefined1 char
#endif
@ -18,8 +14,18 @@ class LegoEntity : public MxEntity
__declspec(dllexport) virtual ~LegoEntity(); // vtable+0x0
virtual long Notify(MxParam &p); // vtable+0x4
virtual const char* GetClassName() const; // vtable+0xc
virtual MxBool IsClass(const char *name) const; // vtable+0x10
// OFFSET: LEGO1 0x1000c2f0
inline const char *LegoEntity::GetClassName() const // vtable+0xc
{
return "LegoEntity";
}
// OFFSET: LEGO1 0x1000c300
inline MxBool LegoEntity::IsClass(const char *name) const // vtable+0x10
{
return !strcmp(name, LegoEntity::GetClassName()) || MxEntity::IsClass(name);
}
virtual undefined4 VTable0x18(undefined4 param); // vtable+0x18
virtual void Destroy(); // vtable+0x1c
@ -27,6 +33,15 @@ class LegoEntity : public MxEntity
virtual void VTable0x24(undefined4 param_1, undefined1 param_2, undefined1 param_3); // vtable+0x24
virtual void VTable0x28(undefined4 param_1, undefined4 param2); // vtable+0x28
virtual void VTable0x2c(undefined1 param); // vtable+0x2c
virtual void VTable0x30(undefined4 param); // vtable+0x30
virtual void VTable0x34(undefined1 param); // vtable+0x34
virtual void VTable0x38(); // vtable+0x38
virtual void VTable0x3c(); // vtable+0x3c
virtual void VTable0x40(); // vtable+0x40
virtual void VTable0x44(); // vtable+0x44
virtual void VTable0x48(undefined4 param); // vtable+0x48
virtual void VTable0x4c(); // vtable+0x4c
};
#endif // LEGOENTITY_H

View File

@ -1,19 +1,19 @@
#include "legoentitypresenter.h"
// OFFSET: LEGO1 0x10053440
LegoEntityPresenter::LegoEntityPresenter()
{
// TODO
}
// OFFSET: LEGO1 0x100535d0
LegoEntityPresenter::~LegoEntityPresenter()
{
// TODO
}
// OFFSET: LEG01 0x100535c0
void LegoEntityPresenter::Init()
{
// TODO
}
#include "legoentitypresenter.h"
// OFFSET: LEGO1 0x10053440 STUB
LegoEntityPresenter::LegoEntityPresenter()
{
// TODO
}
// OFFSET: LEGO1 0x100535d0 STUB
LegoEntityPresenter::~LegoEntityPresenter()
{
// TODO
}
// OFFSET: LEG01 0x100535c0 STUB
void LegoEntityPresenter::Init()
{
// TODO
}

View File

@ -1,7 +1,7 @@
#include "legoflctexturepresenter.h"
// OFFSET: LEGO1 0x1005de80
LegoFlcTexturePresenter::LegoFlcTexturePresenter()
{
// TODO
#include "legoflctexturepresenter.h"
// OFFSET: LEGO1 0x1005de80 STUB
LegoFlcTexturePresenter::LegoFlcTexturePresenter()
{
// TODO
}

View File

@ -1,11 +1,11 @@
#include "legohideanimpresenter.h"
// OFFSET: LEGO1 0x1006d7e0
LegoHideAnimPresenter::LegoHideAnimPresenter()
{
}
// OFFSET: LEGO1 0x1006da50
void LegoHideAnimPresenter::Init()
{
}
#include "legohideanimpresenter.h"
// OFFSET: LEGO1 0x1006d7e0 STUB
LegoHideAnimPresenter::LegoHideAnimPresenter()
{
}
// OFFSET: LEGO1 0x1006da50 STUB
void LegoHideAnimPresenter::Init()
{
}

View File

@ -1,12 +1,12 @@
#include "legoinputmanager.h"
// OFFSET: LEGO1 0x1005b8f0
// OFFSET: LEGO1 0x1005b8f0 STUB
LegoInputManager::~LegoInputManager()
{
// TODO
}
// OFFSET: LEGO1 0x1005b8b0
// OFFSET: LEGO1 0x1005b8b0 STUB
long LegoInputManager::Tickle()
{
// TODO
@ -14,7 +14,7 @@ long LegoInputManager::Tickle()
return 0;
}
// OFFSET: LEGO 0x1005bfe0
// OFFSET: LEGO 0x1005bfe0 STUB
void LegoInputManager::VTable0x38()
{
// TODO

View File

@ -1,18 +1,18 @@
#include "legojetski.h"
// 0x100f053c
static char* g_legoJetskiClassName = "LegoJetski";
// OFFSET: LEGO1 0x10013e80
const char *LegoJetski::GetClassName() const
{
return g_legoJetskiClassName;
}
// OFFSET: LEGO1 0x10013ea0
MxBool LegoJetski::IsClass(const char *name) const
{
// TODO
return MxBool();
}
#include "legojetski.h"
// 0x100f053c
static char* g_legoJetskiClassName = "LegoJetski";
// OFFSET: LEGO1 0x10013e80 STUB
const char *LegoJetski::GetClassName() const
{
return g_legoJetskiClassName;
}
// OFFSET: LEGO1 0x10013ea0 STUB
MxBool LegoJetski::IsClass(const char *name) const
{
// TODO
return MxBool();
}

View File

@ -1,12 +1,12 @@
#include "legoloadcachesoundpresenter.h"
// OFFSET: LEGO1 0x10018340
// OFFSET: LEGO1 0x10018340 STUB
LegoLoadCacheSoundPresenter::LegoLoadCacheSoundPresenter()
{
// TODO
}
// OFFSET: LEGO1 0x100184e0
// OFFSET: LEGO1 0x100184e0 STUB
void LegoLoadCacheSoundPresenter::Init()
{
// TODO

View File

@ -1,13 +1,13 @@
#include "legolocomotionanimpresenter.h"
// OFFSET: LEGO1 0x1006cdd0
LegoLocomotionAnimPresenter::LegoLocomotionAnimPresenter()
{
// TODO
}
// OFFSET: LEGO1 0x1006d0b0
void LegoLocomotionAnimPresenter::Init()
{
// TODO
}
#include "legolocomotionanimpresenter.h"
// OFFSET: LEGO1 0x1006cdd0 STUB
LegoLocomotionAnimPresenter::LegoLocomotionAnimPresenter()
{
// TODO
}
// OFFSET: LEGO1 0x1006d0b0 STUB
void LegoLocomotionAnimPresenter::Init()
{
// TODO
}

View File

@ -1,19 +1,19 @@
#include "legopalettepresenter.h"
// OFFSET: LEGO1 0x10079e50
LegoPalettePresenter::LegoPalettePresenter()
{
// TODO
}
// OFFSET: LEGO1 0x1007a070
LegoPalettePresenter::~LegoPalettePresenter()
{
// TODO
}
// OFFSET: LEGO1 0x1007a0d0
void LegoPalettePresenter::Init()
{
// TODO
}
#include "legopalettepresenter.h"
// OFFSET: LEGO1 0x10079e50 STUB
LegoPalettePresenter::LegoPalettePresenter()
{
// TODO
}
// OFFSET: LEGO1 0x1007a070 STUB
LegoPalettePresenter::~LegoPalettePresenter()
{
// TODO
}
// OFFSET: LEGO1 0x1007a0d0 STUB
void LegoPalettePresenter::Init()
{
// TODO
}

View File

@ -1,6 +1,6 @@
#include "legopathactor.h"
// OFFSET: LEGO1 0x1002d700
// OFFSET: LEGO1 0x1002d700 STUB
LegoPathActor::LegoPathActor()
{
Destroy();
@ -8,7 +8,7 @@ LegoPathActor::LegoPathActor()
// TODO
}
// OFFSET: LEGO1 0x10053900
// OFFSET: LEGO1 0x10053900 STUB
void LegoPathActor::Destroy()
{
// TODO

View File

@ -13,4 +13,4 @@ class LegoPathActor : public LegoActor
// SIZE 0x154
};
#endif // LEGOPATHACTOR_H
#endif // LEGOPATHACTOR_H

View File

@ -1,7 +1,7 @@
#include "legopathpresenter.h"
// OFFSET: LEGO1 0x100448d0
LegoPathPresenter::LegoPathPresenter()
{
// TODO
#include "legopathpresenter.h"
// OFFSET: LEGO1 0x100448d0 STUB
LegoPathPresenter::LegoPathPresenter()
{
// TODO
}

View File

@ -1,22 +1,22 @@
#include "legophonemepresenter.h"
// 0x100f064c
static char* g_legoPhonemePresenterClassName = "LegoPhonemePresenter";
// OFFSET: LEGO1 0x1004e340
LegoPhonemePresenter::~LegoPhonemePresenter()
{
// TODO
}
// OFFSET: LEGO1 0x1004e310
const char *LegoPhonemePresenter::GetClassName() const
{
return g_legoPhonemePresenterClassName;
}
// OFFSET: LEGO1 0x1004e840
void LegoPhonemePresenter::VTable0x6c()
{
// TODO
}
#include "legophonemepresenter.h"
// 0x100f064c
static char* g_legoPhonemePresenterClassName = "LegoPhonemePresenter";
// OFFSET: LEGO1 0x1004e340 STUB
LegoPhonemePresenter::~LegoPhonemePresenter()
{
// TODO
}
// OFFSET: LEGO1 0x1004e310 STUB
const char *LegoPhonemePresenter::GetClassName() const
{
return g_legoPhonemePresenterClassName;
}
// OFFSET: LEGO1 0x1004e840 STUB
void LegoPhonemePresenter::VTable0x6c()
{
// TODO
}

View File

@ -1,18 +1,18 @@
#ifndef LEGOPHONEMEPRESENTER_H
#define LEGOPHONEMEPRESENTER_H
#include "mxflcpresenter.h"
class LegoPhonemePresenter : public MxFlcPresenter
{
public:
virtual ~LegoPhonemePresenter(); // vtable+0x0
virtual const char* GetClassName() const; // vtable+0xc
virtual void VTable0x6c(); // vtable+0x6c
// VTABLE 0x100d8040
};
#endif // LEGOPHONEMEPRESENTER_H
#ifndef LEGOPHONEMEPRESENTER_H
#define LEGOPHONEMEPRESENTER_H
#include "mxflcpresenter.h"
class LegoPhonemePresenter : public MxFlcPresenter
{
public:
virtual ~LegoPhonemePresenter(); // vtable+0x0
virtual const char* GetClassName() const; // vtable+0xc
virtual void VTable0x6c(); // vtable+0x6c
// VTABLE 0x100d8040
};
#endif // LEGOPHONEMEPRESENTER_H

View File

@ -3,19 +3,19 @@
// 0x100f318c
static char* g_LegoPlantManagerName = "LegoPlantManager";
// OFFSET: LEGO1 0x10026220
// OFFSET: LEGO1 0x10026220 STUB
LegoPlantManager::LegoPlantManager()
{
// TODO
}
// OFFSET: LEGO1 0x100262c0
// OFFSET: LEGO1 0x100262c0 STUB
LegoPlantManager::~LegoPlantManager()
{
// TODO
}
// OFFSET: LEGO1 0x10026e00
// OFFSET: LEGO1 0x10026e00 STUB
long LegoPlantManager::Tickle()
{
// TODO
@ -23,19 +23,19 @@ long LegoPlantManager::Tickle()
return 0;
}
// OFFSET: LEGO1 0x10026290
// OFFSET: LEGO1 0x10026290 STUB
const char *LegoPlantManager::GetClassName() const
{
return g_LegoPlantManagerName;
}
// OFFSET: LEGO1 0x10026d70
// OFFSET: LEGO1 0x10026d70 STUB
void LegoPlantManager::UnknownFunction1(int param_1, int param_2)
{
// TODO
}
// OFFSET: LEGO1 0x10026330
// OFFSET: LEGO1 0x10026330 STUB
void LegoPlantManager::Init()
{
// TODO

View File

@ -1,18 +1,18 @@
#include "legorace.h"
// OFFSET: LEGO1 0x10015aa0
// OFFSET: LEGO1 0x10015aa0 STUB
LegoRace::LegoRace()
{
// TODO
}
// OFFSET: LEGO1 0x10015d40
// OFFSET: LEGO1 0x10015d40 STUB
LegoRace::~LegoRace()
{
// TODO
}
// OFFSET: LEGO1 0x10015e00
// OFFSET: LEGO1 0x10015e00 STUB
long LegoRace::Notify(MxParam &p)
{
// TODO

View File

@ -1,13 +1,13 @@
#include "legosoundmanager.h"
// OFFSET: LEGO1 0x100298a0
LegoSoundManager::LegoSoundManager()
{
// TODO
}
// OFFSET: LEGO1 0x10029940
LegoSoundManager::~LegoSoundManager()
{
// TODO
}
#include "legosoundmanager.h"
// OFFSET: LEGO1 0x100298a0 STUB
LegoSoundManager::LegoSoundManager()
{
// TODO
}
// OFFSET: LEGO1 0x10029940 STUB
LegoSoundManager::~LegoSoundManager()
{
// TODO
}

21
LEGO1/legostate.cpp Normal file
View File

@ -0,0 +1,21 @@
#include "legostate.h"
// OFFSET: LEGO1 0x10005f90
MxBool LegoState::VTable0x14()
{
return MX_TRUE;
}
// OFFSET: LEGO1 0x10005fa0
MxBool LegoState::VTable0x18()
{
return MX_FALSE;
}
// OFFSET: LEGO1 0x10005fb0 STUB
undefined4 LegoState::VTable0x1c(undefined4 param)
{
// TODO
return undefined4();
}

View File

@ -3,8 +3,28 @@
#include "mxcore.h"
#ifndef undefined4
#define undefined4 int
#endif
class LegoState : public MxCore
{
public:
// OFFSET: LEGO1 0x100060d0
inline virtual const char *GetClassName() const // vtable+0x0c
{
return "LegoState";
};
// OFFSET: LEGO1 0x100060e0
inline virtual MxBool IsClass(const char *name) const // vtable+0x10
{
return !strcmp(name, LegoState::GetClassName()) || MxCore::IsClass(name);
};
virtual MxBool VTable0x14(); // vtable+0x14
virtual MxBool VTable0x18(); // vtable+0x18
virtual undefined4 VTable0x1c(undefined4 param); // vtable+0x1c
};
#endif // LEGOSTATE_H

View File

@ -1,7 +1,7 @@
#include "legotexturepresenter.h"
// OFFSET: LEGO1 0x1004fcb0
void LegoTexturePresenter::DoneTickle()
{
// TODO
#include "legotexturepresenter.h"
// OFFSET: LEGO1 0x1004fcb0 STUB
void LegoTexturePresenter::DoneTickle()
{
// TODO
}

View File

@ -1,7 +1,7 @@
#include "legowavepresenter.h"
// OFFSET: LEGO1 0x100b1ad0
void LegoWavePresenter::Init()
{
// TODO
#include "legowavepresenter.h"
// OFFSET: LEGO1 0x100b1ad0 STUB
void LegoWavePresenter::Init()
{
// TODO
}

View File

@ -1,18 +1,18 @@
#include "legoworld.h"
// OFFSET: LEGO1 0x1001ca40
// OFFSET: LEGO1 0x1001ca40 STUB
LegoWorld::LegoWorld()
{
// TODO
}
// OFFSET: LEGO1 0x1001dfa0
// OFFSET: LEGO1 0x1001dfa0 STUB
LegoWorld::~LegoWorld()
{
// TODO
}
// OFFSET: LEGO1 0x10022080
// OFFSET: LEGO1 0x10022080 STUB
long LegoWorld::Tickle()
{
// TODO
@ -20,7 +20,7 @@ long LegoWorld::Tickle()
return 0;
}
// OFFSET: LEGO1 0x1001e9d0
// OFFSET: LEGO1 0x1001e9d0 STUB
void LegoWorld::Destroy()
{
// TODO

View File

@ -1,25 +1,25 @@
#include "legoworldpresenter.h"
// OFFSET: LEGO1 0x100665c0
LegoWorldPresenter::LegoWorldPresenter()
{
// TODO
}
// OFFSET: LEGO1 0x10066770
LegoWorldPresenter::~LegoWorldPresenter()
{
// TODO
}
// OFFSET: LEGO1 0x10066ac0
void LegoWorldPresenter::VTable0x1c()
{
// TODO
}
// OFFSET: LEGO1 0x10067a70
void LegoWorldPresenter::VTable0x60(undefined4 param)
{
// TODO
}
#include "legoworldpresenter.h"
// OFFSET: LEGO1 0x100665c0 STUB
LegoWorldPresenter::LegoWorldPresenter()
{
// TODO
}
// OFFSET: LEGO1 0x10066770 STUB
LegoWorldPresenter::~LegoWorldPresenter()
{
// TODO
}
// OFFSET: LEGO1 0x10066ac0 STUB
void LegoWorldPresenter::VTable0x1c()
{
// TODO
}
// OFFSET: LEGO1 0x10067a70 STUB
void LegoWorldPresenter::VTable0x60(undefined4 param)
{
// TODO
}

View File

@ -1,19 +1,19 @@
#include "motorcycle.h"
// OFFSET: LEGO1 0x100357b0
Motorcycle::Motorcycle()
{
// TODO
}
// OFFSET: LEGO1 0x10035c50
void Motorcycle::VTable0xcc()
{
// TODO
}
// OFFSET: LEGO1 0x10035bc0
void Motorcycle::VTable0xe4()
{
// TODO
}
#include "motorcycle.h"
// OFFSET: LEGO1 0x100357b0 STUB
Motorcycle::Motorcycle()
{
// TODO
}
// OFFSET: LEGO1 0x10035c50 STUB
void Motorcycle::VTable0xcc()
{
// TODO
}
// OFFSET: LEGO1 0x10035bc0 STUB
void Motorcycle::VTable0xe4()
{
// TODO
}

View File

@ -0,0 +1,15 @@
#include "mxaudiopresenter.h"
// OFFSET: LEGO1 0x1000d260 STUB
undefined4 MxAudioPresenter::VTable0x5c()
{
// TODO
return undefined4();
}
// OFFSET: LEGO1 0x1000d270 STUB
void MxAudioPresenter::VTable0x60(undefined4 param)
{
// TODO
}

View File

@ -1,10 +1,26 @@
#ifndef MXAUDIOPRESENTER_H
#define MXAUDIOPRESENTER_H
#include "mxmediapresenter.h"
class MxAudioPresenter : public MxMediaPresenter
{
};
#endif // MXAUDIOPRESENTER_H
#ifndef MXAUDIOPRESENTER_H
#define MXAUDIOPRESENTER_H
#include "mxmediapresenter.h"
class MxAudioPresenter : public MxMediaPresenter
{
public:
// OFFSET: LEGO1 0x1000d280
inline virtual const char *GetClassName() const // vtable+0x0c
{
// 0x100f078c
return "MxAudioPresenter";
};
// OFFSET: LEGO1 0x1000d290
inline virtual MxBool IsClass(const char *name) const // vtable+0x10
{
return !strcmp(name, MxAudioPresenter::GetClassName()) || MxMediaPresenter::IsClass(name);
};
virtual undefined4 VTable0x5c(); // vtable+0x5c
virtual void VTable0x60(undefined4 param); // vtable+0x60
};
#endif // MXAUDIOPRESENTER_H

View File

@ -1,7 +1,7 @@
#include "mxcompositemediapresenter.h"
// OFFSET: LEGO1 0x10073ea0
MxCompositeMediaPresenter::MxCompositeMediaPresenter()
{
// TODO
#include "mxcompositemediapresenter.h"
// OFFSET: LEGO1 0x10073ea0 STUB
MxCompositeMediaPresenter::MxCompositeMediaPresenter()
{
// TODO
}

View File

@ -1,18 +1,18 @@
#include "mxcompositepresenter.h"
// OFFSET: LEGO1 0x100b60b0
// OFFSET: LEGO1 0x100b60b0 STUB
MxCompositePresenter::MxCompositePresenter()
{
// TODO
}
// OFFSET: LEGO1 0x100b6390
// OFFSET: LEGO1 0x100b6390 STUB
MxCompositePresenter::~MxCompositePresenter()
{
// TODO
}
// OFFSET: LEGO1 0x100b6760
// OFFSET: LEGO1 0x100b6760 STUB
long MxCompositePresenter::Notify(MxParam &p)
{
// TODO
@ -20,7 +20,7 @@ long MxCompositePresenter::Notify(MxParam &p)
return 0;
}
// OFFSET: LEGO1 0x100b6410
// OFFSET: LEGO1 0x100b6410 STUB
long MxCompositePresenter::StartAction(MxStreamController *, MxDSAction *)
{
// TODO
@ -28,14 +28,54 @@ long MxCompositePresenter::StartAction(MxStreamController *, MxDSAction *)
return 0;
}
// OFFSET: LEGO1 0x100b65e0
// OFFSET: LEGO1 0x100b65e0 STUB
void MxCompositePresenter::EndAction()
{
// TODO
}
// OFFSET: LEGO1 0x100b6c30
// OFFSET: LEGO1 0x100b6bc0 STUB
void MxCompositePresenter::VTable0x44(undefined4 param)
{
// TODO
}
// OFFSET: LEGO1 0x100b6c80 STUB
undefined4 MxCompositePresenter::VTable0x48(undefined4 param)
{
// TODO
return undefined4();
}
// OFFSET: LEGO1 0x100b6c30 STUB
void MxCompositePresenter::Enable(unsigned char)
{
// TODO
}
// OFFSET: LEGO1 0x100b67f0 STUB
void MxCompositePresenter::VTable0x58(undefined4 param)
{
// TODO
}
// OFFSET: LEGO1 0x100b69b0 STUB
void MxCompositePresenter::VTable0x5c(undefined4 param)
{
// TODO
}
// OFFSET: LEGO1 0x100b6b40 STUB
void MxCompositePresenter::VTable0x60(undefined4 param)
{
// TODO
}
// OFFSET: LEGO1 0x1000caf0 STUB
undefined4 MxCompositePresenter::VTable0x64(undefined4 param)
{
// TODO
return undefined4();
}

View File

@ -11,9 +11,28 @@ class MxCompositePresenter : public MxPresenter
virtual long Notify(MxParam &p); // vtable+0x4, MxCore override
// OFFSET: LEGO1 0x100b6210
inline virtual const char *GetClassName() const // vtable+0x0c
{
// 0x100f0774
return "MxCompositePresenter";
};
// OFFSET: LEGO1 0x100b6220
inline virtual MxBool IsClass(const char *name) const // vtable+0x10
{
return !strcmp(name, MxCompositePresenter::GetClassName()) || MxPresenter::IsClass(name);
};
virtual long StartAction(MxStreamController *, MxDSAction *); // vtable+0x3c
virtual void EndAction(); // vtable+0x40
virtual void VTable0x44(undefined4 param); // vtable+0x44
virtual undefined4 VTable0x48(undefined4 param); // vtable+0x48
virtual void Enable(unsigned char); // vtable+0x54
virtual void VTable0x58(undefined4 param); // vtable+0x58
virtual void VTable0x5c(undefined4 param); // vtable+0x5c
virtual void VTable0x60(undefined4 param); // vtable+0x60
virtual undefined4 VTable0x64(undefined4 param); // vtable+0x64
// VTABLE 0x100dc618
};

View File

@ -1,7 +1,7 @@
#include "mxcontrolpresenter.h"
// OFFSET: LEGO1 0x10043f50
MxControlPresenter::MxControlPresenter()
{
// TODO
#include "mxcontrolpresenter.h"
// OFFSET: LEGO1 0x10043f50 STUB
MxControlPresenter::MxControlPresenter()
{
// TODO
}

View File

@ -1,12 +1,12 @@
#include "mxdiskstreamcontroller.h"
// OFFSET: LEGO1 0x100c7530
// OFFSET: LEGO1 0x100c7530 STUB
MxDiskStreamController::~MxDiskStreamController()
{
// TODO
}
// OFFSET: LEGO1 0x100c8640
// OFFSET: LEGO1 0x100c8640 STUB
long MxDiskStreamController::Tickle()
{
// TODO

View File

@ -1,6 +1,6 @@
#include "mxdschunk.h"
// OFFSET: LEGO1 0x100be170
// OFFSET: LEGO1 0x100be170 STUB
MxDSChunk::~MxDSChunk()
{
// TODO

View File

@ -2,24 +2,7 @@
#include "mxatomid.h"
// 0x100f0070
static char* g_mxEntityClassName = "MxEntity";
// OFFSET: LEGO1 0x1000c180
const char *MxEntity::GetClassName() const
{
return g_mxEntityClassName;
}
// OFFSET: LEGO1 0x1000c190
MxBool MxEntity::IsClass(const char *name) const
{
// TODO
return MxBool();
}
// OFFSET: LEGO1 0x10001070
// OFFSET: LEGO1 0x10001070 STUB
undefined4 MxEntity::VTable0x14(undefined4 param_1, MxAtomId *param_2)
{
// TODO

View File

@ -12,8 +12,18 @@ class MxAtomId;
class MxEntity : public MxCore
{
public:
virtual const char* GetClassName() const; // vtable+0xc
virtual MxBool IsClass(const char *name) const; // vtable+0x10
// OFFSET: LEGO1 0x1000c180
inline virtual const char* GetClassName() const // vtable+0xc
{
// 0x100f0070
return "MxEntity";
};
// OFFSET: LEGO1 0x1000c190
inline virtual MxBool IsClass(const char *name) const // vtable+0x10
{
return !strcmp(name, MxEntity::GetClassName()) || MxCore::IsClass(name);
};
virtual undefined4 VTable0x14(undefined4 param_1, MxAtomId* param_2); // vtable+0x14

View File

@ -1,6 +1,6 @@
#include "mxeventmanager.h"
// OFFSET: LEGO1 0x100c03f0
// OFFSET: LEGO1 0x100c03f0 STUB
MxEventManager::~MxEventManager()
{
// TODO

Some files were not shown because too many files have changed in this diff Show More