isle-portable/LEGO1/lego/sources/misc/legotexture.h
Nathan M Gilbert 2bebc09da3
Implement misc.lib ()
* Implement misc.lib

* Lowercase files

* Minor changes

* Fix file cases

* Fixes

* Fix missing dtor

* Add override

* Match LegoImage::Read

* Fix delete call

---------

Co-authored-by: Christian Semmler <mail@csemmler.com>
2024-01-24 18:12:57 +01:00

23 lines
459 B
C++

#ifndef __LEGOTEXTURE_H
#define __LEGOTEXTURE_H
#include "legotypes.h"
class LegoImage;
class LegoStorage;
// SIZE 0x04
class LegoTexture {
public:
LegoTexture();
~LegoTexture();
LegoImage* GetImage() { return m_image; }
void SetImage(LegoImage* p_image) { m_image = p_image; }
LegoResult Read(LegoStorage* p_storage, LegoU32 p_square);
LegoResult Write(LegoStorage* p_storage);
protected:
LegoImage* m_image; // 0x00
};
#endif // __LEGOTEXTURE_H