mirror of
https://github.com/isledecomp/isle.git
synced 2024-11-23 08:08:03 -05:00
9e2f37e7ca
* LegoTexturePresenter::Read * Implement LegoTexturePresenter::Store * Rename * Fix naming
30 lines
662 B
C++
30 lines
662 B
C++
#ifndef LEGOTEXTUREINFO_H
|
|
#define LEGOTEXTUREINFO_H
|
|
|
|
#include "misc/legotypes.h"
|
|
#include "tgl/tgl.h"
|
|
|
|
#include <d3drmobj.h>
|
|
#include <ddraw.h>
|
|
|
|
class LegoTexture;
|
|
|
|
// SIZE 0x10
|
|
class LegoTextureInfo {
|
|
public:
|
|
LegoTextureInfo();
|
|
~LegoTextureInfo();
|
|
|
|
static LegoTextureInfo* Create(const char* p_name, LegoTexture* p_texture);
|
|
static BOOL SetGroupTexture(Tgl::Mesh* pMesh, LegoTextureInfo* p_textureInfo);
|
|
|
|
LegoResult FUN_10066010(LegoU8* p_bits);
|
|
|
|
// private:
|
|
char* m_name; // 0x00
|
|
LPDIRECTDRAWSURFACE m_surface; // 0x04
|
|
LPDIRECTDRAWPALETTE m_palette; // 0x08
|
|
LPDIRECT3DRMTEXTURE2 m_texture; // 0x0c
|
|
};
|
|
|
|
#endif // LEGOTEXTUREINFO_H
|