mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-21 22:10:59 -04:00
JPATexture match
This commit is contained in:
@@ -16,24 +16,23 @@ struct JPATextureData {
|
||||
|
||||
class JPATexture {
|
||||
public:
|
||||
virtual ~JPATexture();
|
||||
virtual const char* getName() const;
|
||||
virtual void load(GXTexMapID);
|
||||
virtual JUTTexture* getJUTTexture();
|
||||
|
||||
JUTTexture mTexture;
|
||||
virtual ~JPATexture() {}
|
||||
virtual const char* getName() const = 0;
|
||||
virtual void load(GXTexMapID) = 0;
|
||||
virtual JUTTexture* getJUTTexture() = 0;
|
||||
};
|
||||
|
||||
class JPATextureArc : public JPATexture {
|
||||
public:
|
||||
JPATextureArc(u8 const*);
|
||||
virtual ~JPATextureArc();
|
||||
virtual ~JPATextureArc() {}
|
||||
|
||||
const char* getName() const { return mpData->mName; }
|
||||
void load(GXTexMapID texMapID) { mTexture.load(texMapID); }
|
||||
JUTTexture* getJUTTexture() { return &mTexture; }
|
||||
virtual const char* getName() const { return mpData->mName; }
|
||||
virtual void load(GXTexMapID texMapID) { mTexture.load(texMapID); }
|
||||
virtual JUTTexture* getJUTTexture() { return &mTexture; }
|
||||
|
||||
public:
|
||||
JUTTexture mTexture;
|
||||
const JPATextureData* mpData;
|
||||
};
|
||||
|
||||
|
||||
@@ -41,7 +41,6 @@ public:
|
||||
JUTTexture() {
|
||||
setCaptureFlag(false);
|
||||
mEmbPalette = NULL;
|
||||
mTexInfo = NULL;
|
||||
}
|
||||
|
||||
JUTTexture(const ResTIMG* p_timg, u8 param_1) {
|
||||
|
||||
Reference in New Issue
Block a user