mirror of
https://github.com/isledecomp/isle.git
synced 2024-12-23 14:32:41 -05:00
2bebc09da3
* 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>
23 lines
459 B
C++
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
|