mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-12-18 20:02:30 -05:00
24 lines
459 B
C
24 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
|