mirror of
				https://github.com/isledecomp/isle.git
				synced 2025-10-25 17:34:05 +00:00 
			
		
		
		
	 fca8f74bd8
			
		
	
	fca8f74bd8
	
	
	
		
			
			* Fix size annotations for legoomni
Fix structure and add placeholder annotations for LegoAnimActor and subclasses
* Fix LegoCarRaceActor constructor
Fix function name in LegoRaceCar
* Add size assertions for legoomni and fix sizes
* Various style fixes
* Use other marker so vtable.py doesn't compare
* Revert "Use other marker so vtable.py doesn't compare"
This reverts commit 608985cd73.
* Fix copy/paste error
* Remove stale comment.
---------
Co-authored-by: Christian Semmler <mail@csemmler.com>
		
	
		
			
				
	
	
		
			47 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			47 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			C++
		
	
	
	
	
	
| #ifndef ACT3SHARK_H
 | |
| #define ACT3SHARK_H
 | |
| 
 | |
| #include "legoanimactor.h"
 | |
| 
 | |
| /*
 | |
| 	VTABLE: LEGO1 0x100d7920 LegoPathActor
 | |
| 	VTABLE: LEGO1 0x100d79f0 LegoAnimActor
 | |
| */
 | |
| // SIZE 0x1a8
 | |
| class Act3Shark : public LegoAnimActor {
 | |
| public:
 | |
| 	Act3Shark();
 | |
| 
 | |
| 	// FUNCTION: LEGO1 0x100430c0
 | |
| 	inline const char* ClassName() const override // vtable+0x0c
 | |
| 	{
 | |
| 		// STRING: LEGO1 0x100f03a0
 | |
| 		return "Act3Shark";
 | |
| 	}
 | |
| 
 | |
| 	// FUNCTION: LEGO1 0x1001a130
 | |
| 	inline MxBool IsA(const char* p_name) const override // vtable+0x10
 | |
| 	{
 | |
| 		return !strcmp(p_name, Act3Shark::ClassName()) || LegoAnimActor::IsA(p_name);
 | |
| 	}
 | |
| 
 | |
| 	void ParseAction(char*) override;                  // vtable+0x20
 | |
| 	void SetWorldSpeed(MxFloat p_worldSpeed) override; // vtable+0x30
 | |
| 	void VTable0x70(float p_float) override;           // vtable+0x70
 | |
| 	void VTable0x74(Matrix4& p_transform) override;    // vtable+0x74
 | |
| 
 | |
| 	virtual MxResult FUN_10042ce0(void*);
 | |
| 
 | |
| 	// SYNTHETIC: LEGO1 0x10043020
 | |
| 	// Act3Shark::`scalar deleting destructor'
 | |
| 
 | |
| private:
 | |
| 	list<void*> m_unk0x1c;     // 0x1c
 | |
| 	undefined4 m_unk0x28;      // 0x28
 | |
| 	undefined4 m_unk0x2c;      // 0x2c
 | |
| 	undefined m_unk0x30[0x0c]; // 0x30
 | |
| 	Mx3DPointFloat m_unk0x3c;  // 0x3c
 | |
| };
 | |
| 
 | |
| #endif // ACT3SHARK_H
 |