mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 08:24:16 +00:00
Implement LegoTexturePresenter::Read and Store (#641)
* LegoTexturePresenter::Read * Implement LegoTexturePresenter::Store * Rename * Fix naming
This commit is contained in:

committed by
GitHub

parent
fb800db862
commit
9e2f37e7ca
27
LEGO1/lego/legoomni/include/legonamedtexture.h
Normal file
27
LEGO1/lego/legoomni/include/legonamedtexture.h
Normal file
@@ -0,0 +1,27 @@
|
||||
#ifndef LEGONAMEDTEXTURE_H
|
||||
#define LEGONAMEDTEXTURE_H
|
||||
|
||||
#include "misc/legotexture.h"
|
||||
#include "mxstring.h"
|
||||
|
||||
// SIZE 0x14
|
||||
class LegoNamedTexture {
|
||||
public:
|
||||
LegoNamedTexture(const char* p_name, LegoTexture* p_texture)
|
||||
{
|
||||
m_name = p_name;
|
||||
m_texture = p_texture;
|
||||
}
|
||||
~LegoNamedTexture() { delete m_texture; }
|
||||
|
||||
// FUNCTION: LEGO1 0x1003f920
|
||||
const MxString* GetName() const { return &m_name; }
|
||||
|
||||
LegoTexture* GetTexture() { return m_texture; }
|
||||
|
||||
private:
|
||||
MxString m_name; // 0x00
|
||||
LegoTexture* m_texture; // 0x04
|
||||
};
|
||||
|
||||
#endif // LEGONAMEDTEXTURE_H
|
Reference in New Issue
Block a user