summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
Diffstat (limited to 'libs')
-rw-r--r--libs/nds/include/nds/g3d/g3d.h4
-rw-r--r--libs/nds/include/nds/g3d/sbc.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/libs/nds/include/nds/g3d/g3d.h b/libs/nds/include/nds/g3d/g3d.h
index 36faa173..03f2a1e2 100644
--- a/libs/nds/include/nds/g3d/g3d.h
+++ b/libs/nds/include/nds/g3d/g3d.h
@@ -34,7 +34,7 @@ typedef struct G3d_BoneMtxStruct {
/* 64 */
} G3d_BoneMtxStruct;
-typedef enum {
+typedef enum G3d_AnimationBinds {
G3D_ANIMBIND_UNK = 0xff,
G3D_ANIMBIND_EXISTS = 0x100,
G3D_ANIMBIND_OFF = 0x200
@@ -89,7 +89,7 @@ static inline G3d_NameList *G3d_GetMesh(const G3d_Model *mdl) {
return (G3d_NameList *) ((u8 *) mdl + mdl->offMesh);
}
-typedef enum {
+typedef enum G3d_RenderObjFlag {
G3D_RENDEROBJ_FLAG_STORE = 0x1, // stores results in local cache
G3D_RENDEROBJ_FLAG_SKIP_CMD = 0x2, // skips pushing geometry commands to the FIFO
G3D_RENDEROBJ_FLAG_SKIP_SBC_DRAW = 0x4, // skips the execution of rendering commands
diff --git a/libs/nds/include/nds/g3d/sbc.h b/libs/nds/include/nds/g3d/sbc.h
index 2ac3ec3b..88dcc25d 100644
--- a/libs/nds/include/nds/g3d/sbc.h
+++ b/libs/nds/include/nds/g3d/sbc.h
@@ -3,7 +3,7 @@
extern void PushGeometryCommand(u32 command, void *data, s32 length);
-typedef enum {
+typedef enum G3d_SBC_Commands {
G3D_SBC_CMD_NOP = 0x0,
G3D_SBC_CMD_END = 0x1,
G3D_SBC_CMD_VIS = 0x2,
@@ -16,7 +16,7 @@ typedef enum {
G3D_SBC_CMD_00D = 0xd
} G3d_SBC_Commands;
-typedef enum {
+typedef enum G3d_RenderStateFlag {
G3D_RENDERST_FLAG_BONE_VISIBLE = 0x1,
G3D_RENDERST_FLAG_MAT_TRANSPARENT = 0x2,
G3D_RENDERST_FLAG_VALID_NODE = 0x4,