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>
70 lines
2.0 KiB
C++
70 lines
2.0 KiB
C++
#ifndef LEGOLOCOMOTIONANIMPRESENTER_H
|
|
#define LEGOLOCOMOTIONANIMPRESENTER_H
|
|
|
|
#include "legoloopinganimpresenter.h"
|
|
#include "legoroimaplist.h"
|
|
|
|
// VTABLE: LEGO1 0x100d9170
|
|
// SIZE 0xd8
|
|
class LegoLocomotionAnimPresenter : public LegoLoopingAnimPresenter {
|
|
public:
|
|
LegoLocomotionAnimPresenter();
|
|
~LegoLocomotionAnimPresenter() override;
|
|
|
|
// FUNCTION: BETA10 0x1005c4e0
|
|
static const char* HandlerClassName()
|
|
{
|
|
// STRING: LEGO1 0x100f06e4
|
|
return "LegoLocomotionAnimPresenter";
|
|
}
|
|
|
|
// FUNCTION: LEGO1 0x1006ce50
|
|
// FUNCTION: BETA10 0x1005c4b0
|
|
inline const char* ClassName() const override // vtable+0x0c
|
|
{
|
|
return HandlerClassName();
|
|
}
|
|
|
|
// FUNCTION: LEGO1 0x1006ce60
|
|
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
|
{
|
|
return !strcmp(p_name, ClassName()) || LegoLoopingAnimPresenter::IsA(p_name);
|
|
}
|
|
|
|
void ReadyTickle() override; // vtable+0x18
|
|
void StartingTickle() override; // vtable+0x1c
|
|
void StreamingTickle() override; // vtable+0x20
|
|
MxResult AddToManager() override; // vtable+0x34
|
|
void Destroy() override; // vtable+0x38
|
|
void EndAction() override; // vtable+0x40
|
|
void PutFrame() override; // vtable+0x6c
|
|
MxResult CreateAnim(MxStreamChunk* p_chunk) override; // vtable+0x88
|
|
|
|
// SYNTHETIC: LEGO1 0x1006cfe0
|
|
// LegoLocomotionAnimPresenter::`scalar deleting destructor'
|
|
|
|
void FUN_1006d680(LegoAnimActor* p_actor, MxFloat p_value);
|
|
|
|
inline void DecrementUnknown0xd4()
|
|
{
|
|
if (m_unk0xd4) {
|
|
--m_unk0xd4;
|
|
}
|
|
}
|
|
|
|
inline undefined2 GetUnknown0xd4() { return m_unk0xd4; }
|
|
|
|
private:
|
|
void Init();
|
|
void Destroy(MxBool p_fromDestructor);
|
|
|
|
undefined4 m_unk0xc0; // 0xc0
|
|
undefined4* m_unk0xc4; // 0xc4
|
|
LegoROIMapList* m_roiMapList; // 0xc8
|
|
MxS32 m_unk0xcc; // 0xcc
|
|
MxS32 m_unk0xd0; // 0xd0
|
|
undefined2 m_unk0xd4; // 0xd4
|
|
};
|
|
|
|
#endif // LEGOLOCOMOTIONANIMPRESENTER_H
|