Files
dusklight/include/SComponent/c_cc_d/c_cc_d.h
T
LC 61b7a10181 c_m3d: Make use of forward declarations (#104)
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.
2021-01-26 21:29:28 -05:00

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