mirror of
https://github.com/zeldaret/tp
synced 2026-05-23 06:54:28 -04:00
a61e3491f7
* initial freezard actor struct + setActionMode OK * daE_FZ_Draw * setReflectAngle * mBoundSoundset * daE_FZ_Execute & execute * demoDelete * daE_FZ_Delete & _delete * CreateHeap * useHeapInit * cc_set * mtx_set * action WIP * way_gake_check * executeRollMove * executeMove * draw WIP * executeDamage * checkpoint * create * checkpoint * daE_FZ_c::executeWait * checkpoint * daE_FZ_c::damage_check almost done * rm asm * rm headers * setup_profile WIP + doxygen update * fix merge issues * docs fix? * fix2 * doxygen updates * setup g_profile_E_FZ, profile setup script WIP * update github actions * update progress.md
37 lines
728 B
C++
37 lines
728 B
C++
#ifndef JPATEXTURE_H
|
|
#define JPATEXTURE_H
|
|
|
|
#include "JSystem/JUtility/JUTTexture.h"
|
|
|
|
/**
|
|
* @ingroup jsystem-jparticle
|
|
*
|
|
*/
|
|
struct JPATextureData {
|
|
// Probably magic / size / flags up top here, but they're unused.
|
|
/* 0x00 */ char field_0x00[0x0C];
|
|
/* 0x0C */ char mName[0x14];
|
|
/* 0x20 */ ResTIMG mResTIMG;
|
|
};
|
|
|
|
/**
|
|
* @ingroup jsystem-jparticle
|
|
*
|
|
*/
|
|
class JPATexture {
|
|
public:
|
|
JPATexture(u8 const*);
|
|
virtual ~JPATexture();
|
|
|
|
void load(GXTexMapID texMapID) { mTexture.load(texMapID); }
|
|
|
|
JUTTexture* getJUTTexture() { return &mTexture; }
|
|
const char* getName() const { return mpData->mName; }
|
|
|
|
public:
|
|
JUTTexture mTexture;
|
|
const JPATextureData* mpData;
|
|
};
|
|
|
|
#endif /* JPATEXTURE_H */
|