Files
dusklight/include/d/d_simple_model.h
T
gymnast86 b748eaca1e Remove private specifiers from game code classes (#2375)
* remove private specifiers from game code

* fix formatting

* fix more formatting

* Add some missing public modifiers

---------

Co-authored-by: Luke Street <luke@street.dev>
2026-09-03 09:30:26 -06:00

67 lines
1.4 KiB
C++

#ifndef D_D_SIMPLE_MODEL_H
#define D_D_SIMPLE_MODEL_H
#include "JSystem/J3DGraphAnimator/J3DModel.h"
class JKRSolidHeap;
class modelList_c {
public:
void init() {
mpModel = NULL;
field_0x4 = NULL;
}
void set(J3DModel* model) { mpModel = model; }
/* 0x0 */ J3DModel* mpModel;
/* 0x4 */ modelList_c* field_0x4;
};
class diff_model_c {
public:
diff_model_c();
BOOL create(J3DModelData*, int, u8);
J3DModelData* getModelData();
void remove(int);
void draw();
void init();
BOOL isSame(J3DModelData*, int);
s32 getRoomNo();
void insert(modelList_c*);
J3DModel* getModel() { return mpModel; }
#if TARGET_PC
void setIdx(u8 idx) { this->idx = idx; }
#endif
/* 0x00 */ JKRSolidHeap* mpHeap;
/* 0x04 */ J3DModel* mpModel;
/* 0x08 */ int mCreateNum;
/* 0x0C */ modelList_c* mpList;
/* 0x10 */ u8 mDrawBG;
/* 0x11 */ s8 mRoomNo;
/* 0x12 */ u8 field_0x12;
#if TARGET_PC
u8 idx;
#endif
}; // Size: 0x14
class dSmplMdl_draw_c {
public:
dSmplMdl_draw_c();
void draw();
void entry(J3DModel*, int);
BOOL addModel(J3DModelData*, int, u8);
int removeModel(J3DModelData*, int);
virtual ~dSmplMdl_draw_c();
/* 0x04 */ diff_model_c mModel[8];
/* 0xA4 */ int mListCount;
/* 0xA8 */ modelList_c mList[500];
}; // Size: 0x1048
#endif /* D_D_SIMPLE_MODEL_H */