mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-02-03 12:31:15 +00:00
* Implement/match LegoAnimationManager::FUN_10064b50 (#926) * Implement/match LegoAnimationManager::FUN_10063d10 (#927) * Implement/match LegoAnimationManager::FUN_10064380 (#928) * Implement/match LegoAnimationManager::FUN_10064380 * Fix naming * Revert * Implement/matche LegoAnimationManager::FUN_10064740 and FUN_10064670 (#929) * Implement/match FUN_1003ef00 and related (#931) * Implement/match LegoAnimationManager::FUN_10064120 (#932) * Implement/match LegoAnimationManager::FUN_10064120 * Fix naming * Fix parentheses * Implement LegoAnimationManager::FUN_10064010 (#933) * Implement/match ViewManager::FUN_100a6150 (#934) * Implement/match PlayCamAnim and CameraTriggerFire (#935) * Implement/match PlayCamAnim and CameraTriggerFire * Fix type * Name var * Implement/match LegoAnimationManager::FUN_10063fb0 (#936) * basic name improvements (#930) * basic name improvements * clang-format --------- Co-authored-by: Christian Semmler <mail@csemmler.com> * Implement/match LegoPathBoundary::Intersect (#937) * Implement LegoPathActor::VTable0x68 (#938) * Implement LegoPathActor::VTable0x68 * Fix naming * Implement/match LegoPathBoundary::FUN_100575b0 (#939) * Implement LegoUnknown::FUN_1009a1e0 (#940) * Implement/match LegoPathController::FUN_1004a240 (#941) * Implement LegoPathActor::VTable0x9c (#942) * Implement LegoPathActor::VTable0x9c * Add annotation * Implement/match LegoPathActor::SwitchBoundary (#943) * Implement/match LegoPathActor::SwitchBoundary * Rename var * Implement/match LegoPathStruct (#944) * Implement/match LegoPathStruct * Rename some nums * Consistent naming * Naming * relax regex * Name some functions * Improve naming * Rename * Implement/match LegoPathActor::VTable0xa4 and VTable0xa8 (#945) * Implement/match LegoPathActor::VTable0xa4 * Implement/match LegoPathActor::VTable0xa8 * Name enum constants --------- Co-authored-by: Cameron <25990062+crtdll@users.noreply.github.com>
46 lines
1.5 KiB
C++
46 lines
1.5 KiB
C++
#ifndef MXREGIONCURSOR_H
|
|
#define MXREGIONCURSOR_H
|
|
|
|
#include "mxregion.h"
|
|
|
|
// VTABLE: LEGO1 0x100dcbb8
|
|
// SIZE 0x18
|
|
class MxRegionCursor : public MxCore {
|
|
public:
|
|
MxRegionCursor(MxRegion* p_region);
|
|
~MxRegionCursor() override;
|
|
|
|
virtual MxRect32* VTable0x14(MxRect32& p_rect); // vtable+0x14
|
|
virtual MxRect32* VTable0x18(); // vtable+0x18
|
|
virtual MxRect32* VTable0x1c(MxRect32& p_rect); // vtable+0x1c
|
|
virtual MxRect32* VTable0x20(); // vtable+0x20
|
|
virtual MxRect32* VTable0x24(MxRect32& p_rect); // vtable+0x24
|
|
virtual MxRect32* VTable0x28(); // vtable+0x28
|
|
virtual MxRect32* VTable0x2c(MxRect32& p_rect); // vtable+0x2c
|
|
virtual MxRect32* VTable0x30(); // vtable+0x30
|
|
|
|
// FUNCTION: LEGO1 0x100c4070
|
|
virtual MxRect32* GetRect() { return m_rect; } // vtable+0x34
|
|
|
|
// FUNCTION: LEGO1 0x100c4080
|
|
virtual MxBool HasRect() { return m_rect != NULL; } // vtable+0x38
|
|
|
|
virtual void Reset(); // vtable+0x3c
|
|
|
|
private:
|
|
void ResetAndInitializeCursor(MxRegionLeftRightList& p_leftRightList);
|
|
void UpdateRect(MxS32 p_left, MxS32 p_top, MxS32 p_right, MxS32 p_bottom);
|
|
void ProcessRectOverlapAscending(MxRect32& p_rect);
|
|
void ProcessOverlapWithRect(MxRect32& p_rect);
|
|
|
|
MxRegion* m_region; // 0x08
|
|
MxRect32* m_rect; // 0x0c
|
|
MxRegionTopBottomListCursor* m_topBottomCursor; // 0x10
|
|
MxRegionLeftRightListCursor* m_leftRightCursor; // 0x14
|
|
};
|
|
|
|
// SYNTHETIC: LEGO1 0x100c4090
|
|
// MxRegionCursor::`scalar deleting destructor'
|
|
|
|
#endif // MXREGIONCURSOR_H
|