mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-02-03 12:31:15 +00:00
* Implement/match LegoPathActor::ParseAction (#946) * Implement/match LegoPathActor::ParseAction * Fix naming * Space * Implement/match Isle::UpdateGlobe (#947) * Implement/match Isle::UpdateGlobe * Change function access * Implement/match Isle::CreateState and related (#948) * Implement/match actor Create functions (#949) * Implement/match Isle::Escape (#950) * Implement/match Isle::FUN_10033350 (#951) * Implement/match Isle::HandleType19Notification (#952) * Implement/match Isle::HandleType19Notification * Fix * Implement/match LegoAnimationManager::FUN_10063b90 (#953) * Implement/match LegoAnimationManager::FUN_100648f0 (#954) * Implement LegoROI::FUN_100a9410 (#955) * WIP * WIP * Remove space * Fix * Implement/match LegoExtraActor::VTable0x6c (#956) * Match LegoUnknown::FUN_1009a1e0 (#957) * Fix extra actor collisions (#958) * Implement/match IslePathActor::FUN_1001b660 (#960) * Refactor MxBitmap (again) (#961) * Remove this * Starting list of beta addrs * Static for height-specific abs, fix StrechBits * MxBitmap refactor * Implement/match LegoPathBoundary::FUN_100586e0 and FUN_10057fe0 (#962) * Implement/match LegoAnimPresenter::FUN_1006b140 (#963) * Implement LegoMeterPresenter::DrawMeter (#964) * Implement LegoMeterPresenter::DrawMeter * New MxRect16 header, offsets and size annotations * Missing mxtypes include * Implement/match LegoAnimationManager::FUN_10063270 (#965) * Implement/match LegoAnimMMPresenter::FUN_1004b840 (#966) * Implement/match LegoAnimationManager::FUN_10062e20 (#967) * Beta match MxPalette (#968) * Beta match MxPalette * Modern compiler fix * Implement/match LegoCameraController::FUN_10012290 and FUN_10012320 (#969) * Implement/match LegoControlManager::FUN_100293c0 (#970) * Implement/match Pizzeria::HandleClick (#971) * Implement/match Lego3DWavePresenter::StartingTickle (#972) * Implement/match Lego3DWavePresenter::StartingTickle * Fix annotation * Add StreamingTickle * Rename * Add static HandlerClassName function (#973) * Add static HandlerClassName function * Use method in PresenterNameDispatch --------- Co-authored-by: disinvite@users.noreply.github.com <disinvite@users.noreply.github.com>
79 lines
1.5 KiB
C++
79 lines
1.5 KiB
C++
#ifndef LEGOCHARACTERS_H
|
|
#define LEGOCHARACTERS_H
|
|
|
|
#include "decomp.h"
|
|
#include "mxtypes.h"
|
|
|
|
class LegoExtraActor;
|
|
class LegoROI;
|
|
|
|
// SIZE 0x108
|
|
struct LegoCharacterInfo {
|
|
// SIZE 0x18
|
|
struct Part {
|
|
MxU8* m_unk0x00; // 0x00
|
|
const char** m_unk0x04; // 0x04
|
|
MxU8 m_unk0x08; // 0x08
|
|
MxU8* m_unk0x0c; // 0x0c
|
|
const char** m_unk0x10; // 0x10
|
|
MxU8 m_unk0x14; // 0x14
|
|
};
|
|
|
|
const char* m_name; // 0x00
|
|
LegoROI* m_roi; // 0x04
|
|
LegoExtraActor* m_actor; // 0x08
|
|
MxS32 m_unk0x0c; // 0x0c
|
|
MxS32 m_unk0x10; // 0x10
|
|
MxU8 m_mood; // 0x14
|
|
Part m_parts[10]; // 0x18
|
|
};
|
|
|
|
// SIZE 0x58
|
|
struct LegoCharacterLOD {
|
|
enum {
|
|
c_flag1 = 0x01,
|
|
c_flag2 = 0x02
|
|
};
|
|
|
|
const char* m_name; // 0x00
|
|
const char* m_parentName; // 0x04
|
|
MxU32 m_flags; // 0x08
|
|
float m_boundingSphere[4]; // 0x0c
|
|
float m_boundingBox[6]; // 0x1c
|
|
float m_position[3]; // 0x34
|
|
float m_direction[3]; // 0x40
|
|
float m_up[3]; // 0x4c
|
|
};
|
|
|
|
enum LegoCharacterLODs {
|
|
c_topLOD,
|
|
c_bodyLOD,
|
|
c_infohatLOD,
|
|
c_infogronLOD,
|
|
c_headLOD,
|
|
c_armlftLOD,
|
|
c_armrtLOD,
|
|
c_clawlftLOD,
|
|
c_clawrtLOD,
|
|
c_leglftLOD,
|
|
c_legrtLOD
|
|
};
|
|
|
|
enum LegoCharacterParts {
|
|
c_bodyPart,
|
|
c_infohatPart,
|
|
c_infogronPart,
|
|
c_headPart,
|
|
c_armlftPart,
|
|
c_armrtPart,
|
|
c_clawlftPart,
|
|
c_clawrtPart,
|
|
c_leglftPart,
|
|
c_legrtPart
|
|
};
|
|
|
|
extern LegoCharacterInfo g_characterInfoInit[66];
|
|
extern LegoCharacterLOD g_characterLODs[11];
|
|
|
|
#endif // LEGOCHARACTERS_H
|