mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-06-11 12:39:48 -04:00
61b7a10181
Some inline helper function of the included files in the header make use of functions defined within it. This can cause a circular dependency cycle if said helper functions are ever defined within the classes. To break this potential cycle, we can use forward declarations. This also has the benefit of reducing preprocessing overhead a little bit.
44 lines
653 B
C++
44 lines
653 B
C++
#ifndef C_CC_D_H_
|
|
#define C_CC_D_H_
|
|
|
|
#include "SComponent/c_m3d_g_aab.h"
|
|
#include "SComponent/c_m3d_g_cps.h"
|
|
#include "SComponent/c_m3d_g_cyl.h"
|
|
|
|
class cCcD_ShapeAttr {
|
|
public:
|
|
private:
|
|
/* 0x00 */ cM3dGAab cm3dgaab;
|
|
/* 0x1C */ void* vtable;
|
|
};
|
|
|
|
class cCcD_CpsAttr {
|
|
public:
|
|
private:
|
|
/* 0x00 */ cCcD_ShapeAttr cccd_shapeattr;
|
|
/* 0x20 */ cM3dGCps cm3dgcps;
|
|
};
|
|
|
|
class cCcD_CylAttr {
|
|
public:
|
|
private:
|
|
cCcD_ShapeAttr cccd_shapeattr;
|
|
cM3dGCyl cm3dgcyl;
|
|
};
|
|
|
|
class cCcD_DivideInfo {
|
|
public:
|
|
private:
|
|
u8 field_0x0[12];
|
|
void* vtable;
|
|
};
|
|
|
|
class cCcD_DivideArea {
|
|
public:
|
|
private:
|
|
cM3dGAab cM3dGAab;
|
|
void* vtable;
|
|
};
|
|
|
|
#endif
|