summaryrefslogtreecommitdiff
path: root/src/code
diff options
context:
space:
mode:
Diffstat (limited to 'src/code')
-rw-r--r--src/code/fault.c2
-rw-r--r--src/code/fault_drawer.c2
-rw-r--r--src/code/flg_set.c2
-rw-r--r--src/code/shrink_window.c2
-rw-r--r--src/code/speed_meter.c4
-rw-r--r--src/code/ucode_disas.c12
-rw-r--r--src/code/z_actor.c10
-rw-r--r--src/code/z_bgcheck.c4
-rw-r--r--src/code/z_camera.c2
-rw-r--r--src/code/z_camera_data.inc.c6
-rw-r--r--src/code/z_collision_check.c8
-rw-r--r--src/code/z_debug.c4
-rw-r--r--src/code/z_debug_display.c2
-rw-r--r--src/code/z_demo.c4
-rw-r--r--src/code/z_draw.c2
-rw-r--r--src/code/z_fbdemo_circle.c2
-rw-r--r--src/code/z_fbdemo_fade.c4
-rw-r--r--src/code/z_fbdemo_wipe1.c2
-rw-r--r--src/code/z_fcurve_data_skelanime.c2
-rw-r--r--src/code/z_horse.c4
-rw-r--r--src/code/z_kankyo.c10
-rw-r--r--src/code/z_lights.c2
-rw-r--r--src/code/z_map_mark.c4
-rw-r--r--src/code/z_parameter.c2
-rw-r--r--src/code/z_player_lib.c4
-rw-r--r--src/code/z_quake.c2
-rw-r--r--src/code/z_room.c2
-rw-r--r--src/code/z_ss_sram.c2
-rw-r--r--src/code/z_vr_box.c2
29 files changed, 55 insertions, 55 deletions
diff --git a/src/code/fault.c b/src/code/fault.c
index 17d7a214d..3251bb832 100644
--- a/src/code/fault.c
+++ b/src/code/fault.c
@@ -85,7 +85,7 @@ STACK(sFaultStack, 0x600);
StackEntry sFaultThreadInfo;
FaultMgr gFaultMgr;
-typedef struct {
+typedef struct FaultClientTask {
/* 0x00 */ s32 (*callback)(void*, void*);
/* 0x04 */ void* arg0;
/* 0x08 */ void* arg1;
diff --git a/src/code/fault_drawer.c b/src/code/fault_drawer.c
index 5c82b7a0b..6b85edb43 100644
--- a/src/code/fault_drawer.c
+++ b/src/code/fault_drawer.c
@@ -7,7 +7,7 @@
#include "global.h"
#include "terminal.h"
-typedef struct {
+typedef struct FaultDrawer {
/* 0x00 */ u16* fb;
/* 0x04 */ u16 w;
/* 0x06 */ u16 h;
diff --git a/src/code/flg_set.c b/src/code/flg_set.c
index 190439486..de5b2a3d3 100644
--- a/src/code/flg_set.c
+++ b/src/code/flg_set.c
@@ -1,6 +1,6 @@
#include "global.h"
-typedef struct {
+typedef struct FlagSetEntry {
/* 0x00 */ u16* value;
/* 0x04 */ const char* name;
} FlagSetEntry; // size = 0x08
diff --git a/src/code/shrink_window.c b/src/code/shrink_window.c
index d2cbf78f3..2dbe295e6 100644
--- a/src/code/shrink_window.c
+++ b/src/code/shrink_window.c
@@ -1,6 +1,6 @@
#include "global.h"
-typedef enum {
+typedef enum LetterboxState {
/* 0 */ LETTERBOX_STATE_IDLE,
/* 1 */ LETTERBOX_STATE_GROWING,
/* 2 */ LETTERBOX_STATE_SHRINKING
diff --git a/src/code/speed_meter.c b/src/code/speed_meter.c
index dff46d91e..a9ddee071 100644
--- a/src/code/speed_meter.c
+++ b/src/code/speed_meter.c
@@ -56,7 +56,7 @@ volatile OSTime D_8016A578;
// Accumulator for `gRDPTimeTotal`
volatile OSTime gRDPTimeAcc;
-typedef struct {
+typedef struct SpeedMeterTimeEntry {
/* 0x00 */ volatile OSTime* time;
/* 0x04 */ u8 x;
/* 0x05 */ u8 y;
@@ -74,7 +74,7 @@ SpeedMeterTimeEntry sSpeedMeterTimeEntryArray[] = {
{ &gGraphUpdatePeriod, 0, 10, GPACK_RGBA5551(255, 0, 255, 1) },
};
-typedef struct {
+typedef struct SpeedMeterAllocEntry {
/* 0x00 */ s32 maxval;
/* 0x04 */ s32 val;
/* 0x08 */ u16 backColor;
diff --git a/src/code/ucode_disas.c b/src/code/ucode_disas.c
index de6f7eed4..a3540390c 100644
--- a/src/code/ucode_disas.c
+++ b/src/code/ucode_disas.c
@@ -1,28 +1,28 @@
#include "global.h"
-typedef struct {
+typedef struct F3dzexConst {
/* 0x00 */ u32 value;
/* 0x04 */ const char* name;
} F3dzexConst; // size = 0x8
-typedef struct {
+typedef struct F3dzexFlag {
/* 0x00 */ u32 value;
/* 0x04 */ const char* setName;
/* 0x08 */ const char* unsetName;
} F3dzexFlag; // size = 0x0C
-typedef struct {
+typedef struct F3dzexRenderMode {
/* 0x00 */ const char* name;
/* 0x04 */ u32 value;
/* 0x08 */ u32 mask;
} F3dzexRenderMode; // size = 0x0C
-typedef struct {
+typedef struct F3dzexSetModeMacroValue {
/* 0x00 */ const char* name;
/* 0x04 */ u32 value;
} F3dzexSetModeMacroValue; // size = 0x8
-typedef struct {
+typedef struct F3dzexSetModeMacro {
/* 0x00 */ const char* name;
/* 0x04 */ u32 shift;
/* 0x08 */ u32 len;
@@ -69,7 +69,7 @@ F3dzexFlag sUCodeDisasMtxFlags[] = {
F3DZEX_FLAG(G_MTX_PUSH, G_MTX_NOPUSH),
};
-typedef enum {
+typedef enum CombinerArg {
COMBINER_A = 1,
COMBINER_B,
COMBINER_C,
diff --git a/src/code/z_actor.c b/src/code/z_actor.c
index 9768a272a..cde373de5 100644
--- a/src/code/z_actor.c
+++ b/src/code/z_actor.c
@@ -235,7 +235,7 @@ void Actor_ProjectPos(PlayState* play, Vec3f* src, Vec3f* xyzDest, f32* cappedIn
*cappedInvWDest = (*cappedInvWDest < 1.0f) ? 1.0f : (1.0f / *cappedInvWDest);
}
-typedef struct {
+typedef struct NaviColor {
/* 0x00 */ Color_RGBA8 inner;
/* 0x04 */ Color_RGBA8 outer;
} NaviColor; // size = 0x8
@@ -1540,7 +1540,7 @@ f32 func_8002EFC0(Actor* actor, Player* player, s16 arg2) {
return actor->xyzDistToPlayerSq;
}
-typedef struct {
+typedef struct TargetRangeParams {
/* 0x0 */ f32 rangeSq;
/* 0x4 */ f32 leashScale;
} TargetRangeParams; // size = 0x8
@@ -3745,7 +3745,7 @@ f32 Rand_CenteredFloat(f32 f) {
return (Rand_ZeroOne() - 0.5f) * f;
}
-typedef struct {
+typedef struct DoorLockInfo {
/* 0x00 */ f32 chainAngle;
/* 0x04 */ f32 chainLength;
/* 0x08 */ f32 yShift;
@@ -3900,7 +3900,7 @@ s32 Npc_UpdateTalking(PlayState* play, Actor* actor, s16* talkState, f32 interac
return false;
}
-typedef struct {
+typedef struct NpcTrackingRotLimits {
/* 0x00 */ s16 maxHeadYaw;
/* 0x02 */ s16 minHeadPitch;
/* 0x04 */ s16 maxHeadPitch;
@@ -3910,7 +3910,7 @@ typedef struct {
/* 0x0C */ u8 rotateYaw;
} NpcTrackingRotLimits; // size = 0x10
-typedef struct {
+typedef struct NpcTrackingParams {
/* 0x00 */ NpcTrackingRotLimits rotLimits;
// Fields specific to NPC_TRACKING_PLAYER_AUTO_TURN mode
/* 0x10 */ f32 autoTurnDistanceRange; // Max distance to player to enable tracking and auto-turn
diff --git a/src/code/z_bgcheck.c b/src/code/z_bgcheck.c
index 4906fc556..0d981f6e7 100644
--- a/src/code/z_bgcheck.c
+++ b/src/code/z_bgcheck.c
@@ -1484,7 +1484,7 @@ s32 BgCheck_IsSpotScene(PlayState* play) {
return false;
}
-typedef struct {
+typedef struct BgCheckSceneMemEntry {
s16 sceneId;
u32 memSize;
} BgCheckSceneMemEntry;
@@ -1523,7 +1523,7 @@ void BgCheck_SetSubdivisionDimension(f32 min, s32 subdivAmount, f32* max, f32* s
*max = *subdivLength * subdivAmount + min;
}
-typedef struct {
+typedef struct BgCheckSceneSubdivisionEntry {
s16 sceneId;
Vec3s subdivAmount;
s32 nodeListMax; // if -1, dynamically compute max nodes
diff --git a/src/code/z_camera.c b/src/code/z_camera.c
index ae9a744c5..019a4a895 100644
--- a/src/code/z_camera.c
+++ b/src/code/z_camera.c
@@ -7041,7 +7041,7 @@ s32 Camera_Special5(Camera* camera) {
return true;
}
-typedef enum {
+typedef enum CamElevatorPlatform {
/* 0 */ CAM_ELEVATOR_PLATFORM_FIRE_TEMPLE_LOWER_FLOOR, // ACTOR_BG_HIDAN_ROCK
/* 1 */ CAM_ELEVATOR_PLATFORM_FIRE_TEMPLE_EAST_TOWER, // ACTOR_BG_HIDAN_FSLIFT
/* 2 */ CAM_ELEVATOR_PLATFORM_FIRE_TEMPLE_WEST_TOWER, // ACTOR_BG_HIDAN_SYOKU
diff --git a/src/code/z_camera_data.inc.c b/src/code/z_camera_data.inc.c
index dc319636a..3212173fd 100644
--- a/src/code/z_camera_data.inc.c
+++ b/src/code/z_camera_data.inc.c
@@ -1,18 +1,18 @@
#include "ultra64.h"
#include "global.h"
-typedef struct {
+typedef struct CameraModeValue {
s16 val;
s16 dataType;
} CameraModeValue;
-typedef struct {
+typedef struct CameraMode {
s16 funcIdx;
s16 valueCnt;
CameraModeValue* values;
} CameraMode;
-typedef struct {
+typedef struct CameraSetting {
union {
u32 unk_00;
struct {
diff --git a/src/code/z_collision_check.c b/src/code/z_collision_check.c
index 4303b0577..22f266ca1 100644
--- a/src/code/z_collision_check.c
+++ b/src/code/z_collision_check.c
@@ -1602,12 +1602,12 @@ s32 CollisionCheck_SwordHitAudio(Collider* atCol, ColliderElement* acElem) {
return true;
}
-typedef struct {
+typedef struct HitInfo {
/* 0x0 */ u8 blood;
/* 0x1 */ u8 effect;
} HitInfo; // size = 0x2
-typedef enum {
+typedef enum ColChkBloodType {
/* 0 */ BLOOD_NONE,
/* 1 */ BLOOD_BLUE,
/* 2 */ BLOOD_GREEN,
@@ -1616,7 +1616,7 @@ typedef enum {
/* 5 */ BLOOD_RED2
} ColChkBloodType;
-typedef enum {
+typedef enum ColChkHitType {
/* 0 */ HIT_WHITE,
/* 1 */ HIT_DUST,
/* 2 */ HIT_RED,
@@ -2687,7 +2687,7 @@ void CollisionCheck_AT(PlayState* play, CollisionCheckContext* colChkCtx) {
CollisionCheck_SetHitEffects(play, colChkCtx);
}
-typedef enum {
+typedef enum ColChkMassType {
/* 0 */ MASSTYPE_IMMOVABLE,
/* 1 */ MASSTYPE_HEAVY,
/* 2 */ MASSTYPE_NORMAL
diff --git a/src/code/z_debug.c b/src/code/z_debug.c
index 7a38b3ded..3e6e18494 100644
--- a/src/code/z_debug.c
+++ b/src/code/z_debug.c
@@ -1,13 +1,13 @@
#include "global.h"
-typedef struct {
+typedef struct DebugCamTextBufferEntry {
/* 0x0 */ u8 x;
/* 0x1 */ u8 y;
/* 0x2 */ u8 colorIndex;
/* 0x3 */ char text[21];
} DebugCamTextBufferEntry; // size = 0x18
-typedef struct {
+typedef struct InputCombo {
/* 0x0 */ u16 hold;
/* 0x2 */ u16 press;
} InputCombo; // size = 0x4
diff --git a/src/code/z_debug_display.c b/src/code/z_debug_display.c
index d1d5dd34c..41ac98f86 100644
--- a/src/code/z_debug_display.c
+++ b/src/code/z_debug_display.c
@@ -1,7 +1,7 @@
#include "global.h"
#include "assets/objects/gameplay_keep/gameplay_keep.h"
-typedef struct {
+typedef struct DebugDispObjectInfo {
/* 0x00 */ s16 drawType; // indicates which draw function to use when displaying the object
/* 0x04 */ void* drawArg; // segment address (display list or texture) passed to the draw function when called
} DebugDispObjectInfo; // size = 0x8
diff --git a/src/code/z_demo.c b/src/code/z_demo.c
index f86e32dcc..5d7dd7f3e 100644
--- a/src/code/z_demo.c
+++ b/src/code/z_demo.c
@@ -59,7 +59,7 @@ CutsceneHandler sScriptedCutsceneHandlers[] = {
CutsceneHandler_RunScript, // CS_STATE_RUN_UNSTOPPABLE
};
-typedef enum {
+typedef enum TitleDemoDestination {
/* 0 */ TITLE_DEMO_SPIRIT_TEMPLE,
/* 1 */ TITLE_DEMO_DEATH_MOUNTAIN_CRATER,
/* 2 */ TITLE_DEMO_GANONDORF_HORSE
@@ -67,7 +67,7 @@ typedef enum {
u8 sTitleDemoDestination = TITLE_DEMO_SPIRIT_TEMPLE;
-typedef struct {
+typedef struct EntranceCutscene {
/* 0x00 */ u16 entrance; // entrance index upon which the cutscene should trigger
/* 0x02 */ u8 ageRestriction; // 0 for adult only, 1 for child only, 2 for both ages
/* 0x03 */ u8 flag; // eventChkInf flag bound to the entrance cutscene
diff --git a/src/code/z_draw.c b/src/code/z_draw.c
index 671b8d0e2..d6d988676 100644
--- a/src/code/z_draw.c
+++ b/src/code/z_draw.c
@@ -106,7 +106,7 @@ void GetItem_DrawScale(PlayState* play, s16 drawId);
void GetItem_DrawBulletBag(PlayState* play, s16 drawId);
void GetItem_DrawWallet(PlayState* play, s16 drawId);
-typedef struct {
+typedef struct DrawItemTableEntry {
/* 0x00 */ void (*drawFunc)(PlayState*, s16);
/* 0x04 */ Gfx* dlists[8];
} DrawItemTableEntry; // size = 0x24
diff --git a/src/code/z_fbdemo_circle.c b/src/code/z_fbdemo_circle.c
index 72ee6e128..06f4d9ce3 100644
--- a/src/code/z_fbdemo_circle.c
+++ b/src/code/z_fbdemo_circle.c
@@ -1,6 +1,6 @@
#include "global.h"
-typedef enum {
+typedef enum TransitionCircleDirection {
/* 0 */ TRANS_CIRCLE_DIR_IN,
/* 1 */ TRANS_CIRCLE_DIR_OUT
} TransitionCircleDirection;
diff --git a/src/code/z_fbdemo_fade.c b/src/code/z_fbdemo_fade.c
index 171df7788..a63e3dbbd 100644
--- a/src/code/z_fbdemo_fade.c
+++ b/src/code/z_fbdemo_fade.c
@@ -1,12 +1,12 @@
#include "global.h"
#include "terminal.h"
-typedef enum {
+typedef enum TransitionFadeDirection {
/* 0 */ TRANS_FADE_DIR_IN,
/* 1 */ TRANS_FADE_DIR_OUT
} TransitionFadeDirection;
-typedef enum {
+typedef enum TransitionFadeType {
/* 0 */ TRANS_FADE_TYPE_NONE,
/* 1 */ TRANS_FADE_TYPE_ONE_WAY,
/* 2 */ TRANS_FADE_TYPE_FLASH
diff --git a/src/code/z_fbdemo_wipe1.c b/src/code/z_fbdemo_wipe1.c
index aea2235e3..4fb3ba38e 100644
--- a/src/code/z_fbdemo_wipe1.c
+++ b/src/code/z_fbdemo_wipe1.c
@@ -1,6 +1,6 @@
#include "global.h"
-typedef enum {
+typedef enum TransitionWipeDirection {
/* 0 */ TRANS_WIPE_DIR_IN,
/* 1 */ TRANS_WIPE_DIR_OUT
} TransitionWipeDirection;
diff --git a/src/code/z_fcurve_data_skelanime.c b/src/code/z_fcurve_data_skelanime.c
index 2348fa13a..37ac91818 100644
--- a/src/code/z_fcurve_data_skelanime.c
+++ b/src/code/z_fcurve_data_skelanime.c
@@ -77,7 +77,7 @@ void SkelCurve_SetAnim(SkelCurve* skelCurve, CurveAnimationHeader* animation, f3
skelCurve->animation = animation;
}
-typedef enum {
+typedef enum SkelCurveVecType {
/* 0 */ SKELCURVE_VEC_TYPE_SCALE,
/* 1 */ SKELCURVE_VEC_TYPE_ROTATION,
/* 2 */ SKELCURVE_VEC_TYPE_POSIITON,
diff --git a/src/code/z_horse.c b/src/code/z_horse.c
index 41fddbccf..ca5da34b4 100644
--- a/src/code/z_horse.c
+++ b/src/code/z_horse.c
@@ -34,7 +34,7 @@ void func_8006D0AC(PlayState* play) {
}
}
-typedef struct {
+typedef struct HorseSpawn {
/* 0x00 */ s16 sceneId;
/* 0x02 */ Vec3s pos;
/* 0x08 */ s16 angle;
@@ -121,7 +121,7 @@ void func_8006D0EC(PlayState* play, Player* player) {
}
}
-typedef struct {
+typedef struct struct_8011F9B8 {
/* 0x00 */ s16 sceneId;
/* 0x04 */ s32 cutsceneIndex;
/* 0x08 */ Vec3s pos;
diff --git a/src/code/z_kankyo.c b/src/code/z_kankyo.c
index f0f36341d..f75aceff6 100644
--- a/src/code/z_kankyo.c
+++ b/src/code/z_kankyo.c
@@ -9,14 +9,14 @@
#pragma increment_block_number "gc-eu:128 gc-eu-mq:128 gc-jp:128 gc-jp-ce:128 gc-jp-mq:128 gc-us:128 gc-us-mq:128"
-typedef enum {
+typedef enum LightningBoltState {
/* 0x00 */ LIGHTNING_BOLT_START,
/* 0x01 */ LIGHTNING_BOLT_WAIT,
/* 0x02 */ LIGHTNING_BOLT_DRAW,
/* 0xFF */ LIGHTNING_BOLT_INACTIVE = 0xFF
} LightningBoltState;
-typedef struct {
+typedef struct ZBufValConversionEntry {
/* 0x00 */ s32 mantissaShift; // shift applied to the mantissa of the z buffer value
/* 0x04 */ s32 base; // 15.3 fixed-point base value for the exponent
} ZBufValConversionEntry; // size = 0x8
@@ -41,7 +41,7 @@ u16 gTimeSpeed = 0;
u16 sSunScreenDepth = GPACK_ZDZ(G_MAXFBZ, 0);
-typedef struct {
+typedef struct TimeBasedLightEntry {
/* 0x00 */ u16 startTime;
/* 0x02 */ u16 endTime;
/* 0x04 */ u8 lightSetting;
@@ -193,7 +193,7 @@ s16 gLensFlareScale;
f32 gLensFlareColorIntensity;
s16 gLensFlareGlareStrength;
-typedef struct {
+typedef struct LightningBolt {
/* 0x00 */ u8 state;
/* 0x04 */ Vec3f offset;
/* 0x10 */ Vec3f pos;
@@ -1485,7 +1485,7 @@ void Environment_DrawSunLensFlare(PlayState* play, EnvironmentContext* envCtx, V
f32 sLensFlareScales[] = { 23.0f, 12.0f, 7.0f, 5.0f, 3.0f, 10.0f, 6.0f, 2.0f, 3.0f, 1.0f };
-typedef enum {
+typedef enum LensFlareType {
/* 0 */ LENS_FLARE_CIRCLE0,
/* 1 */ LENS_FLARE_CIRCLE1,
/* 2 */ LENS_FLARE_RING
diff --git a/src/code/z_lights.c b/src/code/z_lights.c
index ba197dee1..4f4a9a9cd 100644
--- a/src/code/z_lights.c
+++ b/src/code/z_lights.c
@@ -3,7 +3,7 @@
#define LIGHTS_BUFFER_SIZE 32
-typedef struct {
+typedef struct LightsBuffer {
/* 0x000 */ s32 numOccupied;
/* 0x004 */ s32 searchIndex;
/* 0x008 */ LightNode buf[LIGHTS_BUFFER_SIZE];
diff --git a/src/code/z_map_mark.c b/src/code/z_map_mark.c
index a5e5e5d76..eaaf4c1e7 100644
--- a/src/code/z_map_mark.c
+++ b/src/code/z_map_mark.c
@@ -2,7 +2,7 @@
#include "terminal.h"
#include "assets/textures/parameter_static/parameter_static.h"
-typedef struct {
+typedef struct MapMarkInfo {
/* 0x00 */ void* texture;
/* 0x04 */ u32 imageFormat;
/* 0x08 */ u32 imageSize;
@@ -14,7 +14,7 @@ typedef struct {
/* 0x20 */ u32 dtdy;
} MapMarkInfo; // size = 0x24
-typedef struct {
+typedef struct MapMarkDataOverlay {
/* 0x00 */ void* loadedRamAddr; // original name: "allocp"
/* 0x04 */ RomFile file;
/* 0x0C */ void* vramStart;
diff --git a/src/code/z_parameter.c b/src/code/z_parameter.c
index 9dc97ff1f..0950838a6 100644
--- a/src/code/z_parameter.c
+++ b/src/code/z_parameter.c
@@ -4,7 +4,7 @@
#include "assets/textures/do_action_static/do_action_static.h"
#include "assets/textures/icon_item_static/icon_item_static.h"
-typedef struct {
+typedef struct RestrictionFlags {
/* 0x00 */ u8 sceneId;
/* 0x01 */ u8 flags1;
/* 0x02 */ u8 flags2;
diff --git a/src/code/z_player_lib.c b/src/code/z_player_lib.c
index 7b90a1e35..bc47ab6ac 100644
--- a/src/code/z_player_lib.c
+++ b/src/code/z_player_lib.c
@@ -3,7 +3,7 @@
#include "assets/objects/object_link_boy/object_link_boy.h"
#include "assets/objects/object_link_child/object_link_child.h"
-typedef struct {
+typedef struct BowSlingshotStringData {
/* 0x00 */ Gfx* dList;
/* 0x04 */ Vec3f pos;
} BowSlingshotStringData; // size = 0x10
@@ -90,7 +90,7 @@ u8 sActionModelGroups[PLAYER_IA_MAX] = {
PLAYER_MODELGROUP_DEFAULT, // PLAYER_IA_LENS_OF_TRUTH
};
-typedef struct {
+typedef struct EnvHazardTextTriggerEntry {
/* 0x0 */ u8 flag;
/* 0x2 */ u16 textId;
} EnvHazardTextTriggerEntry; // size = 0x4
diff --git a/src/code/z_quake.c b/src/code/z_quake.c
index 50cc448be..317d05347 100644
--- a/src/code/z_quake.c
+++ b/src/code/z_quake.c
@@ -2,7 +2,7 @@
#include "quake.h"
#include "terminal.h"
-typedef struct {
+typedef struct QuakeRequest {
/* 0x00 */ s16 index;
/* 0x02 */ s16 duration;
/* 0x04 */ Camera* cam;
diff --git a/src/code/z_room.c b/src/code/z_room.c
index 9c16a53b6..cb3b624ac 100644
--- a/src/code/z_room.c
+++ b/src/code/z_room.c
@@ -69,7 +69,7 @@ void Room_DrawNormal(PlayState* play, Room* room, u32 flags) {
CLOSE_DISPS(play->state.gfxCtx, "../z_room.c", 239);
}
-typedef enum {
+typedef enum RoomCullableDebugMode {
/* 0 */ ROOM_CULL_DEBUG_MODE_OFF,
/* 1 */ ROOM_CULL_DEBUG_MODE_UP_TO_TARGET,
/* 2 */ ROOM_CULL_DEBUG_MODE_ONLY_TARGET
diff --git a/src/code/z_ss_sram.c b/src/code/z_ss_sram.c
index 75c61539a..dd26d695c 100644
--- a/src/code/z_ss_sram.c
+++ b/src/code/z_ss_sram.c
@@ -1,7 +1,7 @@
#include "ultra64.h"
#include "global.h"
-typedef struct {
+typedef struct SsSramContext {
/* 0x00 */ OSPiHandle piHandle;
/* 0x74 */ OSIoMesg ioMesg;
/* 0x8C */ OSMesgQueue msgQueue;
diff --git a/src/code/z_vr_box.c b/src/code/z_vr_box.c
index caebcec0b..ca183ce48 100644
--- a/src/code/z_vr_box.c
+++ b/src/code/z_vr_box.c
@@ -2,7 +2,7 @@
#include "terminal.h"
#include "z64environment.h"
-typedef struct {
+typedef struct SkyboxFaceParams {
/* 0x000 */ s32 xStart;
/* 0x004 */ s32 yStart;
/* 0x008 */ s32 zStart;