mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-17 21:03:35 -04:00
Debug build improvements (#1170)
This commit is contained in:
@@ -15,6 +15,7 @@ class cCcD_TriAttr;
|
||||
class cCcD_AabAttr;
|
||||
class cCcD_CylAttr;
|
||||
class cCcD_SphAttr;
|
||||
typedef struct _GXColor GXColor;
|
||||
|
||||
enum cCcD_AtSPrm_e {
|
||||
/* 0x01 */ cCcD_AtSPrm_Set_e = 0x01,
|
||||
@@ -590,6 +591,9 @@ public:
|
||||
virtual cCcD_GObjInf* GetGObjInf() { return NULL; }
|
||||
virtual cCcD_ShapeAttr const* GetShapeAttr() const { return NULL; }
|
||||
virtual cCcD_ShapeAttr* GetShapeAttr() { return NULL; }
|
||||
#ifdef DEBUG
|
||||
virtual void Draw(GXColor const&) {}
|
||||
#endif
|
||||
void ct() {
|
||||
mFlags = 0;
|
||||
}
|
||||
|
||||
@@ -20,6 +20,12 @@ public:
|
||||
/* 0x2804 */ int mObjTgCount;
|
||||
/* 0x2808 */ int mObjCoCount;
|
||||
/* 0x280C */ int mObjCount;
|
||||
#if DEBUG
|
||||
int mObjAtDrawCount;
|
||||
int mObjTgDrawCount;
|
||||
int mObjCoDrawCount;
|
||||
int mObjDrawCount;
|
||||
#endif
|
||||
/* 0x2810 */ cCcD_DivideArea mDivideArea;
|
||||
/* 0x2850 vtable */
|
||||
|
||||
@@ -63,6 +69,8 @@ public:
|
||||
virtual void SetCoGCorrectProc(cCcD_Obj*, cCcD_Obj*);
|
||||
}; // Size = 0x2850
|
||||
|
||||
#if !DEBUG
|
||||
STATIC_ASSERT(sizeof(cCcS) == 0x2854);
|
||||
#endif
|
||||
|
||||
#endif /* C_CC_S_H */
|
||||
|
||||
@@ -165,4 +165,8 @@ inline f32 cM3d_LenSq(const Vec* a, const Vec* b) {
|
||||
return VECSquareDistance(a, b);
|
||||
}
|
||||
|
||||
#ifdef DEBUG
|
||||
bool cM3d_UpMtx(const Vec& param_1, Mtx param_2);
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user