mirror of
https://github.com/zeldaret/st
synced 2026-07-02 04:15:59 -04:00
Make hex number case more consistent (#83)
* consistent hex in vfunc names * consistent hex in code * Actor_c4 -> Actor_C4, Actor_9c -> Actor_9C
This commit is contained in:
@@ -37,12 +37,12 @@ typedef struct G3d_BoneMtxStruct_ {
|
||||
/* 00 */ u32 flag;
|
||||
/* 04 */ u8 mUnk_04[0x24];
|
||||
/* 28 */ Mat3p rot;
|
||||
/* 58 */ u8 mUnk_58[0xc];
|
||||
/* 58 */ u8 mUnk_58[0xC];
|
||||
/* 64 */
|
||||
} G3d_BoneMtxStruct;
|
||||
|
||||
typedef enum {
|
||||
G3D_ANIMBIND_UNK = 0xff,
|
||||
G3D_ANIMBIND_UNK = 0xFF,
|
||||
G3D_ANIMBIND_EXISTS = 0x100,
|
||||
G3D_ANIMBIND_OFF = 0x200
|
||||
} G3d_AnimationBinds;
|
||||
@@ -165,7 +165,7 @@ typedef struct G3d_MaterialAnimation_ {
|
||||
/* 38 */
|
||||
} G3d_MaterialAnimation;
|
||||
|
||||
#define G3D_TEXIMAGE_PARM_TEX_COORD_MODE 0xc0000000
|
||||
#define G3D_TEXIMAGE_PARM_TEX_COORD_MODE 0xC0000000
|
||||
|
||||
extern void *G3d_gScaleHandlers[3];
|
||||
extern void *G3d_gSRTTransformHandlers[3];
|
||||
|
||||
@@ -11,10 +11,10 @@ typedef enum {
|
||||
G3D_SBC_CMD_007 = 0x7,
|
||||
G3D_SBC_CMD_008 = 0x8,
|
||||
G3D_SBC_CMD_SKN = 0x9,
|
||||
G3D_SBC_CMD_00A = 0xa,
|
||||
G3D_SBC_CMD_SCL = 0xb,
|
||||
G3D_SBC_CMD_00C = 0xc,
|
||||
G3D_SBC_CMD_00D = 0xd
|
||||
G3D_SBC_CMD_00A = 0xA,
|
||||
G3D_SBC_CMD_SCL = 0xB,
|
||||
G3D_SBC_CMD_00C = 0xC,
|
||||
G3D_SBC_CMD_00D = 0xD
|
||||
} G3d_SBC_Commands;
|
||||
|
||||
typedef enum {
|
||||
@@ -91,7 +91,7 @@ static inline void G3d_RestoreMtx_inline(u32 idx) {
|
||||
}
|
||||
|
||||
static inline void G3d_MtxMult33_inline(const Mat3p *m) {
|
||||
PushGeometryCommand(0x1a, (u32 *) m, 9);
|
||||
PushGeometryCommand(0x1A, (u32 *) m, 9);
|
||||
}
|
||||
|
||||
static inline void G3d_MtxMult43_inline(const Mat4x3p *m) {
|
||||
@@ -107,5 +107,5 @@ static inline void G3d_Scale_inline(fx32 x, fx32 y, fx32 z) {
|
||||
vec.x = x;
|
||||
vec.y = y;
|
||||
vec.z = z;
|
||||
PushGeometryCommand(0x1b, (u32 *) &vec, 3);
|
||||
PushGeometryCommand(0x1B, (u32 *) &vec, 3);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user