mirror of
				https://github.com/isledecomp/isle.git
				synced 2025-10-26 01:44:19 +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>
		
	
		
			
				
	
	
		
			42 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			42 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			C++
		
	
	
	
	
	
| #ifndef LEGOTEXTUREPRESENTER_H
 | |
| #define LEGOTEXTUREPRESENTER_H
 | |
| 
 | |
| #include "legonamedtexturelist.h"
 | |
| #include "mxmediapresenter.h"
 | |
| 
 | |
| // VTABLE: LEGO1 0x100d4d90
 | |
| // SIZE 0x54
 | |
| class LegoTexturePresenter : public MxMediaPresenter {
 | |
| public:
 | |
| 	LegoTexturePresenter() : m_textures(NULL) {}
 | |
| 	~LegoTexturePresenter() override;
 | |
| 
 | |
| 	// FUNCTION: LEGO1 0x1000ce50
 | |
| 	inline const char* ClassName() const override // vtable+0x0c
 | |
| 	{
 | |
| 		// STRING: LEGO1 0x100f0664
 | |
| 		return "LegoTexturePresenter";
 | |
| 	}
 | |
| 
 | |
| 	// FUNCTION: LEGO1 0x1000ce60
 | |
| 	inline MxBool IsA(const char* p_name) const override // vtable+0x10
 | |
| 	{
 | |
| 		return !strcmp(p_name, LegoTexturePresenter::ClassName()) || MxMediaPresenter::IsA(p_name);
 | |
| 	}
 | |
| 
 | |
| 	void DoneTickle() override;       // vtable+0x2c
 | |
| 	MxResult AddToManager() override; // vtable+0x34
 | |
| 	MxResult PutData() override;      // vtable+0x4c
 | |
| 
 | |
| 	// SYNTHETIC: LEGO1 0x1000cf40
 | |
| 	// LegoTexturePresenter::`scalar deleting destructor'
 | |
| 
 | |
| 	MxResult Read(MxDSChunk& p_chunk);
 | |
| 	MxResult Store();
 | |
| 
 | |
| private:
 | |
| 	LegoNamedTextureList* m_textures; // 0x50
 | |
| };
 | |
| 
 | |
| #endif // LEGOTEXTUREPRESENTER_H
 |