summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorcadmic <cadmic24@gmail.com>2024-08-12 00:07:48 -0700
committerGitHub <noreply@github.com>2024-08-12 03:07:48 -0400
commite6bc4bd8cb66b2e7b946829b3892fd0d2967fde3 (patch)
tree577bcf5f89d620dbea0cac0ccb76e692becee90e /src
parent672728455d2ab5f46953660189523336acf5075d (diff)
Add names to all typedef'd structs, unions, and enums (#2028)
* Add names to all typedef'd structs, unions, and enums * wtf vs code * Use a better regex
Diffstat (limited to 'src')
-rw-r--r--src/audio/general.c12
-rw-r--r--src/audio/lib/heap.c2
-rw-r--r--src/audio/lib/load.c4
-rw-r--r--src/audio/lib/seqplayer.c2
-rw-r--r--src/audio/lib/synthesis.c2
-rw-r--r--src/audio/sequence.c2
-rw-r--r--src/audio/sfx.c4
-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
-rw-r--r--src/libultra/os/initialize.c2
-rw-r--r--src/overlays/actors/ovl_Bg_Bdan_Objects/z_bg_bdan_objects.c4
-rw-r--r--src/overlays/actors/ovl_Bg_Bdan_Objects/z_bg_bdan_objects.h2
-rw-r--r--src/overlays/actors/ovl_Bg_Bdan_Switch/z_bg_bdan_switch.h2
-rw-r--r--src/overlays/actors/ovl_Bg_Breakwall/z_bg_breakwall.c2
-rw-r--r--src/overlays/actors/ovl_Bg_Breakwall/z_bg_breakwall.h2
-rw-r--r--src/overlays/actors/ovl_Bg_Ddan_Jd/z_bg_ddan_jd.c2
-rw-r--r--src/overlays/actors/ovl_Bg_Dodoago/z_bg_dodoago.h2
-rw-r--r--src/overlays/actors/ovl_Bg_Dy_Yoseizo/z_bg_dy_yoseizo.c4
-rw-r--r--src/overlays/actors/ovl_Bg_Dy_Yoseizo/z_bg_dy_yoseizo.h2
-rw-r--r--src/overlays/actors/ovl_Bg_Ganon_Otyuka/z_bg_ganon_otyuka.c2
-rw-r--r--src/overlays/actors/ovl_Bg_Gnd_Darkmeiro/z_bg_gnd_darkmeiro.h2
-rw-r--r--src/overlays/actors/ovl_Bg_Gnd_Iceblock/z_bg_gnd_iceblock.c2
-rw-r--r--src/overlays/actors/ovl_Bg_Haka_Gate/z_bg_haka_gate.h2
-rw-r--r--src/overlays/actors/ovl_Bg_Haka_Sgami/z_bg_haka_sgami.c2
-rw-r--r--src/overlays/actors/ovl_Bg_Haka_Trap/z_bg_haka_trap.h2
-rw-r--r--src/overlays/actors/ovl_Bg_Haka_Zou/z_bg_haka_zou.c2
-rw-r--r--src/overlays/actors/ovl_Bg_Heavy_Block/z_bg_heavy_block.h2
-rw-r--r--src/overlays/actors/ovl_Bg_Hidan_Curtain/z_bg_hidan_curtain.c2
-rw-r--r--src/overlays/actors/ovl_Bg_Hidan_Fwbig/z_bg_hidan_fwbig.c2
-rw-r--r--src/overlays/actors/ovl_Bg_Hidan_Kowarerukabe/z_bg_hidan_kowarerukabe.c2
-rw-r--r--src/overlays/actors/ovl_Bg_Ice_Shelter/z_bg_ice_shelter.h2
-rw-r--r--src/overlays/actors/ovl_Bg_Ice_Turara/z_bg_ice_turara.h2
-rw-r--r--src/overlays/actors/ovl_Bg_Jya_Bigmirror/z_bg_jya_bigmirror.c2
-rw-r--r--src/overlays/actors/ovl_Bg_Jya_Bigmirror/z_bg_jya_bigmirror.h2
-rw-r--r--src/overlays/actors/ovl_Bg_Jya_Megami/z_bg_jya_megami.c2
-rw-r--r--src/overlays/actors/ovl_Bg_Jya_Megami/z_bg_jya_megami.h2
-rw-r--r--src/overlays/actors/ovl_Bg_Mizu_Bwall/z_bg_mizu_bwall.h2
-rw-r--r--src/overlays/actors/ovl_Bg_Mizu_Water/z_bg_mizu_water.c2
-rw-r--r--src/overlays/actors/ovl_Bg_Mori_Hashigo/z_bg_mori_hashigo.h2
-rw-r--r--src/overlays/actors/ovl_Bg_Po_Syokudai/z_bg_po_syokudai.c2
-rw-r--r--src/overlays/actors/ovl_Bg_Relay_Objects/z_bg_relay_objects.c2
-rw-r--r--src/overlays/actors/ovl_Bg_Spot00_Hanebasi/z_bg_spot00_hanebasi.c2
-rw-r--r--src/overlays/actors/ovl_Bg_Spot03_Taki/z_bg_spot03_taki.h2
-rw-r--r--src/overlays/actors/ovl_Bg_Spot06_Objects/z_bg_spot06_objects.c4
-rw-r--r--src/overlays/actors/ovl_Bg_Sst_Floor/z_bg_sst_floor.h2
-rw-r--r--src/overlays/actors/ovl_Bg_Vb_Sima/z_bg_vb_sima.h2
-rw-r--r--src/overlays/actors/ovl_Bg_Ydan_Hasi/z_bg_ydan_hasi.h2
-rw-r--r--src/overlays/actors/ovl_Bg_Ydan_Sp/z_bg_ydan_sp.c2
-rw-r--r--src/overlays/actors/ovl_Boss_Dodongo/z_boss_dodongo.h2
-rw-r--r--src/overlays/actors/ovl_Boss_Fd/z_boss_fd.c6
-rw-r--r--src/overlays/actors/ovl_Boss_Fd/z_boss_fd.h14
-rw-r--r--src/overlays/actors/ovl_Boss_Fd2/z_boss_fd2.c4
-rw-r--r--src/overlays/actors/ovl_Boss_Fd2/z_boss_fd2.h8
-rw-r--r--src/overlays/actors/ovl_Boss_Ganon/z_boss_ganon.c4
-rw-r--r--src/overlays/actors/ovl_Boss_Ganon/z_boss_ganon.h12
-rw-r--r--src/overlays/actors/ovl_Boss_Ganon2/z_boss_ganon2.h2
-rw-r--r--src/overlays/actors/ovl_Boss_Ganon2/z_boss_ganon2_data.inc.c2
-rw-r--r--src/overlays/actors/ovl_Boss_Ganondrof/z_boss_ganondrof.c10
-rw-r--r--src/overlays/actors/ovl_Boss_Ganondrof/z_boss_ganondrof.h8
-rw-r--r--src/overlays/actors/ovl_Boss_Goma/z_boss_goma.c4
-rw-r--r--src/overlays/actors/ovl_Boss_Goma/z_boss_goma.h2
-rw-r--r--src/overlays/actors/ovl_Boss_Mo/z_boss_mo.c10
-rw-r--r--src/overlays/actors/ovl_Boss_Mo/z_boss_mo.h8
-rw-r--r--src/overlays/actors/ovl_Boss_Sst/z_boss_sst.c4
-rw-r--r--src/overlays/actors/ovl_Boss_Sst/z_boss_sst.h6
-rw-r--r--src/overlays/actors/ovl_Boss_Tw/z_boss_tw.c10
-rw-r--r--src/overlays/actors/ovl_Boss_Tw/z_boss_tw.h8
-rw-r--r--src/overlays/actors/ovl_Boss_Va/z_boss_va.c12
-rw-r--r--src/overlays/actors/ovl_Boss_Va/z_boss_va.h2
-rw-r--r--src/overlays/actors/ovl_Demo_Ec/z_demo_ec.c4
-rw-r--r--src/overlays/actors/ovl_Demo_Effect/z_demo_effect.h28
-rw-r--r--src/overlays/actors/ovl_Demo_Ext/z_demo_ext.c4
-rw-r--r--src/overlays/actors/ovl_Demo_Gj/z_demo_gj.h2
-rw-r--r--src/overlays/actors/ovl_Demo_Im/z_demo_im.h2
-rw-r--r--src/overlays/actors/ovl_Demo_Kankyo/z_demo_kankyo.h4
-rw-r--r--src/overlays/actors/ovl_Demo_Kekkai/z_demo_kekkai.h2
-rw-r--r--src/overlays/actors/ovl_Demo_Sa/z_demo_sa.c4
-rw-r--r--src/overlays/actors/ovl_Demo_Tre_Lgt/z_demo_tre_lgt.c2
-rw-r--r--src/overlays/actors/ovl_Demo_Tre_Lgt/z_demo_tre_lgt.h2
-rw-r--r--src/overlays/actors/ovl_Door_Killer/z_door_killer.c2
-rw-r--r--src/overlays/actors/ovl_Door_Killer/z_door_killer.h2
-rw-r--r--src/overlays/actors/ovl_Door_Shutter/z_door_shutter.c14
-rw-r--r--src/overlays/actors/ovl_Door_Shutter/z_door_shutter.h2
-rw-r--r--src/overlays/actors/ovl_Door_Warp1/z_door_warp1.h4
-rw-r--r--src/overlays/actors/ovl_Efc_Erupc/z_efc_erupc.h2
-rw-r--r--src/overlays/actors/ovl_Eff_Dust/z_eff_dust.h2
-rw-r--r--src/overlays/actors/ovl_En_Am/z_en_am.c4
-rw-r--r--src/overlays/actors/ovl_En_Am/z_en_am.h2
-rw-r--r--src/overlays/actors/ovl_En_Anubice/z_en_anubice.c2
-rw-r--r--src/overlays/actors/ovl_En_Anubice/z_en_anubice.h2
-rw-r--r--src/overlays/actors/ovl_En_Arrow/z_en_arrow.h2
-rw-r--r--src/overlays/actors/ovl_En_Ba/z_en_ba.h2
-rw-r--r--src/overlays/actors/ovl_En_Bb/z_en_bb.c10
-rw-r--r--src/overlays/actors/ovl_En_Bb/z_en_bb.h2
-rw-r--r--src/overlays/actors/ovl_En_Bili/z_en_bili.c2
-rw-r--r--src/overlays/actors/ovl_En_Bili/z_en_bili.h4
-rw-r--r--src/overlays/actors/ovl_En_Bom/z_en_bom.h2
-rw-r--r--src/overlays/actors/ovl_En_Bom_Bowl_Man/z_en_bom_bowl_man.c2
-rw-r--r--src/overlays/actors/ovl_En_Bombf/z_en_bombf.h2
-rw-r--r--src/overlays/actors/ovl_En_Box/z_en_box.c2
-rw-r--r--src/overlays/actors/ovl_En_Box/z_en_box.h2
-rw-r--r--src/overlays/actors/ovl_En_Butte/z_en_butte.c2
-rw-r--r--src/overlays/actors/ovl_En_Bw/z_en_bw.h2
-rw-r--r--src/overlays/actors/ovl_En_Changer/z_en_changer.c2
-rw-r--r--src/overlays/actors/ovl_En_Clear_Tag/z_en_clear_tag.h12
-rw-r--r--src/overlays/actors/ovl_En_Cow/z_en_cow.h4
-rw-r--r--src/overlays/actors/ovl_En_Cs/z_en_cs.c2
-rw-r--r--src/overlays/actors/ovl_En_Daiku/z_en_daiku.c6
-rw-r--r--src/overlays/actors/ovl_En_Daiku_Kakariko/z_en_daiku_kakariko.c4
-rw-r--r--src/overlays/actors/ovl_En_Dekubaba/z_en_dekubaba.c2
-rw-r--r--src/overlays/actors/ovl_En_Dekubaba/z_en_dekubaba.h2
-rw-r--r--src/overlays/actors/ovl_En_Dh/z_en_dh.c2
-rw-r--r--src/overlays/actors/ovl_En_Dh/z_en_dh.h2
-rw-r--r--src/overlays/actors/ovl_En_Diving_Game/z_en_diving_game.h4
-rw-r--r--src/overlays/actors/ovl_En_Dns/z_en_dns.h8
-rw-r--r--src/overlays/actors/ovl_En_Dnt_Demo/z_en_dnt_demo.c2
-rw-r--r--src/overlays/actors/ovl_En_Dnt_Demo/z_en_dnt_demo.h10
-rw-r--r--src/overlays/actors/ovl_En_Dodongo/z_en_dodongo.c2
-rw-r--r--src/overlays/actors/ovl_En_Dodongo/z_en_dodongo.h2
-rw-r--r--src/overlays/actors/ovl_En_Dog/z_en_dog.c4
-rw-r--r--src/overlays/actors/ovl_En_Door/z_en_door.c4
-rw-r--r--src/overlays/actors/ovl_En_Door/z_en_door.h2
-rw-r--r--src/overlays/actors/ovl_En_Du/z_en_du.c2
-rw-r--r--src/overlays/actors/ovl_En_Elf/z_en_elf.c2
-rw-r--r--src/overlays/actors/ovl_En_Elf/z_en_elf.h2
-rw-r--r--src/overlays/actors/ovl_En_Encount1/z_en_encount1.h2
-rw-r--r--src/overlays/actors/ovl_En_Encount2/z_en_encount2.c2
-rw-r--r--src/overlays/actors/ovl_En_Encount2/z_en_encount2.h2
-rw-r--r--src/overlays/actors/ovl_En_Ex_Item/z_en_ex_item.h2
-rw-r--r--src/overlays/actors/ovl_En_Ex_Ruppy/z_en_ex_ruppy.c2
-rw-r--r--src/overlays/actors/ovl_En_Fd/z_en_fd.c2
-rw-r--r--src/overlays/actors/ovl_En_Fd/z_en_fd.h4
-rw-r--r--src/overlays/actors/ovl_En_Fhg_Fire/z_en_fhg_fire.c6
-rw-r--r--src/overlays/actors/ovl_En_Fhg_Fire/z_en_fhg_fire.h8
-rw-r--r--src/overlays/actors/ovl_En_Fire_Rock/z_en_fire_rock.h2
-rw-r--r--src/overlays/actors/ovl_En_Firefly/z_en_firefly.c2
-rw-r--r--src/overlays/actors/ovl_En_Firefly/z_en_firefly.h2
-rw-r--r--src/overlays/actors/ovl_En_Fish/z_en_fish.h2
-rw-r--r--src/overlays/actors/ovl_En_Fr/z_en_fr.c4
-rw-r--r--src/overlays/actors/ovl_En_Fr/z_en_fr.h4
-rw-r--r--src/overlays/actors/ovl_En_Fu/z_en_fu.c2
-rw-r--r--src/overlays/actors/ovl_En_Fu/z_en_fu.h2
-rw-r--r--src/overlays/actors/ovl_En_Fw/z_en_fw.c2
-rw-r--r--src/overlays/actors/ovl_En_Fw/z_en_fw.h2
-rw-r--r--src/overlays/actors/ovl_En_Fz/z_en_fz.h2
-rw-r--r--src/overlays/actors/ovl_En_G_Switch/z_en_g_switch.c2
-rw-r--r--src/overlays/actors/ovl_En_G_Switch/z_en_g_switch.h6
-rw-r--r--src/overlays/actors/ovl_En_Ganon_Mant/z_en_ganon_mant.c2
-rw-r--r--src/overlays/actors/ovl_En_Ganon_Mant/z_en_ganon_mant.h2
-rw-r--r--src/overlays/actors/ovl_En_Gb/z_en_gb.h4
-rw-r--r--src/overlays/actors/ovl_En_Ge1/z_en_ge1.c2
-rw-r--r--src/overlays/actors/ovl_En_Ge1/z_en_ge1.h4
-rw-r--r--src/overlays/actors/ovl_En_Ge2/z_en_ge2.c4
-rw-r--r--src/overlays/actors/ovl_En_GeldB/z_en_geldb.c4
-rw-r--r--src/overlays/actors/ovl_En_GeldB/z_en_geldb.h2
-rw-r--r--src/overlays/actors/ovl_En_GirlA/z_en_girla.c2
-rw-r--r--src/overlays/actors/ovl_En_GirlA/z_en_girla.h4
-rw-r--r--src/overlays/actors/ovl_En_Go/z_en_go.c2
-rw-r--r--src/overlays/actors/ovl_En_Go/z_en_go.h2
-rw-r--r--src/overlays/actors/ovl_En_Go2/z_en_go2.c2
-rw-r--r--src/overlays/actors/ovl_En_Go2/z_en_go2.h8
-rw-r--r--src/overlays/actors/ovl_En_Goma/z_en_goma.h4
-rw-r--r--src/overlays/actors/ovl_En_Hata/z_en_hata.h4
-rw-r--r--src/overlays/actors/ovl_En_Heishi4/z_en_heishi4.h2
-rw-r--r--src/overlays/actors/ovl_En_Holl/z_en_holl.h2
-rw-r--r--src/overlays/actors/ovl_En_Honotrap/z_en_honotrap.c2
-rw-r--r--src/overlays/actors/ovl_En_Honotrap/z_en_honotrap.h4
-rw-r--r--src/overlays/actors/ovl_En_Horse/z_en_horse.c10
-rw-r--r--src/overlays/actors/ovl_En_Horse/z_en_horse.h8
-rw-r--r--src/overlays/actors/ovl_En_Horse_Game_Check/z_en_horse_game_check.c4
-rw-r--r--src/overlays/actors/ovl_En_Horse_Game_Check/z_en_horse_game_check.h2
-rw-r--r--src/overlays/actors/ovl_En_Horse_Ganon/z_en_horse_ganon.c2
-rw-r--r--src/overlays/actors/ovl_En_Horse_Normal/z_en_horse_normal.c6
-rw-r--r--src/overlays/actors/ovl_En_Horse_Zelda/z_en_horse_zelda.c2
-rw-r--r--src/overlays/actors/ovl_En_Hy/z_en_hy.c18
-rw-r--r--src/overlays/actors/ovl_En_Hy/z_en_hy.h2
-rw-r--r--src/overlays/actors/ovl_En_Ik/z_en_ik.c6
-rw-r--r--src/overlays/actors/ovl_En_Ik/z_en_ik.h6
-rw-r--r--src/overlays/actors/ovl_En_In/z_en_in.c2
-rw-r--r--src/overlays/actors/ovl_En_In/z_en_in.h2
-rw-r--r--src/overlays/actors/ovl_En_Insect/z_en_insect.h2
-rw-r--r--src/overlays/actors/ovl_En_Ishi/z_en_ishi.h2
-rw-r--r--src/overlays/actors/ovl_En_Jj/z_en_jj.c2
-rw-r--r--src/overlays/actors/ovl_En_Jj/z_en_jj.h2
-rw-r--r--src/overlays/actors/ovl_En_Jsjutan/z_en_jsjutan.h2
-rw-r--r--src/overlays/actors/ovl_En_Kanban/z_en_kanban.c6
-rw-r--r--src/overlays/actors/ovl_En_Ko/z_en_ko.c12
-rw-r--r--src/overlays/actors/ovl_En_Ko/z_en_ko.h4
-rw-r--r--src/overlays/actors/ovl_En_Kusa/z_en_kusa.h2
-rw-r--r--src/overlays/actors/ovl_En_Kz/z_en_kz.c2
-rw-r--r--src/overlays/actors/ovl_En_Light/z_en_light.c2
-rw-r--r--src/overlays/actors/ovl_En_Ma1/z_en_ma1.c2
-rw-r--r--src/overlays/actors/ovl_En_Ma2/z_en_ma2.c2
-rw-r--r--src/overlays/actors/ovl_En_Ma2/z_en_ma2.h2
-rw-r--r--src/overlays/actors/ovl_En_Ma3/z_en_ma3.c2
-rw-r--r--src/overlays/actors/ovl_En_Ma3/z_en_ma3.h2
-rw-r--r--src/overlays/actors/ovl_En_Mag/z_en_mag.h2
-rw-r--r--src/overlays/actors/ovl_En_Mb/z_en_mb.c6
-rw-r--r--src/overlays/actors/ovl_En_Mb/z_en_mb.h2
-rw-r--r--src/overlays/actors/ovl_En_Md/z_en_md.c2
-rw-r--r--src/overlays/actors/ovl_En_Md/z_en_md.h2
-rw-r--r--src/overlays/actors/ovl_En_Mm/z_en_mm.c6
-rw-r--r--src/overlays/actors/ovl_En_Mm2/z_en_mm2.c4
-rw-r--r--src/overlays/actors/ovl_En_Nb/z_en_nb.c4
-rw-r--r--src/overlays/actors/ovl_En_Nb/z_en_nb.h4
-rw-r--r--src/overlays/actors/ovl_En_Niw/z_en_niw.h2
-rw-r--r--src/overlays/actors/ovl_En_Nutsball/z_en_nutsball.h2
-rw-r--r--src/overlays/actors/ovl_En_Nwc/z_en_nwc.c2
-rw-r--r--src/overlays/actors/ovl_En_Ossan/z_en_ossan.c4
-rw-r--r--src/overlays/actors/ovl_En_Ossan/z_en_ossan.h8
-rw-r--r--src/overlays/actors/ovl_En_Owl/z_en_owl.c4
-rw-r--r--src/overlays/actors/ovl_En_Peehat/z_en_peehat.c4
-rw-r--r--src/overlays/actors/ovl_En_Peehat/z_en_peehat.h2
-rw-r--r--src/overlays/actors/ovl_En_Po_Field/z_en_po_field.h4
-rw-r--r--src/overlays/actors/ovl_En_Poh/z_en_poh.h6
-rw-r--r--src/overlays/actors/ovl_En_Rd/z_en_rd.c6
-rw-r--r--src/overlays/actors/ovl_En_Rd/z_en_rd.h4
-rw-r--r--src/overlays/actors/ovl_En_Reeba/z_en_reeba.c2
-rw-r--r--src/overlays/actors/ovl_En_Reeba/z_en_reeba.h2
-rw-r--r--src/overlays/actors/ovl_En_River_Sound/z_en_river_sound.h2
-rw-r--r--src/overlays/actors/ovl_En_Rr/z_en_rr.c6
-rw-r--r--src/overlays/actors/ovl_En_Rr/z_en_rr.h2
-rw-r--r--src/overlays/actors/ovl_En_Ru1/z_en_ru1.h2
-rw-r--r--src/overlays/actors/ovl_En_Sa/z_en_sa.c8
-rw-r--r--src/overlays/actors/ovl_En_Sb/z_en_sb.c2
-rw-r--r--src/overlays/actors/ovl_En_Siofuki/z_en_siofuki.h2
-rw-r--r--src/overlays/actors/ovl_En_Skb/z_en_skb.c2
-rw-r--r--src/overlays/actors/ovl_En_Skj/z_en_skj.c10
-rw-r--r--src/overlays/actors/ovl_En_Ssh/z_en_ssh.c2
-rw-r--r--src/overlays/actors/ovl_En_St/z_en_st.c2
-rw-r--r--src/overlays/actors/ovl_En_Sw/z_en_sw.c2
-rw-r--r--src/overlays/actors/ovl_En_Syateki_Itm/z_en_syateki_itm.c2
-rw-r--r--src/overlays/actors/ovl_En_Syateki_Itm/z_en_syateki_itm.h4
-rw-r--r--src/overlays/actors/ovl_En_Syateki_Man/z_en_syateki_man.c4
-rw-r--r--src/overlays/actors/ovl_En_Syateki_Niw/z_en_syateki_niw.h4
-rw-r--r--src/overlays/actors/ovl_En_Ta/z_en_ta.c4
-rw-r--r--src/overlays/actors/ovl_En_Ta/z_en_ta.h4
-rw-r--r--src/overlays/actors/ovl_En_Test/z_en_test.c2
-rw-r--r--src/overlays/actors/ovl_En_Test/z_en_test.h4
-rw-r--r--src/overlays/actors/ovl_En_Tite/z_en_tite.c6
-rwxr-xr-xsrc/overlays/actors/ovl_En_Tite/z_en_tite.h2
-rw-r--r--src/overlays/actors/ovl_En_Torch2/z_en_torch2.c2
-rw-r--r--src/overlays/actors/ovl_En_Tp/z_en_tp.c4
-rw-r--r--src/overlays/actors/ovl_En_Tp/z_en_tp.h2
-rw-r--r--src/overlays/actors/ovl_En_Tr/z_en_tr.h4
-rw-r--r--src/overlays/actors/ovl_En_Vali/z_en_vali.c2
-rw-r--r--src/overlays/actors/ovl_En_Vali/z_en_vali.h4
-rw-r--r--src/overlays/actors/ovl_En_Viewer/z_en_viewer.h12
-rw-r--r--src/overlays/actors/ovl_En_Vm/z_en_vm.h2
-rw-r--r--src/overlays/actors/ovl_En_Wallmas/z_en_wallmas.h2
-rw-r--r--src/overlays/actors/ovl_En_Weather_Tag/z_en_weather_tag.h2
-rw-r--r--src/overlays/actors/ovl_En_Wf/z_en_wf.c2
-rw-r--r--src/overlays/actors/ovl_En_Wf/z_en_wf.h6
-rw-r--r--src/overlays/actors/ovl_En_Wonder_Item/z_en_wonder_item.h4
-rw-r--r--src/overlays/actors/ovl_En_Wood02/z_en_wood02.c4
-rw-r--r--src/overlays/actors/ovl_En_Wood02/z_en_wood02.h2
-rw-r--r--src/overlays/actors/ovl_En_Xc/z_en_xc.h6
-rw-r--r--src/overlays/actors/ovl_En_Zf/z_en_zf.c2
-rw-r--r--src/overlays/actors/ovl_En_Zf/z_en_zf.h6
-rw-r--r--src/overlays/actors/ovl_En_Zl4/z_en_zl4.c10
-rw-r--r--src/overlays/actors/ovl_En_Zo/z_en_zo.c4
-rw-r--r--src/overlays/actors/ovl_En_Zo/z_en_zo.h2
-rw-r--r--src/overlays/actors/ovl_En_fHG/z_en_fhg.c4
-rw-r--r--src/overlays/actors/ovl_En_fHG/z_en_fhg.h2
-rw-r--r--src/overlays/actors/ovl_Fishing/z_fishing.c20
-rw-r--r--src/overlays/actors/ovl_Item_Etcetera/z_item_etcetera.h2
-rw-r--r--src/overlays/actors/ovl_Magic_Fire/z_magic_fire.c4
-rw-r--r--src/overlays/actors/ovl_Mir_Ray/z_mir_ray.c2
-rw-r--r--src/overlays/actors/ovl_Mir_Ray/z_mir_ray.h4
-rw-r--r--src/overlays/actors/ovl_Obj_Bean/z_obj_bean.c2
-rw-r--r--src/overlays/actors/ovl_Obj_Hana/z_obj_hana.c2
-rw-r--r--src/overlays/actors/ovl_Obj_Lift/z_obj_lift.c2
-rw-r--r--src/overlays/actors/ovl_Obj_Lightswitch/z_obj_lightswitch.c2
-rw-r--r--src/overlays/actors/ovl_Obj_Lightswitch/z_obj_lightswitch.h2
-rw-r--r--src/overlays/actors/ovl_Obj_Makeoshihiki/z_obj_makeoshihiki.c2
-rw-r--r--src/overlays/actors/ovl_Obj_Mure/z_obj_mure.c4
-rw-r--r--src/overlays/actors/ovl_Obj_Mure2/z_obj_mure2.c2
-rw-r--r--src/overlays/actors/ovl_Obj_Oshihiki/z_obj_oshihiki.h2
-rw-r--r--src/overlays/actors/ovl_Obj_Switch/z_obj_switch.h8
-rw-r--r--src/overlays/actors/ovl_Obj_Timeblock/z_obj_timeblock.c2
-rw-r--r--src/overlays/actors/ovl_Obj_Warp2block/z_obj_warp2block.c2
-rw-r--r--src/overlays/actors/ovl_Oceff_Wipe/z_oceff_wipe.h2
-rw-r--r--src/overlays/actors/ovl_Oceff_Wipe4/z_oceff_wipe4.h2
-rw-r--r--src/overlays/actors/ovl_Shot_Sun/z_shot_sun.c2
-rw-r--r--src/overlays/actors/ovl_player_actor/z_player.c36
-rw-r--r--src/overlays/effects/ovl_Effect_Ss_Blast/z_eff_ss_blast.h2
-rw-r--r--src/overlays/effects/ovl_Effect_Ss_Bomb/z_eff_ss_bomb.h2
-rw-r--r--src/overlays/effects/ovl_Effect_Ss_Bomb2/z_eff_ss_bomb2.h2
-rw-r--r--src/overlays/effects/ovl_Effect_Ss_Bubble/z_eff_ss_bubble.h2
-rw-r--r--src/overlays/effects/ovl_Effect_Ss_D_Fire/z_eff_ss_d_fire.h2
-rw-r--r--src/overlays/effects/ovl_Effect_Ss_Dead_Db/z_eff_ss_dead_db.h2
-rw-r--r--src/overlays/effects/ovl_Effect_Ss_Dead_Dd/z_eff_ss_dead_dd.h2
-rw-r--r--src/overlays/effects/ovl_Effect_Ss_Dead_Ds/z_eff_ss_dead_ds.h2
-rw-r--r--src/overlays/effects/ovl_Effect_Ss_Dead_Sound/z_eff_ss_dead_sound.h2
-rw-r--r--src/overlays/effects/ovl_Effect_Ss_Dt_Bubble/z_eff_ss_dt_bubble.h2
-rw-r--r--src/overlays/effects/ovl_Effect_Ss_Dust/z_eff_ss_dust.h2
-rw-r--r--src/overlays/effects/ovl_Effect_Ss_En_Fire/z_eff_ss_en_fire.c4
-rw-r--r--src/overlays/effects/ovl_Effect_Ss_En_Fire/z_eff_ss_en_fire.h2
-rw-r--r--src/overlays/effects/ovl_Effect_Ss_En_Ice/z_eff_ss_en_ice.h2
-rw-r--r--src/overlays/effects/ovl_Effect_Ss_Extra/z_eff_ss_extra.h4
-rw-r--r--src/overlays/effects/ovl_Effect_Ss_Fcircle/z_eff_ss_fcircle.h2
-rw-r--r--src/overlays/effects/ovl_Effect_Ss_Fhg_Flash/z_eff_ss_fhg_flash.h8
-rw-r--r--src/overlays/effects/ovl_Effect_Ss_Fire_Tail/z_eff_ss_fire_tail.h2
-rw-r--r--src/overlays/effects/ovl_Effect_Ss_G_Fire/z_eff_ss_g_fire.h2
-rw-r--r--src/overlays/effects/ovl_Effect_Ss_G_Magma/z_eff_ss_g_magma.h2
-rw-r--r--src/overlays/effects/ovl_Effect_Ss_G_Magma2/z_eff_ss_g_magma2.h2
-rw-r--r--src/overlays/effects/ovl_Effect_Ss_G_Ripple/z_eff_ss_g_ripple.h2
-rw-r--r--src/overlays/effects/ovl_Effect_Ss_G_Spk/z_eff_ss_g_spk.h2
-rw-r--r--src/overlays/effects/ovl_Effect_Ss_G_Splash/z_eff_ss_g_splash.h2
-rw-r--r--src/overlays/effects/ovl_Effect_Ss_Hahen/z_eff_ss_hahen.h2
-rw-r--r--src/overlays/effects/ovl_Effect_Ss_HitMark/z_eff_ss_hitmark.h4
-rw-r--r--src/overlays/effects/ovl_Effect_Ss_Ice_Piece/z_eff_ss_ice_piece.h2
-rw-r--r--src/overlays/effects/ovl_Effect_Ss_Ice_Smoke/z_eff_ss_ice_smoke.h2
-rw-r--r--src/overlays/effects/ovl_Effect_Ss_K_Fire/z_eff_ss_k_fire.h2
-rw-r--r--src/overlays/effects/ovl_Effect_Ss_Kakera/z_eff_ss_kakera.h4
-rw-r--r--src/overlays/effects/ovl_Effect_Ss_KiraKira/z_eff_ss_kirakira.h2
-rw-r--r--src/overlays/effects/ovl_Effect_Ss_Lightning/z_eff_ss_lightning.h2
-rw-r--r--src/overlays/effects/ovl_Effect_Ss_Sibuki/z_eff_ss_sibuki.h2
-rw-r--r--src/overlays/effects/ovl_Effect_Ss_Sibuki2/z_eff_ss_sibuki2.h2
-rw-r--r--src/overlays/effects/ovl_Effect_Ss_Solder_Srch_Ball/z_eff_ss_solder_srch_ball.h2
-rw-r--r--src/overlays/effects/ovl_Effect_Ss_Stick/z_eff_ss_stick.c2
-rw-r--r--src/overlays/effects/ovl_Effect_Ss_Stick/z_eff_ss_stick.h2
-rw-r--r--src/overlays/effects/ovl_Effect_Ss_Stone1/z_eff_ss_stone1.c2
-rw-r--r--src/overlays/effects/ovl_Effect_Ss_Stone1/z_eff_ss_stone1.h2
-rw-r--r--src/overlays/gamestates/ovl_file_choose/file_select.h30
-rw-r--r--src/overlays/gamestates/ovl_file_choose/z_file_nameset.c4
-rw-r--r--src/overlays/misc/ovl_kaleido_scope/z_lmap_mark.c2
354 files changed, 650 insertions, 650 deletions
diff --git a/src/audio/general.c b/src/audio/general.c
index f0dbfa1f7..3bd7df2a5 100644
--- a/src/audio/general.c
+++ b/src/audio/general.c
@@ -3,7 +3,7 @@
#define ABS_ALT(x) ((x) < 0 ? -(x) : (x))
-typedef struct {
+typedef struct SfxPlayerState {
/* 0x0 */ f32 vol;
/* 0x4 */ f32 freqScale;
/* 0x8 */ s8 reverb;
@@ -13,7 +13,7 @@ typedef struct {
/* 0xC */ u8 combFilterGain;
} SfxPlayerState;
-typedef enum {
+typedef enum SfxChannelIndex {
/* 0x0 */ SFX_CHANNEL_PLAYER0, // SfxPlayerBank
/* 0x1 */ SFX_CHANNEL_PLAYER1,
/* 0x2 */ SFX_CHANNEL_PLAYER2,
@@ -32,20 +32,20 @@ typedef enum {
/* 0xF */ SFX_CHANNEL_VOICE1
} SfxChannelIndex; // playerIdx = 2
-typedef struct {
+typedef struct FreqLerp {
/* 0x0 */ f32 value;
/* 0x4 */ f32 target;
/* 0x8 */ f32 step;
/* 0xC */ s32 remainingFrames;
} FreqLerp;
-typedef struct {
+typedef struct NatureAmbienceDataIO {
/* 0x0 */ u16 playerIO;
/* 0x2 */ u16 channelMask;
/* 0x4 */ u8 channelIO[3 * 33 + 1];
} NatureAmbienceDataIO; // size = 0x68
-typedef enum {
+typedef enum AudioDebugPage {
/* 0x0 */ PAGE_NON,
/* 0x1 */ PAGE_SOUND_CONTROL,
/* 0x2 */ PAGE_SPEC_INFO, // unused
@@ -66,7 +66,7 @@ typedef enum {
#define SCROLL_PRINT_BUF_SIZE 25
-typedef struct {
+typedef struct OcarinaStick {
s8 x;
s8 y;
} OcarinaStick;
diff --git a/src/audio/lib/heap.c b/src/audio/lib/heap.c
index dcb027d49..2a0f859df 100644
--- a/src/audio/lib/heap.c
+++ b/src/audio/lib/heap.c
@@ -1345,7 +1345,7 @@ void AudioHeap_DiscardSampleCaches(void) {
}
}
-typedef struct {
+typedef struct StorageChange {
u32 oldAddr;
u32 newAddr;
u32 size;
diff --git a/src/audio/lib/load.c b/src/audio/lib/load.c
index 0d2fe051d..149179020 100644
--- a/src/audio/lib/load.c
+++ b/src/audio/lib/load.c
@@ -7,14 +7,14 @@
#define ASYNC_ID(v) ((u8)(v >> 8))
#define ASYNC_LOAD_STATUS(v) ((u8)(v >> 0))
-typedef enum {
+typedef enum SlowLoadState {
/* 0 */ SLOW_LOAD_STATE_WAITING,
/* 1 */ SLOW_LOAD_STATE_START,
/* 2 */ SLOW_LOAD_STATE_LOADING,
/* 3 */ SLOW_LOAD_STATE_DONE
} SlowLoadState;
-typedef struct {
+typedef struct SampleBankRelocInfo {
/* 0x00 */ s32 sampleBankId1;
/* 0x04 */ s32 sampleBankId2;
/* 0x08 */ s32 baseAddr1;
diff --git a/src/audio/lib/seqplayer.c b/src/audio/lib/seqplayer.c
index 80f35bf2d..4caddea4e 100644
--- a/src/audio/lib/seqplayer.c
+++ b/src/audio/lib/seqplayer.c
@@ -21,7 +21,7 @@
#define PROCESS_SCRIPT_END -1
-typedef enum {
+typedef enum PortamentoMode {
/* 0 */ PORTAMENTO_MODE_OFF,
/* 1 */ PORTAMENTO_MODE_1,
/* 2 */ PORTAMENTO_MODE_2,
diff --git a/src/audio/lib/synthesis.c b/src/audio/lib/synthesis.c
index 321bd79a5..b93494de4 100644
--- a/src/audio/lib/synthesis.c
+++ b/src/audio/lib/synthesis.c
@@ -14,7 +14,7 @@
#define DMEM_WET_LEFT_CH 0xC80
#define DMEM_WET_RIGHT_CH 0xE20 // = DMEM_WET_LEFT_CH + DMEM_1CH_SIZE
-typedef enum {
+typedef enum HaasEffectDelaySide {
/* 0 */ HAAS_EFFECT_DELAY_NONE,
/* 1 */ HAAS_EFFECT_DELAY_LEFT, // Delay left channel so that right channel is heard first
/* 2 */ HAAS_EFFECT_DELAY_RIGHT // Delay right channel so that left channel is heard first
diff --git a/src/audio/sequence.c b/src/audio/sequence.c
index e04a5668a..8d16b94a9 100644
--- a/src/audio/sequence.c
+++ b/src/audio/sequence.c
@@ -26,7 +26,7 @@
Audio_ProcessSeqCmd((SEQCMD_OP_SET_SEQPLAYER_VOLUME << 28) | ((u8)(seqPlayerIndex) << 24) | \
((u8)(duration) << 16) | ((u8)((volume)*127.0f)));
-typedef struct {
+typedef struct SeqRequest {
/* 0x0 */ u8 seqId;
/* 0x1 */ u8 priority; // higher values have higher priority
} SeqRequest; // size = 0x2
diff --git a/src/audio/sfx.c b/src/audio/sfx.c
index a11d8dc0e..e2efcd102 100644
--- a/src/audio/sfx.c
+++ b/src/audio/sfx.c
@@ -2,7 +2,7 @@
#include "global.h"
#include "terminal.h"
-typedef struct {
+typedef struct SfxRequest {
/* 0x00 */ u16 sfxId;
/* 0x04 */ Vec3f* pos;
/* 0x08 */ u8 token;
@@ -11,7 +11,7 @@ typedef struct {
/* 0x14 */ s8* reverbAdd;
} SfxRequest; // size = 0x18
-typedef struct {
+typedef struct UnusedBankLerp {
/* 0x00 */ f32 value;
/* 0x04 */ f32 target;
/* 0x08 */ f32 step;
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;
diff --git a/src/libultra/os/initialize.c b/src/libultra/os/initialize.c
index 3266d1e4d..0ee8698e7 100644
--- a/src/libultra/os/initialize.c
+++ b/src/libultra/os/initialize.c
@@ -1,6 +1,6 @@
#include "global.h"
-typedef struct {
+typedef struct __osExceptionVector {
u32 inst1; // lui $k0, %hi(__osException)
u32 inst2; // addiu $k0, $k0, %lo(__osException)
u32 inst3; // jr $k0
diff --git a/src/overlays/actors/ovl_Bg_Bdan_Objects/z_bg_bdan_objects.c b/src/overlays/actors/ovl_Bg_Bdan_Objects/z_bg_bdan_objects.c
index 0786f214d..c3d2da05d 100644
--- a/src/overlays/actors/ovl_Bg_Bdan_Objects/z_bg_bdan_objects.c
+++ b/src/overlays/actors/ovl_Bg_Bdan_Objects/z_bg_bdan_objects.c
@@ -10,12 +10,12 @@
#define FLAGS ACTOR_FLAG_4
-typedef enum {
+typedef enum BgBdanObjectsPropertyGetter {
JABU_OBJECTS_GET_PROP_CAM_SETTING_NORMAL0 = 0,
JABU_OBJECTS_GET_PROP_CAM_SETTING_DUNGEON1 = 3,
JABU_OBJECTS_GET_PROP_WATCHED_BIGOCTO_INTRO_CUTSCENE = 4
} BgBdanObjectsPropertyGetter;
-typedef enum {
+typedef enum BgBdanObjectsPropertySetter {
JABU_OBJECTS_SET_PROP_CAM_SETTING_NORMAL1 = 1,
JABU_OBJECTS_SET_PROP_CAM_SETTING_DUNGEON0 = 2,
JABU_OBJECTS_SET_PROP_WATCHED_BIGOCTO_INTRO_CUTSCENE = 4
diff --git a/src/overlays/actors/ovl_Bg_Bdan_Objects/z_bg_bdan_objects.h b/src/overlays/actors/ovl_Bg_Bdan_Objects/z_bg_bdan_objects.h
index 62c539281..6c802bb3f 100644
--- a/src/overlays/actors/ovl_Bg_Bdan_Objects/z_bg_bdan_objects.h
+++ b/src/overlays/actors/ovl_Bg_Bdan_Objects/z_bg_bdan_objects.h
@@ -6,7 +6,7 @@
struct BgBdanObjects;
-typedef enum {
+typedef enum BgBdanObjectsType {
JABU_OBJECTS_TYPE_BIG_OCTO_PLATFORM,
JABU_OBJECTS_TYPE_SMALL_AUTO_ELEVATOR,
JABU_OBJECTS_TYPE_WATERBOX_HEIGHT_CHANGER,
diff --git a/src/overlays/actors/ovl_Bg_Bdan_Switch/z_bg_bdan_switch.h b/src/overlays/actors/ovl_Bg_Bdan_Switch/z_bg_bdan_switch.h
index cc0d7cceb..59266354a 100644
--- a/src/overlays/actors/ovl_Bg_Bdan_Switch/z_bg_bdan_switch.h
+++ b/src/overlays/actors/ovl_Bg_Bdan_Switch/z_bg_bdan_switch.h
@@ -5,7 +5,7 @@
#include "global.h"
// BgBdanSwitch.actor.params & 0xFF
-typedef enum {
+typedef enum BgBdanSwitchType {
/* 0x00 */ BLUE,
/* 0x01 */ YELLOW_HEAVY,
/* 0x02 */ YELLOW,
diff --git a/src/overlays/actors/ovl_Bg_Breakwall/z_bg_breakwall.c b/src/overlays/actors/ovl_Bg_Breakwall/z_bg_breakwall.c
index b7ca1a731..ea007f5e9 100644
--- a/src/overlays/actors/ovl_Bg_Breakwall/z_bg_breakwall.c
+++ b/src/overlays/actors/ovl_Bg_Breakwall/z_bg_breakwall.c
@@ -11,7 +11,7 @@
#define FLAGS ACTOR_FLAG_4
-typedef struct {
+typedef struct BombableWallInfo {
/* 0x00 */ CollisionHeader* colHeader;
/* 0x04 */ Gfx* dList;
/* 0x08 */ s8 colType;
diff --git a/src/overlays/actors/ovl_Bg_Breakwall/z_bg_breakwall.h b/src/overlays/actors/ovl_Bg_Breakwall/z_bg_breakwall.h
index 6880026c2..c6dcab1b4 100644
--- a/src/overlays/actors/ovl_Bg_Breakwall/z_bg_breakwall.h
+++ b/src/overlays/actors/ovl_Bg_Breakwall/z_bg_breakwall.h
@@ -17,7 +17,7 @@ typedef struct BgBreakwall {
/* 0x01EC */ BgBreakwallActionFunc actionFunc;
} BgBreakwall; // size = 0x01F0
-typedef enum {
+typedef enum BombableWallType {
/* 0 */ BWALL_DC_ENTRANCE, // When exploded it will play the Dodongo's Cavern intro cutscene
/* 1 */ BWALL_WALL, // Used a lot in Dodongo's Cavern and other places
/* 2 */ BWALL_KD_FLOOR, // Used in the King Dodongo boss room
diff --git a/src/overlays/actors/ovl_Bg_Ddan_Jd/z_bg_ddan_jd.c b/src/overlays/actors/ovl_Bg_Ddan_Jd/z_bg_ddan_jd.c
index 469aaa75a..783ea5124 100644
--- a/src/overlays/actors/ovl_Bg_Ddan_Jd/z_bg_ddan_jd.c
+++ b/src/overlays/actors/ovl_Bg_Ddan_Jd/z_bg_ddan_jd.c
@@ -33,7 +33,7 @@ static InitChainEntry sInitChain[] = {
ICHAIN_VEC3F_DIV1000(scale, 100, ICHAIN_STOP),
};
-typedef enum {
+typedef enum BgDdanJdState {
/* 0 */ STATE_GO_BOTTOM,
/* 1 */ STATE_GO_MIDDLE_FROM_BOTTOM,
/* 2 */ STATE_GO_MIDDLE_FROM_TOP,
diff --git a/src/overlays/actors/ovl_Bg_Dodoago/z_bg_dodoago.h b/src/overlays/actors/ovl_Bg_Dodoago/z_bg_dodoago.h
index 02603c6d0..2c8e873ba 100644
--- a/src/overlays/actors/ovl_Bg_Dodoago/z_bg_dodoago.h
+++ b/src/overlays/actors/ovl_Bg_Dodoago/z_bg_dodoago.h
@@ -4,7 +4,7 @@
#include "ultra64.h"
#include "global.h"
-typedef enum {
+typedef enum BgDodoagoEye {
/* 0 */ BGDODOAGO_EYE_LEFT,
/* 1 */ BGDODOAGO_EYE_RIGHT
} BgDodoagoEye;
diff --git a/src/overlays/actors/ovl_Bg_Dy_Yoseizo/z_bg_dy_yoseizo.c b/src/overlays/actors/ovl_Bg_Dy_Yoseizo/z_bg_dy_yoseizo.c
index 5e90d0774..9e79bf7ac 100644
--- a/src/overlays/actors/ovl_Bg_Dy_Yoseizo/z_bg_dy_yoseizo.c
+++ b/src/overlays/actors/ovl_Bg_Dy_Yoseizo/z_bg_dy_yoseizo.c
@@ -13,13 +13,13 @@
#define FLAGS (ACTOR_FLAG_4 | ACTOR_FLAG_5 | ACTOR_FLAG_25)
-typedef enum {
+typedef enum BgDyYoseizoRewardType {
/* 0 */ FAIRY_UPGRADE_MAGIC,
/* 1 */ FAIRY_UPGRADE_DOUBLE_MAGIC,
/* 2 */ FAIRY_UPGRADE_DOUBLE_DEFENSE
} BgDyYoseizoRewardType;
-typedef enum {
+typedef enum BgDyYoseizoSpellType {
/* 0 */ FAIRY_SPELL_FARORES_WIND,
/* 1 */ FAIRY_SPELL_DINS_FIRE,
/* 2 */ FAIRY_SPELL_NAYRUS_LOVE
diff --git a/src/overlays/actors/ovl_Bg_Dy_Yoseizo/z_bg_dy_yoseizo.h b/src/overlays/actors/ovl_Bg_Dy_Yoseizo/z_bg_dy_yoseizo.h
index a1b676593..fd7aebb3a 100644
--- a/src/overlays/actors/ovl_Bg_Dy_Yoseizo/z_bg_dy_yoseizo.h
+++ b/src/overlays/actors/ovl_Bg_Dy_Yoseizo/z_bg_dy_yoseizo.h
@@ -12,7 +12,7 @@ typedef void (*BgDyYoseizoActionFunc)(struct BgDyYoseizo*, PlayState*);
#define BG_DY_YOSEIZO_EFFECT_COUNT 200
-typedef struct {
+typedef struct BgDyYoseizoEffect {
/* 0x00 */ u8 alive; // drawn if 1, respawn if 0
/* 0x04 */ Vec3f pos;
/* 0x10 */ Vec3f velocity;
diff --git a/src/overlays/actors/ovl_Bg_Ganon_Otyuka/z_bg_ganon_otyuka.c b/src/overlays/actors/ovl_Bg_Ganon_Otyuka/z_bg_ganon_otyuka.c
index 88eae8d91..9fa132e0f 100644
--- a/src/overlays/actors/ovl_Bg_Ganon_Otyuka/z_bg_ganon_otyuka.c
+++ b/src/overlays/actors/ovl_Bg_Ganon_Otyuka/z_bg_ganon_otyuka.c
@@ -10,7 +10,7 @@
#define FLAGS (ACTOR_FLAG_4 | ACTOR_FLAG_5)
-typedef enum {
+typedef enum FlashState {
/* 0x00 */ FLASH_NONE,
/* 0x01 */ FLASH_GROW,
/* 0x02 */ FLASH_SHRINK
diff --git a/src/overlays/actors/ovl_Bg_Gnd_Darkmeiro/z_bg_gnd_darkmeiro.h b/src/overlays/actors/ovl_Bg_Gnd_Darkmeiro/z_bg_gnd_darkmeiro.h
index 0899a3aba..39fb42a3a 100644
--- a/src/overlays/actors/ovl_Bg_Gnd_Darkmeiro/z_bg_gnd_darkmeiro.h
+++ b/src/overlays/actors/ovl_Bg_Gnd_Darkmeiro/z_bg_gnd_darkmeiro.h
@@ -16,7 +16,7 @@ typedef struct BgGndDarkmeiro {
/* 0x016C */ BgGndDarkmeiroUpdateFunc updateFunc;
} BgGndDarkmeiro; // size = 0x0170
-typedef enum {
+typedef enum DarkmeiroType {
/* 0 */ DARKMEIRO_INVISIBLE_PATH, // Textures for the invisible path in shadow trial.
/* 1 */ DARKMEIRO_CLEAR_BLOCK, /* Clear blocks appear when their switch flag is set and
diff --git a/src/overlays/actors/ovl_Bg_Gnd_Iceblock/z_bg_gnd_iceblock.c b/src/overlays/actors/ovl_Bg_Gnd_Iceblock/z_bg_gnd_iceblock.c
index 7ac595bc1..441455f3d 100644
--- a/src/overlays/actors/ovl_Bg_Gnd_Iceblock/z_bg_gnd_iceblock.c
+++ b/src/overlays/actors/ovl_Bg_Gnd_Iceblock/z_bg_gnd_iceblock.c
@@ -9,7 +9,7 @@
#define FLAGS (ACTOR_FLAG_4 | ACTOR_FLAG_5)
-typedef enum {
+typedef enum BgGndIceblockAction {
/* 0 */ GNDICE_IDLE,
/* 1 */ GNDICE_FALL,
/* 2 */ GNDICE_HOLE
diff --git a/src/overlays/actors/ovl_Bg_Haka_Gate/z_bg_haka_gate.h b/src/overlays/actors/ovl_Bg_Haka_Gate/z_bg_haka_gate.h
index d111c64b7..129769275 100644
--- a/src/overlays/actors/ovl_Bg_Haka_Gate/z_bg_haka_gate.h
+++ b/src/overlays/actors/ovl_Bg_Haka_Gate/z_bg_haka_gate.h
@@ -19,7 +19,7 @@ typedef struct BgHakaGate {
/* 0x0172 */ s16 actionVar5;
} BgHakaGate; // size = 0x0174
-typedef enum {
+typedef enum BgHakaGateType {
BGHAKAGATE_STATUE,
BGHAKAGATE_FLOOR,
BGHAKAGATE_GATE,
diff --git a/src/overlays/actors/ovl_Bg_Haka_Sgami/z_bg_haka_sgami.c b/src/overlays/actors/ovl_Bg_Haka_Sgami/z_bg_haka_sgami.c
index 9a83cbfca..356ec9fc9 100644
--- a/src/overlays/actors/ovl_Bg_Haka_Sgami/z_bg_haka_sgami.c
+++ b/src/overlays/actors/ovl_Bg_Haka_Sgami/z_bg_haka_sgami.c
@@ -10,7 +10,7 @@
#define FLAGS (ACTOR_FLAG_0 | ACTOR_FLAG_4)
-typedef enum {
+typedef enum SpinningScytheTrapMode {
/* 0 */ SCYTHE_TRAP_SHADOW_TEMPLE,
/* 1 */ SCYTHE_TRAP_SHADOW_TEMPLE_INVISIBLE,
/* 2 */ SCYTHE_TRAP_ICE_CAVERN
diff --git a/src/overlays/actors/ovl_Bg_Haka_Trap/z_bg_haka_trap.h b/src/overlays/actors/ovl_Bg_Haka_Trap/z_bg_haka_trap.h
index 111e08e24..a6a34dd42 100644
--- a/src/overlays/actors/ovl_Bg_Haka_Trap/z_bg_haka_trap.h
+++ b/src/overlays/actors/ovl_Bg_Haka_Trap/z_bg_haka_trap.h
@@ -4,7 +4,7 @@
#include "ultra64.h"
#include "global.h"
-typedef enum {
+typedef enum HakaTrapType {
/* 0x00 */ HAKA_TRAP_GUILLOTINE_SLOW,
/* 0x01 */ HAKA_TRAP_SPIKED_BOX,
/* 0x02 */ HAKA_TRAP_SPIKED_WALL,
diff --git a/src/overlays/actors/ovl_Bg_Haka_Zou/z_bg_haka_zou.c b/src/overlays/actors/ovl_Bg_Haka_Zou/z_bg_haka_zou.c
index dd4b28148..eb0342b5f 100644
--- a/src/overlays/actors/ovl_Bg_Haka_Zou/z_bg_haka_zou.c
+++ b/src/overlays/actors/ovl_Bg_Haka_Zou/z_bg_haka_zou.c
@@ -10,7 +10,7 @@
#define FLAGS ACTOR_FLAG_4
-typedef enum {
+typedef enum ShadowTempleAssetsType {
/* 0x0 */ STA_GIANT_BIRD_STATUE,
/* 0x1 */ STA_BOMBABLE_SKULL_WALL,
/* 0x2 */ STA_BOMBABLE_RUBBLE,
diff --git a/src/overlays/actors/ovl_Bg_Heavy_Block/z_bg_heavy_block.h b/src/overlays/actors/ovl_Bg_Heavy_Block/z_bg_heavy_block.h
index c6c21d2df..62c783fe5 100644
--- a/src/overlays/actors/ovl_Bg_Heavy_Block/z_bg_heavy_block.h
+++ b/src/overlays/actors/ovl_Bg_Heavy_Block/z_bg_heavy_block.h
@@ -16,7 +16,7 @@ typedef struct BgHeavyBlock {
/* 0x0174 */ BgHeavyBlockActionFunc actionFunc;
} BgHeavyBlock; // size = 0x0178
-typedef enum {
+typedef enum HeavyBlockType {
/* 0x00 */ HEAVYBLOCK_UNBREAKABLE,
/* 0x01 */ HEAVYBLOCK_BREAKABLE,
/* 0x02 */ HEAVYBLOCK_BIG_PIECE,
diff --git a/src/overlays/actors/ovl_Bg_Hidan_Curtain/z_bg_hidan_curtain.c b/src/overlays/actors/ovl_Bg_Hidan_Curtain/z_bg_hidan_curtain.c
index 080c74d95..2c336a156 100644
--- a/src/overlays/actors/ovl_Bg_Hidan_Curtain/z_bg_hidan_curtain.c
+++ b/src/overlays/actors/ovl_Bg_Hidan_Curtain/z_bg_hidan_curtain.c
@@ -21,7 +21,7 @@ void BgHidanCurtain_TurnOn(BgHidanCurtain* this, PlayState* play);
void BgHidanCurtain_TurnOff(BgHidanCurtain* this, PlayState* play);
void BgHidanCurtain_WaitForTimer(BgHidanCurtain* this, PlayState* play);
-typedef struct {
+typedef struct BgHidanCurtainParams {
/* 0x00 */ s16 radius;
/* 0x02 */ s16 height;
/* 0x04 */ f32 scale;
diff --git a/src/overlays/actors/ovl_Bg_Hidan_Fwbig/z_bg_hidan_fwbig.c b/src/overlays/actors/ovl_Bg_Hidan_Fwbig/z_bg_hidan_fwbig.c
index d2cc17d63..2e674ef23 100644
--- a/src/overlays/actors/ovl_Bg_Hidan_Fwbig/z_bg_hidan_fwbig.c
+++ b/src/overlays/actors/ovl_Bg_Hidan_Fwbig/z_bg_hidan_fwbig.c
@@ -11,7 +11,7 @@
#define FLAGS ACTOR_FLAG_4
-typedef enum {
+typedef enum HidanFwbigMoveState {
/* 0 */ FWBIG_MOVE,
/* 1 */ FWBIG_RESET,
/* 2 */ FWBIG_KILL
diff --git a/src/overlays/actors/ovl_Bg_Hidan_Kowarerukabe/z_bg_hidan_kowarerukabe.c b/src/overlays/actors/ovl_Bg_Hidan_Kowarerukabe/z_bg_hidan_kowarerukabe.c
index e8fb098b3..aeace1573 100644
--- a/src/overlays/actors/ovl_Bg_Hidan_Kowarerukabe/z_bg_hidan_kowarerukabe.c
+++ b/src/overlays/actors/ovl_Bg_Hidan_Kowarerukabe/z_bg_hidan_kowarerukabe.c
@@ -11,7 +11,7 @@
#define FLAGS 0
-typedef enum {
+typedef enum FireTempleBombableObjectsType {
/* 0 */ CRACKED_STONE_FLOOR,
/* 1 */ BOMBABLE_WALL,
/* 2 */ LARGE_BOMBABLE_WALL
diff --git a/src/overlays/actors/ovl_Bg_Ice_Shelter/z_bg_ice_shelter.h b/src/overlays/actors/ovl_Bg_Ice_Shelter/z_bg_ice_shelter.h
index 7fb4a0514..765b017b3 100644
--- a/src/overlays/actors/ovl_Bg_Ice_Shelter/z_bg_ice_shelter.h
+++ b/src/overlays/actors/ovl_Bg_Ice_Shelter/z_bg_ice_shelter.h
@@ -8,7 +8,7 @@ struct BgIceShelter;
typedef void (*BgIceShelterActionFunc)(struct BgIceShelter*, PlayState*);
-typedef enum {
+typedef enum RedIceType {
/* 0 */ RED_ICE_LARGE, // Large red ice block
/* 1 */ RED_ICE_SMALL, // Small red ice block
/* 2 */ RED_ICE_PLATFORM, // Complex structure that can be climbed and walked on. Unused in vanilla OoT, used in MQ to cover the Ice Cavern Map chest
diff --git a/src/overlays/actors/ovl_Bg_Ice_Turara/z_bg_ice_turara.h b/src/overlays/actors/ovl_Bg_Ice_Turara/z_bg_ice_turara.h
index a869888a8..eaa6cc843 100644
--- a/src/overlays/actors/ovl_Bg_Ice_Turara/z_bg_ice_turara.h
+++ b/src/overlays/actors/ovl_Bg_Ice_Turara/z_bg_ice_turara.h
@@ -8,7 +8,7 @@ struct BgIceTurara;
typedef void (*BgIceTuraraActionFunc)(struct BgIceTurara*, PlayState*);
-typedef enum {
+typedef enum BgIceTuraraType {
/* 0 */ TURARA_STALAGMITE,
/* 1 */ TURARA_STALACTITE,
/* 2 */ TURARA_STALACTITE_REGROW
diff --git a/src/overlays/actors/ovl_Bg_Jya_Bigmirror/z_bg_jya_bigmirror.c b/src/overlays/actors/ovl_Bg_Jya_Bigmirror/z_bg_jya_bigmirror.c
index e0f0b7821..4eddd4a3f 100644
--- a/src/overlays/actors/ovl_Bg_Jya_Bigmirror/z_bg_jya_bigmirror.c
+++ b/src/overlays/actors/ovl_Bg_Jya_Bigmirror/z_bg_jya_bigmirror.c
@@ -28,7 +28,7 @@ ActorProfile Bg_Jya_Bigmirror_Profile = {
/**/ BgJyaBigmirror_Draw,
};
-typedef struct {
+typedef struct BigMirrorDataEntry {
/* 0x00 */ Vec3f pos;
/* 0x0C */ s16 params;
/* 0x0E */ s16 solvedRotY;
diff --git a/src/overlays/actors/ovl_Bg_Jya_Bigmirror/z_bg_jya_bigmirror.h b/src/overlays/actors/ovl_Bg_Jya_Bigmirror/z_bg_jya_bigmirror.h
index 90647a7a8..52f2b9593 100644
--- a/src/overlays/actors/ovl_Bg_Jya_Bigmirror/z_bg_jya_bigmirror.h
+++ b/src/overlays/actors/ovl_Bg_Jya_Bigmirror/z_bg_jya_bigmirror.h
@@ -14,7 +14,7 @@
struct BgJyaBigmirror;
-typedef struct {
+typedef struct BigmirrorCobra {
/* 0x00 */ BgJyaCobra* cobra;
/* 0x04 */ s16 rotY;
} BigmirrorCobra; // size = 0x08
diff --git a/src/overlays/actors/ovl_Bg_Jya_Megami/z_bg_jya_megami.c b/src/overlays/actors/ovl_Bg_Jya_Megami/z_bg_jya_megami.c
index b51804cb1..2c5e47019 100644
--- a/src/overlays/actors/ovl_Bg_Jya_Megami/z_bg_jya_megami.c
+++ b/src/overlays/actors/ovl_Bg_Jya_Megami/z_bg_jya_megami.c
@@ -59,7 +59,7 @@ static ColliderJntSphInit sJntSphInit = {
sJntSphElementsInit,
};
-typedef struct {
+typedef struct BgJyaMegamiPieceInit {
/* 0x00 */ Vec3f unk_00;
/* 0x0C */ f32 velX;
/* 0x10 */ s16 rotVelX;
diff --git a/src/overlays/actors/ovl_Bg_Jya_Megami/z_bg_jya_megami.h b/src/overlays/actors/ovl_Bg_Jya_Megami/z_bg_jya_megami.h
index a85222c94..b24f23601 100644
--- a/src/overlays/actors/ovl_Bg_Jya_Megami/z_bg_jya_megami.h
+++ b/src/overlays/actors/ovl_Bg_Jya_Megami/z_bg_jya_megami.h
@@ -8,7 +8,7 @@ struct BgJyaMegami;
typedef void (*BgJyaMegamiActionFunc)(struct BgJyaMegami*, PlayState*);
-typedef struct {
+typedef struct BgJyaMegamiPiece {
/* 0x00 */ Vec3f pos;
/* 0x0C */ Vec3f vel;
/* 0x18 */ s16 rotVelX;
diff --git a/src/overlays/actors/ovl_Bg_Mizu_Bwall/z_bg_mizu_bwall.h b/src/overlays/actors/ovl_Bg_Mizu_Bwall/z_bg_mizu_bwall.h
index 37c0fe2b3..d5eeaad34 100644
--- a/src/overlays/actors/ovl_Bg_Mizu_Bwall/z_bg_mizu_bwall.h
+++ b/src/overlays/actors/ovl_Bg_Mizu_Bwall/z_bg_mizu_bwall.h
@@ -23,7 +23,7 @@ typedef struct BgMizuBwall {
/* 0x02B8 */ Gfx* dList;
} BgMizuBwall; // size = 0x02BC
-typedef enum {
+typedef enum BgMizuBwallType {
MIZUBWALL_FLOOR,
MIZUBWALL_RUTO_ROOM,
MIZUBWALL_UNUSED,
diff --git a/src/overlays/actors/ovl_Bg_Mizu_Water/z_bg_mizu_water.c b/src/overlays/actors/ovl_Bg_Mizu_Water/z_bg_mizu_water.c
index 4d58505b0..a13d50d04 100644
--- a/src/overlays/actors/ovl_Bg_Mizu_Water/z_bg_mizu_water.c
+++ b/src/overlays/actors/ovl_Bg_Mizu_Water/z_bg_mizu_water.c
@@ -17,7 +17,7 @@ void BgMizuWater_Draw(Actor* thisx, PlayState* play);
void BgMizuWater_WaitForAction(BgMizuWater* this, PlayState* play);
void BgMizuWater_ChangeWaterLevel(BgMizuWater* this, PlayState* play);
-typedef struct {
+typedef struct WaterLevel {
s32 switchFlag;
s32 yDiff;
} WaterLevel;
diff --git a/src/overlays/actors/ovl_Bg_Mori_Hashigo/z_bg_mori_hashigo.h b/src/overlays/actors/ovl_Bg_Mori_Hashigo/z_bg_mori_hashigo.h
index 5e957f403..4e6e93a5d 100644
--- a/src/overlays/actors/ovl_Bg_Mori_Hashigo/z_bg_mori_hashigo.h
+++ b/src/overlays/actors/ovl_Bg_Mori_Hashigo/z_bg_mori_hashigo.h
@@ -18,7 +18,7 @@ typedef struct BgMoriHashigo {
/* 0x01CC */ s8 moriTexObjectSlot;
} BgMoriHashigo; // size = 0x01D0
-typedef enum {
+typedef enum HasigoType {
/* -1 */ HASHIGO_CLASP = -1,
/* 0 */ HASHIGO_LADDER
} HasigoType;
diff --git a/src/overlays/actors/ovl_Bg_Po_Syokudai/z_bg_po_syokudai.c b/src/overlays/actors/ovl_Bg_Po_Syokudai/z_bg_po_syokudai.c
index 6def1043f..357301951 100644
--- a/src/overlays/actors/ovl_Bg_Po_Syokudai/z_bg_po_syokudai.c
+++ b/src/overlays/actors/ovl_Bg_Po_Syokudai/z_bg_po_syokudai.c
@@ -10,7 +10,7 @@
#define FLAGS 0
-typedef enum {
+typedef enum PoeFlameColor {
POE_FLAME_PURPLE, // Meg
POE_FLAME_RED, // Joelle
POE_FLAME_BLUE, // Beth
diff --git a/src/overlays/actors/ovl_Bg_Relay_Objects/z_bg_relay_objects.c b/src/overlays/actors/ovl_Bg_Relay_Objects/z_bg_relay_objects.c
index 038890ee8..892fdca58 100644
--- a/src/overlays/actors/ovl_Bg_Relay_Objects/z_bg_relay_objects.c
+++ b/src/overlays/actors/ovl_Bg_Relay_Objects/z_bg_relay_objects.c
@@ -9,7 +9,7 @@
#define FLAGS ACTOR_FLAG_4
-typedef enum {
+typedef enum WindmillSetpiecesMode {
/* 0 */ WINDMILL_ROTATING_GEAR,
/* 1 */ WINDMILL_DAMPE_STONE_DOOR
} WindmillSetpiecesMode;
diff --git a/src/overlays/actors/ovl_Bg_Spot00_Hanebasi/z_bg_spot00_hanebasi.c b/src/overlays/actors/ovl_Bg_Spot00_Hanebasi/z_bg_spot00_hanebasi.c
index 95d9f361b..c4e994697 100644
--- a/src/overlays/actors/ovl_Bg_Spot00_Hanebasi/z_bg_spot00_hanebasi.c
+++ b/src/overlays/actors/ovl_Bg_Spot00_Hanebasi/z_bg_spot00_hanebasi.c
@@ -10,7 +10,7 @@
#define FLAGS ACTOR_FLAG_4
-typedef enum {
+typedef enum DrawbridgeType {
/* -1 */ DT_DRAWBRIDGE = -1,
/* 0 */ DT_CHAIN_1,
/* 1 */ DT_CHAIN_2
diff --git a/src/overlays/actors/ovl_Bg_Spot03_Taki/z_bg_spot03_taki.h b/src/overlays/actors/ovl_Bg_Spot03_Taki/z_bg_spot03_taki.h
index 3055fb7f8..f6e3daab1 100644
--- a/src/overlays/actors/ovl_Bg_Spot03_Taki/z_bg_spot03_taki.h
+++ b/src/overlays/actors/ovl_Bg_Spot03_Taki/z_bg_spot03_taki.h
@@ -4,7 +4,7 @@
#include "ultra64.h"
#include "global.h"
-typedef enum {
+typedef enum BgSpot03TakiState {
WATERFALL_CLOSED,
WATERFALL_OPENING_IDLE,
WATERFALL_OPENING_ANIMATED,
diff --git a/src/overlays/actors/ovl_Bg_Spot06_Objects/z_bg_spot06_objects.c b/src/overlays/actors/ovl_Bg_Spot06_Objects/z_bg_spot06_objects.c
index 4d28d392c..bd4b5b1d6 100644
--- a/src/overlays/actors/ovl_Bg_Spot06_Objects/z_bg_spot06_objects.c
+++ b/src/overlays/actors/ovl_Bg_Spot06_Objects/z_bg_spot06_objects.c
@@ -9,14 +9,14 @@
#define FLAGS ACTOR_FLAG_9
-typedef enum {
+typedef enum LakeHyliaObjectsType {
/* 0x0 */ LHO_WATER_TEMPLE_ENTRACE_GATE,
/* 0x1 */ LHO_WATER_TEMPLE_ENTRANCE_LOCK,
/* 0x2 */ LHO_WATER_PLANE,
/* 0x3 */ LHO_ICE_BLOCK
} LakeHyliaObjectsType;
-typedef enum {
+typedef enum LakeHyliaWaterBoxIndices {
/* 0x0 */ LHWB_GERUDO_VALLEY_RIVER_UPPER, // entrance from Gerudo Valley
/* 0x1 */ LHWB_GERUDO_VALLEY_RIVER_LOWER, // river flowing from Gerudo Valley
/* 0x2 */ LHWB_MAIN_1, // main water box
diff --git a/src/overlays/actors/ovl_Bg_Sst_Floor/z_bg_sst_floor.h b/src/overlays/actors/ovl_Bg_Sst_Floor/z_bg_sst_floor.h
index 04c9dcab6..9149f9214 100644
--- a/src/overlays/actors/ovl_Bg_Sst_Floor/z_bg_sst_floor.h
+++ b/src/overlays/actors/ovl_Bg_Sst_Floor/z_bg_sst_floor.h
@@ -13,7 +13,7 @@ typedef struct BgSstFloor {
/* 0x0168 */ s16 drumHeight;
} BgSstFloor; // size = 0x016C
-typedef enum {
+typedef enum BgSstFloorParams {
/* 0 */ BONGOFLOOR_REST,
/* 1 */ BONGOFLOOR_HIT
} BgSstFloorParams;
diff --git a/src/overlays/actors/ovl_Bg_Vb_Sima/z_bg_vb_sima.h b/src/overlays/actors/ovl_Bg_Vb_Sima/z_bg_vb_sima.h
index 42fdf5cfb..c279ae393 100644
--- a/src/overlays/actors/ovl_Bg_Vb_Sima/z_bg_vb_sima.h
+++ b/src/overlays/actors/ovl_Bg_Vb_Sima/z_bg_vb_sima.h
@@ -6,7 +6,7 @@
struct BgVbSima;
-typedef enum {
+typedef enum BgVbSimaSignal {
/* 0 */ VBSIMA_STAND,
/* 1 */ VBSIMA_COLLAPSE,
/* 2 */ VBSIMA_KILL
diff --git a/src/overlays/actors/ovl_Bg_Ydan_Hasi/z_bg_ydan_hasi.h b/src/overlays/actors/ovl_Bg_Ydan_Hasi/z_bg_ydan_hasi.h
index 63105ab48..616cd4250 100644
--- a/src/overlays/actors/ovl_Bg_Ydan_Hasi/z_bg_ydan_hasi.h
+++ b/src/overlays/actors/ovl_Bg_Ydan_Hasi/z_bg_ydan_hasi.h
@@ -15,7 +15,7 @@ typedef struct BgYdanHasi {
/* 0x016A */ s16 timer; //Also used as an offset for the water blocks Y position for a "bobbing" effect
} BgYdanHasi; // size = 0x016C
-typedef enum {
+typedef enum HasiType {
/* 0 */ HASI_WATER_BLOCK,
/* 1 */ HASI_WATER,
/* 2 */ HASI_THREE_BLOCKS
diff --git a/src/overlays/actors/ovl_Bg_Ydan_Sp/z_bg_ydan_sp.c b/src/overlays/actors/ovl_Bg_Ydan_Sp/z_bg_ydan_sp.c
index 6a1d989a2..e1d3a3942 100644
--- a/src/overlays/actors/ovl_Bg_Ydan_Sp/z_bg_ydan_sp.c
+++ b/src/overlays/actors/ovl_Bg_Ydan_Sp/z_bg_ydan_sp.c
@@ -19,7 +19,7 @@ void BgYdanSp_FloorWebIdle(BgYdanSp* this, PlayState* play);
void BgYdanSp_BurnWallWeb(BgYdanSp* this, PlayState* play);
void BgYdanSp_WallWebIdle(BgYdanSp* this, PlayState* play);
-typedef enum {
+typedef enum BgYdanSpType {
/* 0 */ WEB_FLOOR,
/* 1 */ WEB_WALL
} BgYdanSpType;
diff --git a/src/overlays/actors/ovl_Boss_Dodongo/z_boss_dodongo.h b/src/overlays/actors/ovl_Boss_Dodongo/z_boss_dodongo.h
index 13ccf61d8..dc5398598 100644
--- a/src/overlays/actors/ovl_Boss_Dodongo/z_boss_dodongo.h
+++ b/src/overlays/actors/ovl_Boss_Dodongo/z_boss_dodongo.h
@@ -10,7 +10,7 @@ typedef void (*BossDodongoActionFunc)(struct BossDodongo*, PlayState*);
#define BOSS_DODONGO_EFFECT_COUNT 80
-typedef struct {
+typedef struct BossDodongoEffect {
/* 0x00 */ Vec3f unk_00;
/* 0x0C */ Vec3f unk_0C;
/* 0x18 */ Vec3f unk_18;
diff --git a/src/overlays/actors/ovl_Boss_Fd/z_boss_fd.c b/src/overlays/actors/ovl_Boss_Fd/z_boss_fd.c
index 2377494fb..2baad3205 100644
--- a/src/overlays/actors/ovl_Boss_Fd/z_boss_fd.c
+++ b/src/overlays/actors/ovl_Boss_Fd/z_boss_fd.c
@@ -14,20 +14,20 @@
#define FLAGS (ACTOR_FLAG_0 | ACTOR_FLAG_2 | ACTOR_FLAG_4 | ACTOR_FLAG_5)
-typedef enum {
+typedef enum BossFdIntroFlyState {
/* 0 */ INTRO_FLY_EMERGE,
/* 1 */ INTRO_FLY_HOLE,
/* 2 */ INTRO_FLY_CAMERA,
/* 3 */ INTRO_FLY_RETRAT
} BossFdIntroFlyState;
-typedef enum {
+typedef enum BossFdManeIndex {
/* 0 */ MANE_CENTER,
/* 1 */ MANE_RIGHT,
/* 2 */ MANE_LEFT
} BossFdManeIndex;
-typedef enum {
+typedef enum BossFdEyeState {
/* 0 */ EYE_OPEN,
/* 1 */ EYE_HALF,
/* 2 */ EYE_CLOSED
diff --git a/src/overlays/actors/ovl_Boss_Fd/z_boss_fd.h b/src/overlays/actors/ovl_Boss_Fd/z_boss_fd.h
index d855c6c93..dd1cbc8f0 100644
--- a/src/overlays/actors/ovl_Boss_Fd/z_boss_fd.h
+++ b/src/overlays/actors/ovl_Boss_Fd/z_boss_fd.h
@@ -8,7 +8,7 @@ struct BossFd;
typedef void (*BossFdActionFunc)(struct BossFd*, PlayState*);
-typedef enum {
+typedef enum BossFdActionState {
/* -1 */ BOSSFD_WAIT_INTRO = -1,
/* 0 */ BOSSFD_FLY_MAIN,
/* 1 */ BOSSFD_FLY_HOLE,
@@ -26,7 +26,7 @@ typedef enum {
/* 205 */ BOSSFD_SKULL_BURN
} BossFdActionState;
-typedef enum {
+typedef enum BossFdCutsceneState {
/* 0 */ BFD_CS_NONE,
/* 1 */ BFD_CS_WAIT,
/* 2 */ BFD_CS_START,
@@ -38,7 +38,7 @@ typedef enum {
#define BOSSFD_EFFECT_COUNT 180
-typedef struct {
+typedef struct BossFdEffect {
/* 0x00 */ Vec3f pos;
/* 0x0C */ Vec3f velocity;
/* 0x18 */ Vec3f accel;
@@ -58,7 +58,7 @@ typedef struct {
#define vFdFxRotY bFdFxFloat2
#define vFdFxYStop bFdFxFloat2
-typedef enum {
+typedef enum BossFdEffectType {
/* 0 */ BFD_FX_NONE,
/* 1 */ BFD_FX_EMBER,
/* 2 */ BFD_FX_DEBRIS,
@@ -67,13 +67,13 @@ typedef enum {
/* 5 */ BFD_FX_SKULL_PIECE
} BossFdEffectType;
-typedef struct {
+typedef struct BossFdMane {
/* 0x000 */ Vec3f pos[30];
/* 0x168 */ f32 scale[30];
/* 0x1E0 */ Vec3f head;
} BossFdMane; // size = 0x1EC
-typedef enum {
+typedef enum BossFdS16Var {
/* 0 */ BFD_ACTION_STATE,
/* 1 */ BFD_MOVE_TIMER,
/* 2 */ BFD_VAR_TIMER,
@@ -96,7 +96,7 @@ typedef enum {
/* 19 */ BFD_SHORT_COUNT
} BossFdS16Var;
-typedef enum {
+typedef enum BossFdF32Var {
/* 0 */ BFD_TEX1_SCROLL_X,
/* 1 */ BFD_TEX1_SCROLL_Y,
/* 2 */ BFD_TEX2_SCROLL_X,
diff --git a/src/overlays/actors/ovl_Boss_Fd2/z_boss_fd2.c b/src/overlays/actors/ovl_Boss_Fd2/z_boss_fd2.c
index 86e22e909..26e4eab49 100644
--- a/src/overlays/actors/ovl_Boss_Fd2/z_boss_fd2.c
+++ b/src/overlays/actors/ovl_Boss_Fd2/z_boss_fd2.c
@@ -12,7 +12,7 @@
#define FLAGS (ACTOR_FLAG_0 | ACTOR_FLAG_2 | ACTOR_FLAG_4 | ACTOR_FLAG_5)
-typedef enum {
+typedef enum BossFd2CutsceneState {
/* 0 */ DEATH_START,
/* 1 */ DEATH_RETREAT,
/* 2 */ DEATH_HANDOFF,
@@ -21,7 +21,7 @@ typedef enum {
/* 5 */ DEATH_FINISH
} BossFd2CutsceneState;
-typedef enum {
+typedef enum BossFd2EyeState {
/* 0 */ EYE_OPEN,
/* 1 */ EYE_HALF,
/* 2 */ EYE_CLOSED
diff --git a/src/overlays/actors/ovl_Boss_Fd2/z_boss_fd2.h b/src/overlays/actors/ovl_Boss_Fd2/z_boss_fd2.h
index f7d4b795f..f2d3ff45a 100644
--- a/src/overlays/actors/ovl_Boss_Fd2/z_boss_fd2.h
+++ b/src/overlays/actors/ovl_Boss_Fd2/z_boss_fd2.h
@@ -8,14 +8,14 @@ struct BossFd2;
typedef void (*BossFd2ActionFunc)(struct BossFd2*, PlayState*);
-typedef enum {
+typedef enum BossFd2Signal {
/* 0 */ FD2_SIGNAL_NONE,
/* 1 */ FD2_SIGNAL_FLY,
/* 2 */ FD2_SIGNAL_DEATH,
/* 100 */ FD2_SIGNAL_GROUND = 100
} BossFd2Signal;
-typedef struct {
+typedef struct BossFd2Mane {
/* 0x000 */ Vec3f rot[10];
/* 0x078 */ Vec3f pos[10];
/* 0x0F0 */ Vec3f pull[10];
@@ -23,7 +23,7 @@ typedef struct {
/* 0x190 */ Vec3f head;
} BossFd2Mane; // size = 0x19C
-typedef enum {
+typedef enum BossFd2S16Var {
/* 0 */ FD2_TURN_TO_LINK,
/* 1 */ FD2_ACTION_STATE,
/* 2 */ FD2_UNK_TIMER,
@@ -39,7 +39,7 @@ typedef enum {
/* 19 */ FD2_SHORT_COUNT = 19
} BossFd2S16Var;
-typedef enum {
+typedef enum BossFd2F32Var {
/* 0 */ FD2_TEX1_SCROLL_X,
/* 1 */ FD2_TEX1_SCROLL_Y,
/* 2 */ FD2_TEX2_SCROLL_X,
diff --git a/src/overlays/actors/ovl_Boss_Ganon/z_boss_ganon.c b/src/overlays/actors/ovl_Boss_Ganon/z_boss_ganon.c
index f4d050ac1..20bad19ba 100644
--- a/src/overlays/actors/ovl_Boss_Ganon/z_boss_ganon.c
+++ b/src/overlays/actors/ovl_Boss_Ganon/z_boss_ganon.c
@@ -120,7 +120,7 @@ static EnZl3* sZelda;
#define BOSSGANON_EFFECT_COUNT 200
-typedef struct {
+typedef struct GanondorfEffect {
/* 0x00 */ u8 type;
/* 0x01 */ u8 timer;
/* 0x04 */ Vec3f pos;
@@ -502,7 +502,7 @@ void BossGanon_SetupIntroCutscene(BossGanon* this, PlayState* play) {
}
}
-typedef struct {
+typedef struct CutsceneCameraPosition {
/* 0x00 */ Vec3s eye;
/* 0x06 */ Vec3s at;
} CutsceneCameraPosition; // size = 0x12
diff --git a/src/overlays/actors/ovl_Boss_Ganon/z_boss_ganon.h b/src/overlays/actors/ovl_Boss_Ganon/z_boss_ganon.h
index 85bbc27f1..e0f093455 100644
--- a/src/overlays/actors/ovl_Boss_Ganon/z_boss_ganon.h
+++ b/src/overlays/actors/ovl_Boss_Ganon/z_boss_ganon.h
@@ -8,7 +8,7 @@ struct BossGanon;
typedef void (*BossGanonActionFunc)(struct BossGanon*, PlayState*);
-typedef enum {
+typedef enum GanondorfLimb {
/* 0 */ GANONDORF_LIMB_NONE,
/* 1 */ GANONDORF_LIMB_ROOT,
/* 2 */ GANONDORF_LIMB_TORSO,
@@ -38,7 +38,7 @@ typedef enum {
/* 26 */ GANONDORF_LIMB_MAX
} GanondorfLimb;
-typedef enum {
+typedef enum GanondorfFwork {
/* 0 */ GDF_FWORK_0,
/* 1 */ GDF_FWORK_1,
/* 2 */ GDF_CENTER_POS,
@@ -52,19 +52,19 @@ typedef enum {
/* 10 */ GDF_FWORK_MAX
} GanondorfFwork;
-typedef enum {
+typedef enum WindowShatterState {
/* 0 */ GDF_WINDOW_SHATTER_OFF,
/* 1 */ GDF_WINDOW_SHATTER_PARTIAL,
/* 2 */ GDF_WINDOW_SHATTER_FULL
} WindowShatterState;
-typedef enum {
+typedef enum GanondorfShockType {
/* 0 */ GDF_SHOCK_DORF_YELLOW,
/* 1 */ GDF_SHOCK_PLAYER_YELLOW,
/* 2 */ GDF_SHOCK_PLAYER_PURPLE
} GanondorfShockType;
-typedef enum {
+typedef enum GanondorfEffectType {
/* 0 */ GDF_EFF_NONE,
/* 1 */ GDF_EFF_SPARKLE,
/* 2 */ GDF_EFF_LIGHT_RAY,
@@ -77,7 +77,7 @@ typedef enum {
/* 9 */ GDF_EFF_WINDOW_SHARD
} GanondorfEffectType;
-typedef enum {
+typedef enum GanondorfTriforceType {
/* 0 */ GDF_TRIFORCE_PLAYER,
/* 1 */ GDF_TRIFORCE_ZELDA,
/* 2 */ GDF_TRIFORCE_DORF
diff --git a/src/overlays/actors/ovl_Boss_Ganon2/z_boss_ganon2.h b/src/overlays/actors/ovl_Boss_Ganon2/z_boss_ganon2.h
index 2248b4135..4c4c6f6fb 100644
--- a/src/overlays/actors/ovl_Boss_Ganon2/z_boss_ganon2.h
+++ b/src/overlays/actors/ovl_Boss_Ganon2/z_boss_ganon2.h
@@ -8,7 +8,7 @@ struct BossGanon2;
typedef void (*BossGanon2ActionFunc)(struct BossGanon2*, PlayState*);
-typedef enum {
+typedef enum GanonLimb {
/* 0 */ GANON_LIMB_NONE,
/* 1 */ GANON_LIMB_ROOT,
/* 2 */ GANON_LIMB_TORSO,
diff --git a/src/overlays/actors/ovl_Boss_Ganon2/z_boss_ganon2_data.inc.c b/src/overlays/actors/ovl_Boss_Ganon2/z_boss_ganon2_data.inc.c
index f31a97410..bcb07e383 100644
--- a/src/overlays/actors/ovl_Boss_Ganon2/z_boss_ganon2_data.inc.c
+++ b/src/overlays/actors/ovl_Boss_Ganon2/z_boss_ganon2_data.inc.c
@@ -4,7 +4,7 @@
#define BOSS_GANON2_EFFECT_COUNT 100
-typedef struct {
+typedef struct BossGanon2Effect {
/* 0x00 */ u8 type;
/* 0x01 */ u8 unk_01;
/* 0x04 */ Vec3f position;
diff --git a/src/overlays/actors/ovl_Boss_Ganondrof/z_boss_ganondrof.c b/src/overlays/actors/ovl_Boss_Ganondrof/z_boss_ganondrof.c
index 98aa721bb..2a3583379 100644
--- a/src/overlays/actors/ovl_Boss_Ganondrof/z_boss_ganondrof.c
+++ b/src/overlays/actors/ovl_Boss_Ganondrof/z_boss_ganondrof.c
@@ -14,7 +14,7 @@
#define FLAGS (ACTOR_FLAG_0 | ACTOR_FLAG_2 | ACTOR_FLAG_4 | ACTOR_FLAG_5)
-typedef enum {
+typedef enum BossGanondrofDeathState {
/* 0 */ NOT_DEAD,
/* 1 */ DEATH_START,
/* 2 */ DEATH_THROES,
@@ -24,24 +24,24 @@ typedef enum {
/* 6 */ DEATH_FINISH
} BossGanondrofDeathState;
-typedef enum {
+typedef enum BossGanondrofThrowAction {
/* 0 */ THROW_NORMAL,
/* 1 */ THROW_SLOW
} BossGanondrofThrowAction;
-typedef enum {
+typedef enum BossGanondrofStunnedAction {
/* 0 */ STUNNED_FALL,
/* 1 */ STUNNED_GROUND
} BossGanondrofStunnedAction;
-typedef enum {
+typedef enum BossGanondrofChargeAction {
/* 0 */ CHARGE_WINDUP,
/* 1 */ CHARGE_START,
/* 2 */ CHARGE_ATTACK,
/* 3 */ CHARGE_FINISH
} BossGanondrofChargeAction;
-typedef enum {
+typedef enum BossGanondrofDeathAction {
/* 0 */ DEATH_SPASM,
/* 1 */ DEATH_LIMP,
/* 2 */ DEATH_HUNCHED
diff --git a/src/overlays/actors/ovl_Boss_Ganondrof/z_boss_ganondrof.h b/src/overlays/actors/ovl_Boss_Ganondrof/z_boss_ganondrof.h
index e334123a9..142aea02b 100644
--- a/src/overlays/actors/ovl_Boss_Ganondrof/z_boss_ganondrof.h
+++ b/src/overlays/actors/ovl_Boss_Ganondrof/z_boss_ganondrof.h
@@ -15,7 +15,7 @@ typedef void (*BossGanondrofActionFunc)(struct BossGanondrof*, PlayState*);
#define GND_BOSSROOM_CENTER_Y -33.0f
#define GND_BOSSROOM_CENTER_Z -3315.0f
-typedef enum {
+typedef enum BossGanondrofFlyMode {
/* 0 */ GND_FLY_PAINTING,
/* 1 */ GND_FLY_NEUTRAL,
/* 2 */ GND_FLY_VOLLEY,
@@ -23,13 +23,13 @@ typedef enum {
/* 4 */ GND_FLY_CHARGE
} BossGanondrofFlyMode;
-typedef enum {
+typedef enum BossGanondrofEyeState {
/* 0 */ GND_EYESTATE_NONE,
/* 1 */ GND_EYESTATE_FADE,
/* 2 */ GND_EYESTATE_BRIGHTEN
} BossGanondrofEyeState;
-typedef enum {
+typedef enum BossGanondrofS16Var {
/* 0 */ GND_VARIANCE_TIMER,
/* 1 */ GND_US_1,
/* 2 */ GND_US_2,
@@ -51,7 +51,7 @@ typedef enum {
/* 20 */ GND_SHORT_COUNT = 20
} BossGanondrofS16Var;
-typedef enum {
+typedef enum BossGanondrofF32Var {
/* 0 */ GND_FLOAT_SPEED,
/* 1 */ GND_END_FRAME,
/* 2 */ GND_EYE_BRIGHTNESS,
diff --git a/src/overlays/actors/ovl_Boss_Goma/z_boss_goma.c b/src/overlays/actors/ovl_Boss_Goma/z_boss_goma.c
index 3e217b295..e34d1500c 100644
--- a/src/overlays/actors/ovl_Boss_Goma/z_boss_goma.c
+++ b/src/overlays/actors/ovl_Boss_Goma/z_boss_goma.c
@@ -9,13 +9,13 @@
// IRIS_FOLLOW: gohma looks towards the player (iris rotation)
// BONUS_IFRAMES: gain invincibility frames when the player does something (throwing things?), or
// randomly (see BossGoma_UpdateEye)
-typedef enum {
+typedef enum GohmaEyeState {
EYESTATE_IRIS_FOLLOW_BONUS_IFRAMES, // default, allows not drawing lens and iris when eye is closed
EYESTATE_IRIS_NO_FOLLOW_NO_IFRAMES,
EYESTATE_IRIS_FOLLOW_NO_IFRAMES
} GohmaEyeState;
-typedef enum {
+typedef enum GohmaVisualState {
VISUALSTATE_RED, // main/eye: red
VISUALSTATE_DEFAULT, // main: greenish cyan, blinks with dark gray every 16 frames; eye: white
VISUALSTATE_DEFEATED, // main/eye: dark gray
diff --git a/src/overlays/actors/ovl_Boss_Goma/z_boss_goma.h b/src/overlays/actors/ovl_Boss_Goma/z_boss_goma.h
index 399fa722b..5931f9ca3 100644
--- a/src/overlays/actors/ovl_Boss_Goma/z_boss_goma.h
+++ b/src/overlays/actors/ovl_Boss_Goma/z_boss_goma.h
@@ -8,7 +8,7 @@ struct BossGoma;
typedef void (*BossGomaActionFunc)(struct BossGoma*, PlayState*);
-typedef enum {
+typedef enum BossGomaLimb {
/* 0 */ BOSSGOMA_LIMB_NONE,
/* 1 */ BOSSGOMA_LIMB_ROOT1,
/* 2 */ BOSSGOMA_LIMB_ROOT2,
diff --git a/src/overlays/actors/ovl_Boss_Mo/z_boss_mo.c b/src/overlays/actors/ovl_Boss_Mo/z_boss_mo.c
index 1f5dc938f..4734c8c2e 100644
--- a/src/overlays/actors/ovl_Boss_Mo/z_boss_mo.c
+++ b/src/overlays/actors/ovl_Boss_Mo/z_boss_mo.c
@@ -20,7 +20,7 @@
#define BOSS_MO_EFFECT_COUNT 300
-typedef struct {
+typedef struct BossMoEffect {
/* 0x00 */ Vec3f pos;
/* 0x0C */ Vec3f vel;
/* 0x18 */ Vec3f accel;
@@ -59,7 +59,7 @@ void BossMo_Tentacle(BossMo* this, PlayState* play);
void BossMo_Unknown(void);
-typedef enum {
+typedef enum BossMoEffectType {
/* 0 */ MO_FX_NONE,
/* 1 */ MO_FX_SMALL_RIPPLE,
/* 2 */ MO_FX_BIG_RIPPLE,
@@ -70,7 +70,7 @@ typedef enum {
/* 7 */ MO_FX_BUBBLE
} BossMoEffectType;
-typedef enum {
+typedef enum BossMoTentState {
/* 0 */ MO_TENT_READY,
/* 1 */ MO_TENT_SWING,
/* 2 */ MO_TENT_ATTACK,
@@ -90,7 +90,7 @@ typedef enum {
/* 206 */ MO_TENT_DEATH_6
} BossMoTentState;
-typedef enum {
+typedef enum BossMoCoreState {
/* -11 */ MO_CORE_UNUSED = -11,
/* 0 */ MO_CORE_MOVE = 0,
/* 1 */ MO_CORE_MAKE_TENT,
@@ -102,7 +102,7 @@ typedef enum {
/* 21 */ MO_CORE_INTRO_REVEAL
} BossMoCoreState;
-typedef enum {
+typedef enum BossMoCsState {
/* 0 */ MO_BATTLE,
/* 1 */ MO_INTRO_WAIT,
/* 2 */ MO_INTRO_START,
diff --git a/src/overlays/actors/ovl_Boss_Mo/z_boss_mo.h b/src/overlays/actors/ovl_Boss_Mo/z_boss_mo.h
index 310a45ce9..1b7641817 100644
--- a/src/overlays/actors/ovl_Boss_Mo/z_boss_mo.h
+++ b/src/overlays/actors/ovl_Boss_Mo/z_boss_mo.h
@@ -8,7 +8,7 @@ struct BossMo;
typedef void (*BossMoActionFunc)(struct BossMo*, PlayState*);
-typedef enum {
+typedef enum BossMoTentS16Var {
/* 0 */ MO_TENT_ACTION_STATE,
/* 1 */ MO_TENT_MOVE_TIMER,
/* 2 */ MO_TENT_VAR_TIMER,
@@ -21,7 +21,7 @@ typedef enum {
/* 9 */ MO_TENT_SHORT_MAX
} BossMoTentS16Var;
-typedef enum {
+typedef enum BossMoCoreS16Var {
/* 0 */ MO_CORE_ACTION_STATE,
/* 1 */ MO_CORE_MOVE_TIMER,
/* 2 */ MO_CORE_VAR_TIMER,
@@ -34,7 +34,7 @@ typedef enum {
/* 9 */ MO_CORE_SHORT_MAX
} BossMoCoreS16Var;
-typedef enum {
+typedef enum BossMoTentF32Var {
/* 0 */ MO_TENT_SWING_LAG_X,
/* 1 */ MO_TENT_SWING_SIZE_X,
/* 2 */ MO_TENT_SWING_RATE_X,
@@ -45,7 +45,7 @@ typedef enum {
/* 7 */ MO_TENT_FLOAT_MAX
} BossMoTentF32Var;
-typedef enum {
+typedef enum BossMoCoreF32Var {
/* 0 */ MO_CORE_INTRO_WATER_ALPHA,
/* 1 */ MO_CORE_FLOAT_MAX
} BossMoCoreF32Var;
diff --git a/src/overlays/actors/ovl_Boss_Sst/z_boss_sst.c b/src/overlays/actors/ovl_Boss_Sst/z_boss_sst.c
index eccf44d43..cc5f87b0c 100644
--- a/src/overlays/actors/ovl_Boss_Sst/z_boss_sst.c
+++ b/src/overlays/actors/ovl_Boss_Sst/z_boss_sst.c
@@ -24,7 +24,7 @@
#define ROOM_CENTER_Y 0.0f
#define ROOM_CENTER_Z 0.0f
-typedef enum {
+typedef enum BossSstHandState {
/* 0 */ HAND_WAIT,
/* 1 */ HAND_BEAT,
/* 2 */ HAND_RETREAT,
@@ -39,7 +39,7 @@ typedef enum {
/* 11 */ HAND_DEATH
} BossSstHandState;
-typedef enum {
+typedef enum BossSstEffectMode {
/* 0 */ BONGO_NULL,
/* 1 */ BONGO_ICE,
/* 2 */ BONGO_SHOCKWAVE,
diff --git a/src/overlays/actors/ovl_Boss_Sst/z_boss_sst.h b/src/overlays/actors/ovl_Boss_Sst/z_boss_sst.h
index 0524abaab..f064f2b84 100644
--- a/src/overlays/actors/ovl_Boss_Sst/z_boss_sst.h
+++ b/src/overlays/actors/ovl_Boss_Sst/z_boss_sst.h
@@ -10,7 +10,7 @@ typedef void (*BossSstActionFunc)(struct BossSst*, PlayState*);
#define BOSS_SST_EFFECT_COUNT 18
-typedef struct {
+typedef struct BossSstEffect {
/* 0x0000 */ Vec3f pos;
/* 0x0010 */ Vec3f vel;
/* 0x0018 */ Vec3s rot;
@@ -20,7 +20,7 @@ typedef struct {
/* 0x0024 */ u8 alpha;
} BossSstEffect; // size = 0x28
-typedef struct {
+typedef struct BossSstHandTrail {
/* 0x0000 */ PosRot world;
/* 0x0014 */ f32 zPosMod;
/* 0x0018 */ s16 yRotMod;
@@ -54,7 +54,7 @@ typedef struct BossSst {
/* 0x09D4 */ BossSstHandTrail handTrails[7];
} BossSst; // size = 0x0A98
-typedef enum {
+typedef enum BossSstType {
/* -1 */ BONGO_HEAD = -1,
/* 0 */ BONGO_LEFT_HAND,
/* 1 */ BONGO_RIGHT_HAND
diff --git a/src/overlays/actors/ovl_Boss_Tw/z_boss_tw.c b/src/overlays/actors/ovl_Boss_Tw/z_boss_tw.c
index ebd911e99..9b65f089d 100644
--- a/src/overlays/actors/ovl_Boss_Tw/z_boss_tw.c
+++ b/src/overlays/actors/ovl_Boss_Tw/z_boss_tw.c
@@ -5,7 +5,7 @@
#define FLAGS (ACTOR_FLAG_0 | ACTOR_FLAG_2 | ACTOR_FLAG_4 | ACTOR_FLAG_5)
-typedef enum {
+typedef enum TwEffType {
/* 0 */ TWEFF_NONE,
/* 1 */ TWEFF_DOT,
/* 2 */ TWEFF_2,
@@ -19,13 +19,13 @@ typedef enum {
/* 10 */ TWEFF_SHLD_HIT
} TwEffType;
-typedef enum {
+typedef enum EffectWork {
/* 0 */ EFF_ARGS,
/* 1 */ EFF_UNKS1,
/* 2 */ EFF_WORK_MAX
} EffectWork;
-typedef enum {
+typedef enum EffectFWork {
/* 0 */ EFF_SCALE,
/* 1 */ EFF_DIST,
/* 2 */ EFF_ROLL,
@@ -33,7 +33,7 @@ typedef enum {
/* 4 */ EFF_FWORK_MAX
} EffectFWork;
-typedef enum {
+typedef enum TwinrovaType {
/* 0x00 */ TW_KOTAKE,
/* 0x01 */ TW_KOUME,
/* 0x02 */ TW_TWINROVA,
@@ -47,7 +47,7 @@ typedef enum {
#define BOSS_TW_EFFECT_COUNT 150
-typedef struct {
+typedef struct BossTwEffect {
/* 0x0000 */ u8 type;
/* 0x0001 */ u8 frame;
/* 0x0004 */ Vec3f pos;
diff --git a/src/overlays/actors/ovl_Boss_Tw/z_boss_tw.h b/src/overlays/actors/ovl_Boss_Tw/z_boss_tw.h
index 14190e917..eb2a4ef74 100644
--- a/src/overlays/actors/ovl_Boss_Tw/z_boss_tw.h
+++ b/src/overlays/actors/ovl_Boss_Tw/z_boss_tw.h
@@ -8,7 +8,7 @@ struct BossTw;
typedef void (*BossTwActionFunc)(struct BossTw* this, PlayState* play);
-typedef enum {
+typedef enum TwWork {
/* 0 */ CS_TIMER_1,
/* 1 */ CS_TIMER_2,
/* 2 */ TW_PLLR_IDX,
@@ -25,7 +25,7 @@ typedef enum {
/* 13 */ WORK_MAX
} TwWork;
-typedef enum {
+typedef enum TwFwork {
/* 0 */ OUTR_CRWN_TX_X1,
/* 1 */ OUTR_CRWN_TX_X2,
/* 2 */ INNR_CRWN_TX_X1,
@@ -55,7 +55,7 @@ typedef enum {
/* 26 */ FWORK_MAX
} TwFwork;
-typedef enum {
+typedef enum TwinrovaKotakeKoumeLimb {
/* 0 */ TWINROVA_KOTAKE_KOUME_LIMB_NONE,
/* 1 */ TWINROVA_KOTAKE_KOUME_LIMB_PELVIS,
/* 2 */ TWINROVA_KOTAKE_KOUME_LIMB_LEFT_THIGH,
@@ -86,7 +86,7 @@ typedef enum {
/* 27 */ TWINROVA_KOTAKE_KOUME_LIMB_MAX
} TwinrovaKotakeKoumeLimb;
-typedef enum {
+typedef enum TwinrovaLimb {
/* 0 */ TWINROVA_LIMB_NONE,
/* 1 */ TWINROVA_LIMB_PELVIS,
/* 2 */ TWINROVA_LIMB_SASH_1,
diff --git a/src/overlays/actors/ovl_Boss_Va/z_boss_va.c b/src/overlays/actors/ovl_Boss_Va/z_boss_va.c
index c84328b57..3faed8c85 100644
--- a/src/overlays/actors/ovl_Boss_Va/z_boss_va.c
+++ b/src/overlays/actors/ovl_Boss_Va/z_boss_va.c
@@ -41,7 +41,7 @@ typedef struct BossVaEffect {
/* 0x54 */ struct BossVa* parent;
} BossVaEffect; // size = 0x58
-typedef enum {
+typedef enum BossVaEffectType {
/* 0 */ VA_NONE,
/* 1 */ VA_LARGE_SPARK,
/* 2 */ VA_BLAST_SPARK,
@@ -53,7 +53,7 @@ typedef enum {
/* 8 */ VA_GORE
} BossVaEffectType;
-typedef enum {
+typedef enum BossVaSparkMode {
/* 1 */ SPARK_TETHER = 1,
/* 2 */ SPARK_BARI,
/* 3 */ SPARK_BLAST,
@@ -62,25 +62,25 @@ typedef enum {
/* 6 */ SPARK_LINK
} BossVaSparkMode;
-typedef enum {
+typedef enum BossVaBloodMode {
/* 0 */ BLOOD_DROPLET,
/* 1 */ BLOOD_SPLATTER,
/* 2 */ BLOOD_SPOT
} BossVaBloodMode;
-typedef enum {
+typedef enum BossVaTumorMode {
/* 0 */ TUMOR_UNUSED,
/* 1 */ TUMOR_BODY,
/* 2 */ TUMOR_ARM
} BossVaTumorMode;
-typedef enum {
+typedef enum BossVaGoreMode {
/* 0 */ GORE_PERMANENT,
/* 1 */ GORE_FLOOR,
/* 2 */ GORE_FADING
} BossVaGoreMode;
-typedef enum {
+typedef enum BossVaCutscene {
/* -5 */ INTRO_UNUSED_START = -5,
/* -4 */ INTRO_START,
/* -3 */ INTRO_LOOK_DOOR,
diff --git a/src/overlays/actors/ovl_Boss_Va/z_boss_va.h b/src/overlays/actors/ovl_Boss_Va/z_boss_va.h
index 3b5a1ab82..f5e6c8a89 100644
--- a/src/overlays/actors/ovl_Boss_Va/z_boss_va.h
+++ b/src/overlays/actors/ovl_Boss_Va/z_boss_va.h
@@ -47,7 +47,7 @@ typedef struct BossVa {
/* 0x0338 */ ColliderQuad colliderLightning;
} BossVa; // size = 0x03B8
-typedef enum {
+typedef enum BossVaParam {
/* -1 */ BOSSVA_BODY = -1,
/* 0 */ BOSSVA_SUPPORT_1,
/* 1 */ BOSSVA_SUPPORT_2,
diff --git a/src/overlays/actors/ovl_Demo_Ec/z_demo_ec.c b/src/overlays/actors/ovl_Demo_Ec/z_demo_ec.c
index 27cac8856..530e61e71 100644
--- a/src/overlays/actors/ovl_Demo_Ec/z_demo_ec.c
+++ b/src/overlays/actors/ovl_Demo_Ec/z_demo_ec.c
@@ -44,7 +44,7 @@ void DemoEc_Destroy(Actor* thisx, PlayState* play);
void DemoEc_Update(Actor* thisx, PlayState* play);
void DemoEc_Draw(Actor* thisx, PlayState* play);
-typedef enum {
+typedef enum DemoEcUpdateMode {
/* 00 */ EC_UPDATE_COMMON,
/* 01 */ EC_UPDATE_INGO,
/* 02 */ EC_UPDATE_TALON,
@@ -76,7 +76,7 @@ typedef enum {
/* 28 */ EC_UPDATE_MALON
} DemoEcUpdateMode;
-typedef enum {
+typedef enum DemoEcDrawconfig {
/* 00 */ EC_DRAW_COMMON,
/* 01 */ EC_DRAW_INGO,
/* 02 */ EC_DRAW_TALON,
diff --git a/src/overlays/actors/ovl_Demo_Effect/z_demo_effect.h b/src/overlays/actors/ovl_Demo_Effect/z_demo_effect.h
index 2e7263e58..d3c2768bd 100644
--- a/src/overlays/actors/ovl_Demo_Effect/z_demo_effect.h
+++ b/src/overlays/actors/ovl_Demo_Effect/z_demo_effect.h
@@ -8,71 +8,71 @@ struct DemoEffect;
typedef void (*DemoEffectFunc)(struct DemoEffect*, PlayState*);
-typedef struct {
+typedef struct DemoEffectFireBall {
/* 0x00 */ u8 timer;
} DemoEffectFireBall;
-typedef struct {
+typedef struct DemoEffectBlueOrb {
/* 0x00 */ u8 alpha;
/* 0x01 */ u8 scale;
/* 0x02 */ u8 pad;
/* 0x04 */ s16 rotation;
} DemoEffectBlueOrb;
-typedef struct {
+typedef struct DemoEffectLight {
/* 0x00 */ u8 alpha;
/* 0x01 */ u8 scaleFlag;
/* 0x02 */ u8 flicker;
/* 0x04 */ s16 rotation;
} DemoEffectLight;
-typedef struct {
+typedef struct DemoEffectLgtShower {
/* 0x00 */ u8 alpha;
} DemoEffectLgtShower;
-typedef struct {
+typedef struct DemoEffectGodLgt {
/* 0x00 */ u8 type;
/* 0x01 */ u8 lightRingSpawnDelay;
/* 0x02 */ u8 rotation;
/* 0x04 */ s16 lightRingSpawnTimer;
} DemoEffectGodLgt;
-typedef struct {
+typedef struct DemoEffectLightRing {
/* 0x00 */ u8 timerIncrement;
/* 0x01 */ u8 alpha;
/* 0x02 */ u8 pad;
/* 0x04 */ s16 timer;
} DemoEffectLightRing;
-typedef struct {
+typedef struct DemoEffectTriforceSpot {
/* 0x00 */ u8 triforceSpotOpacity;
/* 0x01 */ u8 lightColumnOpacity;
/* 0x02 */ u8 crystalLightOpacity;
/* 0x04 */ s16 rotation;
} DemoEffectTriforceSpot;
-typedef struct {
+typedef struct DemoEffectGetItem {
/* 0x00 */ u8 isPositionInit;
/* 0x01 */ u8 isLoaded;
/* 0x02 */ u8 drawId;
/* 0x04 */ s16 rotation;
} DemoEffectGetItem;
-typedef struct {
+typedef struct DemoEffectTimeWarp {
/* 0x00 */ u8 pad;
/* 0x01 */ u8 pad2;
/* 0x02 */ u8 pad3;
/* 0x04 */ s16 shrinkTimer;
} DemoEffectTimeWarp;
-typedef struct {
+typedef struct DemoEffectJewel {
/* 0x00 */ u8 type;
/* 0x01 */ u8 isPositionInit;
/* 0x02 */ u8 alpha;
/* 0x04 */ s16 timer;
} DemoEffectJewel;
-typedef struct {
+typedef struct DemoEffectDust {
/* 0x00 */ u8 timer;
} DemoEffectDust;
@@ -108,7 +108,7 @@ typedef struct DemoEffect {
} DemoEffect; // size = 0x01A0
// These names come from the objects that correspond to this actor type.
-typedef enum {
+typedef enum DemoEffectType {
/* 0x00 */ DEMO_EFFECT_CRYSTAL_LIGHT,
/* 0x01 */ DEMO_EFFECT_FIRE_BALL,
/* 0x02 */ DEMO_EFFECT_BLUE_ORB, // Object is in GAMEPLAY_KEEP. Not a name from object. It's a blue orb.
@@ -138,7 +138,7 @@ typedef enum {
/* 0x1A */ DEMO_EFFECT_MAX_TYPE
} DemoEffectType;
-typedef enum {
+typedef enum DemoEffectLightColor {
/* 0x00 */ DEMO_EFFECT_LIGHT_RED,
/* 0x01 */ DEMO_EFFECT_LIGHT_BLUE,
/* 0x02 */ DEMO_EFFECT_LIGHT_GREEN,
@@ -148,7 +148,7 @@ typedef enum {
/* 0x06 */ DEMO_EFFECT_LIGHT_GREEN2
} DemoEffectLightColor;
-typedef enum {
+typedef enum DemoEffectGodLgtType {
/* 0x00 */ GOD_LGT_DIN,
/* 0x01 */ GOD_LGT_NAYRU,
/* 0x02 */ GOD_LGT_FARORE
diff --git a/src/overlays/actors/ovl_Demo_Ext/z_demo_ext.c b/src/overlays/actors/ovl_Demo_Ext/z_demo_ext.c
index 384398cba..b2376abff 100644
--- a/src/overlays/actors/ovl_Demo_Ext/z_demo_ext.c
+++ b/src/overlays/actors/ovl_Demo_Ext/z_demo_ext.c
@@ -10,13 +10,13 @@
#define FLAGS ACTOR_FLAG_4
-typedef enum {
+typedef enum DemoExtAction {
/* 0x00 */ EXT_WAIT,
/* 0x01 */ EXT_MAINTAIN,
/* 0x02 */ EXT_DISPELL
} DemoExtAction;
-typedef enum {
+typedef enum DemoExtDrawMode {
/* 0x00 */ EXT_DRAW_NOTHING,
/* 0x01 */ EXT_DRAW_VORTEX
} DemoExtDrawMode;
diff --git a/src/overlays/actors/ovl_Demo_Gj/z_demo_gj.h b/src/overlays/actors/ovl_Demo_Gj/z_demo_gj.h
index 928e92c19..a29362c9e 100644
--- a/src/overlays/actors/ovl_Demo_Gj/z_demo_gj.h
+++ b/src/overlays/actors/ovl_Demo_Gj/z_demo_gj.h
@@ -28,7 +28,7 @@ typedef struct DemoGj {
* bits 8-10: The amount of collectible that will be dropped when killed.
* bits 0- 7: A value of the enum DemoGjType.
*/
-typedef enum {
+typedef enum DemoGjType {
/* 04 */ DEMOGJ_TYPE_AROUNDARENA = 4, // This is the indestructible rubble around the arena. This actor keeps alive the whole fight.
/* 08 */ DEMOGJ_TYPE_RUBBLE_PILE_1 = 8, // DEMOGJ_TYPE_RUBBLE_PILE_X are the rubbles from where Ganondorf rises. When he transforms into Ganon these are removed from the scene (Actor_Kill).
/* 09 */ DEMOGJ_TYPE_RUBBLE_PILE_2,
diff --git a/src/overlays/actors/ovl_Demo_Im/z_demo_im.h b/src/overlays/actors/ovl_Demo_Im/z_demo_im.h
index 93fb427dd..94744969b 100644
--- a/src/overlays/actors/ovl_Demo_Im/z_demo_im.h
+++ b/src/overlays/actors/ovl_Demo_Im/z_demo_im.h
@@ -9,7 +9,7 @@ struct DemoIm;
typedef void (*DemoImActionFunc)(struct DemoIm*, PlayState*);
typedef void (*DemoImDrawFunc)(struct DemoIm*, PlayState*);
-typedef enum {
+typedef enum ImpaLimb {
/* 0x00 */ IMPA_LIMB_NONE,
/* 0x01 */ IMPA_LIMB_ROOT,
/* 0x02 */ IMPA_LIMB_TORSO,
diff --git a/src/overlays/actors/ovl_Demo_Kankyo/z_demo_kankyo.h b/src/overlays/actors/ovl_Demo_Kankyo/z_demo_kankyo.h
index 0103812c6..f56184bb3 100644
--- a/src/overlays/actors/ovl_Demo_Kankyo/z_demo_kankyo.h
+++ b/src/overlays/actors/ovl_Demo_Kankyo/z_demo_kankyo.h
@@ -8,7 +8,7 @@ struct DemoKankyo;
typedef void (*DemoKankyoActionFunc)(struct DemoKankyo*, PlayState*);
-typedef enum {
+typedef enum DemoKankyoType {
/* 0x00 */ DEMOKANKYO_BLUE_RAIN,
/* 0x01 */ DEMOKANKYO_BLUE_RAIN_2,
/* 0x02 */ DEMOKANKYO_ROCK_1,
@@ -29,7 +29,7 @@ typedef enum {
/* 0x11 */ DEMOKANKYO_SPARKLES
} DemoKankyoType;
-typedef struct {
+typedef struct DemoKankyoUnk150 {
/* 0x00 */ Vec3f unk_0;
/* 0x0C */ Vec3f unk_C;
/* 0x18 */ f32 unk_18; // For Door of Time, this is the amount to translate it by used for when it's opening
diff --git a/src/overlays/actors/ovl_Demo_Kekkai/z_demo_kekkai.h b/src/overlays/actors/ovl_Demo_Kekkai/z_demo_kekkai.h
index c6711097e..8e396c4ec 100644
--- a/src/overlays/actors/ovl_Demo_Kekkai/z_demo_kekkai.h
+++ b/src/overlays/actors/ovl_Demo_Kekkai/z_demo_kekkai.h
@@ -21,7 +21,7 @@ typedef struct DemoKekkai {
/* 0x01F8 */ DemoKekkaiUpdateFunc updateFunc;
} DemoKekkai; // size = 0x01FC
-typedef enum {
+typedef enum DemoKekkaiType {
/* 0 */ KEKKAI_TOWER,
/* 1 */ KEKKAI_WATER,
/* 2 */ KEKKAI_LIGHT,
diff --git a/src/overlays/actors/ovl_Demo_Sa/z_demo_sa.c b/src/overlays/actors/ovl_Demo_Sa/z_demo_sa.c
index 57edd774c..478df2f3e 100644
--- a/src/overlays/actors/ovl_Demo_Sa/z_demo_sa.c
+++ b/src/overlays/actors/ovl_Demo_Sa/z_demo_sa.c
@@ -44,7 +44,7 @@ void DemoSa_DrawNothing(DemoSa* this, PlayState* play);
void DemoSa_DrawOpa(DemoSa* this, PlayState* play);
void DemoSa_DrawXlu(DemoSa* this, PlayState* play);
-typedef enum {
+typedef enum SariaEyeState {
/* 0 */ SARIA_EYE_OPEN,
/* 1 */ SARIA_EYE_HALF,
/* 2 */ SARIA_EYE_CLOSED,
@@ -52,7 +52,7 @@ typedef enum {
/* 4 */ SARIA_EYE_SAD
} SariaEyeState;
-typedef enum {
+typedef enum SariaMouthState {
/* 0 */ SARIA_MOUTH_CLOSED2,
/* 1 */ SARIA_MOUTH_SUPRISED,
/* 2 */ SARIA_MOUTH_CLOSED,
diff --git a/src/overlays/actors/ovl_Demo_Tre_Lgt/z_demo_tre_lgt.c b/src/overlays/actors/ovl_Demo_Tre_Lgt/z_demo_tre_lgt.c
index 8966ec40b..d71810b23 100644
--- a/src/overlays/actors/ovl_Demo_Tre_Lgt/z_demo_tre_lgt.c
+++ b/src/overlays/actors/ovl_Demo_Tre_Lgt/z_demo_tre_lgt.c
@@ -14,7 +14,7 @@ void func_80993754(DemoTreLgt* this);
void func_8099375C(DemoTreLgt* this, PlayState* play);
void func_809937B4(DemoTreLgt* this, PlayState* play, f32 currentFrame);
-typedef struct {
+typedef struct DemoTreLgtInfo {
/* 0x00 */ f32 startFrame;
/* 0x04 */ f32 endFrame;
/* 0x08 */ f32 unk_08;
diff --git a/src/overlays/actors/ovl_Demo_Tre_Lgt/z_demo_tre_lgt.h b/src/overlays/actors/ovl_Demo_Tre_Lgt/z_demo_tre_lgt.h
index bd8e2e4df..0cad6996d 100644
--- a/src/overlays/actors/ovl_Demo_Tre_Lgt/z_demo_tre_lgt.h
+++ b/src/overlays/actors/ovl_Demo_Tre_Lgt/z_demo_tre_lgt.h
@@ -17,7 +17,7 @@ typedef struct DemoTreLgt {
/* 0x0178 */ u8 status;
} DemoTreLgt; // size = 0x017C
-typedef enum {
+typedef enum DemoTreLgtAction {
/* 0x00 */ DEMO_TRE_LGT_ACTION_WAIT, // wait until animation is needed
/* 0x01 */ DEMO_TRE_LGT_ACTION_ANIMATE
} DemoTreLgtAction;
diff --git a/src/overlays/actors/ovl_Door_Killer/z_door_killer.c b/src/overlays/actors/ovl_Door_Killer/z_door_killer.c
index b938e97df..eac91d538 100644
--- a/src/overlays/actors/ovl_Door_Killer/z_door_killer.c
+++ b/src/overlays/actors/ovl_Door_Killer/z_door_killer.c
@@ -13,7 +13,7 @@
#define FLAGS ACTOR_FLAG_4
-typedef enum {
+typedef enum DoorKillerBehaviour {
/* 0 */ DOOR_KILLER_DOOR,
/* 1 */ DOOR_KILLER_RUBBLE_PIECE_1,
/* 2 */ DOOR_KILLER_RUBBLE_PIECE_2,
diff --git a/src/overlays/actors/ovl_Door_Killer/z_door_killer.h b/src/overlays/actors/ovl_Door_Killer/z_door_killer.h
index 1b3256450..597624df1 100644
--- a/src/overlays/actors/ovl_Door_Killer/z_door_killer.h
+++ b/src/overlays/actors/ovl_Door_Killer/z_door_killer.h
@@ -9,7 +9,7 @@
* ((params >> 8) & 0x3F) == 0x3F means no switch flag is checked / set
*/
-typedef struct {
+typedef struct DoorKillerTextureEntry {
/* 0x00 */ s16 objectId;
/* 0x04 */ void* texture;
} DoorKillerTextureEntry; // size 0x8
diff --git a/src/overlays/actors/ovl_Door_Shutter/z_door_shutter.c b/src/overlays/actors/ovl_Door_Shutter/z_door_shutter.c
index c6a4b5bee..7a5298ebd 100644
--- a/src/overlays/actors/ovl_Door_Shutter/z_door_shutter.c
+++ b/src/overlays/actors/ovl_Door_Shutter/z_door_shutter.c
@@ -60,7 +60,7 @@ ActorProfile Door_Shutter_Profile = {
/**/ DoorShutter_Draw,
};
-typedef enum {
+typedef enum DoorShutterGfxType {
/* 0 */ DOORSHUTTER_GFX_DEKU_TREE_1,
/* 1 */ DOORSHUTTER_GFX_DEKU_TREE_2,
/* 2 */ DOORSHUTTER_GFX_DODONGOS_CAVERN,
@@ -83,7 +83,7 @@ typedef enum {
/* 19 */ DOORSHUTTER_GFX_ROYAL_FAMILYS_TOMB
} DoorShutterGfxType;
-typedef enum {
+typedef enum DoorShutterStyleType {
/* -1 */ DOORSHUTTER_STYLE_FROM_SCENE = -1, // Style is taken from `sSceneInfo`
/* 0 */ DOORSHUTTER_STYLE_PHANTOM_GANON,
/* 1 */ DOORSHUTTER_STYLE_GOHMA_BLOCK,
@@ -104,7 +104,7 @@ typedef enum {
/* 16 */ DOORSHUTTER_STYLE_ROYAL_FAMILYS_TOMB
} DoorShutterStyleType;
-typedef struct {
+typedef struct DoorShutterStyleInfo {
s16 objectId;
u8 gfxType1;
u8 gfxType2;
@@ -215,7 +215,7 @@ static DoorShutterStyleInfo sStyleInfo[] = {
},
};
-typedef struct {
+typedef struct DoorShutterGfxInfo {
/* 0x0000 */ Gfx* doorDL;
/* 0x0004 */ Gfx* barsDL;
/* 0x0008 */ u8 barsOpenOffsetY;
@@ -269,7 +269,7 @@ static InitChainEntry sInitChain[] = {
ICHAIN_F32(uncullZoneDownward, 400, ICHAIN_STOP),
};
-typedef struct {
+typedef struct DoorShutterSceneInfo {
s16 sceneId;
u8 styleType;
} DoorShutterSceneInfo;
@@ -295,7 +295,7 @@ static DoorShutterSceneInfo sSceneInfo[] = {
{ -1, DOORSHUTTER_STYLE_GENERIC },
};
-typedef enum {
+typedef enum DoorShutterBossDoorTexIndex {
/* 0 */ DOORSHUTTER_BOSSDOORTEX_0,
/* 1 */ DOORSHUTTER_BOSSDOORTEX_FIRE,
/* 2 */ DOORSHUTTER_BOSSDOORTEX_WATER,
@@ -305,7 +305,7 @@ typedef enum {
/* 6 */ DOORSHUTTER_BOSSDOORTEX_SPIRIT
} DoorShutterBossDoorTexIndex;
-typedef struct {
+typedef struct DoorShutterBossDoorInfo {
s16 dungeonSceneId;
s16 bossSceneId;
u8 texIndex;
diff --git a/src/overlays/actors/ovl_Door_Shutter/z_door_shutter.h b/src/overlays/actors/ovl_Door_Shutter/z_door_shutter.h
index 3eb39148c..204c1d927 100644
--- a/src/overlays/actors/ovl_Door_Shutter/z_door_shutter.h
+++ b/src/overlays/actors/ovl_Door_Shutter/z_door_shutter.h
@@ -25,7 +25,7 @@
#define DOORSHUTTER_PARAMS(type, switchFlag) ((((type) & 0xF) << 6) | ((switchFlag) & 0x3F))
-typedef enum {
+typedef enum DoorShutterType {
/* 0x00 */ SHUTTER,
/* 0x01 */ SHUTTER_FRONT_CLEAR,
/* 0x02 */ SHUTTER_FRONT_SWITCH,
diff --git a/src/overlays/actors/ovl_Door_Warp1/z_door_warp1.h b/src/overlays/actors/ovl_Door_Warp1/z_door_warp1.h
index 09e00fbfd..b41e952e8 100644
--- a/src/overlays/actors/ovl_Door_Warp1/z_door_warp1.h
+++ b/src/overlays/actors/ovl_Door_Warp1/z_door_warp1.h
@@ -6,7 +6,7 @@
struct DoorWarp1;
-typedef enum {
+typedef enum DoorWarp1Type {
/* -2 */ WARP_BLUE_CRYSTAL = -2,
/* -1 */ WARP_DUNGEON_ADULT,
/* 0 */ WARP_DUNGEON_CHILD,
@@ -22,7 +22,7 @@ typedef enum {
/* 10 */ WARP_RED
} DoorWarp1Type;
-typedef enum {
+typedef enum DoorWarp1RutoState {
/* 0 */ WARP_BLUE_RUTO_STATE_INITIAL, // initial, warp doesn't work yet
/* 1 */ WARP_BLUE_RUTO_STATE_READY, // set by ruto, warp can work now
/* 2 */ WARP_BLUE_RUTO_STATE_ENTERED, // set by warp, player has stepped into the warp
diff --git a/src/overlays/actors/ovl_Efc_Erupc/z_efc_erupc.h b/src/overlays/actors/ovl_Efc_Erupc/z_efc_erupc.h
index 4c9a1edaf..6d14c32d7 100644
--- a/src/overlays/actors/ovl_Efc_Erupc/z_efc_erupc.h
+++ b/src/overlays/actors/ovl_Efc_Erupc/z_efc_erupc.h
@@ -10,7 +10,7 @@ typedef void (*EfcErupcActionFunc)(struct EfcErupc*, PlayState*);
#define EFC_ERUPC_EFFECT_COUNT 100
-typedef struct {
+typedef struct EfcErupcEffect {
/* 0x00 */ Vec3f pos;
/* 0x0C */ Vec3f vel;
/* 0x18 */ Vec3f accel;
diff --git a/src/overlays/actors/ovl_Eff_Dust/z_eff_dust.h b/src/overlays/actors/ovl_Eff_Dust/z_eff_dust.h
index d5eeaffed..e77a8e022 100644
--- a/src/overlays/actors/ovl_Eff_Dust/z_eff_dust.h
+++ b/src/overlays/actors/ovl_Eff_Dust/z_eff_dust.h
@@ -23,7 +23,7 @@ typedef struct EffDust {
/* 0x0564 */ EffDustDrawFunc drawFunc;
} EffDust; // size = 0x0568
-typedef enum {
+typedef enum EffDustType {
/* 0x00 */ EFF_DUST_TYPE_0,
/* 0x01 */ EFF_DUST_TYPE_1,
/* 0x02 */ EFF_DUST_TYPE_2,
diff --git a/src/overlays/actors/ovl_En_Am/z_en_am.c b/src/overlays/actors/ovl_En_Am/z_en_am.c
index 8dfe3fbb2..587b53fb7 100644
--- a/src/overlays/actors/ovl_En_Am/z_en_am.c
+++ b/src/overlays/actors/ovl_En_Am/z_en_am.c
@@ -28,7 +28,7 @@ void EnAm_Ricochet(EnAm* this, PlayState* play);
void EnAm_Stunned(EnAm* this, PlayState* play);
void EnAm_RecoilFromDamage(EnAm* this, PlayState* play);
-typedef enum {
+typedef enum ArmosBehavior {
/* 00 */ AM_BEHAVIOR_NONE,
/* 01 */ AM_BEHAVIOR_DAMAGED,
/* 03 */ AM_BEHAVIOR_DO_NOTHING = 3,
@@ -111,7 +111,7 @@ static ColliderQuadInit sQuadInit = {
{ { { 0.0f, 0.0f, 0.0f }, { 0.0f, 0.0f, 0.0f }, { 0.0f, 0.0f, 0.0f }, { 0.0f, 0.0f, 0.0f } } },
};
-typedef enum {
+typedef enum ArmosDamageEffect {
/* 0 */ AM_DMGEFF_NONE, // used by anything that cant kill the armos
/* 1 */ AM_DMGEFF_NUT,
/* 6 */ AM_DMGEFF_STUN = 6, // doesn't include deku nuts
diff --git a/src/overlays/actors/ovl_En_Am/z_en_am.h b/src/overlays/actors/ovl_En_Am/z_en_am.h
index 61e9042f9..8bac3338d 100644
--- a/src/overlays/actors/ovl_En_Am/z_en_am.h
+++ b/src/overlays/actors/ovl_En_Am/z_en_am.h
@@ -30,7 +30,7 @@ typedef struct EnAm {
/* 0x030C */ ColliderQuad hitCollider;
} EnAm; // size = 0x038C
-typedef enum {
+typedef enum ArmosType {
/* 0 */ ARMOS_STATUE,
/* 1 */ ARMOS_ENEMY
} ArmosType;
diff --git a/src/overlays/actors/ovl_En_Anubice/z_en_anubice.c b/src/overlays/actors/ovl_En_Anubice/z_en_anubice.c
index 501c25182..58b130e05 100644
--- a/src/overlays/actors/ovl_En_Anubice/z_en_anubice.c
+++ b/src/overlays/actors/ovl_En_Anubice/z_en_anubice.c
@@ -57,7 +57,7 @@ static ColliderCylinderInit sCylinderInit = {
{ 29, 103, 0, { 0, 0, 0 } },
};
-typedef enum {
+typedef enum AnubiceDamageEffect {
/* 0x0 */ ANUBICE_DMGEFF_NONE,
/* 0x2 */ ANUBICE_DMGEFF_FIRE = 2,
/* 0xF */ ANUBICE_DMGEFF_0xF = 0xF // Treated the same as ANUBICE_DMGEFF_NONE in code
diff --git a/src/overlays/actors/ovl_En_Anubice/z_en_anubice.h b/src/overlays/actors/ovl_En_Anubice/z_en_anubice.h
index 73f70a684..5f3ec8b13 100644
--- a/src/overlays/actors/ovl_En_Anubice/z_en_anubice.h
+++ b/src/overlays/actors/ovl_En_Anubice/z_en_anubice.h
@@ -9,7 +9,7 @@ struct EnAnubice;
typedef void (*EnAnubiceActionFunc)(struct EnAnubice*, struct PlayState*);
-typedef enum {
+typedef enum AnubiceLimbs {
/* 0 */ ANUBICE_LIMB_NONE,
/* 1 */ ANUBICE_LIMB_ROOT,
/* 2 */ ANUBICE_LIMB_BODY_ROOT,
diff --git a/src/overlays/actors/ovl_En_Arrow/z_en_arrow.h b/src/overlays/actors/ovl_En_Arrow/z_en_arrow.h
index 9dee2f8f0..6c5b874a4 100644
--- a/src/overlays/actors/ovl_En_Arrow/z_en_arrow.h
+++ b/src/overlays/actors/ovl_En_Arrow/z_en_arrow.h
@@ -25,7 +25,7 @@ typedef struct EnArrow {
/* 0x025C */ EnArrowActionFunc actionFunc;
} EnArrow; // size = 0x0260
-typedef enum {
+typedef enum ArrowType {
/* -10 */ ARROW_CS_NUT = -10, // cutscene deku nuts are allowed to update in blocking mode
/* -1 */ ARROW_NORMAL_SILENT = -1, // normal arrow that does not make a sound when being shot
/* 0 */ ARROW_NORMAL_LIT, // normal arrow lit on fire
diff --git a/src/overlays/actors/ovl_En_Ba/z_en_ba.h b/src/overlays/actors/ovl_En_Ba/z_en_ba.h
index d19368c19..f39fa3399 100644
--- a/src/overlays/actors/ovl_En_Ba/z_en_ba.h
+++ b/src/overlays/actors/ovl_En_Ba/z_en_ba.h
@@ -8,7 +8,7 @@ struct EnBa;
typedef void (*EnBaActionFunc)(struct EnBa*, PlayState*);
-typedef enum {
+typedef enum EnBaType {
/* 0x00 */ EN_BA_TENTACLE_RED,
/* 0x01 */ EN_BA_TENTACLE_GREEN,
/* 0x02 */ EN_BA_TENTACLE_GRAY,
diff --git a/src/overlays/actors/ovl_En_Bb/z_en_bb.c b/src/overlays/actors/ovl_En_Bb/z_en_bb.c
index a8131ea37..6a0a97b83 100644
--- a/src/overlays/actors/ovl_En_Bb/z_en_bb.c
+++ b/src/overlays/actors/ovl_En_Bb/z_en_bb.c
@@ -16,7 +16,7 @@
#define vMoveAngleY actionVar2
#define vFlameTimer actionVar2
-typedef enum {
+typedef enum EnBbAction {
/* 0 */ BB_DAMAGE,
/* 1 */ BB_KILL,
/* 2 */ BB_FLAME_TRAIL,
@@ -29,24 +29,24 @@ typedef enum {
/* 9 */ BB_GREEN
} EnBbAction;
-typedef enum {
+typedef enum EnBbMoveMode {
/* 0 */ BBMOVE_NORMAL,
/* 1 */ BBMOVE_NOCLIP,
/* 2 */ BBMOVE_HIDDEN
} EnBbMoveMode;
-typedef enum {
+typedef enum EnBbBlueActionState {
/* 0 */ BBBLUE_NORMAL,
/* 1 */ BBBLUE_AGGRO
} EnBbBlueActionState;
-typedef enum {
+typedef enum EnBbRedActionState {
/* 0 */ BBRED_WAIT,
/* 1 */ BBRED_ATTACK,
/* 2 */ BBRED_HIDE
} EnBbRedActionState;
-typedef enum {
+typedef enum EnBbGreenActionState {
/* 0 */ BBGREEN_FLAME_ON,
/* 1 */ BBGREEN_FLAME_OFF
} EnBbGreenActionState;
diff --git a/src/overlays/actors/ovl_En_Bb/z_en_bb.h b/src/overlays/actors/ovl_En_Bb/z_en_bb.h
index 3e3d9be46..9908690e0 100644
--- a/src/overlays/actors/ovl_En_Bb/z_en_bb.h
+++ b/src/overlays/actors/ovl_En_Bb/z_en_bb.h
@@ -46,7 +46,7 @@ typedef struct EnBb {
/* 0x0324 */ Actor* targetActor;
} EnBb; // size = 0x0328
-typedef enum {
+typedef enum EnBbType {
ENBB_GREEN_BIG = -5,
ENBB_GREEN,
ENBB_WHITE,
diff --git a/src/overlays/actors/ovl_En_Bili/z_en_bili.c b/src/overlays/actors/ovl_En_Bili/z_en_bili.c
index 312d6172c..5834f26b9 100644
--- a/src/overlays/actors/ovl_En_Bili/z_en_bili.c
+++ b/src/overlays/actors/ovl_En_Bili/z_en_bili.c
@@ -62,7 +62,7 @@ static ColliderCylinderInit sCylinderInit = {
static CollisionCheckInfoInit2 sColChkInfoInit = { 1, 9, 28, -20, 30 };
-typedef enum {
+typedef enum BiriDamageEffect {
/* 0x0 */ BIRI_DMGEFF_NONE,
/* 0x1 */ BIRI_DMGEFF_DEKUNUT,
/* 0x2 */ BIRI_DMGEFF_FIRE,
diff --git a/src/overlays/actors/ovl_En_Bili/z_en_bili.h b/src/overlays/actors/ovl_En_Bili/z_en_bili.h
index eac275950..0882a288c 100644
--- a/src/overlays/actors/ovl_En_Bili/z_en_bili.h
+++ b/src/overlays/actors/ovl_En_Bili/z_en_bili.h
@@ -8,7 +8,7 @@ struct EnBili;
typedef void (*EnBiliActionFunc)(struct EnBili*, PlayState*);
-typedef enum {
+typedef enum EnBiliLimb {
/* 0 */ EN_BILI_LIMB_NONE,
/* 1 */ EN_BILI_LIMB_ROOT,
/* 2 */ EN_BILI_LIMB_INNER_HOOD,
@@ -29,7 +29,7 @@ typedef struct EnBili {
/* 0x01D4 */ ColliderCylinder collider;
} EnBili; // size = 0x0220
-typedef enum {
+typedef enum EnBiliType {
/* -1 */ EN_BILI_TYPE_NORMAL = -1,
/* 0 */ EN_BILI_TYPE_VALI_SPAWNED,
/* 1 */ EN_BILI_TYPE_DYING
diff --git a/src/overlays/actors/ovl_En_Bom/z_en_bom.h b/src/overlays/actors/ovl_En_Bom/z_en_bom.h
index aebadfa06..df49b0ce1 100644
--- a/src/overlays/actors/ovl_En_Bom/z_en_bom.h
+++ b/src/overlays/actors/ovl_En_Bom/z_en_bom.h
@@ -20,7 +20,7 @@ typedef struct EnBom {
/* 0x0204 */ EnBomActionFunc actionFunc;
} EnBom; // size = 0x0208
-typedef enum {
+typedef enum EnBomType {
/* 0x00 */ BOMB_BODY,
/* 0x01 */ BOMB_EXPLOSION
} EnBomType;
diff --git a/src/overlays/actors/ovl_En_Bom_Bowl_Man/z_en_bom_bowl_man.c b/src/overlays/actors/ovl_En_Bom_Bowl_Man/z_en_bom_bowl_man.c
index 0373fac49..441cbfdd8 100644
--- a/src/overlays/actors/ovl_En_Bom_Bowl_Man/z_en_bom_bowl_man.c
+++ b/src/overlays/actors/ovl_En_Bom_Bowl_Man/z_en_bom_bowl_man.c
@@ -6,7 +6,7 @@
#define FLAGS (ACTOR_FLAG_0 | ACTOR_FLAG_3 | ACTOR_FLAG_4 | ACTOR_FLAG_5 | ACTOR_FLAG_27)
-typedef enum {
+typedef enum BombchuGirlEyeMode {
/* 0 */ CHU_GIRL_EYES_ASLEEP,
/* 1 */ CHU_GIRL_EYES_OPEN_SLOWLY,
/* 2 */ CHU_GIRL_EYES_BLINK_RAPIDLY,
diff --git a/src/overlays/actors/ovl_En_Bombf/z_en_bombf.h b/src/overlays/actors/ovl_En_Bombf/z_en_bombf.h
index 226dfebef..14bc9c6ec 100644
--- a/src/overlays/actors/ovl_En_Bombf/z_en_bombf.h
+++ b/src/overlays/actors/ovl_En_Bombf/z_en_bombf.h
@@ -22,7 +22,7 @@ typedef struct EnBombf {
/* 0x020C */ f32 flowerBombScale;
} EnBombf; // size = 0x0210
-typedef enum {
+typedef enum EnBombfType {
/* 0xFFFF */ BOMBFLOWER_FLOWER = -1,
/* 0x0000 */ BOMBFLOWER_BODY,
/* 0x0001 */ BOMBFLOWER_EXPLOSION
diff --git a/src/overlays/actors/ovl_En_Box/z_en_box.c b/src/overlays/actors/ovl_En_Box/z_en_box.c
index 19c922edc..4e74c6fd3 100644
--- a/src/overlays/actors/ovl_En_Box/z_en_box.c
+++ b/src/overlays/actors/ovl_En_Box/z_en_box.c
@@ -30,7 +30,7 @@ when set, gets cleared next EnBox_Update call and clip to the floor
*/
#define ENBOX_MOVE_STICK_TO_GROUND (1 << 4)
-typedef enum {
+typedef enum EnBoxStateUnk1FB {
ENBOX_STATE_0, // waiting for player near / player available / player ? (IDLE)
ENBOX_STATE_1, // used only temporarily, maybe "player is ready" ?
ENBOX_STATE_2 // waiting for something message context-related
diff --git a/src/overlays/actors/ovl_En_Box/z_en_box.h b/src/overlays/actors/ovl_En_Box/z_en_box.h
index 6ab9b6c0f..5dd3040c5 100644
--- a/src/overlays/actors/ovl_En_Box/z_en_box.h
+++ b/src/overlays/actors/ovl_En_Box/z_en_box.h
@@ -11,7 +11,7 @@ struct EnBox;
typedef void (*EnBoxActionFunc)(struct EnBox*, PlayState*);
-typedef enum {
+typedef enum EnBoxType {
/*
only values 1-11 are used explicitly, other values (like 0) default to another separate behavior
*/
diff --git a/src/overlays/actors/ovl_En_Butte/z_en_butte.c b/src/overlays/actors/ovl_En_Butte/z_en_butte.c
index e7a39c17c..f0cf652eb 100644
--- a/src/overlays/actors/ovl_En_Butte/z_en_butte.c
+++ b/src/overlays/actors/ovl_En_Butte/z_en_butte.c
@@ -61,7 +61,7 @@ ActorProfile En_Butte_Profile = {
/**/ EnButte_Draw,
};
-typedef struct {
+typedef struct EnButteFlightParams {
/* 0x00 */ s16 minTime;
/* 0x02 */ s16 maxTime;
/* 0x04 */ f32 speedXZTarget;
diff --git a/src/overlays/actors/ovl_En_Bw/z_en_bw.h b/src/overlays/actors/ovl_En_Bw/z_en_bw.h
index dfd70e440..5f74f70c4 100644
--- a/src/overlays/actors/ovl_En_Bw/z_en_bw.h
+++ b/src/overlays/actors/ovl_En_Bw/z_en_bw.h
@@ -7,7 +7,7 @@
struct EnBw;
typedef void (*EnBwActionFunc)(struct EnBw*, PlayState*);
-typedef enum {
+typedef enum TorchSlugLimb {
/* 0 */ TORCH_SLUG_LIMB_NONE,
/* 1 */ TORCH_SLUG_LIMB_BODY,
/* 2 */ TORCH_SLUG_LIMB_LEFT_EYESTALK_ROOT_ROOT,
diff --git a/src/overlays/actors/ovl_En_Changer/z_en_changer.c b/src/overlays/actors/ovl_En_Changer/z_en_changer.c
index 3f90555d7..d473d3f58 100644
--- a/src/overlays/actors/ovl_En_Changer/z_en_changer.c
+++ b/src/overlays/actors/ovl_En_Changer/z_en_changer.c
@@ -11,7 +11,7 @@
#define FLAGS 0
-typedef enum {
+typedef enum ChangerChestSide {
/* 0 */ CHEST_LEFT,
/* 1 */ CHEST_RIGHT
} ChangerChestSide;
diff --git a/src/overlays/actors/ovl_En_Clear_Tag/z_en_clear_tag.h b/src/overlays/actors/ovl_En_Clear_Tag/z_en_clear_tag.h
index b817cdc00..945a5462d 100644
--- a/src/overlays/actors/ovl_En_Clear_Tag/z_en_clear_tag.h
+++ b/src/overlays/actors/ovl_En_Clear_Tag/z_en_clear_tag.h
@@ -6,13 +6,13 @@
struct EnClearTag;
-typedef enum {
+typedef enum ClearTagType {
/* 0x00 */ CLEAR_TAG_CUTSCENE_ARWING = 0,
/* 0x01 */ CLEAR_TAG_ARWING = 1,
/* 0x64 */ CLEAR_TAG_LASER = 100
} ClearTagType;
-typedef enum {
+typedef enum ClearTagState {
/* 0x00 */ CLEAR_TAG_STATE_FLYING = 0,
/* 0x01 */ CLEAR_TAG_STATE_TARGET_LOCKED = 1,
/* 0x02 */ CLEAR_TAG_STATE_DEMO = 2,
@@ -20,19 +20,19 @@ typedef enum {
/* 0x64 */ CLEAR_TAG_STATE_LASER = 100
} ClearTagState;
-typedef enum {
+typedef enum ClearTagDemoMode {
/* 0x00 */ CLEAR_TAG_CUTSCENE_MODE_NONE,
/* 0x01 */ CLEAR_TAG_CUTSCENE_MODE_SETUP,
/* 0x02 */ CLEAR_TAG_CUTSCENE_MODE_PLAY
} ClearTagDemoMode;
-typedef enum {
+typedef enum ClearTagDrawMode {
/* 0x00 */ CLEAR_TAG_DRAW_MODE_ARWING,
/* 0x01 */ CLEAR_TAG_DRAW_MODE_ALL,
/* 0x02 */ CLEAR_TAG_DRAW_MODE_EFFECT
} ClearTagDrawMode;
-typedef enum {
+typedef enum ClearTagEffectType {
/* 0x00 */ CLEAR_TAG_EFFECT_AVAILABLE,
/* 0x01 */ CLEAR_TAG_EFFECT_DEBRIS,
/* 0x02 */ CLEAR_TAG_EFFECT_FIRE,
@@ -40,7 +40,7 @@ typedef enum {
/* 0x04 */ CLEAR_TAG_EFFECT_FLASH
} ClearTagEffectType;
-typedef enum {
+typedef enum ClearTagTimers {
/* 0x00 */ CLEAR_TAG_TIMER_ARWING_UPDATE_STATE = 0,
/* 0x00 */ CLEAR_TAG_TIMER_LASER_DEATH = 0,
/* 0x01 */ CLEAR_TAG_TIMER_ARWING_ENTER_LOCKED_ON,
diff --git a/src/overlays/actors/ovl_En_Cow/z_en_cow.h b/src/overlays/actors/ovl_En_Cow/z_en_cow.h
index 145d937f6..cdec79fca 100644
--- a/src/overlays/actors/ovl_En_Cow/z_en_cow.h
+++ b/src/overlays/actors/ovl_En_Cow/z_en_cow.h
@@ -10,12 +10,12 @@
#define COW_GET_TYPE(thisx) ((thisx)->actor.params)
-typedef enum {
+typedef enum CowType {
/* 0 */ COW_TYPE_BODY,
/* 1 */ COW_TYPE_TAIL
} CowType;
-typedef enum {
+typedef enum CowCollider {
/* 0 */ COW_COLLIDER_FRONT,
/* 1 */ COW_COLLIDER_REAR,
/* 2 */ COW_COLLIDER_MAX
diff --git a/src/overlays/actors/ovl_En_Cs/z_en_cs.c b/src/overlays/actors/ovl_En_Cs/z_en_cs.c
index 89b3e859d..b12ec20f4 100644
--- a/src/overlays/actors/ovl_En_Cs/z_en_cs.c
+++ b/src/overlays/actors/ovl_En_Cs/z_en_cs.c
@@ -84,7 +84,7 @@ static DamageTable sDamageTable[] = {
/* Unknown 2 */ DMG_ENTRY(0, 0x0),
};
-typedef enum {
+typedef enum EnCsAnimation {
/* 0 */ ENCS_ANIM_0,
/* 1 */ ENCS_ANIM_1,
/* 2 */ ENCS_ANIM_2,
diff --git a/src/overlays/actors/ovl_En_Daiku/z_en_daiku.c b/src/overlays/actors/ovl_En_Daiku/z_en_daiku.c
index 6a497d318..c590ea0d4 100644
--- a/src/overlays/actors/ovl_En_Daiku/z_en_daiku.c
+++ b/src/overlays/actors/ovl_En_Daiku/z_en_daiku.c
@@ -4,7 +4,7 @@
#define FLAGS (ACTOR_FLAG_0 | ACTOR_FLAG_3 | ACTOR_FLAG_4)
-typedef struct {
+typedef struct EnDaikuEscapeSubCamParam {
Vec3f eyePosDeltaLocal;
s32 maxFramesActive;
} EnDaikuEscapeSubCamParam;
@@ -20,7 +20,7 @@ typedef struct {
// the gerudo guard was defeated
#define ENDAIKU_STATEFLAG_GERUDODEFEATED (1 << 4)
-typedef enum {
+typedef enum EnDaikuTalkState {
/* 0 */ ENDAIKU_STATE_CAN_TALK,
/* 2 */ ENDAIKU_STATE_TALKING = 2,
/* 3 */ ENDAIKU_STATE_NO_TALK
@@ -110,7 +110,7 @@ static DamageTable sDamageTable = {
/* Unknown 2 */ DMG_ENTRY(0, 0x0),
};
-typedef enum {
+typedef enum EnDaikuAnimation {
/* 0 */ ENDAIKU_ANIM_SHOUT,
/* 1 */ ENDAIKU_ANIM_STAND,
/* 2 */ ENDAIKU_ANIM_CELEBRATE,
diff --git a/src/overlays/actors/ovl_En_Daiku_Kakariko/z_en_daiku_kakariko.c b/src/overlays/actors/ovl_En_Daiku_Kakariko/z_en_daiku_kakariko.c
index 787551cf7..1fc53f1ad 100644
--- a/src/overlays/actors/ovl_En_Daiku_Kakariko/z_en_daiku_kakariko.c
+++ b/src/overlays/actors/ovl_En_Daiku_Kakariko/z_en_daiku_kakariko.c
@@ -9,7 +9,7 @@
#define FLAGS (ACTOR_FLAG_0 | ACTOR_FLAG_3 | ACTOR_FLAG_4)
-typedef enum {
+typedef enum KakarikoCarpenterType {
/* 0x0 */ CARPENTER_ICHIRO, // Red and purple pants, normal hair
/* 0x1 */ CARPENTER_SABOORO, // Light blue pants
/* 0x2 */ CARPENTER_JIRO, // Green pants
@@ -93,7 +93,7 @@ static DamageTable sDamageTable = {
/* Unknown 2 */ DMG_ENTRY(0, 0x0),
};
-typedef enum {
+typedef enum EnDaikuKakarikoAnimation {
/* 0 */ ENDAIKUKAKARIKO_ANIM_0,
/* 1 */ ENDAIKUKAKARIKO_ANIM_1,
/* 2 */ ENDAIKUKAKARIKO_ANIM_2,
diff --git a/src/overlays/actors/ovl_En_Dekubaba/z_en_dekubaba.c b/src/overlays/actors/ovl_En_Dekubaba/z_en_dekubaba.c
index 11f2d0e94..56f0b09c2 100644
--- a/src/overlays/actors/ovl_En_Dekubaba/z_en_dekubaba.c
+++ b/src/overlays/actors/ovl_En_Dekubaba/z_en_dekubaba.c
@@ -136,7 +136,7 @@ static ColliderJntSphInit sJntSphInit = {
static CollisionCheckInfoInit sColChkInfoInit = { 2, 25, 25, MASS_IMMOVABLE };
-typedef enum {
+typedef enum DekuBabaDamageEffect {
/* 0x0 */ DEKUBABA_DMGEFF_NONE,
/* 0x1 */ DEKUBABA_DMGEFF_DEKUNUT,
/* 0x2 */ DEKUBABA_DMGEFF_FIRE,
diff --git a/src/overlays/actors/ovl_En_Dekubaba/z_en_dekubaba.h b/src/overlays/actors/ovl_En_Dekubaba/z_en_dekubaba.h
index b6e5243e9..b1d53307c 100644
--- a/src/overlays/actors/ovl_En_Dekubaba/z_en_dekubaba.h
+++ b/src/overlays/actors/ovl_En_Dekubaba/z_en_dekubaba.h
@@ -8,7 +8,7 @@ struct EnDekubaba;
typedef void (*EnDekubabaActionFunc)(struct EnDekubaba*, PlayState*);
-typedef enum {
+typedef enum DekuBabaType {
/* 0 */ DEKUBABA_NORMAL,
/* 1 */ DEKUBABA_BIG
} DekuBabaType;
diff --git a/src/overlays/actors/ovl_En_Dh/z_en_dh.c b/src/overlays/actors/ovl_En_Dh/z_en_dh.c
index 8b973ff59..cbb049133 100644
--- a/src/overlays/actors/ovl_En_Dh/z_en_dh.c
+++ b/src/overlays/actors/ovl_En_Dh/z_en_dh.c
@@ -3,7 +3,7 @@
#define FLAGS (ACTOR_FLAG_0 | ACTOR_FLAG_2 | ACTOR_FLAG_4 | ACTOR_FLAG_10)
-typedef enum {
+typedef enum EnDhAction {
/* 0 */ DH_WAIT,
/* 1 */ DH_RETREAT,
/* 2 */ DH_BURROW,
diff --git a/src/overlays/actors/ovl_En_Dh/z_en_dh.h b/src/overlays/actors/ovl_En_Dh/z_en_dh.h
index afe0ffdde..21872aafc 100644
--- a/src/overlays/actors/ovl_En_Dh/z_en_dh.h
+++ b/src/overlays/actors/ovl_En_Dh/z_en_dh.h
@@ -32,7 +32,7 @@ typedef struct EnDh {
/* 0x0320 */ f32 dirtWaveAlpha;
} EnDh; // size = 0x0324
-typedef enum {
+typedef enum EnDhParams {
ENDH_HANDS_KILLED_4 = -4,
ENDH_HANDS_KILLED_3,
ENDH_HANDS_KILLED_2,
diff --git a/src/overlays/actors/ovl_En_Diving_Game/z_en_diving_game.h b/src/overlays/actors/ovl_En_Diving_Game/z_en_diving_game.h
index 177111b16..c873e075e 100644
--- a/src/overlays/actors/ovl_En_Diving_Game/z_en_diving_game.h
+++ b/src/overlays/actors/ovl_En_Diving_Game/z_en_diving_game.h
@@ -49,13 +49,13 @@ typedef struct EnDivingGame {
/* 0x034C */ ColliderCylinder collider;
} EnDivingGame; // size = 0x0398
-typedef enum {
+typedef enum EnDivingGamePhase {
/* 0 */ ENDIVINGGAME_PHASE_ENDED,
/* 1 */ ENDIVINGGAME_PHASE_1, // Player has not received the scale.
/* 2 */ ENDIVINGGAME_PHASE_2 // Player got the scale and there are 10 rupees thrown.
} EnDivingGamePhase;
-typedef enum {
+typedef enum EnDivingGameState {
/* 0 */ ENDIVINGGAME_STATE_NOTPLAYING,
/* 1 */ ENDIVINGGAME_STATE_AWARDPRIZE, // Waiting to give the scale to player.
/* 2 */ ENDIVINGGAME_STATE_PLAYING
diff --git a/src/overlays/actors/ovl_En_Dns/z_en_dns.h b/src/overlays/actors/ovl_En_Dns/z_en_dns.h
index a6ef63223..d86e96eb4 100644
--- a/src/overlays/actors/ovl_En_Dns/z_en_dns.h
+++ b/src/overlays/actors/ovl_En_Dns/z_en_dns.h
@@ -7,7 +7,7 @@
#define DNS_GET_TYPE(thisx) ((thisx)->params)
-typedef enum {
+typedef enum EnDnsType {
/* 0 */ DNS_TYPE_DEKU_NUTS_5,
/* 1 */ DNS_TYPE_DEKU_STICKS_1,
/* 2 */ DNS_TYPE_HEART_PIECE,
@@ -21,7 +21,7 @@ typedef enum {
/* 10 */ DNS_TYPE_DEKU_NUT_UPGRADE
} EnDnsType;
-typedef enum {
+typedef enum EnDnsCanBuyResult {
/* 0 */ DNS_CANBUY_RESULT_NEED_RUPEES,
/* 1 */ DNS_CANBUY_RESULT_CAPACITY_FULL,
/* 2 */ DNS_CANBUY_RESULT_SUCCESS_NEW_ITEM,
@@ -29,7 +29,7 @@ typedef enum {
/* 4 */ DNS_CANBUY_RESULT_SUCCESS
} EnDnsCanBuyResult;
-typedef enum {
+typedef enum EnDnsAnimation {
/* 0 */ DNS_ANIM_IDLE,
/* 1 */ DNS_ANIM_BURROW,
/* 2 */ DNS_ANIM_IDLE_TRANSITION
@@ -41,7 +41,7 @@ typedef void (*EnDnsActionFunc)(struct EnDns*, PlayState*);
typedef u32 (*EnDnsCanBuyFunc)(struct EnDns*);
typedef void (*EnDnsPaymentFunc)(struct EnDns*);
-typedef struct {
+typedef struct DnsItemEntry {
/* 0x00 */ s16 itemPrice;
/* 0x02 */ u16 itemAmount;
/* 0x04 */ s32 getItemId;
diff --git a/src/overlays/actors/ovl_En_Dnt_Demo/z_en_dnt_demo.c b/src/overlays/actors/ovl_En_Dnt_Demo/z_en_dnt_demo.c
index f4f708959..e2af5e3d8 100644
--- a/src/overlays/actors/ovl_En_Dnt_Demo/z_en_dnt_demo.c
+++ b/src/overlays/actors/ovl_En_Dnt_Demo/z_en_dnt_demo.c
@@ -12,7 +12,7 @@
#define FLAGS 0
-typedef enum {
+typedef enum EnDntDemoResults {
/* 0 */ DNT_LIKE,
/* 1 */ DNT_HATE,
/* 2 */ DNT_LOVE
diff --git a/src/overlays/actors/ovl_En_Dnt_Demo/z_en_dnt_demo.h b/src/overlays/actors/ovl_En_Dnt_Demo/z_en_dnt_demo.h
index 4349a972e..607810629 100644
--- a/src/overlays/actors/ovl_En_Dnt_Demo/z_en_dnt_demo.h
+++ b/src/overlays/actors/ovl_En_Dnt_Demo/z_en_dnt_demo.h
@@ -25,7 +25,7 @@ typedef struct EnDntDemo {
/* 0x01FC */ struct EnDntJiji* leader;
} EnDntDemo; // size = 0x0200
-typedef enum {
+typedef enum EnDntSignal {
/* 0 */ DNT_SIGNAL_NONE,
/* 1 */ DNT_SIGNAL_LOOK,
/* 2 */ DNT_SIGNAL_CELEBRATE,
@@ -35,27 +35,27 @@ typedef enum {
/* 6 */ DNT_SIGNAL_UNUSED
} EnDntSignal;
-typedef enum {
+typedef enum EnDntLeaderAction {
/* 0 */ DNT_LEADER_ACTION_NONE,
/* 1 */ DNT_LEADER_ACTION_UP,
/* 2 */ DNT_LEADER_ACTION_UNUSED,
/* 3 */ DNT_LEADER_ACTION_ATTACK
} EnDntLeaderAction;
-typedef enum {
+typedef enum EnDntLeaderSignal {
/* 0 */ DNT_LEADER_SIGNAL_NONE,
/* 1 */ DNT_LEADER_SIGNAL_UP,
/* 2 */ DNT_LEADER_SIGNAL_BURROW,
/* 3 */ DNT_LEADER_SIGNAL_RETURN
} EnDntLeaderSignal;
-typedef enum {
+typedef enum EnDntPrize {
/* 0 */ DNT_PRIZE_NONE,
/* 1 */ DNT_PRIZE_NUTS,
/* 2 */ DNT_PRIZE_STICK
} EnDntPrize;
-typedef enum {
+typedef enum EnDntAction {
/* 0 */ DNT_ACTION_NONE,
/* 1 */ DNT_ACTION_DANCE,
/* 2 */ DNT_ACTION_ATTACK,
diff --git a/src/overlays/actors/ovl_En_Dodongo/z_en_dodongo.c b/src/overlays/actors/ovl_En_Dodongo/z_en_dodongo.c
index 8f30f194a..cf5768f35 100644
--- a/src/overlays/actors/ovl_En_Dodongo/z_en_dodongo.c
+++ b/src/overlays/actors/ovl_En_Dodongo/z_en_dodongo.c
@@ -5,7 +5,7 @@
#define FLAGS (ACTOR_FLAG_0 | ACTOR_FLAG_2 | ACTOR_FLAG_4)
-typedef enum {
+typedef enum EnDodongoActionState {
DODONGO_SWEEP_TAIL,
DODONGO_SWALLOW_BOMB,
DODONGO_DEATH,
diff --git a/src/overlays/actors/ovl_En_Dodongo/z_en_dodongo.h b/src/overlays/actors/ovl_En_Dodongo/z_en_dodongo.h
index f29c644eb..664b17579 100644
--- a/src/overlays/actors/ovl_En_Dodongo/z_en_dodongo.h
+++ b/src/overlays/actors/ovl_En_Dodongo/z_en_dodongo.h
@@ -39,7 +39,7 @@ typedef struct EnDodongo {
/* 0x05A8 */ ColliderJntSphElement sphElements[6];
} EnDodongo; // size = 0x0728
-typedef enum {
+typedef enum EnDodongoParam {
EN_DODONGO_NORMAL = -1,
EN_DODONGO_SMOKE_DEATH
} EnDodongoParam;
diff --git a/src/overlays/actors/ovl_En_Dog/z_en_dog.c b/src/overlays/actors/ovl_En_Dog/z_en_dog.c
index 6735211ce..b9d4129e5 100644
--- a/src/overlays/actors/ovl_En_Dog/z_en_dog.c
+++ b/src/overlays/actors/ovl_En_Dog/z_en_dog.c
@@ -55,7 +55,7 @@ static ColliderCylinderInit sCylinderInit = {
static CollisionCheckInfoInit2 sColChkInfoInit = { 0, 0, 0, 0, 50 };
-typedef enum {
+typedef enum EnDogAnimation {
/* 0 */ ENDOG_ANIM_0,
/* 1 */ ENDOG_ANIM_1,
/* 2 */ ENDOG_ANIM_2,
@@ -77,7 +77,7 @@ static AnimationInfo sAnimationInfo[] = {
{ &gDogBow2Anim, 1.0f, 0.0f, -1.0f, ANIMMODE_LOOP, -6.0f },
};
-typedef enum {
+typedef enum DogBehavior {
/* 0x00 */ DOG_WALK,
/* 0x01 */ DOG_RUN,
/* 0x02 */ DOG_BARK,
diff --git a/src/overlays/actors/ovl_En_Door/z_en_door.c b/src/overlays/actors/ovl_En_Door/z_en_door.c
index 08bb8cfde..294918cfc 100644
--- a/src/overlays/actors/ovl_En_Door/z_en_door.c
+++ b/src/overlays/actors/ovl_En_Door/z_en_door.c
@@ -44,13 +44,13 @@ ActorProfile En_Door_Profile = {
/**/ EnDoor_Draw,
};
-typedef struct {
+typedef struct EnDoorInfo {
/* 0x00 */ s16 sceneId;
/* 0x02 */ u8 dListIndex;
/* 0x04 */ s16 objectId;
} EnDoorInfo;
-typedef enum {
+typedef enum EnDoorDListIndex {
/* 0 */ DOOR_DL_DEFAULT,
/* 1 */ DOOR_DL_FIRE_TEMPLE,
/* 2 */ DOOR_DL_WATER_TEMPLE,
diff --git a/src/overlays/actors/ovl_En_Door/z_en_door.h b/src/overlays/actors/ovl_En_Door/z_en_door.h
index 58ff784ee..11ab5a5aa 100644
--- a/src/overlays/actors/ovl_En_Door/z_en_door.h
+++ b/src/overlays/actors/ovl_En_Door/z_en_door.h
@@ -31,7 +31,7 @@
#define ENDOOR_GET_CHECKABLE_TEXT_ID(thisx) ((thisx)->params & 0x3F)
-typedef enum {
+typedef enum EnDoorType {
/* 0x00 */ DOOR_ROOMLOAD, // loads rooms
/* 0x01 */ DOOR_LOCKED, // small key locked door
/* 0x02 */ DOOR_ROOMLOAD2, // loads rooms
diff --git a/src/overlays/actors/ovl_En_Du/z_en_du.c b/src/overlays/actors/ovl_En_Du/z_en_du.c
index 4181108b7..123442317 100644
--- a/src/overlays/actors/ovl_En_Du/z_en_du.c
+++ b/src/overlays/actors/ovl_En_Du/z_en_du.c
@@ -56,7 +56,7 @@ static ColliderCylinderInit sCylinderInit = {
static CollisionCheckInfoInit2 sColChkInfoInit = { 0, 0, 0, 0, MASS_IMMOVABLE };
-typedef enum {
+typedef enum EnDuAnimation {
/* 0 */ ENDU_ANIM_0,
/* 1 */ ENDU_ANIM_1,
/* 2 */ ENDU_ANIM_2,
diff --git a/src/overlays/actors/ovl_En_Elf/z_en_elf.c b/src/overlays/actors/ovl_En_Elf/z_en_elf.c
index 1beda793a..b0f49228b 100644
--- a/src/overlays/actors/ovl_En_Elf/z_en_elf.c
+++ b/src/overlays/actors/ovl_En_Elf/z_en_elf.c
@@ -80,7 +80,7 @@ static Color_RGBAf sOuterColors[] = {
{ 255.0f, 50.0f, 100.0f, 255.0f },
};
-typedef struct {
+typedef struct FairyColorFlags {
u8 r, g, b;
} FairyColorFlags;
diff --git a/src/overlays/actors/ovl_En_Elf/z_en_elf.h b/src/overlays/actors/ovl_En_Elf/z_en_elf.h
index cc2bfd396..106e3a558 100644
--- a/src/overlays/actors/ovl_En_Elf/z_en_elf.h
+++ b/src/overlays/actors/ovl_En_Elf/z_en_elf.h
@@ -44,7 +44,7 @@ typedef struct EnElf {
/* 0x02CC */ EnElfActionFunc actionFunc;
} EnElf; // size = 0x02D0
-typedef enum {
+typedef enum FairyType {
/* 0x00 */ FAIRY_NAVI,
/* 0x01 */ FAIRY_REVIVE_BOTTLE,
/* 0x02 */ FAIRY_HEAL_TIMED,
diff --git a/src/overlays/actors/ovl_En_Encount1/z_en_encount1.h b/src/overlays/actors/ovl_En_Encount1/z_en_encount1.h
index efd770f26..2dc033f98 100644
--- a/src/overlays/actors/ovl_En_Encount1/z_en_encount1.h
+++ b/src/overlays/actors/ovl_En_Encount1/z_en_encount1.h
@@ -30,7 +30,7 @@ typedef struct EnEncount1 {
/* 0x016C */ EnReeba* bigLeever;
} EnEncount1; // size = 0x0170
-typedef enum {
+typedef enum EnEncount1type {
/* 0 */ SPAWNER_LEEVER,
/* 1 */ SPAWNER_TEKTITE,
/* 2 */ SPAWNER_STALCHILDREN,
diff --git a/src/overlays/actors/ovl_En_Encount2/z_en_encount2.c b/src/overlays/actors/ovl_En_Encount2/z_en_encount2.c
index 4ad684fa8..f4b95fab4 100644
--- a/src/overlays/actors/ovl_En_Encount2/z_en_encount2.c
+++ b/src/overlays/actors/ovl_En_Encount2/z_en_encount2.c
@@ -6,7 +6,7 @@
#define FLAGS (ACTOR_FLAG_4 | ACTOR_FLAG_5)
-typedef enum {
+typedef enum Encount2State {
/* 0x0 */ ENCOUNT2_INACTIVE,
/* 0x1 */ ENCOUNT2_ACTIVE_DEATH_MOUNTAIN,
/* 0x2 */ ENCOUNT2_ACTIVE_GANONS_TOWER
diff --git a/src/overlays/actors/ovl_En_Encount2/z_en_encount2.h b/src/overlays/actors/ovl_En_Encount2/z_en_encount2.h
index 7141abd17..c3e0a0655 100644
--- a/src/overlays/actors/ovl_En_Encount2/z_en_encount2.h
+++ b/src/overlays/actors/ovl_En_Encount2/z_en_encount2.h
@@ -10,7 +10,7 @@ typedef void (*EnEncount2ActionFunc)(struct EnEncount2*, PlayState*);
#define EN_ENCOUNT2_EFFECT_COUNT 50
-typedef struct {
+typedef struct EnEncount2Effect {
/* 0x0000 */ Vec3f pos;
/* 0x000C */ f32 scale;
/* 0x0010 */ u8 isAlive;
diff --git a/src/overlays/actors/ovl_En_Ex_Item/z_en_ex_item.h b/src/overlays/actors/ovl_En_Ex_Item/z_en_ex_item.h
index 6c6ff404a..897826146 100644
--- a/src/overlays/actors/ovl_En_Ex_Item/z_en_ex_item.h
+++ b/src/overlays/actors/ovl_En_Ex_Item/z_en_ex_item.h
@@ -29,7 +29,7 @@ typedef struct EnExItem {
/* 0x0180 */ EnExItemLightFunc unk_180;
} EnExItem; // size = 0x0184
-typedef enum {
+typedef enum EnExItemType {
/* 0 */ EXITEM_BOMB_BAG_BOWLING,
/* 1 */ EXITEM_HEART_PIECE_BOWLING,
/* 2 */ EXITEM_BOMBCHUS_BOWLING,
diff --git a/src/overlays/actors/ovl_En_Ex_Ruppy/z_en_ex_ruppy.c b/src/overlays/actors/ovl_En_Ex_Ruppy/z_en_ex_ruppy.c
index 86d7d65ee..0704ac3de 100644
--- a/src/overlays/actors/ovl_En_Ex_Ruppy/z_en_ex_ruppy.c
+++ b/src/overlays/actors/ovl_En_Ex_Ruppy/z_en_ex_ruppy.c
@@ -302,7 +302,7 @@ void EnExRuppy_Kill(EnExRuppy* this, PlayState* play) {
}
}
-typedef struct {
+typedef struct EnExRuppyParentActor {
/* 0x000 */ Actor actor;
/* 0x14C */ char unk_14C[0x11A];
/* 0x226 */ s16 unk_226;
diff --git a/src/overlays/actors/ovl_En_Fd/z_en_fd.c b/src/overlays/actors/ovl_En_Fd/z_en_fd.c
index a74a3d594..86e3f7018 100644
--- a/src/overlays/actors/ovl_En_Fd/z_en_fd.c
+++ b/src/overlays/actors/ovl_En_Fd/z_en_fd.c
@@ -192,7 +192,7 @@ static ColliderJntSphInit sJntSphInit = {
static CollisionCheckInfoInit2 sColChkInit = { 24, 2, 25, 25, MASS_IMMOVABLE };
-typedef enum {
+typedef enum EnFdAnimation {
/* 0 */ ENFD_ANIM_0,
/* 1 */ ENFD_ANIM_1,
/* 2 */ ENFD_ANIM_2,
diff --git a/src/overlays/actors/ovl_En_Fd/z_en_fd.h b/src/overlays/actors/ovl_En_Fd/z_en_fd.h
index 8f7f83170..355941052 100644
--- a/src/overlays/actors/ovl_En_Fd/z_en_fd.h
+++ b/src/overlays/actors/ovl_En_Fd/z_en_fd.h
@@ -8,7 +8,7 @@ struct EnFd;
typedef void (*EnFdActionFunc)(struct EnFd* this, PlayState* play);
-typedef enum {
+typedef enum FDEffectType {
FD_EFFECT_NONE,
FD_EFFECT_FLAME,
FD_EFFECT_DOT
@@ -16,7 +16,7 @@ typedef enum {
#define EN_FD_EFFECT_COUNT 200
-typedef struct {
+typedef struct EnFdEffect {
/* 0x0000 */ u8 type;
/* 0x0001 */ u8 timer;
/* 0x0002 */ u8 initialTimer;
diff --git a/src/overlays/actors/ovl_En_Fhg_Fire/z_en_fhg_fire.c b/src/overlays/actors/ovl_En_Fhg_Fire/z_en_fhg_fire.c
index 55fc46789..05d934e0a 100644
--- a/src/overlays/actors/ovl_En_Fhg_Fire/z_en_fhg_fire.c
+++ b/src/overlays/actors/ovl_En_Fhg_Fire/z_en_fhg_fire.c
@@ -13,19 +13,19 @@
#define FLAGS (ACTOR_FLAG_4 | ACTOR_FLAG_5)
-typedef enum {
+typedef enum StrikeMode {
/* 0 */ STRIKE_INIT,
/* 10 */ STRIKE_BURST = 10,
/* 11 */ STRIKE_TRAILS
} StrikeMode;
-typedef enum {
+typedef enum TrailMode {
/* 0 */ TRAIL_INIT,
/* 1 */ TRAIL_APPEAR,
/* 2 */ TRAIL_DISSIPATE
} TrailMode;
-typedef enum {
+typedef enum BallKillMode {
/* 0 */ BALL_FIZZLE,
/* 1 */ BALL_BURST,
/* 2 */ BALL_IMPACT
diff --git a/src/overlays/actors/ovl_En_Fhg_Fire/z_en_fhg_fire.h b/src/overlays/actors/ovl_En_Fhg_Fire/z_en_fhg_fire.h
index 2f4377077..ac2682aaf 100644
--- a/src/overlays/actors/ovl_En_Fhg_Fire/z_en_fhg_fire.h
+++ b/src/overlays/actors/ovl_En_Fhg_Fire/z_en_fhg_fire.h
@@ -8,7 +8,7 @@ struct EnFhgFire;
typedef void (*EnFhgFireUpdateFunc)(struct EnFhgFire*, PlayState*);
-typedef enum {
+typedef enum FhgFireParam {
/* 1 */ FHGFIRE_LIGHTNING_STRIKE = 1,
/* 35 */ FHGFIRE_LIGHTNING_SHOCK = 35,
/* 36 */ FHGFIRE_LIGHTNING_BURST,
@@ -20,13 +20,13 @@ typedef enum {
/* 100 */ FHGFIRE_LIGHTNING_TRAIL = 100
} FhgFireParam;
-typedef enum {
+typedef enum FhgLightMode {
/* 0 */ FHGFIRE_LIGHT_GREEN,
/* 1 */ FHGFIRE_LIGHT_BLUE,
/* 2 */ FHGFIRE_LIGHT_REFLECT
} FhgLightMode;
-typedef enum {
+typedef enum FhgFireS16Var {
/* 0 */ FHGFIRE_TIMER,
/* 1 */ FHGFIRE_FX_TIMER,
/* 2 */ FHGFIRE_US_2,
@@ -37,7 +37,7 @@ typedef enum {
/* 7 */ FHGFIRE_SHORT_COUNT
} FhgFireS16Var;
-typedef enum {
+typedef enum FhgFireF32Var {
/* 0 */ FHGFIRE_ALPHA,
/* 1 */ FHGFIRE_UF_1,
/* 2 */ FHGFIRE_UF_2,
diff --git a/src/overlays/actors/ovl_En_Fire_Rock/z_en_fire_rock.h b/src/overlays/actors/ovl_En_Fire_Rock/z_en_fire_rock.h
index 3530cecb7..6e387bdb3 100644
--- a/src/overlays/actors/ovl_En_Fire_Rock/z_en_fire_rock.h
+++ b/src/overlays/actors/ovl_En_Fire_Rock/z_en_fire_rock.h
@@ -6,7 +6,7 @@
#include "overlays/actors/ovl_En_Encount2/z_en_encount2.h"
-typedef enum {
+typedef enum EnFireRockType {
/* 0x00 */ FIRE_ROCK_SPAWNED_FALLING1,
/* 0x01 */ FIRE_ROCK_BROKEN_PIECE1,
/* 0x02 */ FIRE_ROCK_BROKEN_PIECE2,
diff --git a/src/overlays/actors/ovl_En_Firefly/z_en_firefly.c b/src/overlays/actors/ovl_En_Firefly/z_en_firefly.c
index 344943544..b77c6d271 100644
--- a/src/overlays/actors/ovl_En_Firefly/z_en_firefly.c
+++ b/src/overlays/actors/ovl_En_Firefly/z_en_firefly.c
@@ -28,7 +28,7 @@ void EnFirefly_FrozenFall(EnFirefly* this, PlayState* play);
void EnFirefly_Perch(EnFirefly* this, PlayState* play);
void EnFirefly_DisturbDiveAttack(EnFirefly* this, PlayState* play);
-typedef enum {
+typedef enum KeeseAuraType {
/* 0 */ KEESE_AURA_NONE,
/* 1 */ KEESE_AURA_FIRE,
/* 2 */ KEESE_AURA_ICE
diff --git a/src/overlays/actors/ovl_En_Firefly/z_en_firefly.h b/src/overlays/actors/ovl_En_Firefly/z_en_firefly.h
index 862779e18..165cc5c26 100644
--- a/src/overlays/actors/ovl_En_Firefly/z_en_firefly.h
+++ b/src/overlays/actors/ovl_En_Firefly/z_en_firefly.h
@@ -24,7 +24,7 @@ typedef struct EnFirefly {
/* 0x0344 */ ColliderJntSphElement colliderItems[1];
} EnFirefly; // size = 0x0374
-typedef enum {
+typedef enum KeeseType {
/* 0 */ KEESE_FIRE_FLY,
/* 1 */ KEESE_FIRE_PERCH,
/* 2 */ KEESE_NORMAL_FLY,
diff --git a/src/overlays/actors/ovl_En_Fish/z_en_fish.h b/src/overlays/actors/ovl_En_Fish/z_en_fish.h
index 7169077b5..001d16176 100644
--- a/src/overlays/actors/ovl_En_Fish/z_en_fish.h
+++ b/src/overlays/actors/ovl_En_Fish/z_en_fish.h
@@ -23,7 +23,7 @@ typedef struct EnFish {
/* 0x0250 */ s32 unk_250; // Set to 0 or 5, arg5 of Actor_UpdateBgCheckInfo
} EnFish; // size = 0x0254
-typedef enum {
+typedef enum EnFishType {
/* -1 */ FISH_SWIMMING_RESPAWNING = -1, // Used in Zora's Domain; code only uses not 0 or 1, runs away from Player
/* 0 */ FISH_DROPPED,
/* 1 */ FISH_SWIMMING_UNIQUE // Used in grottos
diff --git a/src/overlays/actors/ovl_En_Fr/z_en_fr.c b/src/overlays/actors/ovl_En_Fr/z_en_fr.c
index 773731261..cf94fd702 100644
--- a/src/overlays/actors/ovl_En_Fr/z_en_fr.c
+++ b/src/overlays/actors/ovl_En_Fr/z_en_fr.c
@@ -83,12 +83,12 @@ sEnFrPointers.flags = 12
- Deactivate frogs, frogs will jump back into the water
*/
-typedef struct {
+typedef struct EnFrPointers {
u8 flags;
EnFr* frogs[5];
} EnFrPointers;
-typedef struct {
+typedef struct LogSpotToFromWater {
f32 xzDist;
f32 yaw;
f32 yDist;
diff --git a/src/overlays/actors/ovl_En_Fr/z_en_fr.h b/src/overlays/actors/ovl_En_Fr/z_en_fr.h
index 2bd6fa41a..95a365dd9 100644
--- a/src/overlays/actors/ovl_En_Fr/z_en_fr.h
+++ b/src/overlays/actors/ovl_En_Fr/z_en_fr.h
@@ -9,7 +9,7 @@ struct EnFr;
typedef void (*EnFrActionFunc)(struct EnFr*, PlayState*);
typedef void (*EnFrBlinkFunc)(struct EnFr*);
-typedef enum {
+typedef enum FrogType {
/* 0 */ FROG_YELLOW, // Middle
/* 1 */ FROG_BLUE, // Front Left
/* 2 */ FROG_RED, // Front Right
@@ -17,7 +17,7 @@ typedef enum {
/* 4 */ FROG_WHITE // Back Right
} FrogType;
-typedef enum {
+typedef enum FrogSongType {
/* 0 */ FROG_ZL,
/* 1 */ FROG_EPONA,
/* 2 */ FROG_SARIA,
diff --git a/src/overlays/actors/ovl_En_Fu/z_en_fu.c b/src/overlays/actors/ovl_En_Fu/z_en_fu.c
index 40457c98d..434b92408 100644
--- a/src/overlays/actors/ovl_En_Fu/z_en_fu.c
+++ b/src/overlays/actors/ovl_En_Fu/z_en_fu.c
@@ -66,7 +66,7 @@ static Vec3f sMtxSrc = {
0.0f,
};
-typedef enum {
+typedef enum EnFuFace {
/* 0x00 */ FU_FACE_CALM,
/* 0x01 */ FU_FACE_MAD
} EnFuFace;
diff --git a/src/overlays/actors/ovl_En_Fu/z_en_fu.h b/src/overlays/actors/ovl_En_Fu/z_en_fu.h
index f8135e64c..dbbcacfc5 100644
--- a/src/overlays/actors/ovl_En_Fu/z_en_fu.h
+++ b/src/overlays/actors/ovl_En_Fu/z_en_fu.h
@@ -8,7 +8,7 @@ struct EnFu;
typedef void (*EnFuActionFunc)(struct EnFu*, PlayState*);
-typedef enum {
+typedef enum EnFuLimb {
/* 0x00 */ FU_LIMB_ROOT,
/* 0x01 */ FU_LIMB_TORSO,
/* 0x02 */ FU_LIMB_LEFT_THIGH,
diff --git a/src/overlays/actors/ovl_En_Fw/z_en_fw.c b/src/overlays/actors/ovl_En_Fw/z_en_fw.c
index 5f8768ff1..fbe16442c 100644
--- a/src/overlays/actors/ovl_En_Fw/z_en_fw.c
+++ b/src/overlays/actors/ovl_En_Fw/z_en_fw.c
@@ -65,7 +65,7 @@ static ColliderJntSphInit sJntSphInit = {
static CollisionCheckInfoInit2 D_80A1FB94 = { 8, 2, 25, 25, MASS_IMMOVABLE };
-typedef enum {
+typedef enum EnFwAnimation {
/* 0 */ ENFW_ANIM_0,
/* 1 */ ENFW_ANIM_1,
/* 2 */ ENFW_ANIM_2
diff --git a/src/overlays/actors/ovl_En_Fw/z_en_fw.h b/src/overlays/actors/ovl_En_Fw/z_en_fw.h
index 79ccf12d9..7940a9815 100644
--- a/src/overlays/actors/ovl_En_Fw/z_en_fw.h
+++ b/src/overlays/actors/ovl_En_Fw/z_en_fw.h
@@ -10,7 +10,7 @@ typedef void (*EnFwActionFunc)(struct EnFw* this, PlayState* play);
#define EN_FW_EFFECT_COUNT 20
-typedef struct {
+typedef struct EnFwEffect {
/* 0x0000 */ u8 type;
/* 0x0001 */ u8 timer;
/* 0x0002 */ u8 initialTimer;
diff --git a/src/overlays/actors/ovl_En_Fz/z_en_fz.h b/src/overlays/actors/ovl_En_Fz/z_en_fz.h
index dafada3d2..a7fa2d713 100644
--- a/src/overlays/actors/ovl_En_Fz/z_en_fz.h
+++ b/src/overlays/actors/ovl_En_Fz/z_en_fz.h
@@ -9,7 +9,7 @@ struct EnFz;
typedef void (*EnFzActionFunc)(struct EnFz*, PlayState*);
typedef void (*EnFzSpawnIceSmokeFunc)(struct EnFz*);
-typedef struct {
+typedef struct EnFzEffect {
/* 0x0000 */ u8 type; // 0,1,2: State of freezard (1 not freezing, 2 freezing)
/* 0x0001 */ u8 timer; // increments primAlphaState after reaching 7 (freezing), used in Gfx_TwoTexScroll
/* 0x0004 */ Vec3f pos; // Random position within 20.0f of actor
diff --git a/src/overlays/actors/ovl_En_G_Switch/z_en_g_switch.c b/src/overlays/actors/ovl_En_G_Switch/z_en_g_switch.c
index 9ebf1c401..594ed758a 100644
--- a/src/overlays/actors/ovl_En_G_Switch/z_en_g_switch.c
+++ b/src/overlays/actors/ovl_En_G_Switch/z_en_g_switch.c
@@ -14,7 +14,7 @@
#define FLAGS (ACTOR_FLAG_4 | ACTOR_FLAG_5)
-typedef enum {
+typedef enum GSwitchMoveState {
/* 0 */ MOVE_TARGET,
/* 1 */ MOVE_HOME
} GSwitchMoveState;
diff --git a/src/overlays/actors/ovl_En_G_Switch/z_en_g_switch.h b/src/overlays/actors/ovl_En_G_Switch/z_en_g_switch.h
index 3631d1170..58e19ea9c 100644
--- a/src/overlays/actors/ovl_En_G_Switch/z_en_g_switch.h
+++ b/src/overlays/actors/ovl_En_G_Switch/z_en_g_switch.h
@@ -8,7 +8,7 @@ struct EnGSwitch;
typedef void (*EnGSwitchActionFunc)(struct EnGSwitch*, PlayState*);
-typedef enum {
+typedef enum EnGSwitchMoveMode {
/* 0 */ GSWITCH_NONE,
/* 1 */ GSWITCH_APPEAR,
/* 2 */ GSWITCH_THROW,
@@ -17,7 +17,7 @@ typedef enum {
/* 5 */ GSWITCH_RIGHT
} EnGSwitchMoveMode;
-typedef enum {
+typedef enum EnGSwitchType {
/* 0 */ ENGSWITCH_SILVER_TRACKER,
/* 1 */ ENGSWITCH_SILVER_RUPEE,
/* 2 */ ENGSWITCH_ARCHERY_POT,
@@ -26,7 +26,7 @@ typedef enum {
#define EN_GSWITCH_EFFECT_COUNT 100
-typedef struct {
+typedef struct EnGSwitchEffect {
/* 0x00 */ Vec3f pos;
/* 0x0C */ s16 scale;
/* 0x0E */ s16 timer;
diff --git a/src/overlays/actors/ovl_En_Ganon_Mant/z_en_ganon_mant.c b/src/overlays/actors/ovl_En_Ganon_Mant/z_en_ganon_mant.c
index b76e89ece..1b106d672 100644
--- a/src/overlays/actors/ovl_En_Ganon_Mant/z_en_ganon_mant.c
+++ b/src/overlays/actors/ovl_En_Ganon_Mant/z_en_ganon_mant.c
@@ -38,7 +38,7 @@ static s16 sTearSizesSmall[] = {
0, 0, 0, 0, 0, 0, 0,
};
-typedef struct {
+typedef struct TearShape {
s16* tearAreaSizes;
s16 count;
} TearShape; // size = 0x8
diff --git a/src/overlays/actors/ovl_En_Ganon_Mant/z_en_ganon_mant.h b/src/overlays/actors/ovl_En_Ganon_Mant/z_en_ganon_mant.h
index 3b416e59e..f319bfbf8 100644
--- a/src/overlays/actors/ovl_En_Ganon_Mant/z_en_ganon_mant.h
+++ b/src/overlays/actors/ovl_En_Ganon_Mant/z_en_ganon_mant.h
@@ -9,7 +9,7 @@ struct EnGanonMant;
#define GANON_MANT_NUM_JOINTS 12
#define GANON_MANT_NUM_STRANDS 12
-typedef struct {
+typedef struct MantStrand {
/* 0x000 */ Vec3f root; // root position along the collar
/* 0x00C */ Vec3f joints[GANON_MANT_NUM_JOINTS]; // "joints" for deforming the cloak, stemming from root and propagating down the cloak
/* 0x090 */ Vec3f rotations[GANON_MANT_NUM_JOINTS]; // normal vector rotations, x and y only
diff --git a/src/overlays/actors/ovl_En_Gb/z_en_gb.h b/src/overlays/actors/ovl_En_Gb/z_en_gb.h
index 99694a59e..4005075c4 100644
--- a/src/overlays/actors/ovl_En_Gb/z_en_gb.h
+++ b/src/overlays/actors/ovl_En_Gb/z_en_gb.h
@@ -8,14 +8,14 @@ struct EnGb;
typedef void (*EnGbActionFunc)(struct EnGb*, PlayState*);
-typedef struct {
+typedef struct EnGbCagedSoulInfo {
/* 0x00 */ Color_RGBA8 prim;
/* 0x04 */ Color_RGBA8 env;
/* 0x08 */ void* texture;
/* 0x0C */ s16 timerMultiplier;
} EnGbCagedSoulInfo; // size = 0x10
-typedef struct {
+typedef struct EnGbCagedSoul {
/* 0x00 */ u8 infoIdx;
/* 0x01 */ u8 unk_1;
/* 0x02 */ u8 unk_2;
diff --git a/src/overlays/actors/ovl_En_Ge1/z_en_ge1.c b/src/overlays/actors/ovl_En_Ge1/z_en_ge1.c
index de56141d4..5379f11ed 100644
--- a/src/overlays/actors/ovl_En_Ge1/z_en_ge1.c
+++ b/src/overlays/actors/ovl_En_Ge1/z_en_ge1.c
@@ -15,7 +15,7 @@
#define GE1_STATE_IDLE_ANIM (1 << 2)
#define GE1_STATE_STOP_FIDGET (1 << 3)
-typedef enum {
+typedef enum EnGe1Hairstyle {
/* 00 */ GE1_HAIR_BOB,
/* 01 */ GE1_HAIR_STRAIGHT,
/* 02 */ GE1_HAIR_SPIKY
diff --git a/src/overlays/actors/ovl_En_Ge1/z_en_ge1.h b/src/overlays/actors/ovl_En_Ge1/z_en_ge1.h
index f286ce314..7fb1692f6 100644
--- a/src/overlays/actors/ovl_En_Ge1/z_en_ge1.h
+++ b/src/overlays/actors/ovl_En_Ge1/z_en_ge1.h
@@ -9,7 +9,7 @@ struct EnGe1;
typedef void (*EnGe1AnimFunc)(struct EnGe1*);
typedef void (*EnGe1ActionFunc)(struct EnGe1*, PlayState*);
-typedef enum {
+typedef enum EnGe1Type {
/* 0x00 */ GE1_TYPE_GATE_GUARD,
/* 0x01 */ GE1_TYPE_GATE_OPERATOR,
/* 0x04 */ GE1_TYPE_NORMAL = 4,
@@ -18,7 +18,7 @@ typedef enum {
/* 0x46 */ GE1_TYPE_TRAINING_GROUNDS_GUARD
} EnGe1Type;
-typedef enum {
+typedef enum EnGe1Limb {
/* 00 */ GE1_LIMB_NONE,
/* 01 */ GE1_LIMB_WAIST,
/* 02 */ GE1_LIMB_L_THIGH,
diff --git a/src/overlays/actors/ovl_En_Ge2/z_en_ge2.c b/src/overlays/actors/ovl_En_Ge2/z_en_ge2.c
index 3b5b8bea7..7818f4d8d 100644
--- a/src/overlays/actors/ovl_En_Ge2/z_en_ge2.c
+++ b/src/overlays/actors/ovl_En_Ge2/z_en_ge2.c
@@ -15,13 +15,13 @@
#define GE2_STATE_CAPTURING (1 << 3)
#define GE2_STATE_TALKED (1 << 4)
-typedef enum {
+typedef enum EnGe2Type {
/* 0 */ GE2_TYPE_PATROLLING,
/* 1 */ GE2_TYPE_STATIONARY,
/* 2 */ GE2_TYPE_GERUDO_CARD_GIVER
} EnGe2Type;
-typedef enum {
+typedef enum EnGe2Action {
/* 0 */ GE2_ACTION_WALK,
/* 1 */ GE2_ACTION_ABOUTTURN,
/* 2 */ GE2_ACTION_TURNPLAYERSPOTTED,
diff --git a/src/overlays/actors/ovl_En_GeldB/z_en_geldb.c b/src/overlays/actors/ovl_En_GeldB/z_en_geldb.c
index ea99032f4..bc1eff34b 100644
--- a/src/overlays/actors/ovl_En_GeldB/z_en_geldb.c
+++ b/src/overlays/actors/ovl_En_GeldB/z_en_geldb.c
@@ -9,7 +9,7 @@
#define FLAGS (ACTOR_FLAG_0 | ACTOR_FLAG_2 | ACTOR_FLAG_4)
-typedef enum {
+typedef enum EnGeldBAction {
/* 0 */ GELDB_WAIT,
/* 1 */ GELDB_DEFEAT,
/* 2 */ GELDB_DAMAGED,
@@ -159,7 +159,7 @@ static ColliderQuadInit sSwordQuadInit = {
{ { { 0.0f, 0.0f, 0.0f }, { 0.0f, 0.0f, 0.0f }, { 0.0f, 0.0f, 0.0f }, { 0.0f, 0.0f, 0.0f } } },
};
-typedef enum {
+typedef enum EnGeldBDamageEffects {
/* 0x0 */ GELDB_DMG_NORMAL,
/* 0x1 */ GELDB_DMG_STUN,
/* 0x6 */ GELDB_DMG_UNK_6 = 0x6,
diff --git a/src/overlays/actors/ovl_En_GeldB/z_en_geldb.h b/src/overlays/actors/ovl_En_GeldB/z_en_geldb.h
index 149f8ac0a..8ca9f1ac6 100644
--- a/src/overlays/actors/ovl_En_GeldB/z_en_geldb.h
+++ b/src/overlays/actors/ovl_En_GeldB/z_en_geldb.h
@@ -6,7 +6,7 @@
struct EnGeldB;
-typedef enum {
+typedef enum EnGeldBLimb {
/* 0x00 */ GELDB_LIMB_NONE,
/* 0x01 */ GELDB_LIMB_ROOT,
/* 0x02 */ GELDB_LIMB_TORSO,
diff --git a/src/overlays/actors/ovl_En_GirlA/z_en_girla.c b/src/overlays/actors/ovl_En_GirlA/z_en_girla.c
index 7abec67e2..2426fdd17 100644
--- a/src/overlays/actors/ovl_En_GirlA/z_en_girla.c
+++ b/src/overlays/actors/ovl_En_GirlA/z_en_girla.c
@@ -141,7 +141,7 @@ static s16 sMaskShopItems[8] = {
static u16 sMaskShopFreeToBorrowTextIds[5] = { 0x70B6, 0x70B5, 0x70B4, 0x70B7, 0x70BB };
-typedef struct {
+typedef struct ShopItemEntry {
/* 0x00 */ s16 objID;
/* 0x02 */ s16 giDrawId;
/* 0x04 */ void (*hiliteFunc)(Actor*, PlayState*, s32);
diff --git a/src/overlays/actors/ovl_En_GirlA/z_en_girla.h b/src/overlays/actors/ovl_En_GirlA/z_en_girla.h
index 65725c5c1..971d0109c 100644
--- a/src/overlays/actors/ovl_En_GirlA/z_en_girla.h
+++ b/src/overlays/actors/ovl_En_GirlA/z_en_girla.h
@@ -35,7 +35,7 @@ typedef struct EnGirlA {
/* 0x01D0 */ EnGirlA3Func hiliteFunc;
} EnGirlA; // size = 0x01D4
-typedef enum {
+typedef enum EnGirlAShopItem {
/* 0x00 */ SI_DEKU_NUTS_5,
/* 0x01 */ SI_ARROWS_30,
/* 0x02 */ SI_ARROWS_50,
@@ -89,7 +89,7 @@ typedef enum {
/* 0x32 */ SI_MAX
} EnGirlAShopItem;
-typedef enum {
+typedef enum EnGirlACanBuyResult {
/* 0 */ CANBUY_RESULT_SUCCESS_FANFARE,
/* 1 */ CANBUY_RESULT_SUCCESS,
/* 2 */ CANBUY_RESULT_CANT_GET_NOW,
diff --git a/src/overlays/actors/ovl_En_Go/z_en_go.c b/src/overlays/actors/ovl_En_Go/z_en_go.c
index ec34f6db0..e9f3cbf30 100644
--- a/src/overlays/actors/ovl_En_Go/z_en_go.c
+++ b/src/overlays/actors/ovl_En_Go/z_en_go.c
@@ -68,7 +68,7 @@ static ColliderCylinderInit sCylinderInit = {
static CollisionCheckInfoInit2 sColChkInfoInit = { 0, 0, 0, 0, MASS_IMMOVABLE };
-typedef enum {
+typedef enum EnGoAnimation {
/* 0 */ ENGO_ANIM_0,
/* 1 */ ENGO_ANIM_1,
/* 2 */ ENGO_ANIM_2,
diff --git a/src/overlays/actors/ovl_En_Go/z_en_go.h b/src/overlays/actors/ovl_En_Go/z_en_go.h
index e18efcf81..b769cff78 100644
--- a/src/overlays/actors/ovl_En_Go/z_en_go.h
+++ b/src/overlays/actors/ovl_En_Go/z_en_go.h
@@ -25,7 +25,7 @@ typedef s16 (*callback2_80A3ED24)(PlayState*, struct EnGo*);
#define EN_GO_EFFECT_COUNT 20
-typedef struct {
+typedef struct EnGoEffect {
/* 0x0000 */ u8 type;
/* 0x0001 */ u8 timer;
/* 0x0002 */ u8 initialTimer;
diff --git a/src/overlays/actors/ovl_En_Go2/z_en_go2.c b/src/overlays/actors/ovl_En_Go2/z_en_go2.c
index 2f1f4f312..a99f0cc0e 100644
--- a/src/overlays/actors/ovl_En_Go2/z_en_go2.c
+++ b/src/overlays/actors/ovl_En_Go2/z_en_go2.c
@@ -125,7 +125,7 @@ static f32 sPlayerTrackingYOffsets[14][2] = {
{ 20.0f, 20.0f }, { 20.0f, 20.0f }, { 20.0f, 20.0f }, { 20.0f, 20.0f },
};
-typedef enum {
+typedef enum EnGo2Animation {
/* 0 */ ENGO2_ANIM_0,
/* 1 */ ENGO2_ANIM_1,
/* 2 */ ENGO2_ANIM_2,
diff --git a/src/overlays/actors/ovl_En_Go2/z_en_go2.h b/src/overlays/actors/ovl_En_Go2/z_en_go2.h
index e15284136..9651f6bfe 100644
--- a/src/overlays/actors/ovl_En_Go2/z_en_go2.h
+++ b/src/overlays/actors/ovl_En_Go2/z_en_go2.h
@@ -9,7 +9,7 @@ struct EnGo2;
typedef void (*EnGo2ActionFunc)(struct EnGo2*, PlayState*);
-typedef enum {
+typedef enum GoronType {
/* 0x00 */ GORON_CITY_ROLLING_BIG,
/* 0x01 */ GORON_CITY_LINK,
/* 0x02 */ GORON_DMT_BIGGORON,
@@ -41,7 +41,7 @@ typedef enum {
// /* 0x0B */ GORON_FIRE_HIGHEST
-typedef struct {
+typedef struct EnGo2DataStruct1 {
s16 unused;
s16 yDist;
s16 xzDist;
@@ -49,14 +49,14 @@ typedef struct {
s16 height;
} EnGo2DataStruct1; // size = 0xA
-typedef struct {
+typedef struct EnGo2DataStruct2 {
f32 shape_unk_10;
f32 scale;
s8 actor_unk_1F;
f32 interactRange;
} EnGo2DataStruct2; // size = 0x10
-typedef struct {
+typedef struct EnGo2DustEffectData {
u8 initialTimer;
f32 scale;
f32 scaleStep;
diff --git a/src/overlays/actors/ovl_En_Goma/z_en_goma.h b/src/overlays/actors/ovl_En_Goma/z_en_goma.h
index b04162aca..a0a97f20f 100644
--- a/src/overlays/actors/ovl_En_Goma/z_en_goma.h
+++ b/src/overlays/actors/ovl_En_Goma/z_en_goma.h
@@ -4,7 +4,7 @@
#include "ultra64.h"
#include "global.h"
-typedef enum {
+typedef enum GomaType {
/* 0 */ ENGOMA_NORMAL,
/* 1 */ ENGOMA_EGG,
/* 2 */ ENGOMA_HATCH_DEBRIS,
@@ -15,7 +15,7 @@ struct EnGoma;
typedef void (*EnGomaActionFunc)(struct EnGoma*, PlayState*);
-typedef enum {
+typedef enum EnGomaLimb {
/* 0 */ GOMA_LIMB_NONE,
/* 1 */ GOMA_LIMB_ROOT1,
/* 2 */ GOMA_LIMB_ROOT2,
diff --git a/src/overlays/actors/ovl_En_Hata/z_en_hata.h b/src/overlays/actors/ovl_En_Hata/z_en_hata.h
index f208b1e01..e098bcaab 100644
--- a/src/overlays/actors/ovl_En_Hata/z_en_hata.h
+++ b/src/overlays/actors/ovl_En_Hata/z_en_hata.h
@@ -5,7 +5,7 @@
#include "global.h"
-typedef enum {
+typedef enum EnHataLimb {
/* 0x00 */ FLAGPOLE_LIMB_NONE,
/* 0x01 */ FLAGPOLE_LIMB_POLE_BASE,
/* 0x02 */ FLAGPOLE_LIMB_POLE,
@@ -30,7 +30,7 @@ typedef enum {
/* 0x15 */ FLAGPOLE_LIMB_MAX
} EnHataLimb;
-typedef struct {
+typedef struct EnHata {
/* 0x0000 */ DynaPolyActor dyna;
/* 0x0164 */ SkelAnime skelAnime;
/* 0x01A8 */ ColliderCylinder collider; // Unused, but indicated by the form of the unused data
diff --git a/src/overlays/actors/ovl_En_Heishi4/z_en_heishi4.h b/src/overlays/actors/ovl_En_Heishi4/z_en_heishi4.h
index 0bc2fc99d..48e09ca45 100644
--- a/src/overlays/actors/ovl_En_Heishi4/z_en_heishi4.h
+++ b/src/overlays/actors/ovl_En_Heishi4/z_en_heishi4.h
@@ -4,7 +4,7 @@
#include "ultra64.h"
#include "global.h"
-typedef enum {
+typedef enum Heishi4Type {
/* 0x00 */ HEISHI4_AT_KAKARIKO_ENTRANCE,
/* 0x04 */ HEISHI4_AT_IMPAS_HOUSE = 4,
/* 0x07 */ HEISHI4_AT_MARKET_DYING = 7,
diff --git a/src/overlays/actors/ovl_En_Holl/z_en_holl.h b/src/overlays/actors/ovl_En_Holl/z_en_holl.h
index cbc4ddb39..cbff84647 100644
--- a/src/overlays/actors/ovl_En_Holl/z_en_holl.h
+++ b/src/overlays/actors/ovl_En_Holl/z_en_holl.h
@@ -23,7 +23,7 @@
* Bg Cover: The background geometry (e.g. room geometry but not actors) fades black as the player approaches.
* Invisible: Approaching the holl does not cause any particular visual effect.
*/
-typedef enum {
+typedef enum EnHollType {
/* 0 */ ENHOLL_H_VISIBLE_NARROW,
/* 1 */ ENHOLL_V_DOWN_BGCOVER_LARGE, // Only allows downwards transitions. 500 units radius. Used in fire temple drops.
/* 2 */ ENHOLL_V_INVISIBLE,
diff --git a/src/overlays/actors/ovl_En_Honotrap/z_en_honotrap.c b/src/overlays/actors/ovl_En_Honotrap/z_en_honotrap.c
index d9a689a88..9a3e6d35d 100644
--- a/src/overlays/actors/ovl_En_Honotrap/z_en_honotrap.c
+++ b/src/overlays/actors/ovl_En_Honotrap/z_en_honotrap.c
@@ -14,7 +14,7 @@
#define HONOTRAP_AC_ACTIVE (1 << 1)
#define HONOTRAP_OC_ACTIVE (1 << 2)
-typedef enum {
+typedef enum EnHonotrapEyeState {
/* 0 */ HONOTRAP_EYE_OPEN,
/* 1 */ HONOTRAP_EYE_HALF,
/* 2 */ HONOTRAP_EYE_CLOSE,
diff --git a/src/overlays/actors/ovl_En_Honotrap/z_en_honotrap.h b/src/overlays/actors/ovl_En_Honotrap/z_en_honotrap.h
index f9e3908bf..f1b085686 100644
--- a/src/overlays/actors/ovl_En_Honotrap/z_en_honotrap.h
+++ b/src/overlays/actors/ovl_En_Honotrap/z_en_honotrap.h
@@ -8,7 +8,7 @@ struct EnHonotrap;
typedef void (*EnHonotrapActionFunc)(struct EnHonotrap*, PlayState*);
-typedef union {
+typedef union EnHonotrapCollider {
struct {
/* 0x00 */ ColliderTris tris;
/* 0x20 */ ColliderTrisElement elements[2];
@@ -29,7 +29,7 @@ typedef struct EnHonotrap {
/* 0x0240 */ u8 colChkFlags;
} EnHonotrap; // size = 0x0244
-typedef enum {
+typedef enum EnHonotrapType {
HONOTRAP_TYPE_EYE,
HONOTRAP_TYPE_FLAME_MOVE,
HONOTRAP_TYPE_FLAME_DROP
diff --git a/src/overlays/actors/ovl_En_Horse/z_en_horse.c b/src/overlays/actors/ovl_En_Horse/z_en_horse.c
index 37df3828a..6afed872d 100644
--- a/src/overlays/actors/ovl_En_Horse/z_en_horse.c
+++ b/src/overlays/actors/ovl_En_Horse/z_en_horse.c
@@ -147,7 +147,7 @@ static ColliderJntSphInit sJntSphInit = {
static CollisionCheckInfoInit D_80A65F38 = { 10, 35, 100, MASS_HEAVY };
-typedef struct {
+typedef struct EnHorseSpawnpoint {
/* 0x0 */ s16 sceneId;
/* 0x2 */ Vec3s pos;
/* 0x8 */ s16 angle;
@@ -329,7 +329,7 @@ static EnHorseSpawnpoint sHorseSpawns[] = {
{ SCENE_LON_LON_RANCH, 907, 0, -2336, 0 },
};
-typedef struct {
+typedef struct BridgeJumpPoint {
/* 0x00 */ s16 zMin;
/* 0x02 */ s16 zMax;
/* 0x04 */ s16 xMin;
@@ -345,7 +345,7 @@ static BridgeJumpPoint sBridgeJumps[] = {
{ -195, -40, -240, -120, -360, 0x4000, 0x7D0, 270, -52, -117 },
};
-typedef struct {
+typedef struct RaceWaypoint {
/* 0x0 */ s16 x;
/* 0x2 */ s16 y;
/* 0x4 */ s16 z;
@@ -353,7 +353,7 @@ typedef struct {
/* 0x8 */ s16 angle;
} RaceWaypoint; // size = 0xA
-typedef struct {
+typedef struct RaceInfo {
/* 0x0 */ s32 numWaypoints;
/* 0x4 */ RaceWaypoint* waypoints;
} RaceInfo; // size = 0x8
@@ -403,7 +403,7 @@ static EnHorseCsFunc sCutsceneActionFuncs[] = {
NULL, EnHorse_CsMoveToPoint, EnHorse_CsJump, EnHorse_CsRearing, EnHorse_CsWarpMoveToPoint, EnHorse_CsWarpRearing,
};
-typedef struct {
+typedef struct CsActionEntry {
/* 0x0 */ s32 cueId;
/* 0x4 */ s32 csFuncIdx;
} CsActionEntry; // size = 0x8
diff --git a/src/overlays/actors/ovl_En_Horse/z_en_horse.h b/src/overlays/actors/ovl_En_Horse/z_en_horse.h
index 785ddc8a9..a0618973a 100644
--- a/src/overlays/actors/ovl_En_Horse/z_en_horse.h
+++ b/src/overlays/actors/ovl_En_Horse/z_en_horse.h
@@ -4,7 +4,7 @@
#include "ultra64.h"
#include "global.h"
-typedef enum {
+typedef enum EnHorseAction {
/* 0 */ ENHORSE_ACT_FROZEN,
/* 1 */ ENHORSE_ACT_INACTIVE,
/* 2 */ ENHORSE_ACT_IDLE,
@@ -63,7 +63,7 @@ typedef enum {
struct EnHorse;
-typedef enum {
+typedef enum EnHorsePlayerDir {
/* 0 */ PLAYER_DIR_FRONT_R,
/* 1 */ PLAYER_DIR_FRONT_L,
/* 2 */ PLAYER_DIR_BACK_R,
@@ -72,7 +72,7 @@ typedef enum {
/* 5 */ PLAYER_DIR_SIDE_L
} EnHorsePlayerDir;
-typedef enum {
+typedef enum EnHorseAnimationIndex {
/* 0 */ ENHORSE_ANIM_IDLE,
/* 1 */ ENHORSE_ANIM_WHINNEY,
/* 2 */ ENHORSE_ANIM_STOPPING,
@@ -84,7 +84,7 @@ typedef enum {
/* 8 */ ENHORSE_ANIM_HIGH_JUMP
} EnHorseAnimationIndex;
-typedef enum {
+typedef enum HorseType {
/* 0 */ HORSE_EPONA,
/* 1 */ HORSE_HNI
} HorseType;
diff --git a/src/overlays/actors/ovl_En_Horse_Game_Check/z_en_horse_game_check.c b/src/overlays/actors/ovl_En_Horse_Game_Check/z_en_horse_game_check.c
index 155227b1f..25683388a 100644
--- a/src/overlays/actors/ovl_En_Horse_Game_Check/z_en_horse_game_check.c
+++ b/src/overlays/actors/ovl_En_Horse_Game_Check/z_en_horse_game_check.c
@@ -20,7 +20,7 @@
#define INGORACE_SET_TIMER (1 << 1)
#define INGORACE_INGO_MOVE (1 << 2)
-typedef enum {
+typedef enum HorseGameIngoRaceResult {
/* 0 */ INGORACE_NO_RESULT,
/* 1 */ INGORACE_PLAYER_WIN,
/* 2 */ INGORACE_INGO_WIN,
@@ -35,7 +35,7 @@ typedef enum {
#define MALONRACE_PLAYER_START (1 << 5)
#define MALONRACE_PLAYER_ON_MARK (1 << 6)
-typedef enum {
+typedef enum HorseGameMalonRaceResult {
/* 0 */ MALONRACE_NO_RESULT,
/* 1 */ MALONRACE_SUCCESS,
/* 2 */ MALONRACE_TIME_UP,
diff --git a/src/overlays/actors/ovl_En_Horse_Game_Check/z_en_horse_game_check.h b/src/overlays/actors/ovl_En_Horse_Game_Check/z_en_horse_game_check.h
index 2ef1d2b9a..96834860e 100644
--- a/src/overlays/actors/ovl_En_Horse_Game_Check/z_en_horse_game_check.h
+++ b/src/overlays/actors/ovl_En_Horse_Game_Check/z_en_horse_game_check.h
@@ -54,7 +54,7 @@ typedef union EnHorseGameCheck {
EnHorseGameCheckMalonRace malon;
} EnHorseGameCheck; // size = 0x01A4
-typedef enum {
+typedef enum EnHorseGameCheckType {
/* 0 */ HORSEGAME_NONE,
/* 1 */ HORSEGAME_INGO_RACE,
/* 2 */ HORSEGAME_GERUDO_ARCHERY,
diff --git a/src/overlays/actors/ovl_En_Horse_Ganon/z_en_horse_ganon.c b/src/overlays/actors/ovl_En_Horse_Ganon/z_en_horse_ganon.c
index 49c366142..a02efe934 100644
--- a/src/overlays/actors/ovl_En_Horse_Ganon/z_en_horse_ganon.c
+++ b/src/overlays/actors/ovl_En_Horse_Ganon/z_en_horse_ganon.c
@@ -9,7 +9,7 @@
#define FLAGS ACTOR_FLAG_4
-typedef struct {
+typedef struct unk_D_80A69248 {
/* 0x0 */ Vec3s unk_0;
/* 0x6 */ u8 unk_6;
} unk_D_80A69248; // size = 0x8
diff --git a/src/overlays/actors/ovl_En_Horse_Normal/z_en_horse_normal.c b/src/overlays/actors/ovl_En_Horse_Normal/z_en_horse_normal.c
index 2ba604eba..31b20a59a 100644
--- a/src/overlays/actors/ovl_En_Horse_Normal/z_en_horse_normal.c
+++ b/src/overlays/actors/ovl_En_Horse_Normal/z_en_horse_normal.c
@@ -10,17 +10,17 @@
#define FLAGS 0
-typedef struct {
+typedef struct EnHorseNormalUnkStruct1 {
Vec3s pos;
u8 unk_06; // this may be a s16 if the always-0 following byte is actually not padding
} EnHorseNormalUnkStruct1;
-typedef struct {
+typedef struct EnHorseNormalUnkStruct2 {
s32 len;
EnHorseNormalUnkStruct1* items;
} EnHorseNormalUnkStruct2;
-typedef enum {
+typedef enum EnHorseNormalAction {
/* 0x00 */ HORSE_CYCLE_ANIMATIONS,
/* 0x01 */ HORSE_WANDER,
/* 0x02 */ HORSE_WAIT,
diff --git a/src/overlays/actors/ovl_En_Horse_Zelda/z_en_horse_zelda.c b/src/overlays/actors/ovl_En_Horse_Zelda/z_en_horse_zelda.c
index 09ffab69b..acfa90aa6 100644
--- a/src/overlays/actors/ovl_En_Horse_Zelda/z_en_horse_zelda.c
+++ b/src/overlays/actors/ovl_En_Horse_Zelda/z_en_horse_zelda.c
@@ -82,7 +82,7 @@ static ColliderJntSphInit sJntSphInit = {
static CollisionCheckInfoInit sColChkInfoInit = { 10, 35, 100, MASS_HEAVY };
-typedef struct {
+typedef struct HorsePosSpeed {
/* 0x0 */ Vec3s pos;
/* 0x6 */ u8 speedXZ;
} HorsePosSpeed; // size = 0x8
diff --git a/src/overlays/actors/ovl_En_Hy/z_en_hy.c b/src/overlays/actors/ovl_En_Hy/z_en_hy.c
index 6b9cd5b1d..ea4fa04c4 100644
--- a/src/overlays/actors/ovl_En_Hy/z_en_hy.c
+++ b/src/overlays/actors/ovl_En_Hy/z_en_hy.c
@@ -74,13 +74,13 @@ static void* sEyeTexturesBJI13[] = { object_bji_Tex_0005FC, object_bji_Tex_0009F
static void* sEyeTexturesBOJ2[] = { object_boj_Tex_0005FC, object_boj_Tex_0006FC, object_boj_Tex_0007FC, NULL };
static void* sEyeTexturesBOB[] = { object_bob_Tex_0007C8, object_bob_Tex_000FC8, object_bob_Tex_0017C8, NULL };
-typedef struct {
+typedef struct EnHyHeadInfo {
/* 0x00 */ s16 objectId;
/* 0x04 */ Gfx* headDList;
/* 0x08 */ void** eyeTextures;
} EnHyHeadInfo; // size = 0xC
-typedef enum {
+typedef enum EnHyHeadIndex {
/* 0 */ ENHY_HEAD_AOB,
/* 1 */ ENHY_HEAD_BOB,
/* 2 */ ENHY_HEAD_BOJ_2,
@@ -118,12 +118,12 @@ static EnHyHeadInfo sHeadInfo[] = {
/* ENHY_HEAD_COB */ { OBJECT_COB, object_cob_DL_001300, NULL },
};
-typedef struct {
+typedef struct EnHySkeletonInfo {
/* 0x00 */ s16 objectId;
/* 0x04 */ FlexSkeletonHeader* skeleton;
} EnHySkeletonInfo; // size = 0x8
-typedef enum {
+typedef enum EnHySkeletonIndex {
/* 0 */ ENHY_SKEL_AOB,
/* 1 */ ENHY_SKEL_BOB,
/* 2 */ ENHY_SKEL_BOJ,
@@ -145,7 +145,7 @@ static EnHySkeletonInfo sSkeletonInfo[] = {
/* ENHY_SKEL_COB */ { OBJECT_COB, &object_cob_Skel_0021F8 },
};
-typedef enum {
+typedef enum EnHyAnimationIndex {
/* 0 */ ENHY_ANIM_0,
/* 1 */ ENHY_ANIM_1,
/* 2 */ ENHY_ANIM_2,
@@ -205,7 +205,7 @@ static AnimationInfo sAnimationInfo[] = {
/* ENHY_ANIM_26 */ { &gObjOsAnim_0BFC, 1.0f, 0.0f, -1.0f, 0x00, -8.0f },
};
-typedef struct {
+typedef struct EnHyModelInfo {
/* 0x00 */ u8 headInfoIndex; // EnHyHeadIndex
/* 0x01 */ u8 skelInfoIndex2; // EnHySkeletonIndex, see EnHy.objectSlotSkel2
/* 0x02 */ Color_RGBA8 envColorSeg8;
@@ -259,7 +259,7 @@ static EnHyModelInfo sModelInfo[] = {
{ ENHY_HEAD_AHG_9, ENHY_SKEL_AHG, { 160, 230, 0, 0 }, ENHY_SKEL_AHG, { 0, 150, 110, 0 }, ENHY_ANIM_12 },
};
-typedef struct {
+typedef struct EnHyColliderInfo {
/* 0x00 */ Vec3s offset;
/* 0x06 */ s16 radius;
/* 0x08 */ s16 height;
@@ -289,7 +289,7 @@ static EnHyColliderInfo sColliderInfo[] = {
/* ENHY_TYPE_AHG_20 */ { { 0, 0, 8 }, 20, 58 },
};
-typedef struct {
+typedef struct EnHyPlayerTrackingInfo {
/* 0x00 */ u8 presetIndex;
/* 0x04 */ f32 childYOffset;
/* 0x08 */ f32 adultYOffset;
@@ -319,7 +319,7 @@ static EnHyPlayerTrackingInfo sPlayerTrackingInfo[] = {
/* ENHY_TYPE_AHG_20 */ { 0x0A, 20.0f, 0.0f },
};
-typedef struct {
+typedef struct EnHyInit2Info {
/* 0x00 */ f32 shadowScale;
/* 0x04 */ Vec3f modelOffset;
/* 0x10 */ f32 scale;
diff --git a/src/overlays/actors/ovl_En_Hy/z_en_hy.h b/src/overlays/actors/ovl_En_Hy/z_en_hy.h
index 760ed9dfe..c8e28bdd4 100644
--- a/src/overlays/actors/ovl_En_Hy/z_en_hy.h
+++ b/src/overlays/actors/ovl_En_Hy/z_en_hy.h
@@ -4,7 +4,7 @@
#include "ultra64.h"
#include "global.h"
-typedef enum {
+typedef enum EnHyType {
/* 0 */ ENHY_TYPE_AOB,
/* 1 */ ENHY_TYPE_COB,
/* 2 */ ENHY_TYPE_AHG_2,
diff --git a/src/overlays/actors/ovl_En_Ik/z_en_ik.c b/src/overlays/actors/ovl_En_Ik/z_en_ik.c
index 7357a5d1a..307ff6849 100644
--- a/src/overlays/actors/ovl_En_Ik/z_en_ik.c
+++ b/src/overlays/actors/ovl_En_Ik/z_en_ik.c
@@ -15,7 +15,7 @@ typedef void (*EnIkDrawFunc)(struct EnIk*, PlayState*);
#define ARMOR_BROKEN (1 << 0)
-typedef enum {
+typedef enum EnIkCsAction {
/* 0x00 */ IK_CS_ACTION_0,
/* 0x01 */ IK_CS_ACTION_1,
/* 0x02 */ IK_CS_ACTION_2,
@@ -24,13 +24,13 @@ typedef enum {
/* 0x05 */ IK_CS_ACTION_5
} EnIkCsAction;
-typedef enum {
+typedef enum EnIkCsDrawMode {
/* 0x00 */ IK_CS_DRAW_NOTHING,
/* 0x01 */ IK_CS_DRAW_INTRO,
/* 0x02 */ IK_CS_DRAW_DEFEAT
} EnIkCsDrawMode;
-typedef enum {
+typedef enum EnIkDamageEffect {
/* 0x0 */ EN_IK_DMGEFF_NONE,
/* 0x6 */ EN_IK_DMGEFF_ELEMENTAL_MAGIC = 0x6,
/* 0xD */ EN_IK_DMGEFF_SPARKS_NO_DMG = 0xD,
diff --git a/src/overlays/actors/ovl_En_Ik/z_en_ik.h b/src/overlays/actors/ovl_En_Ik/z_en_ik.h
index efdb9f02d..7f94019c2 100644
--- a/src/overlays/actors/ovl_En_Ik/z_en_ik.h
+++ b/src/overlays/actors/ovl_En_Ik/z_en_ik.h
@@ -12,14 +12,14 @@ typedef void (*EnIkActionFunc)(struct EnIk*, PlayState*);
#define IK_GET_ARMOR_TYPE(thisx) ((thisx)->params & 0xFF)
#define IK_GET_SWITCH_FLAG(thisx) (((thisx)->params >> 8) & 0xFF)
-typedef enum {
+typedef enum EnIkType {
/* 0 */ IK_TYPE_NABOORU,
/* 1 */ IK_TYPE_SILVER,
/* 2 */ IK_TYPE_BLACK,
/* 3 */ IK_TYPE_WHITE
} EnIkType;
-typedef enum {
+typedef enum IronKnuckleLimb {
/* 0x00 */ IRON_KNUCKLE_LIMB_NONE,
/* 0x01 */ IRON_KNUCKLE_LIMB_ROOT,
/* 0x02 */ IRON_KNUCKLE_LIMB_LOWER_BODY,
@@ -55,7 +55,7 @@ typedef enum {
// This skeleton is only used in the defeat cutscene that reveals Nabooru under the armor.
// The only difference between this skeleton and the main one is that the head and helmet armor limbs are swapped.
-typedef enum {
+typedef enum IronKnuckleDefeatLimb {
/* 0x00 */ IRON_KNUCKLE_DEFEAT_LIMB_NONE,
/* 0x01 */ IRON_KNUCKLE_DEFEAT_LIMB_ROOT,
/* 0x02 */ IRON_KNUCKLE_DEFEAT_LIMB_LOWER_BODY,
diff --git a/src/overlays/actors/ovl_En_In/z_en_in.c b/src/overlays/actors/ovl_En_In/z_en_in.c
index 20e87a210..6e17f2c92 100644
--- a/src/overlays/actors/ovl_En_In/z_en_in.c
+++ b/src/overlays/actors/ovl_En_In/z_en_in.c
@@ -58,7 +58,7 @@ static ColliderCylinderInit sCylinderInit = {
static CollisionCheckInfoInit2 sColChkInfoInit = { 0, 0, 0, 0, MASS_IMMOVABLE };
-typedef enum {
+typedef enum EnInAnimation {
/* 0 */ ENIN_ANIM_0,
/* 1 */ ENIN_ANIM_1,
/* 2 */ ENIN_ANIM_2,
diff --git a/src/overlays/actors/ovl_En_In/z_en_in.h b/src/overlays/actors/ovl_En_In/z_en_in.h
index 57baa280d..84b5db8ba 100644
--- a/src/overlays/actors/ovl_En_In/z_en_in.h
+++ b/src/overlays/actors/ovl_En_In/z_en_in.h
@@ -8,7 +8,7 @@ struct EnIn;
typedef void (*EnInActionFunc)(struct EnIn*, PlayState*);
-typedef enum {
+typedef enum IngoLimb {
/* 0x00 */ INGO_LIMB_NONE,
/* 0x01 */ INGO_LIMB_ROOT,
/* 0x02 */ INGO_LEFT_THIGH_LIMB,
diff --git a/src/overlays/actors/ovl_En_Insect/z_en_insect.h b/src/overlays/actors/ovl_En_Insect/z_en_insect.h
index 2e1931bee..6ed7b9586 100644
--- a/src/overlays/actors/ovl_En_Insect/z_en_insect.h
+++ b/src/overlays/actors/ovl_En_Insect/z_en_insect.h
@@ -39,7 +39,7 @@ typedef struct EnInsect {
/* 0x032A */ u8 unk_32A;
} EnInsect; // size = 0x032C
-typedef enum {
+typedef enum EnInsectType {
/* 0 */ INSECT_TYPE_PERMANENT,
/* 1 */ INSECT_TYPE_SPAWNED,
/* 2 */ INSECT_TYPE_FIRST_DROPPED,
diff --git a/src/overlays/actors/ovl_En_Ishi/z_en_ishi.h b/src/overlays/actors/ovl_En_Ishi/z_en_ishi.h
index 3ce7c72bf..08d503820 100644
--- a/src/overlays/actors/ovl_En_Ishi/z_en_ishi.h
+++ b/src/overlays/actors/ovl_En_Ishi/z_en_ishi.h
@@ -4,7 +4,7 @@
#include "ultra64.h"
#include "global.h"
-typedef enum {
+typedef enum EnIshiType {
/* 0x00 */ ROCK_SMALL,
/* 0x01 */ ROCK_LARGE
} EnIshiType;
diff --git a/src/overlays/actors/ovl_En_Jj/z_en_jj.c b/src/overlays/actors/ovl_En_Jj/z_en_jj.c
index eaf47d8f9..02ed7fa2b 100644
--- a/src/overlays/actors/ovl_En_Jj/z_en_jj.c
+++ b/src/overlays/actors/ovl_En_Jj/z_en_jj.c
@@ -10,7 +10,7 @@
#define FLAGS (ACTOR_FLAG_4 | ACTOR_FLAG_5)
-typedef enum {
+typedef enum EnJjEyeState {
/* 0 */ JABUJABU_EYE_OPEN,
/* 1 */ JABUJABU_EYE_HALF,
/* 2 */ JABUJABU_EYE_CLOSED,
diff --git a/src/overlays/actors/ovl_En_Jj/z_en_jj.h b/src/overlays/actors/ovl_En_Jj/z_en_jj.h
index 3d5a9dc15..c5d624120 100644
--- a/src/overlays/actors/ovl_En_Jj/z_en_jj.h
+++ b/src/overlays/actors/ovl_En_Jj/z_en_jj.h
@@ -26,7 +26,7 @@ typedef struct EnJj {
/* 0x0311 */ u8 extraBlinkTotal;
} EnJj; // size = 0x0314
-typedef enum {
+typedef enum EnJjType {
/* -1 */ JABUJABU_MAIN = -1, // Head, drawn body, handles updating
/* 0 */ JABUJABU_COLLISION, // Static collision for body
/* 1 */ JABUJABU_UNUSED_COLLISION // Shaped like a screen
diff --git a/src/overlays/actors/ovl_En_Jsjutan/z_en_jsjutan.h b/src/overlays/actors/ovl_En_Jsjutan/z_en_jsjutan.h
index f9d85b6d0..63a694bad 100644
--- a/src/overlays/actors/ovl_En_Jsjutan/z_en_jsjutan.h
+++ b/src/overlays/actors/ovl_En_Jsjutan/z_en_jsjutan.h
@@ -16,7 +16,7 @@ typedef struct EnJsjutan {
/* 0x0175 */ u8 unk_175; // setup flag?
} EnJsjutan; // size = 0x0178
-typedef enum {
+typedef enum EnJsjutanType {
/* 0 */ ENJSJUTAN_TYPE_00,
/* 1 */ ENJSJUTAN_TYPE_01
} EnJsjutanType;
diff --git a/src/overlays/actors/ovl_En_Kanban/z_en_kanban.c b/src/overlays/actors/ovl_En_Kanban/z_en_kanban.c
index 0ca298c45..ea2e47d9e 100644
--- a/src/overlays/actors/ovl_En_Kanban/z_en_kanban.c
+++ b/src/overlays/actors/ovl_En_Kanban/z_en_kanban.c
@@ -29,7 +29,7 @@
#define UPPERRIGHT_HALF (PART_POST_UPPER | PART_UPPER_RIGHT | PART_RIGHT_UPPER | PART_UPPER_LEFT | PART_RIGHT_LOWER)
#define ALL_PARTS (LEFT_HALF | RIGHT_HALF | PART_POST_UPPER | PART_POST_LOWER)
-typedef enum {
+typedef enum EnKanbanActionState {
ENKANBAN_SIGN,
ENKANBAN_AIR,
ENKANBAN_UNUSED,
@@ -38,7 +38,7 @@ typedef enum {
ENKANBAN_REPAIR
} EnKanbanActionState;
-typedef enum {
+typedef enum EnKanbanPiece {
PIECE_WHOLE_SIGN,
PIECE_UPPER_HALF,
PIECE_LOWER_HALF,
@@ -61,7 +61,7 @@ typedef enum {
PIECE_OTHER = 100
} EnKanbanPiece;
-typedef enum {
+typedef enum EnKanbanCutType {
CUT_POST,
CUT_VERT_L,
CUT_HORIZ,
diff --git a/src/overlays/actors/ovl_En_Ko/z_en_ko.c b/src/overlays/actors/ovl_En_Ko/z_en_ko.c
index 9c820fe17..39509d41a 100644
--- a/src/overlays/actors/ovl_En_Ko/z_en_ko.c
+++ b/src/overlays/actors/ovl_En_Ko/z_en_ko.c
@@ -67,7 +67,7 @@ static CollisionCheckInfoInit2 sColChkInfoInit = { 0, 0, 0, 0, MASS_IMMOVABLE };
static void* sFaEyes[] = { gFaEyeOpenTex, gFaEyeHalfTex, gFaEyeClosedTex, NULL };
static void* sKw1Eyes[] = { gKw1EyeOpenTex, gKw1EyeHalfTex, gKw1EyeClosedTex, NULL };
-typedef struct {
+typedef struct EnKoHead {
/* 0x0 */ s16 objectId;
/* 0x4 */ Gfx* dList;
/* 0x8 */ void** eyeTextures;
@@ -79,7 +79,7 @@ static EnKoHead sHead[] = {
{ OBJECT_FA, gFaDL, sFaEyes },
};
-typedef struct {
+typedef struct EnKoSkeleton {
/* 0x0 */ s16 objectId;
/* 0x4 */ FlexSkeletonHeader* flexSkeletonHeader;
} EnKoSkeleton; // size = 0x8
@@ -89,7 +89,7 @@ static EnKoSkeleton sSkeleton[2] = {
{ OBJECT_KW1, &gKw1Skel },
};
-typedef enum {
+typedef enum EnKoAnimation {
/* 0 */ ENKO_ANIM_BLOCKING_NOMORPH,
/* 1 */ ENKO_ANIM_BLOCKING_NOMORPH_STATIC,
/* 2 */ ENKO_ANIM_STANDUP_1,
@@ -202,7 +202,7 @@ static u8 sOsAnimeLookup[13][5] = {
ENKO_ANIM_IDLE_NOMORPH },
};
-typedef struct {
+typedef struct EnKoModelInfo {
/* 0x0 */ u8 headId;
/* 0x1 */ u8 bodyId;
/* 0x4 */ Color_RGBA8 tunicColor;
@@ -210,7 +210,7 @@ typedef struct {
/* 0xC */ Color_RGBA8 bootsColor;
} EnKoModelInfo; // size = 0x10
-typedef enum {
+typedef enum KokiriGender {
/* 0 */ KO_BOY,
/* 1 */ KO_GIRL,
/* 2 */ KO_FADO
@@ -232,7 +232,7 @@ static EnKoModelInfo sModelInfo[] = {
/* ENKO_TYPE_CHILD_FADO */ { KO_FADO, KO_GIRL, { 70, 190, 60, 255 }, KO_GIRL, { 100, 30, 0, 255 } },
};
-typedef struct {
+typedef struct EnKoInteractInfo {
/* 0x0 */ s8 targetMode;
/* 0x4 */ f32 lookDist; // extended by collider radius
/* 0x8 */ f32 appearDist;
diff --git a/src/overlays/actors/ovl_En_Ko/z_en_ko.h b/src/overlays/actors/ovl_En_Ko/z_en_ko.h
index a33ac3e38..08aff76f1 100644
--- a/src/overlays/actors/ovl_En_Ko/z_en_ko.h
+++ b/src/overlays/actors/ovl_En_Ko/z_en_ko.h
@@ -32,7 +32,7 @@ typedef struct EnKo {
/* 0x0304 */ s16 unk_304[16];
} EnKo; // size = 0x0324
-typedef enum {
+typedef enum KokiriChildren {
ENKO_TYPE_CHILD_0,
ENKO_TYPE_CHILD_1,
ENKO_TYPE_CHILD_2,
@@ -49,7 +49,7 @@ typedef enum {
ENKO_TYPE_CHILD_MAX
} KokiriChildren;
-typedef enum {
+typedef enum KokiriForestQuestState {
ENKO_FQS_CHILD_START,
ENKO_FQS_CHILD_STONE,
ENKO_FQS_CHILD_SARIA,
diff --git a/src/overlays/actors/ovl_En_Kusa/z_en_kusa.h b/src/overlays/actors/ovl_En_Kusa/z_en_kusa.h
index 8c8423223..4a895fe15 100644
--- a/src/overlays/actors/ovl_En_Kusa/z_en_kusa.h
+++ b/src/overlays/actors/ovl_En_Kusa/z_en_kusa.h
@@ -8,7 +8,7 @@ struct EnKusa;
typedef void (*EnKusaActionFunc)(struct EnKusa*, PlayState*);
-typedef enum {
+typedef enum EnKusaType {
/* 0 */ ENKUSA_TYPE_0,
/* 1 */ ENKUSA_TYPE_1,
/* 2 */ ENKUSA_TYPE_2
diff --git a/src/overlays/actors/ovl_En_Kz/z_en_kz.c b/src/overlays/actors/ovl_En_Kz/z_en_kz.c
index 6aaab9955..e2e0fd0ef 100644
--- a/src/overlays/actors/ovl_En_Kz/z_en_kz.c
+++ b/src/overlays/actors/ovl_En_Kz/z_en_kz.c
@@ -56,7 +56,7 @@ static ColliderCylinderInit sCylinderInit = {
static CollisionCheckInfoInit2 sColChkInfoInit = { 0, 0, 0, 0, MASS_IMMOVABLE };
-typedef enum {
+typedef enum EnKzAnimation {
/* 0 */ ENKZ_ANIM_0,
/* 1 */ ENKZ_ANIM_1,
/* 2 */ ENKZ_ANIM_2
diff --git a/src/overlays/actors/ovl_En_Light/z_en_light.c b/src/overlays/actors/ovl_En_Light/z_en_light.c
index f235d0fcd..7f867e603 100644
--- a/src/overlays/actors/ovl_En_Light/z_en_light.c
+++ b/src/overlays/actors/ovl_En_Light/z_en_light.c
@@ -28,7 +28,7 @@ ActorProfile En_Light_Profile = {
/**/ EnLight_Draw,
};
-typedef struct {
+typedef struct FlameParams {
/* 0x00 */ Color_RGBA8 primColor;
/* 0x04 */ Color_RGB8 envColor;
/* 0x07 */ u8 scale;
diff --git a/src/overlays/actors/ovl_En_Ma1/z_en_ma1.c b/src/overlays/actors/ovl_En_Ma1/z_en_ma1.c
index 0206c09dd..f3037e058 100644
--- a/src/overlays/actors/ovl_En_Ma1/z_en_ma1.c
+++ b/src/overlays/actors/ovl_En_Ma1/z_en_ma1.c
@@ -57,7 +57,7 @@ static ColliderCylinderInit sCylinderInit = {
static CollisionCheckInfoInit2 sColChkInfoInit = { 0, 0, 0, 0, MASS_IMMOVABLE };
-typedef enum {
+typedef enum EnMa1Animation {
/* 0 */ MALON_ANIM_IDLE_NOMORPH,
/* 1 */ MALON_ANIM_IDLE,
/* 2 */ MALON_ANIM_SING_NOMORPH,
diff --git a/src/overlays/actors/ovl_En_Ma2/z_en_ma2.c b/src/overlays/actors/ovl_En_Ma2/z_en_ma2.c
index 6b727f28f..eca08b722 100644
--- a/src/overlays/actors/ovl_En_Ma2/z_en_ma2.c
+++ b/src/overlays/actors/ovl_En_Ma2/z_en_ma2.c
@@ -51,7 +51,7 @@ static ColliderCylinderInit sCylinderInit = {
static CollisionCheckInfoInit2 sColChkInfoInit = { 0, 0, 0, 0, MASS_IMMOVABLE };
-typedef enum {
+typedef enum EnMa2Animation {
/* 0 */ ENMA2_ANIM_0,
/* 1 */ ENMA2_ANIM_1,
/* 2 */ ENMA2_ANIM_2,
diff --git a/src/overlays/actors/ovl_En_Ma2/z_en_ma2.h b/src/overlays/actors/ovl_En_Ma2/z_en_ma2.h
index b207e8e7c..390c61da2 100644
--- a/src/overlays/actors/ovl_En_Ma2/z_en_ma2.h
+++ b/src/overlays/actors/ovl_En_Ma2/z_en_ma2.h
@@ -8,7 +8,7 @@ struct EnMa2;
typedef void (*EnMa2ActionFunc)(struct EnMa2*, PlayState*);
-typedef enum {
+typedef enum AdultMalonLimb {
/* 0x00 */ MALON_ADULT_LIMB_NONE,
/* 0x01 */ MALON_ADULT_ROOT_LIMB,
/* 0x02 */ MALON_ADULT_LOWER_CONTROL_LIMB,
diff --git a/src/overlays/actors/ovl_En_Ma3/z_en_ma3.c b/src/overlays/actors/ovl_En_Ma3/z_en_ma3.c
index 3feb7cc33..c65dba93a 100644
--- a/src/overlays/actors/ovl_En_Ma3/z_en_ma3.c
+++ b/src/overlays/actors/ovl_En_Ma3/z_en_ma3.c
@@ -54,7 +54,7 @@ static ColliderCylinderInit sCylinderInit = {
static CollisionCheckInfoInit2 sColChkInfoInit = { 0, 0, 0, 0, MASS_IMMOVABLE };
-typedef enum {
+typedef enum EnMa3Animation {
/* 0 */ ENMA3_ANIM_0,
/* 1 */ ENMA3_ANIM_1,
/* 2 */ ENMA3_ANIM_2,
diff --git a/src/overlays/actors/ovl_En_Ma3/z_en_ma3.h b/src/overlays/actors/ovl_En_Ma3/z_en_ma3.h
index 3edf65f09..2b9dea812 100644
--- a/src/overlays/actors/ovl_En_Ma3/z_en_ma3.h
+++ b/src/overlays/actors/ovl_En_Ma3/z_en_ma3.h
@@ -8,7 +8,7 @@ struct EnMa3;
typedef void (*EnMa3ActionFunc)(struct EnMa3*, PlayState*);
-typedef enum {
+typedef enum AdultMalonLimb {
/* 0x00 */ MALON_ADULT_LIMB_NONE,
/* 0x01 */ MALON_ADULT_LIMB_ROOT,
/* 0x02 */ MALON_ADULT_LIMB_LOWER_CONTROL,
diff --git a/src/overlays/actors/ovl_En_Mag/z_en_mag.h b/src/overlays/actors/ovl_En_Mag/z_en_mag.h
index a9f1b9d14..e7c516c62 100644
--- a/src/overlays/actors/ovl_En_Mag/z_en_mag.h
+++ b/src/overlays/actors/ovl_En_Mag/z_en_mag.h
@@ -32,7 +32,7 @@ typedef struct EnMag {
/* 0xE324 */ char unk_E324[0x0004];
} EnMag; // size = 0xE328
-typedef enum {
+typedef enum EnMagGlobalState {
/* 0x00 */ MAG_STATE_INITIAL,
/* 0x01 */ MAG_STATE_FADE_IN,
/* 0x02 */ MAG_STATE_DISPLAY,
diff --git a/src/overlays/actors/ovl_En_Mb/z_en_mb.c b/src/overlays/actors/ovl_En_Mb/z_en_mb.c
index 60c2cff72..6e3591533 100644
--- a/src/overlays/actors/ovl_En_Mb/z_en_mb.c
+++ b/src/overlays/actors/ovl_En_Mb/z_en_mb.c
@@ -16,7 +16,7 @@
#define FLAGS (ACTOR_FLAG_0 | ACTOR_FLAG_2 | ACTOR_FLAG_4)
-typedef enum {
+typedef enum EnMbType {
/* -1 */ ENMB_TYPE_SPEAR_GUARD = -1,
/* 0 */ ENMB_TYPE_CLUB,
/* 1 */ ENMB_TYPE_SPEAR_PATROL
@@ -29,7 +29,7 @@ typedef enum {
#define ENMB_ATTACK_CLUB_LEFT 3
/* Spear and Club moblins use a different skeleton but the limbs are organized the same */
-typedef enum {
+typedef enum EnMbLimb {
/* 1 */ ENMB_LIMB_ROOT = 1,
/* 3 */ ENMB_LIMB_WAIST = 3,
/* 6 */ ENMB_LIMB_CHEST = 6,
@@ -167,7 +167,7 @@ static ColliderQuadInit sAttackColliderInit = {
{ { { 0.0f, 0.0f, 0.0f }, { 0.0f, 0.0f, 0.0f }, { 0.0f, 0.0f, 0.0f }, { 0.0f, 0.0f, 0.0f } } },
};
-typedef enum {
+typedef enum EnMbDamageEffect {
/* 0x0 */ ENMB_DMGEFF_IGNORE,
/* 0x1 */ ENMB_DMGEFF_STUN,
/* 0x5 */ ENMB_DMGEFF_FREEZE = 0x5,
diff --git a/src/overlays/actors/ovl_En_Mb/z_en_mb.h b/src/overlays/actors/ovl_En_Mb/z_en_mb.h
index 6ce94942d..66afb9eeb 100644
--- a/src/overlays/actors/ovl_En_Mb/z_en_mb.h
+++ b/src/overlays/actors/ovl_En_Mb/z_en_mb.h
@@ -8,7 +8,7 @@ struct EnMb;
typedef void (*EnMbActionFunc)(struct EnMb*, PlayState*);
-typedef enum {
+typedef enum EnMbState {
/* 0 */ ENMB_STATE_SPEAR_SPEARPATH_DAMAGED,
/* 1 */ ENMB_STATE_CLUB_DEAD,
/* 2 */ ENMB_STATE_CLUB_KNEELING_DAMAGED,
diff --git a/src/overlays/actors/ovl_En_Md/z_en_md.c b/src/overlays/actors/ovl_En_Md/z_en_md.c
index 631a58af0..833971a3e 100644
--- a/src/overlays/actors/ovl_En_Md/z_en_md.c
+++ b/src/overlays/actors/ovl_En_Md/z_en_md.c
@@ -55,7 +55,7 @@ static ColliderCylinderInit sCylinderInit = {
static CollisionCheckInfoInit2 sColChkInfoInit = { 0, 0, 0, 0, MASS_IMMOVABLE };
-typedef enum {
+typedef enum EnMdAnimation {
/* 0 */ ENMD_ANIM_0,
/* 1 */ ENMD_ANIM_1,
/* 2 */ ENMD_ANIM_2,
diff --git a/src/overlays/actors/ovl_En_Md/z_en_md.h b/src/overlays/actors/ovl_En_Md/z_en_md.h
index d3075a821..57b693a39 100644
--- a/src/overlays/actors/ovl_En_Md/z_en_md.h
+++ b/src/overlays/actors/ovl_En_Md/z_en_md.h
@@ -6,7 +6,7 @@
struct EnMd;
-typedef enum {
+typedef enum EnMdLimb {
ENMD_LIMB_NONE,
ENMD_LIMB_ROOT,
ENMD_LIMB_WAIST,
diff --git a/src/overlays/actors/ovl_En_Mm/z_en_mm.c b/src/overlays/actors/ovl_En_Mm/z_en_mm.c
index 48771d549..59b950d1c 100644
--- a/src/overlays/actors/ovl_En_Mm/z_en_mm.c
+++ b/src/overlays/actors/ovl_En_Mm/z_en_mm.c
@@ -10,7 +10,7 @@
#define FLAGS (ACTOR_FLAG_0 | ACTOR_FLAG_3 | ACTOR_FLAG_4)
-typedef enum {
+typedef enum RunningManAnimIndex {
/* 0 */ RM_ANIM_RUN,
/* 1 */ RM_ANIM_SIT,
/* 2 */ RM_ANIM_SIT_WAIT,
@@ -20,7 +20,7 @@ typedef enum {
/* 6 */ RM_ANIM_HAPPY // plays when you sell him the bunny hood
} RunningManAnimIndex;
-typedef enum {
+typedef enum RunningManMouthTex {
/* 0 */ RM_MOUTH_CLOSED,
/* 1 */ RM_MOUTH_OPEN
} RunningManMouthTex;
@@ -115,7 +115,7 @@ static AnimationSpeedInfo sAnimationInfo[] = {
{ &gRunningManHappyAnim, 1.0f, ANIMMODE_LOOP, -12.0f },
};
-typedef struct {
+typedef struct EnMmPathInfo {
/* 0x00 */ s32 unk_00;
/* 0x04 */ s32 unk_04;
/* 0x08 */ s32 unk_08;
diff --git a/src/overlays/actors/ovl_En_Mm2/z_en_mm2.c b/src/overlays/actors/ovl_En_Mm2/z_en_mm2.c
index 43df398a8..9d59e93d0 100644
--- a/src/overlays/actors/ovl_En_Mm2/z_en_mm2.c
+++ b/src/overlays/actors/ovl_En_Mm2/z_en_mm2.c
@@ -10,7 +10,7 @@
#define FLAGS (ACTOR_FLAG_0 | ACTOR_FLAG_3 | ACTOR_FLAG_4)
-typedef enum {
+typedef enum RunningManAnimIndex {
/* 0 */ RM2_ANIM_RUN,
/* 1 */ RM2_ANIM_SIT,
/* 2 */ RM2_ANIM_SIT_WAIT,
@@ -20,7 +20,7 @@ typedef enum {
/* 6 */ RM2_ANIM_HAPPY // plays when you sell him the bunny hood
} RunningManAnimIndex;
-typedef enum {
+typedef enum RunningManMouthTex {
/* 0 */ RM2_MOUTH_CLOSED,
/* 1 */ RM2_MOUTH_OPEN
} RunningManMouthTex;
diff --git a/src/overlays/actors/ovl_En_Nb/z_en_nb.c b/src/overlays/actors/ovl_En_Nb/z_en_nb.c
index 04883b3fc..20f6c3416 100644
--- a/src/overlays/actors/ovl_En_Nb/z_en_nb.c
+++ b/src/overlays/actors/ovl_En_Nb/z_en_nb.c
@@ -11,7 +11,7 @@
#define FLAGS ACTOR_FLAG_4
-typedef enum {
+typedef enum EnNbAction {
/* 0x00 */ NB_CHAMBER_INIT,
/* 0x01 */ NB_CHAMBER_UNDERGROUND,
/* 0x02 */ NB_CHAMBER_APPEAR,
@@ -45,7 +45,7 @@ typedef enum {
/* 0x1E */ NB_ACTION_30
} EnNbAction;
-typedef enum {
+typedef enum EnNbDrawMode {
/* 0x00 */ NB_DRAW_NOTHING,
/* 0x01 */ NB_DRAW_DEFAULT,
/* 0x02 */ NB_DRAW_HIDE,
diff --git a/src/overlays/actors/ovl_En_Nb/z_en_nb.h b/src/overlays/actors/ovl_En_Nb/z_en_nb.h
index 89429df6b..997af0f57 100644
--- a/src/overlays/actors/ovl_En_Nb/z_en_nb.h
+++ b/src/overlays/actors/ovl_En_Nb/z_en_nb.h
@@ -6,7 +6,7 @@
struct EnNb;
-typedef enum {
+typedef enum EnNbLimb {
/* 0x00 */ NB_LIMB_NONE,
/* 0x01 */ NB_LIMB_ROOT,
/* 0x02 */ NB_LIMB_L_THIGH,
@@ -55,7 +55,7 @@ typedef struct EnNb {
/* 0x0300 */ NpcInteractInfo interactInfo;
} EnNb; // size = 0x0328
-typedef enum {
+typedef enum EnNbType {
/* 0x02 */ NB_TYPE_DEMO02 = 2,
/* 0x03 */ NB_TYPE_KIDNAPPED,
/* 0x04 */ NB_TYPE_KNUCKLE,
diff --git a/src/overlays/actors/ovl_En_Niw/z_en_niw.h b/src/overlays/actors/ovl_En_Niw/z_en_niw.h
index 5f1ab9c80..283b6a52c 100644
--- a/src/overlays/actors/ovl_En_Niw/z_en_niw.h
+++ b/src/overlays/actors/ovl_En_Niw/z_en_niw.h
@@ -8,7 +8,7 @@ struct EnNiw;
typedef void (*EnNiwActionFunc)(struct EnNiw*, PlayState*);
-typedef struct {
+typedef struct EnNiwEffect {
/* 0x0000 */ u8 type;
/* 0x0004 */ Vec3f pos;
/* 0x0010 */ Vec3f vel;
diff --git a/src/overlays/actors/ovl_En_Nutsball/z_en_nutsball.h b/src/overlays/actors/ovl_En_Nutsball/z_en_nutsball.h
index aaf85a657..00fe77a05 100644
--- a/src/overlays/actors/ovl_En_Nutsball/z_en_nutsball.h
+++ b/src/overlays/actors/ovl_En_Nutsball/z_en_nutsball.h
@@ -6,7 +6,7 @@
#define NUTSBALL_GET_TYPE(thisx) ((thisx)->params)
-typedef enum {
+typedef enum EnNutsballType {
/* 0 */ EN_NUTSBALL_TYPE_DEKUNUTS,
/* 1 */ EN_NUTSBALL_TYPE_HINTNUTS,
/* 2 */ EN_NUTSBALL_TYPE_SHOPNUTS,
diff --git a/src/overlays/actors/ovl_En_Nwc/z_en_nwc.c b/src/overlays/actors/ovl_En_Nwc/z_en_nwc.c
index 0a38ca95c..ff791ec98 100644
--- a/src/overlays/actors/ovl_En_Nwc/z_en_nwc.c
+++ b/src/overlays/actors/ovl_En_Nwc/z_en_nwc.c
@@ -25,7 +25,7 @@ void EnNwc_Idle(EnNwc* this, PlayState* play);
#define CHICK_BG_FLOOR (1 << 0)
#define CHICK_BG_WALL (1 << 1)
-typedef enum {
+typedef enum ChickTypes {
/* 0 */ CHICK_NONE,
/* 1 */ CHICK_NORMAL
} ChickTypes;
diff --git a/src/overlays/actors/ovl_En_Ossan/z_en_ossan.c b/src/overlays/actors/ovl_En_Ossan/z_en_ossan.c
index 5ec2091fa..9edfbe6a3 100644
--- a/src/overlays/actors/ovl_En_Ossan/z_en_ossan.c
+++ b/src/overlays/actors/ovl_En_Ossan/z_en_ossan.c
@@ -157,7 +157,7 @@ static char* sShopkeeperPrintName[] = {
};
#endif
-typedef struct {
+typedef struct ShopkeeperObjInfo {
/* 0x00 */ s16 objId;
/* 0x02 */ s16 unk_02;
/* 0x04 */ s16 unk_04;
@@ -188,7 +188,7 @@ static f32 sShopkeeperScale[] = {
0.01f, 0.011f, 0.0105f, 0.011f, 0.01f, 0.01f, 0.01f, 0.01f, 0.01f, 0.01f, 0.01f,
};
-typedef struct {
+typedef struct ShopItem {
/* 0x00 */ s16 shopItemIndex;
/* 0x02 */ s16 xOffset;
/* 0x04 */ s16 yOffset;
diff --git a/src/overlays/actors/ovl_En_Ossan/z_en_ossan.h b/src/overlays/actors/ovl_En_Ossan/z_en_ossan.h
index 236e47e86..c2101e9d9 100644
--- a/src/overlays/actors/ovl_En_Ossan/z_en_ossan.h
+++ b/src/overlays/actors/ovl_En_Ossan/z_en_ossan.h
@@ -14,7 +14,7 @@ typedef void (*EnOssanInitFunc)(struct EnOssan*, PlayState*);
typedef s16 (*EnOssanGetGirlAParamsFunc)(s16);
typedef void (*EnOssanStateFunc)(struct EnOssan*, PlayState*, Player*);
-typedef struct {
+typedef struct StickDirectionPrompt {
/* 0x00 */ u32 stickColorR;
/* 0x04 */ u32 stickColorG;
/* 0x08 */ u32 stickColorB;
@@ -83,7 +83,7 @@ typedef struct EnOssan {
/* 0x02D4 */ f32 cameraFaceAngle; // stored in degrees
} EnOssan; // size = 0x02D8
-typedef enum {
+typedef enum OssanType {
/* 00 */ OSSAN_TYPE_KOKIRI,
/* 01 */ OSSAN_TYPE_KAKARIKO_POTION,
/* 02 */ OSSAN_TYPE_BOMBCHUS,
@@ -97,7 +97,7 @@ typedef enum {
/* 10 */ OSSAN_TYPE_MASK
} OssanType;
-typedef enum {
+typedef enum EnOssanState {
/* 00 */ OSSAN_STATE_IDLE,
/* 01 */ OSSAN_STATE_START_CONVERSATION,
/* 02 */ OSSAN_STATE_FACING_SHOPKEEPER,
@@ -127,7 +127,7 @@ typedef enum {
/* 26 */ OSSAN_STATE_DISCOUNT_DIALOG // Hylian Shield Discount
} EnOssanState;
-typedef enum {
+typedef enum EnOssanHappyMaskState {
OSSAN_HAPPY_STATE_REQUEST_PAYMENT_KEATON_MASK,
OSSAN_HAPPY_STATE_REQUEST_PAYMENT_SPOOKY_MASK,
OSSAN_HAPPY_STATE_REQUEST_PAYMENT_SKULL_MASK,
diff --git a/src/overlays/actors/ovl_En_Owl/z_en_owl.c b/src/overlays/actors/ovl_En_Owl/z_en_owl.c
index df9101484..c4ebcbb6c 100644
--- a/src/overlays/actors/ovl_En_Owl/z_en_owl.c
+++ b/src/overlays/actors/ovl_En_Owl/z_en_owl.c
@@ -44,7 +44,7 @@ void func_80ACB680(EnOwl* this, PlayState* play);
void func_80ACC460(EnOwl* this);
void func_80ACBEA0(EnOwl*, PlayState*);
-typedef enum {
+typedef enum EnOwlType {
/* 0x00 */ OWL_DEFAULT,
/* 0x01 */ OWL_OUTSIDE_KOKIRI,
/* 0x02 */ OWL_HYRULE_CASTLE,
@@ -60,7 +60,7 @@ typedef enum {
/* 0x0C */ OWL_LOST_WOODS_POSTSARIA
} EnOwlType;
-typedef enum {
+typedef enum EnOwlMessageChoice {
/* 0x00 */ OWL_REPEAT,
/* 0x01 */ OWL_OK
} EnOwlMessageChoice;
diff --git a/src/overlays/actors/ovl_En_Peehat/z_en_peehat.c b/src/overlays/actors/ovl_En_Peehat/z_en_peehat.c
index b0120cf4a..1beef8495 100644
--- a/src/overlays/actors/ovl_En_Peehat/z_en_peehat.c
+++ b/src/overlays/actors/ovl_En_Peehat/z_en_peehat.c
@@ -119,7 +119,7 @@ static ColliderQuadInit sQuadInit = {
{ { { 0.0f, 0.0f, 0.0f }, { 0.0f, 0.0f, 0.0f }, { 0.0f, 0.0f, 0.0f }, { 0.0f, 0.0f, 0.0f } } },
};
-typedef enum {
+typedef enum DamageEffect {
/* 00 */ PEAHAT_DMG_EFF_ATTACK = 0,
/* 06 */ PEAHAT_DMG_EFF_LIGHT_ICE_ARROW = 6,
/* 12 */ PEAHAT_DMG_EFF_FIRE = 12,
@@ -163,7 +163,7 @@ static DamageTable sDamageTable = {
/* Unknown 2 */ DMG_ENTRY(0, PEAHAT_DMG_EFF_ATTACK),
};
-typedef enum {
+typedef enum PeahatState {
/* 00 */ PEAHAT_STATE_DYING,
/* 01 */ PEAHAT_STATE_EXPLODE,
/* 03 */ PEAHAT_STATE_3 = 3,
diff --git a/src/overlays/actors/ovl_En_Peehat/z_en_peehat.h b/src/overlays/actors/ovl_En_Peehat/z_en_peehat.h
index 706ec34bb..2449fc340 100644
--- a/src/overlays/actors/ovl_En_Peehat/z_en_peehat.h
+++ b/src/overlays/actors/ovl_En_Peehat/z_en_peehat.h
@@ -4,7 +4,7 @@
#include "ultra64.h"
#include "global.h"
-typedef enum {
+typedef enum PeahatType {
/* -1 */ PEAHAT_TYPE_GROUNDED = -1,
/* 0 */ PEAHAT_TYPE_FLYING = 0,
/* 1 */ PEAHAT_TYPE_LARVA = 1
diff --git a/src/overlays/actors/ovl_En_Po_Field/z_en_po_field.h b/src/overlays/actors/ovl_En_Po_Field/z_en_po_field.h
index 7f5273e74..f07a9233d 100644
--- a/src/overlays/actors/ovl_En_Po_Field/z_en_po_field.h
+++ b/src/overlays/actors/ovl_En_Po_Field/z_en_po_field.h
@@ -8,12 +8,12 @@ struct EnPoField;
typedef void (*EnPoFieldActionFunc)(struct EnPoField*, PlayState*);
-typedef enum {
+typedef enum EnPoFieldSize {
EN_PO_FIELD_SMALL,
EN_PO_FIELD_BIG
} EnPoFieldSize;
-typedef struct {
+typedef struct EnPoFieldInfo {
/* 0x0000 */ Color_RGB8 primColor;
/* 0x0003 */ Color_RGB8 lightColor;
/* 0x0006 */ Color_RGB8 envColor;
diff --git a/src/overlays/actors/ovl_En_Poh/z_en_poh.h b/src/overlays/actors/ovl_En_Poh/z_en_poh.h
index 1a44a60e8..749047b75 100644
--- a/src/overlays/actors/ovl_En_Poh/z_en_poh.h
+++ b/src/overlays/actors/ovl_En_Poh/z_en_poh.h
@@ -8,19 +8,19 @@ struct EnPoh;
typedef void (*EnPohActionFunc)(struct EnPoh*, PlayState*);
-typedef enum {
+typedef enum EnPohType {
EN_POH_NORMAL,
EN_POH_RUPEE,
EN_POH_SHARP,
EN_POH_FLAT
} EnPohType;
-typedef enum {
+typedef enum EnPohInfoType {
EN_POH_INFO_NORMAL,
EN_POH_INFO_COMPOSER
} EnPohInfoType;
-typedef struct {
+typedef struct EnPohInfo {
/* 0x0000 */ Color_RGB8 primColor;
/* 0x0003 */ Color_RGB8 lightColor;
/* 0x0006 */ u8 unk_6; // limb index
diff --git a/src/overlays/actors/ovl_En_Rd/z_en_rd.c b/src/overlays/actors/ovl_En_Rd/z_en_rd.c
index b20ed63dd..f7320699d 100644
--- a/src/overlays/actors/ovl_En_Rd/z_en_rd.c
+++ b/src/overlays/actors/ovl_En_Rd/z_en_rd.c
@@ -29,7 +29,7 @@ void EnRd_Damaged(EnRd* this, PlayState* play);
void EnRd_Dead(EnRd* this, PlayState* play);
void EnRd_Stunned(EnRd* this, PlayState* play);
-typedef enum {
+typedef enum EnRdAction {
/* 0 */ REDEAD_ACTION_IDLE,
/* 1 */ REDEAD_ACTION_STUNNED,
/* 2 */ REDEAD_ACTION_WALK_TO_HOME,
@@ -44,7 +44,7 @@ typedef enum {
/* 11 */ REDEAD_ACTION_RISE_FROM_COFFIN
} EnRdAction;
-typedef enum {
+typedef enum EnRdGrabState {
/* 0 */ REDEAD_GRAB_START,
/* 1 */ REDEAD_GRAB_INITIAL_DAMAGE,
/* 2 */ REDEAD_GRAB_ATTACK,
@@ -84,7 +84,7 @@ static ColliderCylinderInit sCylinderInit = {
{ 20, 70, 0, { 0, 0, 0 } },
};
-typedef enum {
+typedef enum EnRdDamageEffect {
/* 0x0 */ REDEAD_DMGEFF_NONE, // Does not interact with the Gibdo/Redead at all
/* 0x1 */ REDEAD_DMGEFF_HOOKSHOT, // Stuns the Gibdo/Redead
/* 0x6 */ REDEAD_DMGEFF_ICE_MAGIC = 0x6, // Does not interact with the Gibdo/Redead at all
diff --git a/src/overlays/actors/ovl_En_Rd/z_en_rd.h b/src/overlays/actors/ovl_En_Rd/z_en_rd.h
index 864dc13a9..a484573e2 100644
--- a/src/overlays/actors/ovl_En_Rd/z_en_rd.h
+++ b/src/overlays/actors/ovl_En_Rd/z_en_rd.h
@@ -10,7 +10,7 @@ typedef void (*EnRdActionFunc)(struct EnRd*, PlayState*);
#define REDEAD_GET_FLAGS(thisx) (((thisx)->params & 0xFF00) >> 8)
-typedef enum {
+typedef enum RedeadGibdoLimb {
/* 0 */ REDEAD_GIBDO_LIMB_NONE,
/* 1 */ REDEAD_GIBDO_LIMB_ROOT,
/* 2 */ REDEAD_GIBDO_LIMB_LEFT_LEG_ROOT,
@@ -40,7 +40,7 @@ typedef enum {
/* 26 */ REDEAD_GIBDO_LIMB_MAX
} RedeadGibdoLimb;
-typedef enum {
+typedef enum EnRdType {
/* -3 */ REDEAD_TYPE_GIBDO_RISING_OUT_OF_COFFIN = -3,
/* -2 */ REDEAD_TYPE_GIBDO,
/* -1 */ REDEAD_TYPE_DOES_NOT_MOURN,
diff --git a/src/overlays/actors/ovl_En_Reeba/z_en_reeba.c b/src/overlays/actors/ovl_En_Reeba/z_en_reeba.c
index e58a65504..14d99d16c 100644
--- a/src/overlays/actors/ovl_En_Reeba/z_en_reeba.c
+++ b/src/overlays/actors/ovl_En_Reeba/z_en_reeba.c
@@ -30,7 +30,7 @@ void EnReeba_Die(EnReeba* this, PlayState* play);
void EnReeba_Stunned(EnReeba* this, PlayState* play);
void EnReeba_StunDie(EnReeba* this, PlayState* play);
-typedef enum {
+typedef enum LeeverDamageEffect {
/* 0x00 */ LEEVER_DMGEFF_NONE, // used by anything that cant kill the Leever
/* 0x01 */ LEEVER_DMGEFF_UNK, // used by "unknown 1" attack
/* 0x03 */ LEEVER_DMGEFF_ICE = 3,
diff --git a/src/overlays/actors/ovl_En_Reeba/z_en_reeba.h b/src/overlays/actors/ovl_En_Reeba/z_en_reeba.h
index 06bb946d2..36173bf35 100644
--- a/src/overlays/actors/ovl_En_Reeba/z_en_reeba.h
+++ b/src/overlays/actors/ovl_En_Reeba/z_en_reeba.h
@@ -30,7 +30,7 @@ typedef struct EnReeba {
/* 0x0290 */ ColliderCylinder collider;
} EnReeba; // size = 0x02DC
-typedef enum {
+typedef enum LeeverType {
/* 0 */ LEEVER_TYPE_SMALL,
/* 1 */ LEEVER_TYPE_BIG
} LeeverType;
diff --git a/src/overlays/actors/ovl_En_River_Sound/z_en_river_sound.h b/src/overlays/actors/ovl_En_River_Sound/z_en_river_sound.h
index be6d04e65..c64718521 100644
--- a/src/overlays/actors/ovl_En_River_Sound/z_en_river_sound.h
+++ b/src/overlays/actors/ovl_En_River_Sound/z_en_river_sound.h
@@ -13,7 +13,7 @@ typedef struct EnRiverSound {
/* 0x014E */ s16 pathIndex;
} EnRiverSound; // size = 0x0150
-typedef enum {
+typedef enum RiverSoundType {
/* 0x00 */ RS_RIVER_DEFAULT_LOW_FREQ,
/* 0x01 */ RS_SMALL_WATERFALL,
/* 0x02 */ RS_LAVA_BUBBLES_1,
diff --git a/src/overlays/actors/ovl_En_Rr/z_en_rr.c b/src/overlays/actors/ovl_En_Rr/z_en_rr.c
index 34e1bd21c..4f2f3a083 100644
--- a/src/overlays/actors/ovl_En_Rr/z_en_rr.c
+++ b/src/overlays/actors/ovl_En_Rr/z_en_rr.c
@@ -15,7 +15,7 @@
#define RR_MOUTH 4
#define RR_BASE 0
-typedef enum {
+typedef enum EnRrReachState {
/* 0 */ REACH_NONE,
/* 1 */ REACH_EXTEND,
/* 2 */ REACH_STOP,
@@ -24,7 +24,7 @@ typedef enum {
/* 5 */ REACH_CLOSE
} EnRrReachState;
-typedef enum {
+typedef enum EnRrDamageEffect {
/* 0x0 */ RR_DMG_NONE,
/* 0x1 */ RR_DMG_STUN,
/* 0x2 */ RR_DMG_FIRE,
@@ -37,7 +37,7 @@ typedef enum {
/* 0xF */ RR_DMG_NORMAL
} EnRrDamageEffect;
-typedef enum {
+typedef enum EnRrDropType {
/* 0 */ RR_DROP_RANDOM_RUPEE,
/* 1 */ RR_DROP_MAGIC,
/* 2 */ RR_DROP_ARROW,
diff --git a/src/overlays/actors/ovl_En_Rr/z_en_rr.h b/src/overlays/actors/ovl_En_Rr/z_en_rr.h
index aa1f78207..44ac23266 100644
--- a/src/overlays/actors/ovl_En_Rr/z_en_rr.h
+++ b/src/overlays/actors/ovl_En_Rr/z_en_rr.h
@@ -8,7 +8,7 @@ struct EnRr;
typedef void (*EnRrActionFunc)(struct EnRr*, PlayState*);
-typedef struct {
+typedef struct EnRrBodySegment {
/* 0x00 */ f32 height;
/* 0x04 */ f32 heightTarget;
/* 0x08 */ Vec3f scale;
diff --git a/src/overlays/actors/ovl_En_Ru1/z_en_ru1.h b/src/overlays/actors/ovl_En_Ru1/z_en_ru1.h
index 29570c980..8223bfda4 100644
--- a/src/overlays/actors/ovl_En_Ru1/z_en_ru1.h
+++ b/src/overlays/actors/ovl_En_Ru1/z_en_ru1.h
@@ -57,7 +57,7 @@ typedef struct EnRu1 {
/* 0x0374 */ NpcInteractInfo interactInfo;
} EnRu1; // size = 0x039C
-typedef enum {
+typedef enum RutoLimb {
/* 0 */ RUTO_CHILD_NONE,
/* 1 */ RUTO_CHILD_ROOT,
/* 2 */ RUTO_CHILD_LEFT_THIGH,
diff --git a/src/overlays/actors/ovl_En_Sa/z_en_sa.c b/src/overlays/actors/ovl_En_Sa/z_en_sa.c
index d6296987e..3008eabe8 100644
--- a/src/overlays/actors/ovl_En_Sa/z_en_sa.c
+++ b/src/overlays/actors/ovl_En_Sa/z_en_sa.c
@@ -17,7 +17,7 @@ void func_80AF683C(EnSa* this, PlayState* play);
void func_80AF68E4(EnSa* this, PlayState* play);
void func_80AF6B20(EnSa* this, PlayState* play);
-typedef enum {
+typedef enum SariaEyeState {
/* 0 */ SARIA_EYE_OPEN,
/* 1 */ SARIA_EYE_HALF,
/* 2 */ SARIA_EYE_CLOSED,
@@ -25,7 +25,7 @@ typedef enum {
/* 4 */ SARIA_EYE_SAD
} SariaEyeState;
-typedef enum {
+typedef enum SariaMouthState {
/* 0 */ SARIA_MOUTH_CLOSED2,
/* 1 */ SARIA_MOUTH_SUPRISED,
/* 2 */ SARIA_MOUTH_CLOSED,
@@ -67,7 +67,7 @@ static ColliderCylinderInit sCylinderInit = {
static CollisionCheckInfoInit2 sColChkInfoInit = { 0, 0, 0, 0, MASS_IMMOVABLE };
-typedef enum {
+typedef enum EnSaAnimation1 {
/* 0 */ ENSA_ANIM1_0,
/* 1 */ ENSA_ANIM1_1,
/* 2 */ ENSA_ANIM1_2,
@@ -97,7 +97,7 @@ static AnimationFrameCountInfo sAnimationInfo1[] = {
{ &gSariaPlayingOcarinaAnim, 1.0f, ANIMMODE_LOOP, 0.0f },
};
-typedef enum {
+typedef enum EnSaAnimation2 {
/* 0 */ ENSA_ANIM2_0,
/* 1 */ ENSA_ANIM2_1,
/* 2 */ ENSA_ANIM2_2,
diff --git a/src/overlays/actors/ovl_En_Sb/z_en_sb.c b/src/overlays/actors/ovl_En_Sb/z_en_sb.c
index ef608988e..fc9144899 100644
--- a/src/overlays/actors/ovl_En_Sb/z_en_sb.c
+++ b/src/overlays/actors/ovl_En_Sb/z_en_sb.c
@@ -97,7 +97,7 @@ static Vec3f sFlamePosOffsets[] = {
{ 0.0f, 0.0f, -5.0f },
};
-typedef enum {
+typedef enum ShellbladeBehavior {
/* 0x00 */ SHELLBLADE_OPEN,
/* 0x01 */ SHELLBLADE_WAIT_CLOSED,
/* 0x02 */ SHELLBLADE_WAIT_OPEN,
diff --git a/src/overlays/actors/ovl_En_Siofuki/z_en_siofuki.h b/src/overlays/actors/ovl_En_Siofuki/z_en_siofuki.h
index b291c5cd2..23074bfac 100644
--- a/src/overlays/actors/ovl_En_Siofuki/z_en_siofuki.h
+++ b/src/overlays/actors/ovl_En_Siofuki/z_en_siofuki.h
@@ -4,7 +4,7 @@
#include "ultra64.h"
#include "global.h"
-typedef enum {
+typedef enum EnSiofukiType {
/* 0x00 */ EN_SIOFUKI_RAISING,
/* 0x01 */ EN_SIOFUKI_LOWERING
} EnSiofukiType;
diff --git a/src/overlays/actors/ovl_En_Skb/z_en_skb.c b/src/overlays/actors/ovl_En_Skb/z_en_skb.c
index 1853e7b75..a7073ca83 100644
--- a/src/overlays/actors/ovl_En_Skb/z_en_skb.c
+++ b/src/overlays/actors/ovl_En_Skb/z_en_skb.c
@@ -10,7 +10,7 @@
#define FLAGS (ACTOR_FLAG_0 | ACTOR_FLAG_2 | ACTOR_FLAG_4)
-typedef enum {
+typedef enum StalchildBehavior {
SKB_BEHAVIOR_BURIED,
SKB_BEHAVIOR_DYING,
SKB_BEHAVIOR_DAMAGED,
diff --git a/src/overlays/actors/ovl_En_Skj/z_en_skj.c b/src/overlays/actors/ovl_En_Skj/z_en_skj.c
index 9805f0542..102d9c690 100644
--- a/src/overlays/actors/ovl_En_Skj/z_en_skj.c
+++ b/src/overlays/actors/ovl_En_Skj/z_en_skj.c
@@ -95,7 +95,7 @@ void EnSkj_SetupWaitInRange(EnSkj* this);
#define songFailTimer multiuseTimer
#define battleExitTimer multiuseTimer
-typedef enum {
+typedef enum SkullKidAnim {
/* 0 */ SKJ_ANIM_BACKFLIP,
/* 1 */ SKJ_ANIM_SHOOT_NEEDLE,
/* 2 */ SKJ_ANIM_PLAY_FLUTE,
@@ -108,18 +108,18 @@ typedef enum {
/* 9 */ SKJ_ANIM_WAIT
} SkullKidAnim;
-typedef enum {
+typedef enum SkullKidStumpSide {
/* 0 */ SKULL_KID_LEFT,
/* 1 */ SKULL_KID_RIGHT
} SkullKidStumpSide;
-typedef enum {
+typedef enum SkullKidOcarinaGameState {
/* 0 */ SKULL_KID_OCARINA_WAIT,
/* 1 */ SKULL_KID_OCARINA_PLAY_NOTES,
/* 2 */ SKULL_KID_OCARINA_LEAVE_GAME
} SkullKidOcarinaGameState;
-typedef enum {
+typedef enum SkullKidAction {
/* 00 */ SKJ_ACTION_FADE,
/* 01 */ SKJ_ACTION_WAIT_TO_SHOOT_NEEDLE,
/* 02 */ SKJ_ACTION_SARIA_SONG_IDLE,
@@ -151,7 +151,7 @@ typedef enum {
/* 28 */ SKJ_ACTION_OCARINA_GAME_LEAVE
} SkullKidAction;
-typedef struct {
+typedef struct EnSkjUnkStruct {
u8 unk_0;
EnSkj* skullkid;
} EnSkjUnkStruct;
diff --git a/src/overlays/actors/ovl_En_Ssh/z_en_ssh.c b/src/overlays/actors/ovl_En_Ssh/z_en_ssh.c
index 1cf4f71ad..cd0918a95 100644
--- a/src/overlays/actors/ovl_En_Ssh/z_en_ssh.c
+++ b/src/overlays/actors/ovl_En_Ssh/z_en_ssh.c
@@ -8,7 +8,7 @@
#define SSH_STATE_ATTACKED (1 << 3)
#define SSH_STATE_SPIN (1 << 4)
-typedef enum {
+typedef enum EnSshAnimation {
SSH_ANIM_UNK0, // Unused animation. Possibly being knocked back?
SSH_ANIM_UP,
SSH_ANIM_WAIT,
diff --git a/src/overlays/actors/ovl_En_St/z_en_st.c b/src/overlays/actors/ovl_En_St/z_en_st.c
index 1011149b3..744048e52 100644
--- a/src/overlays/actors/ovl_En_St/z_en_st.c
+++ b/src/overlays/actors/ovl_En_St/z_en_st.c
@@ -104,7 +104,7 @@ static ColliderJntSphInit sJntSphInit = {
sJntSphElementsInit,
};
-typedef enum {
+typedef enum EnStAnimation {
/* 0 */ ENST_ANIM_0,
/* 1 */ ENST_ANIM_1,
/* 2 */ ENST_ANIM_2,
diff --git a/src/overlays/actors/ovl_En_Sw/z_en_sw.c b/src/overlays/actors/ovl_En_Sw/z_en_sw.c
index 91d65ef9b..65f0b47ed 100644
--- a/src/overlays/actors/ovl_En_Sw/z_en_sw.c
+++ b/src/overlays/actors/ovl_En_Sw/z_en_sw.c
@@ -47,7 +47,7 @@ static ColliderJntSphInit sJntSphInit = {
static CollisionCheckInfoInit2 D_80B0F074 = { 1, 2, 25, 25, MASS_IMMOVABLE };
-typedef enum {
+typedef enum EnSwAnimation {
/* 0 */ ENSW_ANIM_0,
/* 1 */ ENSW_ANIM_1,
/* 2 */ ENSW_ANIM_2,
diff --git a/src/overlays/actors/ovl_En_Syateki_Itm/z_en_syateki_itm.c b/src/overlays/actors/ovl_En_Syateki_Itm/z_en_syateki_itm.c
index 5f39b2de6..341f15e13 100644
--- a/src/overlays/actors/ovl_En_Syateki_Itm/z_en_syateki_itm.c
+++ b/src/overlays/actors/ovl_En_Syateki_Itm/z_en_syateki_itm.c
@@ -6,7 +6,7 @@
#define FLAGS ACTOR_FLAG_4
-typedef enum {
+typedef enum EnSyatekItemRound {
SYATEKI_ROUND_GREEN_APPEAR,
SYATEKI_ROUND_BLUE_SEQUENTIAL,
SYATEKI_ROUND_GREEN_THROW,
diff --git a/src/overlays/actors/ovl_En_Syateki_Itm/z_en_syateki_itm.h b/src/overlays/actors/ovl_En_Syateki_Itm/z_en_syateki_itm.h
index c7e01a776..c670208be 100644
--- a/src/overlays/actors/ovl_En_Syateki_Itm/z_en_syateki_itm.h
+++ b/src/overlays/actors/ovl_En_Syateki_Itm/z_en_syateki_itm.h
@@ -8,14 +8,14 @@ struct EnSyatekiItm;
typedef void (*EnSyatekiItmActionFunc)(struct EnSyatekiItm*, PlayState*);
-typedef enum {
+typedef enum EnSyatekiSignal {
/* 0 */ ENSYATEKI_NONE,
/* 1 */ ENSYATEKI_START,
/* 2 */ ENSYATEKI_END,
/* 3 */ ENSYATEKI_RESULTS
} EnSyatekiSignal;
-typedef enum {
+typedef enum EnSyatekiHitState {
/* 0 */ ENSYATEKIHIT_NONE,
/* 1 */ ENSYATEKIHIT_MISS,
/* 2 */ ENSYATEKIHIT_HIT
diff --git a/src/overlays/actors/ovl_En_Syateki_Man/z_en_syateki_man.c b/src/overlays/actors/ovl_En_Syateki_Man/z_en_syateki_man.c
index bcf5c8baf..6a1bab34e 100644
--- a/src/overlays/actors/ovl_En_Syateki_Man/z_en_syateki_man.c
+++ b/src/overlays/actors/ovl_En_Syateki_Man/z_en_syateki_man.c
@@ -5,7 +5,7 @@
#define FLAGS (ACTOR_FLAG_0 | ACTOR_FLAG_3 | ACTOR_FLAG_4 | ACTOR_FLAG_27)
-typedef enum {
+typedef enum EnSyatekiManGameResult {
/* 0 */ SYATEKI_RESULT_NONE,
/* 1 */ SYATEKI_RESULT_WINNER,
/* 2 */ SYATEKI_RESULT_ALMOST,
@@ -13,7 +13,7 @@ typedef enum {
/* 4 */ SYATEKI_RESULT_REFUSE
} EnSyatekiManGameResult;
-typedef enum {
+typedef enum EnSyatekiManTextIdx {
/* 0 */ SYATEKI_TEXT_CHOICE,
/* 1 */ SYATEKI_TEXT_START_GAME,
/* 2 */ SYATEKI_TEXT_NO_RUPEES,
diff --git a/src/overlays/actors/ovl_En_Syateki_Niw/z_en_syateki_niw.h b/src/overlays/actors/ovl_En_Syateki_Niw/z_en_syateki_niw.h
index 5f1cfcf72..9f35c2b05 100644
--- a/src/overlays/actors/ovl_En_Syateki_Niw/z_en_syateki_niw.h
+++ b/src/overlays/actors/ovl_En_Syateki_Niw/z_en_syateki_niw.h
@@ -8,7 +8,7 @@ struct EnSyatekiNiw;
typedef void (*EnSyatekiNiwActionFunc)(struct EnSyatekiNiw*, PlayState*);
-typedef struct {
+typedef struct EnSyatekiNiwEffect {
/* 0x00 */ u8 state;
/* 0x0C */ Vec3f pos;
/* 0x10 */ Vec3f vel;
@@ -70,7 +70,7 @@ typedef struct EnSyatekiNiw {
/* 0x0348 */ EnSyatekiNiwEffect effects[EN_SYATEKI_NIW_EFFECT_COUNT]; // feather particles
} EnSyatekiNiw; // size = 0x0460
-typedef enum {
+typedef enum EnSyatekiMinigame {
SYATEKI_MINIGAME_ARCHERY, // unused archery game behavior
SYATEKI_MINIGAME_ALLEY // Bombchu Alley behavior
} EnSyatekiMinigame;
diff --git a/src/overlays/actors/ovl_En_Ta/z_en_ta.c b/src/overlays/actors/ovl_En_Ta/z_en_ta.c
index 63e0005eb..fa7b0d3be 100644
--- a/src/overlays/actors/ovl_En_Ta/z_en_ta.c
+++ b/src/overlays/actors/ovl_En_Ta/z_en_ta.c
@@ -21,14 +21,14 @@
#define TALON_STATE_FLAG_RAISING_HANDS (1 << 8)
#define TALON_STATE_FLAG_RESTORE_BGM_ON_DESTROY (1 << 9)
-typedef enum {
+typedef enum TalonEyeIndex {
/* 0 */ TALON_EYE_INDEX_OPEN,
/* 1 */ TALON_EYE_INDEX_HALF,
/* 2 */ TALON_EYE_INDEX_CLOSED,
/* 3 */ TALON_EYE_INDEX_MAX
} TalonEyeIndex;
-typedef enum {
+typedef enum TalonCanBuyMilkResult {
/* 0 */ TALON_CANBUYMILK_NOT_ENOUGH_RUPEES,
/* 1 */ TALON_CANBUYMILK_NO_EMPTY_BOTTLE,
/* 2 */ TALON_CANBUYMILK_SUCCESS
diff --git a/src/overlays/actors/ovl_En_Ta/z_en_ta.h b/src/overlays/actors/ovl_En_Ta/z_en_ta.h
index 8f7e1f8b5..eeab7dc77 100644
--- a/src/overlays/actors/ovl_En_Ta/z_en_ta.h
+++ b/src/overlays/actors/ovl_En_Ta/z_en_ta.h
@@ -12,13 +12,13 @@ typedef void (*EnTaActionFunc)(struct EnTa*, PlayState*);
typedef void (*EnTaBlinkFunc)(struct EnTa*);
typedef void (*EnTaAnimFunc)(struct EnTa*);
-typedef enum {
+typedef enum EnTaType {
/* 0xFFFF */ ENTA_CHILD_ERA = -1,
/* 0x0001 */ ENTA_IN_KAKARIKO = 1,
/* 0x0002 */ ENTA_RETURNED_FROM_KAKARIKO
} EnTaType;
-typedef enum {
+typedef enum EnTaLimb {
/* 0x00 */ ENTA_LIMB_NONE,
/* 0x01 */ ENTA_LIMB_ROOT,
/* 0x02 */ ENTA_LIMB_LEFT_THIGH,
diff --git a/src/overlays/actors/ovl_En_Test/z_en_test.c b/src/overlays/actors/ovl_En_Test/z_en_test.c
index 6434aa2c1..4ade2d19f 100644
--- a/src/overlays/actors/ovl_En_Test/z_en_test.c
+++ b/src/overlays/actors/ovl_En_Test/z_en_test.c
@@ -197,7 +197,7 @@ static ColliderQuadInit sSwordColliderInit = {
{ { { 0.0f, 0.0f, 0.0f }, { 0.0f, 0.0f, 0.0f }, { 0.0f, 0.0f, 0.0f }, { 0.0f, 0.0f, 0.0f } } },
};
-typedef enum {
+typedef enum StalfosDamageEffect {
/* 0x0 */ STALFOS_DMGEFF_NORMAL,
/* 0x1 */ STALFOS_DMGEFF_STUN,
/* 0x6 */ STALFOS_DMGEFF_FIREMAGIC = 6,
diff --git a/src/overlays/actors/ovl_En_Test/z_en_test.h b/src/overlays/actors/ovl_En_Test/z_en_test.h
index 3ddf9f723..397682cd5 100644
--- a/src/overlays/actors/ovl_En_Test/z_en_test.h
+++ b/src/overlays/actors/ovl_En_Test/z_en_test.h
@@ -8,7 +8,7 @@ struct EnTest;
typedef void (*EnTestActionFunc)(struct EnTest*, PlayState*);
-typedef enum {
+typedef enum StalfosLimb {
/* 0x00 */ STALFOS_LIMB_NONE,
/* 0x01 */ STALFOS_LIMB_ROOT,
/* 0x02 */ STALFOS_LIMB_UPPERBODY_ROOT,
@@ -102,7 +102,7 @@ typedef struct EnTest {
/* 0x8DC */ ColliderCylinder shieldCollider;
} EnTest; // size = 0x928
-typedef enum {
+typedef enum StalfosType {
/* 0 */ STALFOS_TYPE_INVISIBLE,
/* 1 */ STALFOS_TYPE_1,
/* 2 */ STALFOS_TYPE_2,
diff --git a/src/overlays/actors/ovl_En_Tite/z_en_tite.c b/src/overlays/actors/ovl_En_Tite/z_en_tite.c
index 0c2dc38f4..37c6810cb 100644
--- a/src/overlays/actors/ovl_En_Tite/z_en_tite.c
+++ b/src/overlays/actors/ovl_En_Tite/z_en_tite.c
@@ -23,7 +23,7 @@
#define vOnBackTimer actionVar1
#define vLegTwitchTimer actionVar2
-typedef enum {
+typedef enum EnTiteAction {
/* 0x0 */ TEKTITE_DEATH_CRY,
/* 0x1 */ TEKTITE_UNK_1,
/* 0x2 */ TEKTITE_UNK_2,
@@ -39,14 +39,14 @@ typedef enum {
/* 0xC */ TEKTITE_MOVE_TOWARD_PLAYER
} EnTiteAction;
-typedef enum {
+typedef enum EnTiteAttackState {
/* 0x0 */ TEKTITE_BEGIN_LUNGE,
/* 0x1 */ TEKTITE_MID_LUNGE,
/* 0x2 */ TEKTITE_LANDED,
/* 0x2 */ TEKTITE_SUBMERGED
} EnTiteAttackState;
-typedef enum {
+typedef enum EnTiteFlipState {
/* 0x0 */ TEKTITE_INITIAL,
/* 0x1 */ TEKTITE_UNFLIPPED,
/* 0x2 */ TEKTITE_FLIPPED
diff --git a/src/overlays/actors/ovl_En_Tite/z_en_tite.h b/src/overlays/actors/ovl_En_Tite/z_en_tite.h
index 2faaadf9c..a049cabaa 100755
--- a/src/overlays/actors/ovl_En_Tite/z_en_tite.h
+++ b/src/overlays/actors/ovl_En_Tite/z_en_tite.h
@@ -8,7 +8,7 @@ struct EnTite;
typedef void (*EnTiteActionFunc)(struct EnTite*, PlayState*);
-typedef enum {
+typedef enum EnTiteType {
/* -2 */ TEKTITE_BLUE = -2,
/* -1 */ TEKTITE_RED
} EnTiteType;
diff --git a/src/overlays/actors/ovl_En_Torch2/z_en_torch2.c b/src/overlays/actors/ovl_En_Torch2/z_en_torch2.c
index 93d2643bc..3b285868c 100644
--- a/src/overlays/actors/ovl_En_Torch2/z_en_torch2.c
+++ b/src/overlays/actors/ovl_En_Torch2/z_en_torch2.c
@@ -9,7 +9,7 @@
#define FLAGS (ACTOR_FLAG_0 | ACTOR_FLAG_2 | ACTOR_FLAG_4 | ACTOR_FLAG_5)
-typedef enum {
+typedef enum EnTorch2ActionStates {
/* 0 */ ENTORCH2_WAIT,
/* 1 */ ENTORCH2_ATTACK,
/* 2 */ ENTORCH2_DEATH,
diff --git a/src/overlays/actors/ovl_En_Tp/z_en_tp.c b/src/overlays/actors/ovl_En_Tp/z_en_tp.c
index d71f1d617..e9cdc93a3 100644
--- a/src/overlays/actors/ovl_En_Tp/z_en_tp.c
+++ b/src/overlays/actors/ovl_En_Tp/z_en_tp.c
@@ -29,7 +29,7 @@ void EnTp_Head_Wait(EnTp* this, PlayState* play);
void EnTp_Head_SetupBurrowReturnHome(EnTp* this);
void EnTp_Head_BurrowReturnHome(EnTp* this, PlayState* play);
-typedef enum {
+typedef enum TailpasaranAction {
/* 0 */ TAILPASARAN_ACTION_FRAGMENT_FADE,
/* 1 */ TAILPASARAN_ACTION_DIE,
/* 2 */ TAILPASARAN_ACTION_TAIL_FOLLOWHEAD,
@@ -78,7 +78,7 @@ static ColliderJntSphInit sJntSphInit = {
sJntSphElementsInit,
};
-typedef enum {
+typedef enum TailpasaranDamageEffect {
/* 00 */ TAILPASARAN_DMGEFF_NONE,
/* 01 */ TAILPASARAN_DMGEFF_DEKUNUT,
/* 14 */ TAILPASARAN_DMGEFF_SHOCKING = 14, // Kills the Tailpasaran but shocks Player
diff --git a/src/overlays/actors/ovl_En_Tp/z_en_tp.h b/src/overlays/actors/ovl_En_Tp/z_en_tp.h
index 03ae0d9fd..f878ab934 100644
--- a/src/overlays/actors/ovl_En_Tp/z_en_tp.h
+++ b/src/overlays/actors/ovl_En_Tp/z_en_tp.h
@@ -28,7 +28,7 @@ typedef struct EnTp {
/* 0x01D4 */ struct EnTp* head;
} EnTp; // size = 0x01D8
-typedef enum {
+typedef enum EnTpType {
/* -1 */ TAILPASARAN_HEAD = -1, // Used when scenes spawn them: code only cares about < 0
/* 0 */ TAILPASARAN_TAIL,
/* 10 */ TAILPASARAN_FRAGMENT = 10,
diff --git a/src/overlays/actors/ovl_En_Tr/z_en_tr.h b/src/overlays/actors/ovl_En_Tr/z_en_tr.h
index c3c5f74ae..faf45d740 100644
--- a/src/overlays/actors/ovl_En_Tr/z_en_tr.h
+++ b/src/overlays/actors/ovl_En_Tr/z_en_tr.h
@@ -8,7 +8,7 @@ struct EnTr;
typedef void (*EnTrActionFunc)(struct EnTr*, PlayState*);
-typedef enum {
+typedef enum KotakeKoumeLimb {
/* 0 */ KOTAKE_KOUME_LIMB_NONE,
/* 1 */ KOTAKE_KOUME_LIMB_PELVIS,
/* 2 */ KOTAKE_KOUME_LIMB_LEFT_THIGH,
@@ -53,7 +53,7 @@ typedef struct EnTr {
/* 0x02E4 */ AnimationHeader* animation;
} EnTr; // size = 0x02E8
-typedef enum {
+typedef enum TwinrovaType {
/* 0 */ TR_KOUME,
/* 1 */ TR_KOTAKE
} TwinrovaType;
diff --git a/src/overlays/actors/ovl_En_Vali/z_en_vali.c b/src/overlays/actors/ovl_En_Vali/z_en_vali.c
index a8f7574e6..c6d765a1d 100644
--- a/src/overlays/actors/ovl_En_Vali/z_en_vali.c
+++ b/src/overlays/actors/ovl_En_Vali/z_en_vali.c
@@ -83,7 +83,7 @@ static ColliderCylinderInit sCylinderInit = {
static CollisionCheckInfoInit sColChkInfoInit = { 2, 18, 32, MASS_HEAVY };
-typedef enum {
+typedef enum BariDamageEffect {
/* 0x0 */ BARI_DMGEFF_NONE,
/* 0x1 */ BARI_DMGEFF_STUN,
/* 0x2 */ BARI_DMGEFF_FIRE,
diff --git a/src/overlays/actors/ovl_En_Vali/z_en_vali.h b/src/overlays/actors/ovl_En_Vali/z_en_vali.h
index 0c94d9228..c5df42825 100644
--- a/src/overlays/actors/ovl_En_Vali/z_en_vali.h
+++ b/src/overlays/actors/ovl_En_Vali/z_en_vali.h
@@ -8,7 +8,7 @@ struct EnVali;
typedef void (*EnValiActionFunc)(struct EnVali*, PlayState*);
-typedef enum {
+typedef enum EnValiLimb {
/* 0x00 */ EN_VALI_LIMB_NONE,
/* 0x01 */ EN_VALI_LIMB_NUCLEUS_BASE,
/* 0x02 */ EN_VALI_LIMB_NUCLEUS,
@@ -57,7 +57,7 @@ typedef struct EnVali {
/* 0x03FC */ ColliderCylinder bodyCollider;
} EnVali; // size = 0x0448
-typedef enum {
+typedef enum EnValiType {
/* 0 */ BARI_TYPE_NORMAL,
/* 1 */ BARI_TYPE_SWORD_DAMAGE
} EnValiType;
diff --git a/src/overlays/actors/ovl_En_Viewer/z_en_viewer.h b/src/overlays/actors/ovl_En_Viewer/z_en_viewer.h
index fee5fe762..de2bf8ba2 100644
--- a/src/overlays/actors/ovl_En_Viewer/z_en_viewer.h
+++ b/src/overlays/actors/ovl_En_Viewer/z_en_viewer.h
@@ -10,7 +10,7 @@ typedef void (*EnViewerActionFunc)(struct EnViewer*, PlayState*);
typedef void (*EnViewerDrawFunc)(struct EnViewer*, PlayState*);
typedef void (*EnViewerInitAnimFunc)(struct EnViewer*, PlayState*, void*, AnimationHeader*);
-typedef enum {
+typedef enum EnViewerType {
/* 0 */ ENVIEWER_TYPE_0_HORSE_ZELDA,
/* 1 */ ENVIEWER_TYPE_1_IMPA,
/* 2 */ ENVIEWER_TYPE_2_ZELDA,
@@ -23,20 +23,20 @@ typedef enum {
/* 9 */ ENVIEWER_TYPE_9_GANONDORF
} EnViewerType;
-typedef enum {
+typedef enum EnViewerDrawType {
/* 0 */ ENVIEWER_DRAW_GANONDORF,
/* 1 */ ENVIEWER_DRAW_HORSE,
/* 2 */ ENVIEWER_DRAW_ZELDA,
/* 3 */ ENVIEWER_DRAW_IMPA
} EnViewerDrawType;
-typedef enum {
+typedef enum EnViewerShadowType {
/* 0 */ ENVIEWER_SHADOW_NONE,
/* 1 */ ENVIEWER_SHADOW_CIRCLE,
/* 2 */ ENVIEWER_SHADOW_HORSE
} EnViewerShadowType;
-typedef struct {
+typedef struct EnViewerInitData {
/* 0x00 */ s16 skeletonObject;
/* 0x02 */ s16 animObject;
/* 0x04 */ u8 scale; // divided by 100.0f
@@ -48,7 +48,7 @@ typedef struct {
/* 0x10 */ AnimationHeader* anim;
} EnViewerInitData; // size = 0x14
-typedef struct {
+typedef struct EnViewerFireEffect {
/* 0x00 */ Vec3f startPos;
/* 0x0C */ Vec3f endPos;
/* 0x18 */ Vec3f pos;
@@ -58,7 +58,7 @@ typedef struct {
/* 0x30 */ u8 state;
} EnViewerFireEffect; // size = 0x34
-typedef enum {
+typedef enum YoungGanondorfLimb {
/* 0 */ YOUNG_GANONDORF_LIMB_NONE,
/* 1 */ YOUNG_GANONDORF_LIMB_ROOT,
/* 2 */ YOUNG_GANONDORF_LIMB_TORSO,
diff --git a/src/overlays/actors/ovl_En_Vm/z_en_vm.h b/src/overlays/actors/ovl_En_Vm/z_en_vm.h
index 2be67637c..5b0fe1629 100644
--- a/src/overlays/actors/ovl_En_Vm/z_en_vm.h
+++ b/src/overlays/actors/ovl_En_Vm/z_en_vm.h
@@ -32,7 +32,7 @@ typedef struct EnVm {
/* 0x0334 */ ColliderQuad colliderQuad2;
} EnVm; // size = 0x03B4
-typedef enum {
+typedef enum BeamosType {
/* 0x00 */ BEAMOS_LARGE,
/* 0x01 */ BEAMOS_SMALL
} BeamosType;
diff --git a/src/overlays/actors/ovl_En_Wallmas/z_en_wallmas.h b/src/overlays/actors/ovl_En_Wallmas/z_en_wallmas.h
index 8b2f8d7ba..c82df375d 100644
--- a/src/overlays/actors/ovl_En_Wallmas/z_en_wallmas.h
+++ b/src/overlays/actors/ovl_En_Wallmas/z_en_wallmas.h
@@ -4,7 +4,7 @@
#include "ultra64.h"
#include "global.h"
-typedef enum {
+typedef enum WallmasType {
/* 0x00 */ WMT_TIMER,
/* 0x01 */ WMT_PROXIMITY,
/* 0x02 */ WMT_FLAG
diff --git a/src/overlays/actors/ovl_En_Weather_Tag/z_en_weather_tag.h b/src/overlays/actors/ovl_En_Weather_Tag/z_en_weather_tag.h
index ec7c17734..ccfc0e3f6 100644
--- a/src/overlays/actors/ovl_En_Weather_Tag/z_en_weather_tag.h
+++ b/src/overlays/actors/ovl_En_Weather_Tag/z_en_weather_tag.h
@@ -14,7 +14,7 @@ typedef struct EnWeatherTag {
/* 0x0150 */ char unk_150[0x04];
} EnWeatherTag; // size = 0x0154
-typedef enum {
+typedef enum EnWeatherTagType {
/* 0x00 */ EN_WEATHER_TAG_TYPE_CLOUDY_MARKET,
/* 0x01 */ EN_WEATHER_TAG_TYPE_CLOUDY_LON_LON_RANCH,
/* 0x02 */ EN_WEATHER_TAG_TYPE_SNOW_ZORAS_DOMAIN,
diff --git a/src/overlays/actors/ovl_En_Wf/z_en_wf.c b/src/overlays/actors/ovl_En_Wf/z_en_wf.c
index 00351e785..15ba1fcbd 100644
--- a/src/overlays/actors/ovl_En_Wf/z_en_wf.c
+++ b/src/overlays/actors/ovl_En_Wf/z_en_wf.c
@@ -143,7 +143,7 @@ static ColliderCylinderInit sTailCylinderInit = {
{ 15, 20, -15, { 0, 0, 0 } },
};
-typedef enum {
+typedef enum EnWfDamageEffect {
/* 0 */ ENWF_DMGEFF_NONE,
/* 1 */ ENWF_DMGEFF_STUN,
/* 6 */ ENWF_DMGEFF_ICE_MAGIC = 6,
diff --git a/src/overlays/actors/ovl_En_Wf/z_en_wf.h b/src/overlays/actors/ovl_En_Wf/z_en_wf.h
index 36afdccf5..83e46e6d1 100644
--- a/src/overlays/actors/ovl_En_Wf/z_en_wf.h
+++ b/src/overlays/actors/ovl_En_Wf/z_en_wf.h
@@ -8,7 +8,7 @@ struct EnWf;
typedef void (*EnWfActionFunc)(struct EnWf*, PlayState*);
-typedef enum {
+typedef enum EnWfLimb {
/* 0 */ WOLFOS_LIMB_NONE,
/* 1 */ WOLFOS_LIMB_ROOT,
/* 2 */ WOLFOS_LIMB_BACK_LEFT_THIGH,
@@ -34,7 +34,7 @@ typedef enum {
/* 22 */ WOLFOS_LIMB_MAX
} EnWfLimb;
-typedef enum {
+typedef enum EnWfAction {
/* 0 */ WOLFOS_ACTION_WAIT_TO_APPEAR,
/* 2 */ WOLFOS_ACTION_DIE = 2,
/* 3 */ WOLFOS_ACTION_DAMAGED,
@@ -83,7 +83,7 @@ typedef struct EnWf {
/* 0x04D4 */ Vec3s unk_4D4;
} EnWf; // size = 0x04DC
-typedef enum {
+typedef enum EnWfType {
/* 0 */ WOLFOS_NORMAL,
/* 1 */ WOLFOS_WHITE
} EnWfType;
diff --git a/src/overlays/actors/ovl_En_Wonder_Item/z_en_wonder_item.h b/src/overlays/actors/ovl_En_Wonder_Item/z_en_wonder_item.h
index 117b763c6..4aca3ffe0 100644
--- a/src/overlays/actors/ovl_En_Wonder_Item/z_en_wonder_item.h
+++ b/src/overlays/actors/ovl_En_Wonder_Item/z_en_wonder_item.h
@@ -29,7 +29,7 @@ typedef struct EnWonderItem {
/* 0x01CC */ char unk_1CC[4];
} EnWonderItem; // size = 0x01D0
-typedef enum {
+typedef enum EnWonderItemMode {
/* 0 */ WONDERITEM_MULTITAG_FREE,
/* 1 */ WONDERITEM_TAG_POINT_FREE,
/* 2 */ WONDERITEM_PROXIMITY_DROP,
@@ -42,7 +42,7 @@ typedef enum {
/* 9 */ WONDERITEM_ROLL_DROP
} EnWonderItemMode;
-typedef enum {
+typedef enum EnWonderItemDrop {
/* 0 */ WONDERITEM_DROP_NUTS,
/* 1 */ WONDERITEM_DROP_HEART_PIECE,
/* 2 */ WONDERITEM_DROP_MAGIC_LARGE,
diff --git a/src/overlays/actors/ovl_En_Wood02/z_en_wood02.c b/src/overlays/actors/ovl_En_Wood02/z_en_wood02.c
index c61f2f1aa..a5fe529eb 100644
--- a/src/overlays/actors/ovl_En_Wood02/z_en_wood02.c
+++ b/src/overlays/actors/ovl_En_Wood02/z_en_wood02.c
@@ -18,13 +18,13 @@ void EnWood02_Draw(Actor* thisx, PlayState* play);
* WOOD_SPAWN_SPAWNER is also used by some individual trees: EnWood02_Update also checks for parent before running any
* despawning code.
* */
-typedef enum {
+typedef enum WoodSpawnType {
/* 0 */ WOOD_SPAWN_NORMAL,
/* 1 */ WOOD_SPAWN_SPAWNED,
/* 2 */ WOOD_SPAWN_SPAWNER
} WoodSpawnType;
-typedef enum {
+typedef enum WoodDrawType {
/* 0 */ WOOD_DRAW_TREE_CONICAL,
/* 1 */ WOOD_DRAW_TREE_OVAL,
/* 2 */ WOOD_DRAW_TREE_KAKARIKO_ADULT,
diff --git a/src/overlays/actors/ovl_En_Wood02/z_en_wood02.h b/src/overlays/actors/ovl_En_Wood02/z_en_wood02.h
index 85ec12a5b..14ca5b967 100644
--- a/src/overlays/actors/ovl_En_Wood02/z_en_wood02.h
+++ b/src/overlays/actors/ovl_En_Wood02/z_en_wood02.h
@@ -17,7 +17,7 @@ typedef struct EnWood02 {
// Types with SPAWNED in the name are those that can be managed by a spawner, however the actor allows you to spawn them
// on their own without a spawner as well.
-typedef enum {
+typedef enum WoodType {
/* 0x00 */ WOOD_TREE_CONICAL_LARGE,
/* 0x01 */ WOOD_TREE_CONICAL_MEDIUM,
/* 0x02 */ WOOD_TREE_CONICAL_SMALL,
diff --git a/src/overlays/actors/ovl_En_Xc/z_en_xc.h b/src/overlays/actors/ovl_En_Xc/z_en_xc.h
index beac1a859..c01b98a84 100644
--- a/src/overlays/actors/ovl_En_Xc/z_en_xc.h
+++ b/src/overlays/actors/ovl_En_Xc/z_en_xc.h
@@ -9,7 +9,7 @@ struct EnXc;
typedef void (*EnXcActionFunc)(struct EnXc*, PlayState*);
typedef void (*EnXcDrawFunc)(struct Actor*, PlayState*);
-typedef enum {
+typedef enum EnXcType {
/* 0 */ SHEIK_TYPE_0,
/* 1 */ SHEIK_TYPE_1,
/* 2 */ SHEIK_TYPE_2,
@@ -22,7 +22,7 @@ typedef enum {
/* 9 */ SHEIK_TYPE_9
} EnXcType;
-typedef enum {
+typedef enum EnXcDrawMode {
/* 0 */ SHEIK_DRAW_NOTHING,
/* 1 */ SHEIK_DRAW_DEFAULT,
/* 2 */ SHEIK_DRAW_PULLING_OUT_HARP,
@@ -31,7 +31,7 @@ typedef enum {
/* 5 */ SHEIK_DRAW_SQUINT
} EnXcDrawMode;
-typedef enum {
+typedef enum EnXcAction {
/* 00 */ SHEIK_ACTION_INIT,
/* 01 */ SHEIK_ACTION_WAIT,
/* 02 */ SHEIK_ACTION_GRACEFUL_FALL,
diff --git a/src/overlays/actors/ovl_En_Zf/z_en_zf.c b/src/overlays/actors/ovl_En_Zf/z_en_zf.c
index a10d0321d..f2aa8d29a 100644
--- a/src/overlays/actors/ovl_En_Zf/z_en_zf.c
+++ b/src/overlays/actors/ovl_En_Zf/z_en_zf.c
@@ -151,7 +151,7 @@ static ColliderQuadInit sSwordQuadInit = {
{ { { 0.0f, 0.0f, 0.0f }, { 0.0f, 0.0f, 0.0f }, { 0.0f, 0.0f, 0.0f }, { 0.0f, 0.0f, 0.0f } } },
};
-typedef enum {
+typedef enum EnZfDamageEffect {
/* 0x0 */ ENZF_DMGEFF_NONE,
/* 0x1 */ ENZF_DMGEFF_STUN,
/* 0x6 */ ENZF_DMGEFF_IMMUNE = 6, // Skips damage code, but also skips the top half of Update
diff --git a/src/overlays/actors/ovl_En_Zf/z_en_zf.h b/src/overlays/actors/ovl_En_Zf/z_en_zf.h
index b9bcea800..c5ade7854 100644
--- a/src/overlays/actors/ovl_En_Zf/z_en_zf.h
+++ b/src/overlays/actors/ovl_En_Zf/z_en_zf.h
@@ -8,14 +8,14 @@ struct EnZf;
typedef void (*EnZfActionFunc)(struct EnZf*, PlayState*);
-typedef enum {
+typedef enum EnZfType {
/* -2 */ ENZF_TYPE_DINOLFOS = -2,
/* -1 */ ENZF_TYPE_LIZALFOS_LONE, // Not a miniboss, e.g. Spirit Temple
/* 0 */ ENZF_TYPE_LIZALFOS_MINIBOSS_A, // Pair with B
/* 1 */ ENZF_TYPE_LIZALFOS_MINIBOSS_B // Pair with A
} EnZfType;
-typedef enum {
+typedef enum EnZfAction {
/* 0 */ ENZF_ACTION_DROP_IN,
/* 3 */ ENZF_ACTION_3 = 3, // stop and choose action?
/* 5 */ ENZF_ACTION_APPROACH_PLAYER = 5,
@@ -36,7 +36,7 @@ typedef enum {
/* 22 */ ENZF_ACTION_JUMP_UP
} EnZfAction;
-typedef enum {
+typedef enum EnZfLimb {
/* 0x00 */ ENZF_LIMB_NONE,
/* 0x01 */ ENZF_LIMB_ROOT,
/* 0x02 */ ENZF_LIMB_BODY_ROOT,
diff --git a/src/overlays/actors/ovl_En_Zl4/z_en_zl4.c b/src/overlays/actors/ovl_En_Zl4/z_en_zl4.c
index f133f51c2..3810b7cbe 100644
--- a/src/overlays/actors/ovl_En_Zl4/z_en_zl4.c
+++ b/src/overlays/actors/ovl_En_Zl4/z_en_zl4.c
@@ -10,7 +10,7 @@
#define FLAGS (ACTOR_FLAG_0 | ACTOR_FLAG_3 | ACTOR_FLAG_4)
-typedef enum {
+typedef enum EnZl4CutsceneState {
/* 0 */ ZL4_CS_WAIT,
/* 1 */ ZL4_CS_START,
/* 2 */ ZL4_CS_MEET,
@@ -22,7 +22,7 @@ typedef enum {
/* 8 */ ZL4_CS_PLAN
} EnZl4CutsceneState;
-typedef enum {
+typedef enum EnZl4EyeExpression {
/* 0 */ ZL4_EYES_NEUTRAL,
/* 1 */ ZL4_EYES_SHUT,
/* 2 */ ZL4_EYES_LOOK_LEFT,
@@ -32,14 +32,14 @@ typedef enum {
/* 6 */ ZL4_EYES_OPEN
} EnZl4EyeExpression;
-typedef enum {
+typedef enum EnZl4MouthExpression {
/* 0 */ ZL4_MOUTH_NEUTRAL,
/* 1 */ ZL4_MOUTH_HAPPY,
/* 2 */ ZL4_MOUTH_WORRIED,
/* 3 */ ZL4_MOUTH_SURPRISED
} EnZl4MouthExpression;
-typedef enum {
+typedef enum EnZl4EyeState {
/* 0 */ ZL4_EYE_OPEN,
/* 1 */ ZL4_EYE_BLINK,
/* 2 */ ZL4_EYE_SHUT,
@@ -92,7 +92,7 @@ static ColliderCylinderInit sCylinderInit = {
static CollisionCheckInfoInit2 sColChkInfoInit = { 0, 0, 0, 0, MASS_IMMOVABLE };
-typedef enum {
+typedef enum EnZl4Animation {
/* 0 */ ZL4_ANIM_0,
/* 1 */ ZL4_ANIM_1,
/* 2 */ ZL4_ANIM_2,
diff --git a/src/overlays/actors/ovl_En_Zo/z_en_zo.c b/src/overlays/actors/ovl_En_Zo/z_en_zo.c
index c54842fec..69b577f06 100644
--- a/src/overlays/actors/ovl_En_Zo/z_en_zo.c
+++ b/src/overlays/actors/ovl_En_Zo/z_en_zo.c
@@ -9,7 +9,7 @@
#define FLAGS (ACTOR_FLAG_0 | ACTOR_FLAG_3)
-typedef enum {
+typedef enum EnZoEffectType {
/* 0 */ ENZO_EFFECT_NONE,
/* 1 */ ENZO_EFFECT_RIPPLE,
/* 2 */ ENZO_EFFECT_SPLASH,
@@ -311,7 +311,7 @@ ActorProfile En_Zo_Profile = {
/**/ EnZo_Draw,
};
-typedef enum {
+typedef enum EnZoAnimation {
/* 0 */ ENZO_ANIM_0,
/* 1 */ ENZO_ANIM_1,
/* 2 */ ENZO_ANIM_2,
diff --git a/src/overlays/actors/ovl_En_Zo/z_en_zo.h b/src/overlays/actors/ovl_En_Zo/z_en_zo.h
index 28eebdf46..837dd260c 100644
--- a/src/overlays/actors/ovl_En_Zo/z_en_zo.h
+++ b/src/overlays/actors/ovl_En_Zo/z_en_zo.h
@@ -8,7 +8,7 @@ struct EnZo;
#define EN_ZO_EFFECT_COUNT 15
-typedef struct {
+typedef struct EnZoEffect {
/* 0x00 */ u8 type;
/* 0x04 */ f32 scale;
/* 0x08 */ f32 targetScale;
diff --git a/src/overlays/actors/ovl_En_fHG/z_en_fhg.c b/src/overlays/actors/ovl_En_fHG/z_en_fhg.c
index 6cfd3dd92..f47520e57 100644
--- a/src/overlays/actors/ovl_En_fHG/z_en_fhg.c
+++ b/src/overlays/actors/ovl_En_fHG/z_en_fhg.c
@@ -12,12 +12,12 @@
#define FLAGS ACTOR_FLAG_4
-typedef struct {
+typedef struct EnfHGPainting {
/* 0x00 */ Vec3f pos;
/* 0x0C */ s16 yRot;
} EnfHGPainting; // size = 0x10
-typedef enum {
+typedef enum EnfHGIntroState {
/* 0 */ INTRO_WAIT,
/* 1 */ INTRO_START,
/* 2 */ INTRO_FENCE,
diff --git a/src/overlays/actors/ovl_En_fHG/z_en_fhg.h b/src/overlays/actors/ovl_En_fHG/z_en_fhg.h
index 2bde63971..5432f8234 100644
--- a/src/overlays/actors/ovl_En_fHG/z_en_fhg.h
+++ b/src/overlays/actors/ovl_En_fHG/z_en_fhg.h
@@ -8,7 +8,7 @@ struct EnfHG;
typedef void (*EnfHGActionFunc)(struct EnfHG*, PlayState*);
-typedef enum {
+typedef enum EnfHGSignal {
/* 0 */ FHG_NO_SIGNAL,
/* 1 */ FHG_RAISE_SPEAR,
/* 2 */ FHG_REAR,
diff --git a/src/overlays/actors/ovl_Fishing/z_fishing.c b/src/overlays/actors/ovl_Fishing/z_fishing.c
index e2df751b5..b70769e2a 100644
--- a/src/overlays/actors/ovl_Fishing/z_fishing.c
+++ b/src/overlays/actors/ovl_Fishing/z_fishing.c
@@ -30,14 +30,14 @@ void Fishing_UpdateOwner(Actor* thisx, PlayState* play2);
void Fishing_DrawFish(Actor* thisx, PlayState* play);
void Fishing_DrawOwner(Actor* thisx, PlayState* play);
-typedef struct {
+typedef struct FishingFishInit {
/* 0x00 */ u8 isLoach;
/* 0x02 */ Vec3s pos;
/* 0x08 */ u8 baseLength;
/* 0x0C */ f32 perception;
} FishingFishInit; // size = 0x10
-typedef enum {
+typedef enum FishingEffectType {
/* 0x00 */ FS_EFF_NONE,
/* 0x01 */ FS_EFF_RIPPLE,
/* 0x02 */ FS_EFF_DUST_SPLASH,
@@ -51,7 +51,7 @@ typedef enum {
#define FISHING_EFFECT_COUNT 130
-typedef struct {
+typedef struct FishingEffect {
/* 0x00 */ Vec3f pos;
/* 0x0C */ Vec3f vel;
/* 0x18 */ Vec3f accel;
@@ -67,7 +67,7 @@ typedef struct {
#define POND_PROP_COUNT 140
-typedef enum {
+typedef enum FishingPropType {
/* 0x00 */ FS_PROP_NONE,
/* 0x01 */ FS_PROP_REED,
/* 0x02 */ FS_PROP_LILY_PAD,
@@ -76,12 +76,12 @@ typedef enum {
/* 0x23 */ FS_PROP_INIT_STOP = 0x23
} FishingPropType;
-typedef struct {
+typedef struct FishingPropInit {
/* 0x00 */ u8 type;
/* 0x02 */ Vec3s pos;
} FishingPropInit; // size = 0x08
-typedef struct {
+typedef struct FishingProp {
/* 0x00 */ Vec3f pos;
/* 0x0C */ f32 rotX;
/* 0x10 */ f32 rotY;
@@ -96,14 +96,14 @@ typedef struct {
/* 0x38 */ f32 drawDistance;
} FishingProp; // size = 0x3C
-typedef enum {
+typedef enum FishingGroupFishType {
/* 0x00 */ FS_GROUP_FISH_NONE,
/* 0x01 */ FS_GROUP_FISH_NORMAL
} FishingGroupFishType;
#define GROUP_FISH_COUNT 60
-typedef struct {
+typedef struct FishingGroupFish {
/* 0x00 */ u8 type;
/* 0x02 */ s16 timer;
/* 0x04 */ Vec3f pos;
@@ -121,7 +121,7 @@ typedef struct {
/* 0x44 */ u8 shouldDraw;
} FishingGroupFish; // size = 0x48
-typedef enum {
+typedef enum FishingLureTypes {
/* 0x00 */ FS_LURE_STOCK,
/* 0x01 */ FS_LURE_UNK, // hinted at with an "== 1"
/* 0x02 */ FS_LURE_SINKING
@@ -166,7 +166,7 @@ static s32 sFishingTimePlayed = 0;
static s16 sOwnerTheftTimer = 0;
-typedef enum {
+typedef enum FishingOwnerHair {
/* 0x00 */ FS_OWNER_BALD,
/* 0x01 */ FS_OWNER_CAPPED,
/* 0x02 */ FS_OWNER_HAIR
diff --git a/src/overlays/actors/ovl_Item_Etcetera/z_item_etcetera.h b/src/overlays/actors/ovl_Item_Etcetera/z_item_etcetera.h
index a77192c79..c5054884b 100644
--- a/src/overlays/actors/ovl_Item_Etcetera/z_item_etcetera.h
+++ b/src/overlays/actors/ovl_Item_Etcetera/z_item_etcetera.h
@@ -18,7 +18,7 @@ typedef struct ItemEtcetera {
/* 0x015C */ ItemEtceteraActionFunc actionFunc;
} ItemEtcetera; // size = 0x0160
-typedef enum {
+typedef enum ItemEtceteraType {
/* 0x00 */ ITEM_ETC_BOTTLE,
/* 0x01 */ ITEM_ETC_LETTER,
/* 0x02 */ ITEM_ETC_SHIELD_HYLIAN,
diff --git a/src/overlays/actors/ovl_Magic_Fire/z_magic_fire.c b/src/overlays/actors/ovl_Magic_Fire/z_magic_fire.c
index 34accd755..6af9e712e 100644
--- a/src/overlays/actors/ovl_Magic_Fire/z_magic_fire.c
+++ b/src/overlays/actors/ovl_Magic_Fire/z_magic_fire.c
@@ -15,14 +15,14 @@ void MagicFire_Draw(Actor* thisx, PlayState* play);
void MagicFire_UpdateBeforeCast(Actor* thisx, PlayState* play);
-typedef enum {
+typedef enum MagicFireAction {
/* 0x00 */ DF_ACTION_INITIALIZE,
/* 0x01 */ DF_ACTION_EXPAND_SLOWLY,
/* 0x02 */ DF_ACTION_STOP_EXPANDING,
/* 0x03 */ DF_ACTION_EXPAND_QUICKLY
} MagicFireAction;
-typedef enum {
+typedef enum MagicFireScreenTint {
/* 0x00 */ DF_SCREEN_TINT_NONE,
/* 0x01 */ DF_SCREEN_TINT_FADE_IN,
/* 0x02 */ DF_SCREEN_TINT_MAINTAIN,
diff --git a/src/overlays/actors/ovl_Mir_Ray/z_mir_ray.c b/src/overlays/actors/ovl_Mir_Ray/z_mir_ray.c
index 6828028ab..b8365df41 100644
--- a/src/overlays/actors/ovl_Mir_Ray/z_mir_ray.c
+++ b/src/overlays/actors/ovl_Mir_Ray/z_mir_ray.c
@@ -17,7 +17,7 @@ void MirRay_Draw(Actor* thisx, PlayState* play);
s32 MirRay_CheckInFrustum(Vec3f* vecA, Vec3f* vecB, f32 pointx, f32 pointy, f32 pointz, s16 radiusA, s16 radiusB);
// Locations of light beams in sMirRayData
-typedef enum {
+typedef enum MirRayBeamLocations {
/* 0 */ MIRRAY_SPIRIT_BOMBCHUIWAROOM_DOWNLIGHT,
/* 1 */ MIRRAY_SPIRIT_SUNBLOCKROOM_DOWNLIGHT,
/* 2 */ MIRRAY_SPIRIT_SINGLECOBRAROOM_DOWNLIGHT,
diff --git a/src/overlays/actors/ovl_Mir_Ray/z_mir_ray.h b/src/overlays/actors/ovl_Mir_Ray/z_mir_ray.h
index 0f645cb4f..4e9314907 100644
--- a/src/overlays/actors/ovl_Mir_Ray/z_mir_ray.h
+++ b/src/overlays/actors/ovl_Mir_Ray/z_mir_ray.h
@@ -6,7 +6,7 @@
struct MirRay;
-typedef struct {
+typedef struct MirRayDataEntry {
/* 0x00 */ Vec3s sourcePoint;
/* 0x06 */ Vec3s poolPoint; // point at center of light pool on floor for windows and BigMirror, same as source point for Cobra Mirror
/* 0x0C */ s16 sourceEndRadius; // Radius of beam frustum at the source end
@@ -19,7 +19,7 @@ typedef struct {
/* 0x1F */ u8 params;
} MirRayDataEntry; // size = 0x20
-typedef struct {
+typedef struct MirRayShieldReflection {
/* 0x00 */ Vec3f pos;
/* 0x0C */ MtxF mtx;
/* 0x4C */ CollisionPoly* reflectionPoly;
diff --git a/src/overlays/actors/ovl_Obj_Bean/z_obj_bean.c b/src/overlays/actors/ovl_Obj_Bean/z_obj_bean.c
index 5b5e2c7d7..2e882d44c 100644
--- a/src/overlays/actors/ovl_Obj_Bean/z_obj_bean.c
+++ b/src/overlays/actors/ovl_Obj_Bean/z_obj_bean.c
@@ -104,7 +104,7 @@ static ColliderCylinderInit sCylinderInit = {
{ 64, 30, -31, { 0, 0, 0 } },
};
-typedef struct {
+typedef struct BeenSpeedInfo {
f32 velocity;
f32 accel;
} BeenSpeedInfo;
diff --git a/src/overlays/actors/ovl_Obj_Hana/z_obj_hana.c b/src/overlays/actors/ovl_Obj_Hana/z_obj_hana.c
index 303373ea7..1a55ca740 100644
--- a/src/overlays/actors/ovl_Obj_Hana/z_obj_hana.c
+++ b/src/overlays/actors/ovl_Obj_Hana/z_obj_hana.c
@@ -48,7 +48,7 @@ static ColliderCylinderInit sCylinderInit = {
static CollisionCheckInfoInit sColChkInfoInit = { 0, 12, 60, MASS_IMMOVABLE };
-typedef struct {
+typedef struct HanaParams {
/* 0x00 */ Gfx* dList;
/* 0x04 */ f32 scale;
/* 0x08 */ f32 yOffset;
diff --git a/src/overlays/actors/ovl_Obj_Lift/z_obj_lift.c b/src/overlays/actors/ovl_Obj_Lift/z_obj_lift.c
index f51118f3c..daa084ca0 100644
--- a/src/overlays/actors/ovl_Obj_Lift/z_obj_lift.c
+++ b/src/overlays/actors/ovl_Obj_Lift/z_obj_lift.c
@@ -38,7 +38,7 @@ ActorProfile Obj_Lift_Profile = {
static s16 sFallTimerDurations[] = { 0, 10, 20, 30, 40, 50, 60 };
-typedef struct {
+typedef struct ObjLiftFramgentScale {
/* 0x00 */ s16 x;
/* 0x02 */ s16 z;
} ObjLiftFramgentScale; // size = 0x4
diff --git a/src/overlays/actors/ovl_Obj_Lightswitch/z_obj_lightswitch.c b/src/overlays/actors/ovl_Obj_Lightswitch/z_obj_lightswitch.c
index 0ed3b5550..a61b6672a 100644
--- a/src/overlays/actors/ovl_Obj_Lightswitch/z_obj_lightswitch.c
+++ b/src/overlays/actors/ovl_Obj_Lightswitch/z_obj_lightswitch.c
@@ -11,7 +11,7 @@
#define FLAGS ACTOR_FLAG_4
-typedef enum {
+typedef enum FaceTextureIndex {
/* 0x00 */ FACE_EYES_CLOSED,
/* 0x01 */ FACE_EYES_OPEN,
/* 0x02 */ FACE_EYES_OPEN_SMILING
diff --git a/src/overlays/actors/ovl_Obj_Lightswitch/z_obj_lightswitch.h b/src/overlays/actors/ovl_Obj_Lightswitch/z_obj_lightswitch.h
index b8420f2d4..78af71ed9 100644
--- a/src/overlays/actors/ovl_Obj_Lightswitch/z_obj_lightswitch.h
+++ b/src/overlays/actors/ovl_Obj_Lightswitch/z_obj_lightswitch.h
@@ -8,7 +8,7 @@ struct ObjLightswitch;
typedef void (*ObjLightswitchActionFunc)(struct ObjLightswitch*, PlayState*);
-typedef enum {
+typedef enum ObjLightswitch_Type {
/* 0 */ OBJLIGHTSWITCH_TYPE_STAY_ON, // doesn't turn off unless the switch flag is cleared some other way
/* 1 */ OBJLIGHTSWITCH_TYPE_1, // turns on and off
/* 2 */ OBJLIGHTSWITCH_TYPE_2, // turns on and off
diff --git a/src/overlays/actors/ovl_Obj_Makeoshihiki/z_obj_makeoshihiki.c b/src/overlays/actors/ovl_Obj_Makeoshihiki/z_obj_makeoshihiki.c
index 234c012c3..34ca887b5 100644
--- a/src/overlays/actors/ovl_Obj_Makeoshihiki/z_obj_makeoshihiki.c
+++ b/src/overlays/actors/ovl_Obj_Makeoshihiki/z_obj_makeoshihiki.c
@@ -25,7 +25,7 @@ ActorProfile Obj_Makeoshihiki_Profile = {
/**/ ObjMakeoshihiki_Draw,
};
-typedef struct {
+typedef struct BlockConfig {
/* 0x00 */ Vec3f posVecs[3];
/* 0x24 */ u8 unk_24[3];
/* 0x27 */ u8 color;
diff --git a/src/overlays/actors/ovl_Obj_Mure/z_obj_mure.c b/src/overlays/actors/ovl_Obj_Mure/z_obj_mure.c
index e8c297d3a..e76e2ecc8 100644
--- a/src/overlays/actors/ovl_Obj_Mure/z_obj_mure.c
+++ b/src/overlays/actors/ovl_Obj_Mure/z_obj_mure.c
@@ -31,7 +31,7 @@ ActorProfile Obj_Mure_Profile = {
/**/ NULL,
};
-typedef enum {
+typedef enum ObjMureType {
/* 0 */ OBJMURE_TYPE_GRASS,
/* 1 */ OBJMURE_TYPE_UNDEFINED,
/* 2 */ OBJMURE_TYPE_FISH,
@@ -39,7 +39,7 @@ typedef enum {
/* 4 */ OBJMURE_TYPE_BUTTERFLY
} ObjMureType;
-typedef enum {
+typedef enum ObjMureChildState {
/* 0 */ OBJMURE_CHILD_STATE_0,
/* 1 */ OBJMURE_CHILD_STATE_1, // Dead
/* 2 */ OBJMURE_CHILD_STATE_2
diff --git a/src/overlays/actors/ovl_Obj_Mure2/z_obj_mure2.c b/src/overlays/actors/ovl_Obj_Mure2/z_obj_mure2.c
index 9cb8cac7d..f9cf6799c 100644
--- a/src/overlays/actors/ovl_Obj_Mure2/z_obj_mure2.c
+++ b/src/overlays/actors/ovl_Obj_Mure2/z_obj_mure2.c
@@ -10,7 +10,7 @@
typedef void (*ObjMure2SetPosFunc)(Vec3f* vec, ObjMure2* this);
-typedef struct {
+typedef struct Mure2sScatteredShrubInfo {
s16 radius;
s16 angle;
} Mure2sScatteredShrubInfo;
diff --git a/src/overlays/actors/ovl_Obj_Oshihiki/z_obj_oshihiki.h b/src/overlays/actors/ovl_Obj_Oshihiki/z_obj_oshihiki.h
index ac4a135c4..90dce5ca4 100644
--- a/src/overlays/actors/ovl_Obj_Oshihiki/z_obj_oshihiki.h
+++ b/src/overlays/actors/ovl_Obj_Oshihiki/z_obj_oshihiki.h
@@ -6,7 +6,7 @@
struct ObjOshihiki;
-typedef enum {
+typedef enum PushBlockType {
/* 0 */ PUSHBLOCK_SMALL_START_ON,
/* 1 */ PUSHBLOCK_MEDIUM_START_ON,
/* 2 */ PUSHBLOCK_LARGE_START_ON,
diff --git a/src/overlays/actors/ovl_Obj_Switch/z_obj_switch.h b/src/overlays/actors/ovl_Obj_Switch/z_obj_switch.h
index 8c12a9c85..8fd130f8f 100644
--- a/src/overlays/actors/ovl_Obj_Switch/z_obj_switch.h
+++ b/src/overlays/actors/ovl_Obj_Switch/z_obj_switch.h
@@ -8,7 +8,7 @@ struct ObjSwitch;
typedef void (*ObjSwitchActionFunc)(struct ObjSwitch*, PlayState*);
-typedef enum {
+typedef enum ObjSwitchType {
/* 0 */ OBJSWITCH_TYPE_FLOOR,
/* 1 */ OBJSWITCH_TYPE_FLOOR_RUSTY,
/* 2 */ OBJSWITCH_TYPE_EYE,
@@ -16,7 +16,7 @@ typedef enum {
/* 4 */ OBJSWITCH_TYPE_CRYSTAL_TARGETABLE
} ObjSwitchType;
-typedef enum {
+typedef enum ObjSwitchSubType {
/* 0 */ OBJSWITCH_SUBTYPE_ONCE, // Switches that can only be turned on (On -> Flag Set)
/* 1 */ OBJSWITCH_SUBTYPE_TOGGLE, // Switches that can be turned on and off (On -> Flag Set, Off -> Flag Cleared)
/* 2 */ OBJSWITCH_SUBTYPE_HOLD, // Floor Types only, released when not stood on (Down -> Flag Set, Up -> Flag Cleared)
@@ -24,12 +24,12 @@ typedef enum {
/* 4 */ OBJSWITCH_SUBTYPE_SYNC // Crystal Types only, syncs with the Switch Flag (On -> Flag Set, Off -> Flag Cleared)
} ObjSwitchSubType;
-typedef struct {
+typedef struct ObjSwitchJntSph {
/* 0x00 */ ColliderJntSph col;
/* 0x20 */ ColliderJntSphElement items[1];
} ObjSwitchJntSph;
-typedef struct {
+typedef struct ObjSwitchTris {
/* 0x00 */ ColliderTris col;
/* 0x20 */ ColliderTrisElement items[2];
} ObjSwitchTris;
diff --git a/src/overlays/actors/ovl_Obj_Timeblock/z_obj_timeblock.c b/src/overlays/actors/ovl_Obj_Timeblock/z_obj_timeblock.c
index 234d903d2..8bbde0569 100644
--- a/src/overlays/actors/ovl_Obj_Timeblock/z_obj_timeblock.c
+++ b/src/overlays/actors/ovl_Obj_Timeblock/z_obj_timeblock.c
@@ -37,7 +37,7 @@ ActorProfile Obj_Timeblock_Profile = {
/**/ ObjTimeblock_Draw,
};
-typedef struct {
+typedef struct ObjTimeblockSizeOptions {
/* 0x00 */ f32 scale;
/* 0x04 */ f32 height;
/* 0x08 */ s16 demoEffectParams;
diff --git a/src/overlays/actors/ovl_Obj_Warp2block/z_obj_warp2block.c b/src/overlays/actors/ovl_Obj_Warp2block/z_obj_warp2block.c
index 76071db8f..2d39250e0 100644
--- a/src/overlays/actors/ovl_Obj_Warp2block/z_obj_warp2block.c
+++ b/src/overlays/actors/ovl_Obj_Warp2block/z_obj_warp2block.c
@@ -40,7 +40,7 @@ ActorProfile Obj_Warp2block_Profile = {
/**/ ObjWarp2block_Draw,
};
-typedef struct {
+typedef struct Warp2BlockSpawnData {
/* 0x00 */ f32 scale;
/* 0x04 */ f32 focus;
/* 0x08 */ s16 params;
diff --git a/src/overlays/actors/ovl_Oceff_Wipe/z_oceff_wipe.h b/src/overlays/actors/ovl_Oceff_Wipe/z_oceff_wipe.h
index 0b26239ba..9e5131737 100644
--- a/src/overlays/actors/ovl_Oceff_Wipe/z_oceff_wipe.h
+++ b/src/overlays/actors/ovl_Oceff_Wipe/z_oceff_wipe.h
@@ -4,7 +4,7 @@
#include "ultra64.h"
#include "global.h"
-typedef enum {
+typedef enum OceffWipeType {
/* 0x00 */ OCEFF_WIPE_ZL,
/* 0x01 */ OCEFF_WIPE_SOT
} OceffWipeType;
diff --git a/src/overlays/actors/ovl_Oceff_Wipe4/z_oceff_wipe4.h b/src/overlays/actors/ovl_Oceff_Wipe4/z_oceff_wipe4.h
index 618728934..3986c1fce 100644
--- a/src/overlays/actors/ovl_Oceff_Wipe4/z_oceff_wipe4.h
+++ b/src/overlays/actors/ovl_Oceff_Wipe4/z_oceff_wipe4.h
@@ -4,7 +4,7 @@
#include "ultra64.h"
#include "global.h"
-typedef enum {
+typedef enum OceffWipe4Type {
/* 0x00 */ OCEFF_WIPE4_SCARECROWS,
/* 0x01 */ OCEFF_WIPE4_UNUSED
} OceffWipe4Type;
diff --git a/src/overlays/actors/ovl_Shot_Sun/z_shot_sun.c b/src/overlays/actors/ovl_Shot_Sun/z_shot_sun.c
index c1082be5b..780975614 100644
--- a/src/overlays/actors/ovl_Shot_Sun/z_shot_sun.c
+++ b/src/overlays/actors/ovl_Shot_Sun/z_shot_sun.c
@@ -33,7 +33,7 @@ ActorProfile Shot_Sun_Profile = {
/**/ NULL,
};
-typedef enum {
+typedef enum FairySpawnerState {
/* 0 */ SPAWNER_OUT_OF_RANGE,
/* 1 */ SPAWNER_OCARINA_START,
/* 2 */ SPAWNER_OCARINA_PLAYING
diff --git a/src/overlays/actors/ovl_player_actor/z_player.c b/src/overlays/actors/ovl_player_actor/z_player.c
index b8d1a8700..d47b41372 100644
--- a/src/overlays/actors/ovl_player_actor/z_player.c
+++ b/src/overlays/actors/ovl_player_actor/z_player.c
@@ -27,7 +27,7 @@
// This is called "adjusted" for now.
#define PLAYER_ANIM_ADJUSTED_SPEED (2.0f / 3.0f)
-typedef struct {
+typedef struct GetItemEntry {
/* 0x00 */ u8 itemId;
/* 0x01 */ u8 field; // various bit-packed data
/* 0x02 */ s8 gi; // defines the draw id and chest opening animation
@@ -44,24 +44,24 @@ typedef struct {
#define GET_ITEM_NONE \
{ ITEM_NONE, 0, 0, 0, OBJECT_INVALID }
-typedef struct {
+typedef struct ExplosiveInfo {
/* 0x00 */ u8 itemId;
/* 0x02 */ s16 actorId;
} ExplosiveInfo; // size = 0x04
-typedef struct {
+typedef struct BottleCatchInfo {
/* 0x00 */ s16 actorId;
/* 0x02 */ u8 itemId;
/* 0x03 */ u8 itemAction;
/* 0x04 */ u8 textId;
} BottleCatchInfo; // size = 0x06
-typedef struct {
+typedef struct BottleDropInfo {
/* 0x00 */ s16 actorId;
/* 0x02 */ s16 actorParams;
} BottleDropInfo; // size = 0x04
-typedef struct {
+typedef struct FallImpactInfo {
/* 0x00 */ s8 damage;
/* 0x01 */ u8 rumbleStrength;
/* 0x02 */ u8 rumbleDuration;
@@ -69,12 +69,12 @@ typedef struct {
/* 0x04 */ u16 sfxId;
} FallImpactInfo; // size = 0x06
-typedef struct {
+typedef struct SpecialRespawnInfo {
/* 0x00 */ Vec3f pos;
/* 0x0C */ s16 yaw;
} SpecialRespawnInfo; // size = 0x10
-typedef enum {
+typedef enum AnimSfxType {
/* 1 */ ANIMSFX_TYPE_1 = 1,
/* 2 */ ANIMSFX_TYPE_2,
/* 3 */ ANIMSFX_TYPE_3,
@@ -93,29 +93,29 @@ typedef enum {
#define ANIMSFX_GET_TYPE(data) ((data)&0x7800)
#define ANIMSFX_GET_FRAME(data) ((data)&0x7FF)
-typedef struct {
+typedef struct AnimSfxEntry {
/* 0x00 */ u16 sfxId;
/* 0x02 */ s16 data;
} AnimSfxEntry; // size = 0x04
-typedef struct {
+typedef struct struct_808551A4 {
/* 0x00 */ u16 unk_00;
/* 0x02 */ s16 unk_02;
} struct_808551A4; // size = 0x04
-typedef struct {
+typedef struct ItemChangeInfo {
/* 0x00 */ LinkAnimationHeader* anim;
/* 0x04 */ u8 changeFrame;
} ItemChangeInfo; // size = 0x08
-typedef struct {
+typedef struct struct_80854554 {
/* 0x00 */ LinkAnimationHeader* unk_00;
/* 0x04 */ LinkAnimationHeader* unk_04;
/* 0x08 */ u8 unk_08;
/* 0x09 */ u8 unk_09;
} struct_80854554; // size = 0x0C
-typedef struct {
+typedef struct struct_80854190 {
/* 0x00 */ LinkAnimationHeader* unk_00;
/* 0x04 */ LinkAnimationHeader* unk_04;
/* 0x08 */ LinkAnimationHeader* unk_08;
@@ -123,13 +123,13 @@ typedef struct {
/* 0x0D */ u8 unk_0D;
} struct_80854190; // size = 0x10
-typedef struct {
+typedef struct struct_80854578 {
/* 0x00 */ LinkAnimationHeader* anim;
/* 0x04 */ f32 unk_04;
/* 0x04 */ f32 unk_08;
} struct_80854578; // size = 0x0C
-typedef struct {
+typedef struct struct_80854B18 {
/* 0x00 */ s8 type;
/* 0x04 */ union {
void* ptr;
@@ -1395,7 +1395,7 @@ static void (*sItemActionInitFuncs[])(PlayState* play, Player* this) = {
Player_InitDefaultIA, // PLAYER_IA_LENS_OF_TRUTH
};
-typedef enum {
+typedef enum ItemChangeType {
/* 0 */ PLAYER_ITEM_CHG_0,
/* 1 */ PLAYER_ITEM_CHG_1,
/* 2 */ PLAYER_ITEM_CHG_2,
@@ -3762,7 +3762,7 @@ s32 Player_GetMovementSpeedAndYaw(Player* this, f32* outSpeedTarget, s16* outYaw
}
}
-typedef enum {
+typedef enum ActionChangeIndex {
/* 0 */ PLAYER_ACTION_CHG_0,
/* 1 */ PLAYER_ACTION_CHG_1,
/* 2 */ PLAYER_ACTION_CHG_2,
@@ -3926,7 +3926,7 @@ s32 Player_TryActionChangeList(PlayState* play, Player* this, s8* actionChangeLi
return false;
}
-typedef enum {
+typedef enum PlayerActionInterruptResult {
/* -1 */ PLAYER_INTERRUPT_NONE = -1,
/* 0 */ PLAYER_INTERRUPT_NEW_ACTION,
/* 1 */ PLAYER_INTERRUPT_MOVE
@@ -11525,7 +11525,7 @@ skip_update:;
}
}
-typedef struct {
+typedef struct BunnyEarKinematics {
/* 0x0 */ Vec3s rot;
/* 0x6 */ Vec3s angVel;
} BunnyEarKinematics; // size = 0xC
diff --git a/src/overlays/effects/ovl_Effect_Ss_Blast/z_eff_ss_blast.h b/src/overlays/effects/ovl_Effect_Ss_Blast/z_eff_ss_blast.h
index 465997e75..b38f343e8 100644
--- a/src/overlays/effects/ovl_Effect_Ss_Blast/z_eff_ss_blast.h
+++ b/src/overlays/effects/ovl_Effect_Ss_Blast/z_eff_ss_blast.h
@@ -4,7 +4,7 @@
#include "ultra64.h"
#include "global.h"
-typedef struct {
+typedef struct EffectSsBlastParams {
/* 0x00 */ Vec3f pos;
/* 0x0C */ Vec3f velocity;
/* 0x18 */ Vec3f accel;
diff --git a/src/overlays/effects/ovl_Effect_Ss_Bomb/z_eff_ss_bomb.h b/src/overlays/effects/ovl_Effect_Ss_Bomb/z_eff_ss_bomb.h
index 1f7abc2f9..5d42b118c 100644
--- a/src/overlays/effects/ovl_Effect_Ss_Bomb/z_eff_ss_bomb.h
+++ b/src/overlays/effects/ovl_Effect_Ss_Bomb/z_eff_ss_bomb.h
@@ -4,7 +4,7 @@
#include "ultra64.h"
#include "global.h"
-typedef struct {
+typedef struct EffectSsBombInitParams {
/* 0x00 */ Vec3f pos;
/* 0x0C */ Vec3f velocity;
/* 0x18 */ Vec3f accel;
diff --git a/src/overlays/effects/ovl_Effect_Ss_Bomb2/z_eff_ss_bomb2.h b/src/overlays/effects/ovl_Effect_Ss_Bomb2/z_eff_ss_bomb2.h
index 454303b50..249a2a650 100644
--- a/src/overlays/effects/ovl_Effect_Ss_Bomb2/z_eff_ss_bomb2.h
+++ b/src/overlays/effects/ovl_Effect_Ss_Bomb2/z_eff_ss_bomb2.h
@@ -4,7 +4,7 @@
#include "ultra64.h"
#include "global.h"
-typedef struct {
+typedef struct EffectSsBomb2InitParams {
/* 0x00 */ Vec3f pos;
/* 0x0C */ Vec3f velocity;
/* 0x18 */ Vec3f accel;
diff --git a/src/overlays/effects/ovl_Effect_Ss_Bubble/z_eff_ss_bubble.h b/src/overlays/effects/ovl_Effect_Ss_Bubble/z_eff_ss_bubble.h
index c8a77cfb3..3c3c8f80d 100644
--- a/src/overlays/effects/ovl_Effect_Ss_Bubble/z_eff_ss_bubble.h
+++ b/src/overlays/effects/ovl_Effect_Ss_Bubble/z_eff_ss_bubble.h
@@ -4,7 +4,7 @@
#include "ultra64.h"
#include "global.h"
-typedef struct {
+typedef struct EffectSsBubbleInitParams {
/* 0x00 */ Vec3f pos;
/* 0x0C */ f32 yPosOffset;
/* 0x10 */ f32 yPosRandScale;
diff --git a/src/overlays/effects/ovl_Effect_Ss_D_Fire/z_eff_ss_d_fire.h b/src/overlays/effects/ovl_Effect_Ss_D_Fire/z_eff_ss_d_fire.h
index 44f891a2e..c59c9add9 100644
--- a/src/overlays/effects/ovl_Effect_Ss_D_Fire/z_eff_ss_d_fire.h
+++ b/src/overlays/effects/ovl_Effect_Ss_D_Fire/z_eff_ss_d_fire.h
@@ -4,7 +4,7 @@
#include "ultra64.h"
#include "global.h"
-typedef struct {
+typedef struct EffectSsDFireInitParams {
/* 0x00 */ Vec3f pos;
/* 0x0C */ Vec3f velocity;
/* 0x18 */ Vec3f accel;
diff --git a/src/overlays/effects/ovl_Effect_Ss_Dead_Db/z_eff_ss_dead_db.h b/src/overlays/effects/ovl_Effect_Ss_Dead_Db/z_eff_ss_dead_db.h
index 62105f620..0ea6bd0fd 100644
--- a/src/overlays/effects/ovl_Effect_Ss_Dead_Db/z_eff_ss_dead_db.h
+++ b/src/overlays/effects/ovl_Effect_Ss_Dead_Db/z_eff_ss_dead_db.h
@@ -4,7 +4,7 @@
#include "ultra64.h"
#include "global.h"
-typedef struct {
+typedef struct EffectSsDeadDbInitParams {
/* 0x00 */ Vec3f pos;
/* 0x0C */ Vec3f velocity;
/* 0x18 */ Vec3f accel;
diff --git a/src/overlays/effects/ovl_Effect_Ss_Dead_Dd/z_eff_ss_dead_dd.h b/src/overlays/effects/ovl_Effect_Ss_Dead_Dd/z_eff_ss_dead_dd.h
index 3b3281cde..80d46899e 100644
--- a/src/overlays/effects/ovl_Effect_Ss_Dead_Dd/z_eff_ss_dead_dd.h
+++ b/src/overlays/effects/ovl_Effect_Ss_Dead_Dd/z_eff_ss_dead_dd.h
@@ -4,7 +4,7 @@
#include "ultra64.h"
#include "global.h"
-typedef struct {
+typedef struct EffectSsDeadDdInitParams {
/* 0x00 */ Vec3f pos;
/* 0x0C */ Vec3f velocity;
/* 0x18 */ Vec3f accel;
diff --git a/src/overlays/effects/ovl_Effect_Ss_Dead_Ds/z_eff_ss_dead_ds.h b/src/overlays/effects/ovl_Effect_Ss_Dead_Ds/z_eff_ss_dead_ds.h
index d6a9b9afb..3714bf41b 100644
--- a/src/overlays/effects/ovl_Effect_Ss_Dead_Ds/z_eff_ss_dead_ds.h
+++ b/src/overlays/effects/ovl_Effect_Ss_Dead_Ds/z_eff_ss_dead_ds.h
@@ -4,7 +4,7 @@
#include "ultra64.h"
#include "global.h"
-typedef struct {
+typedef struct EffectSsDeadDsInitParams {
/* 0x00 */ Vec3f pos;
/* 0x0C */ Vec3f velocity;
/* 0x18 */ Vec3f accel;
diff --git a/src/overlays/effects/ovl_Effect_Ss_Dead_Sound/z_eff_ss_dead_sound.h b/src/overlays/effects/ovl_Effect_Ss_Dead_Sound/z_eff_ss_dead_sound.h
index 624159f3d..cdb20f640 100644
--- a/src/overlays/effects/ovl_Effect_Ss_Dead_Sound/z_eff_ss_dead_sound.h
+++ b/src/overlays/effects/ovl_Effect_Ss_Dead_Sound/z_eff_ss_dead_sound.h
@@ -4,7 +4,7 @@
#include "ultra64.h"
#include "global.h"
-typedef struct {
+typedef struct EffectSsDeadSoundInitParams {
/* 0x00 */ Vec3f pos;
/* 0x0C */ Vec3f velocity;
/* 0x18 */ Vec3f accel;
diff --git a/src/overlays/effects/ovl_Effect_Ss_Dt_Bubble/z_eff_ss_dt_bubble.h b/src/overlays/effects/ovl_Effect_Ss_Dt_Bubble/z_eff_ss_dt_bubble.h
index d7629b3b4..cac4c1a08 100644
--- a/src/overlays/effects/ovl_Effect_Ss_Dt_Bubble/z_eff_ss_dt_bubble.h
+++ b/src/overlays/effects/ovl_Effect_Ss_Dt_Bubble/z_eff_ss_dt_bubble.h
@@ -4,7 +4,7 @@
#include "ultra64.h"
#include "global.h"
-typedef struct {
+typedef struct EffectSsDtBubbleInitParams {
/* 0x00 */ Vec3f pos;
/* 0x0C */ Vec3f velocity;
/* 0x18 */ Vec3f accel;
diff --git a/src/overlays/effects/ovl_Effect_Ss_Dust/z_eff_ss_dust.h b/src/overlays/effects/ovl_Effect_Ss_Dust/z_eff_ss_dust.h
index a56bc38f5..5cb686ae9 100644
--- a/src/overlays/effects/ovl_Effect_Ss_Dust/z_eff_ss_dust.h
+++ b/src/overlays/effects/ovl_Effect_Ss_Dust/z_eff_ss_dust.h
@@ -4,7 +4,7 @@
#include "ultra64.h"
#include "global.h"
-typedef struct {
+typedef struct EffectSsDustInitParams {
/* 0x00 */ Vec3f pos;
/* 0x0C */ Vec3f velocity;
/* 0x18 */ Vec3f accel;
diff --git a/src/overlays/effects/ovl_Effect_Ss_En_Fire/z_eff_ss_en_fire.c b/src/overlays/effects/ovl_Effect_Ss_En_Fire/z_eff_ss_en_fire.c
index 0845e34af..8fd5f7d1e 100644
--- a/src/overlays/effects/ovl_Effect_Ss_En_Fire/z_eff_ss_en_fire.c
+++ b/src/overlays/effects/ovl_Effect_Ss_En_Fire/z_eff_ss_en_fire.c
@@ -103,12 +103,12 @@ void EffectSsEnFire_Draw(PlayState* play, u32 index, EffectSs* this) {
CLOSE_DISPS(gfxCtx, "../z_eff_en_fire.c", 213);
}
-typedef struct {
+typedef struct FireActorF {
/* 0x000 */ Actor actor;
/* 0x14C */ Vec3f firePos[10];
} FireActorF;
-typedef struct {
+typedef struct FireActorS {
/* 0x000 */ Actor actor;
/* 0x14C */ Vec3s firePos[10];
} FireActorS;
diff --git a/src/overlays/effects/ovl_Effect_Ss_En_Fire/z_eff_ss_en_fire.h b/src/overlays/effects/ovl_Effect_Ss_En_Fire/z_eff_ss_en_fire.h
index bf8839be9..c511827ec 100644
--- a/src/overlays/effects/ovl_Effect_Ss_En_Fire/z_eff_ss_en_fire.h
+++ b/src/overlays/effects/ovl_Effect_Ss_En_Fire/z_eff_ss_en_fire.h
@@ -4,7 +4,7 @@
#include "ultra64.h"
#include "global.h"
-typedef struct {
+typedef struct EffectSsEnFireInitParams {
/* 0x00 */ Actor* actor;
/* 0x04 */ Vec3f pos;
/* 0x10 */ s16 scale;
diff --git a/src/overlays/effects/ovl_Effect_Ss_En_Ice/z_eff_ss_en_ice.h b/src/overlays/effects/ovl_Effect_Ss_En_Ice/z_eff_ss_en_ice.h
index 985e37b84..22929d39d 100644
--- a/src/overlays/effects/ovl_Effect_Ss_En_Ice/z_eff_ss_en_ice.h
+++ b/src/overlays/effects/ovl_Effect_Ss_En_Ice/z_eff_ss_en_ice.h
@@ -4,7 +4,7 @@
#include "ultra64.h"
#include "global.h"
-typedef struct {
+typedef struct EffectSsEnIceInitParams {
/* 0x00 */ Actor* actor;
/* 0x04 */ Vec3f pos;
/* 0x10 */ f32 scale;
diff --git a/src/overlays/effects/ovl_Effect_Ss_Extra/z_eff_ss_extra.h b/src/overlays/effects/ovl_Effect_Ss_Extra/z_eff_ss_extra.h
index cc05775c2..c8047d21f 100644
--- a/src/overlays/effects/ovl_Effect_Ss_Extra/z_eff_ss_extra.h
+++ b/src/overlays/effects/ovl_Effect_Ss_Extra/z_eff_ss_extra.h
@@ -4,7 +4,7 @@
#include "ultra64.h"
#include "global.h"
-typedef struct {
+typedef struct EffectSsExtraInitParams {
/* 0x00 */ Vec3f pos;
/* 0x0C */ Vec3f velocity;
/* 0x18 */ Vec3f accel;
@@ -12,7 +12,7 @@ typedef struct {
/* 0x26 */ s16 scoreIdx;
} EffectSsExtraInitParams; // size = 0x28
-typedef enum {
+typedef enum ExtraScoreIdx {
/* 0 */ EXTRA_SCORE_30,
/* 1 */ EXTRA_SCORE_60,
/* 2 */ EXTRA_SCORE_100
diff --git a/src/overlays/effects/ovl_Effect_Ss_Fcircle/z_eff_ss_fcircle.h b/src/overlays/effects/ovl_Effect_Ss_Fcircle/z_eff_ss_fcircle.h
index 01709c6aa..2e3eb7418 100644
--- a/src/overlays/effects/ovl_Effect_Ss_Fcircle/z_eff_ss_fcircle.h
+++ b/src/overlays/effects/ovl_Effect_Ss_Fcircle/z_eff_ss_fcircle.h
@@ -4,7 +4,7 @@
#include "ultra64.h"
#include "global.h"
-typedef struct {
+typedef struct EffectSsFcircleInitParams {
/* 0x00 */ Actor* actor;
/* 0x04 */ Vec3f pos;
/* 0x10 */ s16 radius;
diff --git a/src/overlays/effects/ovl_Effect_Ss_Fhg_Flash/z_eff_ss_fhg_flash.h b/src/overlays/effects/ovl_Effect_Ss_Fhg_Flash/z_eff_ss_fhg_flash.h
index 0d2d9616e..be8d70bcc 100644
--- a/src/overlays/effects/ovl_Effect_Ss_Fhg_Flash/z_eff_ss_fhg_flash.h
+++ b/src/overlays/effects/ovl_Effect_Ss_Fhg_Flash/z_eff_ss_fhg_flash.h
@@ -4,7 +4,7 @@
#include "ultra64.h"
#include "global.h"
-typedef struct {
+typedef struct EffectSsFhgFlashInitParams {
/* 0x00 */ Vec3f pos;
/* 0x0C */ Vec3f velocity;
/* 0x18 */ Vec3f accel;
@@ -14,12 +14,12 @@ typedef struct {
/* 0x2C */ u8 type;
} EffectSsFhgFlashInitParams; // size = 0x30
-typedef enum {
+typedef enum FhgFlashType {
/* 0x00 */ FHGFLASH_LIGHTBALL,
/* 0x01 */ FHGFLASH_SHOCK
} FhgFlashType;
-typedef enum {
+typedef enum FhgFlashLightBallParam {
/* 0x00 */ FHGFLASH_LIGHTBALL_GREEN,
/* 0x01 */ FHGFLASH_LIGHTBALL_LIGHTBLUE,
/* 0x02 */ FHGFLASH_LIGHTBALL_RED,
@@ -31,7 +31,7 @@ typedef enum {
/* 0x08 */ FHGFLASH_LIGHTBALL_WHITE2
} FhgFlashLightBallParam;
-typedef enum {
+typedef enum FhgFlashLightningParam {
/* 0x00 */ FHGFLASH_SHOCK_NO_ACTOR, // Don't attach to any actor. Stays at a fixed position.
/* 0x01 */ FHGFLASH_SHOCK_PLAYER, // Move to a random Player body part every frame.
/* 0x02 */ FHGFLASH_SHOCK_PG // Move to a random Phantom Ganon body part every frame.
diff --git a/src/overlays/effects/ovl_Effect_Ss_Fire_Tail/z_eff_ss_fire_tail.h b/src/overlays/effects/ovl_Effect_Ss_Fire_Tail/z_eff_ss_fire_tail.h
index 48b207944..70f5df7e1 100644
--- a/src/overlays/effects/ovl_Effect_Ss_Fire_Tail/z_eff_ss_fire_tail.h
+++ b/src/overlays/effects/ovl_Effect_Ss_Fire_Tail/z_eff_ss_fire_tail.h
@@ -4,7 +4,7 @@
#include "ultra64.h"
#include "global.h"
-typedef struct {
+typedef struct EffectSsFireTailInitParams {
/* 0x00 */ Actor* actor;
/* 0x04 */ Vec3f pos;
/* 0x10 */ f32 scale;
diff --git a/src/overlays/effects/ovl_Effect_Ss_G_Fire/z_eff_ss_g_fire.h b/src/overlays/effects/ovl_Effect_Ss_G_Fire/z_eff_ss_g_fire.h
index 1fb6af2f2..cfb5dcfaf 100644
--- a/src/overlays/effects/ovl_Effect_Ss_G_Fire/z_eff_ss_g_fire.h
+++ b/src/overlays/effects/ovl_Effect_Ss_G_Fire/z_eff_ss_g_fire.h
@@ -4,7 +4,7 @@
#include "ultra64.h"
#include "global.h"
-typedef struct {
+typedef struct EffectSsGFireInitParams {
/* 0x00 */ Vec3f pos;
} EffectSsGFireInitParams; // size = 0xC
diff --git a/src/overlays/effects/ovl_Effect_Ss_G_Magma/z_eff_ss_g_magma.h b/src/overlays/effects/ovl_Effect_Ss_G_Magma/z_eff_ss_g_magma.h
index a63e567e5..ab1b97a1d 100644
--- a/src/overlays/effects/ovl_Effect_Ss_G_Magma/z_eff_ss_g_magma.h
+++ b/src/overlays/effects/ovl_Effect_Ss_G_Magma/z_eff_ss_g_magma.h
@@ -4,7 +4,7 @@
#include "ultra64.h"
#include "global.h"
-typedef struct {
+typedef struct EffectSsGMagmaInitParams {
/* 0x00 */ Vec3f pos;
} EffectSsGMagmaInitParams; // size = 0xC
diff --git a/src/overlays/effects/ovl_Effect_Ss_G_Magma2/z_eff_ss_g_magma2.h b/src/overlays/effects/ovl_Effect_Ss_G_Magma2/z_eff_ss_g_magma2.h
index d1993832c..715e01e7d 100644
--- a/src/overlays/effects/ovl_Effect_Ss_G_Magma2/z_eff_ss_g_magma2.h
+++ b/src/overlays/effects/ovl_Effect_Ss_G_Magma2/z_eff_ss_g_magma2.h
@@ -4,7 +4,7 @@
#include "ultra64.h"
#include "global.h"
-typedef struct {
+typedef struct EffectSsGMagma2InitParams {
/* 0x00 */ Vec3f pos;
/* 0x0C */ Color_RGBA8 primColor;
/* 0x10 */ Color_RGBA8 envColor;
diff --git a/src/overlays/effects/ovl_Effect_Ss_G_Ripple/z_eff_ss_g_ripple.h b/src/overlays/effects/ovl_Effect_Ss_G_Ripple/z_eff_ss_g_ripple.h
index afe8e89e1..63487ee0c 100644
--- a/src/overlays/effects/ovl_Effect_Ss_G_Ripple/z_eff_ss_g_ripple.h
+++ b/src/overlays/effects/ovl_Effect_Ss_G_Ripple/z_eff_ss_g_ripple.h
@@ -4,7 +4,7 @@
#include "ultra64.h"
#include "global.h"
-typedef struct {
+typedef struct EffectSsGRippleInitParams {
/* 0x00 */ Vec3f pos;
/* 0x0C */ s16 radius;
/* 0x0E */ s16 radiusMax;
diff --git a/src/overlays/effects/ovl_Effect_Ss_G_Spk/z_eff_ss_g_spk.h b/src/overlays/effects/ovl_Effect_Ss_G_Spk/z_eff_ss_g_spk.h
index a4a22cef1..8627bc052 100644
--- a/src/overlays/effects/ovl_Effect_Ss_G_Spk/z_eff_ss_g_spk.h
+++ b/src/overlays/effects/ovl_Effect_Ss_G_Spk/z_eff_ss_g_spk.h
@@ -4,7 +4,7 @@
#include "ultra64.h"
#include "global.h"
-typedef struct {
+typedef struct EffectSsGSpkInitParams {
/* 0x00 */ Actor* actor;
/* 0x04 */ Vec3f pos;
/* 0x10 */ Vec3f velocity;
diff --git a/src/overlays/effects/ovl_Effect_Ss_G_Splash/z_eff_ss_g_splash.h b/src/overlays/effects/ovl_Effect_Ss_G_Splash/z_eff_ss_g_splash.h
index b761ce332..c13e19cd1 100644
--- a/src/overlays/effects/ovl_Effect_Ss_G_Splash/z_eff_ss_g_splash.h
+++ b/src/overlays/effects/ovl_Effect_Ss_G_Splash/z_eff_ss_g_splash.h
@@ -4,7 +4,7 @@
#include "ultra64.h"
#include "global.h"
-typedef struct {
+typedef struct EffectSsGSplashInitParams {
/* 0x00 */ Vec3f pos;
/* 0x0C */ u8 type;
/* 0x0D */ u8 customColor;
diff --git a/src/overlays/effects/ovl_Effect_Ss_Hahen/z_eff_ss_hahen.h b/src/overlays/effects/ovl_Effect_Ss_Hahen/z_eff_ss_hahen.h
index 990699431..1385bee8c 100644
--- a/src/overlays/effects/ovl_Effect_Ss_Hahen/z_eff_ss_hahen.h
+++ b/src/overlays/effects/ovl_Effect_Ss_Hahen/z_eff_ss_hahen.h
@@ -4,7 +4,7 @@
#include "ultra64.h"
#include "global.h"
-typedef struct {
+typedef struct EffectSsHahenInitParams {
/* 0x00 */ Vec3f pos;
/* 0x0C */ Vec3f velocity;
/* 0x18 */ Vec3f accel;
diff --git a/src/overlays/effects/ovl_Effect_Ss_HitMark/z_eff_ss_hitmark.h b/src/overlays/effects/ovl_Effect_Ss_HitMark/z_eff_ss_hitmark.h
index 74f8e7f80..685991045 100644
--- a/src/overlays/effects/ovl_Effect_Ss_HitMark/z_eff_ss_hitmark.h
+++ b/src/overlays/effects/ovl_Effect_Ss_HitMark/z_eff_ss_hitmark.h
@@ -4,13 +4,13 @@
#include "ultra64.h"
#include "global.h"
-typedef struct {
+typedef struct EffectSsHitMarkInitParams {
/* 0x00 */ s32 type;
/* 0x04 */ s16 scale;
/* 0x08 */ Vec3f pos;
} EffectSsHitMarkInitParams; // size = 0x14
-typedef enum {
+typedef enum EffectSsHitmarkType {
EFFECT_HITMARK_WHITE,
EFFECT_HITMARK_DUST,
EFFECT_HITMARK_RED,
diff --git a/src/overlays/effects/ovl_Effect_Ss_Ice_Piece/z_eff_ss_ice_piece.h b/src/overlays/effects/ovl_Effect_Ss_Ice_Piece/z_eff_ss_ice_piece.h
index 2a697d74e..f7b376a7a 100644
--- a/src/overlays/effects/ovl_Effect_Ss_Ice_Piece/z_eff_ss_ice_piece.h
+++ b/src/overlays/effects/ovl_Effect_Ss_Ice_Piece/z_eff_ss_ice_piece.h
@@ -4,7 +4,7 @@
#include "ultra64.h"
#include "global.h"
-typedef struct {
+typedef struct EffectSsIcePieceInitParams {
/* 0x00 */ Vec3f pos;
/* 0x0C */ f32 scale;
/* 0x10 */ Vec3f velocity;
diff --git a/src/overlays/effects/ovl_Effect_Ss_Ice_Smoke/z_eff_ss_ice_smoke.h b/src/overlays/effects/ovl_Effect_Ss_Ice_Smoke/z_eff_ss_ice_smoke.h
index 08fc6f745..64833be51 100644
--- a/src/overlays/effects/ovl_Effect_Ss_Ice_Smoke/z_eff_ss_ice_smoke.h
+++ b/src/overlays/effects/ovl_Effect_Ss_Ice_Smoke/z_eff_ss_ice_smoke.h
@@ -4,7 +4,7 @@
#include "ultra64.h"
#include "global.h"
-typedef struct {
+typedef struct EffectSsIceSmokeInitParams {
/* 0x00 */ Vec3f pos;
/* 0x0C */ Vec3f velocity;
/* 0x18 */ Vec3f accel;
diff --git a/src/overlays/effects/ovl_Effect_Ss_K_Fire/z_eff_ss_k_fire.h b/src/overlays/effects/ovl_Effect_Ss_K_Fire/z_eff_ss_k_fire.h
index e8b2c617c..1896b47a7 100644
--- a/src/overlays/effects/ovl_Effect_Ss_K_Fire/z_eff_ss_k_fire.h
+++ b/src/overlays/effects/ovl_Effect_Ss_K_Fire/z_eff_ss_k_fire.h
@@ -4,7 +4,7 @@
#include "ultra64.h"
#include "global.h"
-typedef struct {
+typedef struct EffectSsKFireInitParams {
/* 0x00 */ Vec3f pos;
/* 0x0C */ Vec3f velocity;
/* 0x18 */ Vec3f accel;
diff --git a/src/overlays/effects/ovl_Effect_Ss_Kakera/z_eff_ss_kakera.h b/src/overlays/effects/ovl_Effect_Ss_Kakera/z_eff_ss_kakera.h
index 17a4c8da1..bd55d5c3c 100644
--- a/src/overlays/effects/ovl_Effect_Ss_Kakera/z_eff_ss_kakera.h
+++ b/src/overlays/effects/ovl_Effect_Ss_Kakera/z_eff_ss_kakera.h
@@ -4,7 +4,7 @@
#include "ultra64.h"
#include "global.h"
-typedef struct {
+typedef struct EffectSsKakeraInitParams {
/* 0x00 */ Vec3f pos;
/* 0x0C */ Vec3f velocity;
/* 0x18 */ Vec3f unk_18;
@@ -24,7 +24,7 @@ typedef struct {
#define KAKERA_OBJECT_DEFAULT -1
-typedef enum {
+typedef enum KakeraColorIndex {
/* -1 */ KAKERA_COLOR_NONE = -1,
/* 0 */ KAKERA_COLOR_WHITE,
/* 1 */ KAKERA_COLOR_BROWN
diff --git a/src/overlays/effects/ovl_Effect_Ss_KiraKira/z_eff_ss_kirakira.h b/src/overlays/effects/ovl_Effect_Ss_KiraKira/z_eff_ss_kirakira.h
index 290fec68d..7f8c18da3 100644
--- a/src/overlays/effects/ovl_Effect_Ss_KiraKira/z_eff_ss_kirakira.h
+++ b/src/overlays/effects/ovl_Effect_Ss_KiraKira/z_eff_ss_kirakira.h
@@ -4,7 +4,7 @@
#include "ultra64.h"
#include "global.h"
-typedef struct {
+typedef struct EffectSsKiraKiraInitParams {
/* 0x00 */ Vec3f pos;
/* 0x0C */ Vec3f velocity;
/* 0x18 */ Vec3f accel;
diff --git a/src/overlays/effects/ovl_Effect_Ss_Lightning/z_eff_ss_lightning.h b/src/overlays/effects/ovl_Effect_Ss_Lightning/z_eff_ss_lightning.h
index 758f2cce6..ad352e901 100644
--- a/src/overlays/effects/ovl_Effect_Ss_Lightning/z_eff_ss_lightning.h
+++ b/src/overlays/effects/ovl_Effect_Ss_Lightning/z_eff_ss_lightning.h
@@ -4,7 +4,7 @@
#include "ultra64.h"
#include "global.h"
-typedef struct {
+typedef struct EffectSsLightningInitParams {
/* 0x00 */ Vec3f pos;
/* 0x0C */ Color_RGBA8 primColor;
/* 0x10 */ Color_RGBA8 envColor;
diff --git a/src/overlays/effects/ovl_Effect_Ss_Sibuki/z_eff_ss_sibuki.h b/src/overlays/effects/ovl_Effect_Ss_Sibuki/z_eff_ss_sibuki.h
index 321fd334e..18aaf0d20 100644
--- a/src/overlays/effects/ovl_Effect_Ss_Sibuki/z_eff_ss_sibuki.h
+++ b/src/overlays/effects/ovl_Effect_Ss_Sibuki/z_eff_ss_sibuki.h
@@ -4,7 +4,7 @@
#include "ultra64.h"
#include "global.h"
-typedef struct {
+typedef struct EffectSsSibukiInitParams {
/* 0x00 */ Vec3f pos;
/* 0x0C */ Vec3f velocity;
/* 0x18 */ Vec3f accel;
diff --git a/src/overlays/effects/ovl_Effect_Ss_Sibuki2/z_eff_ss_sibuki2.h b/src/overlays/effects/ovl_Effect_Ss_Sibuki2/z_eff_ss_sibuki2.h
index c0201fba0..7fb20d8b3 100644
--- a/src/overlays/effects/ovl_Effect_Ss_Sibuki2/z_eff_ss_sibuki2.h
+++ b/src/overlays/effects/ovl_Effect_Ss_Sibuki2/z_eff_ss_sibuki2.h
@@ -4,7 +4,7 @@
#include "ultra64.h"
#include "global.h"
-typedef struct {
+typedef struct EffectSsSibuki2InitParams {
/* 0x00 */ Vec3f pos;
/* 0x0C */ Vec3f velocity;
/* 0x18 */ Vec3f accel;
diff --git a/src/overlays/effects/ovl_Effect_Ss_Solder_Srch_Ball/z_eff_ss_solder_srch_ball.h b/src/overlays/effects/ovl_Effect_Ss_Solder_Srch_Ball/z_eff_ss_solder_srch_ball.h
index e29ca6e3f..70aa558b6 100644
--- a/src/overlays/effects/ovl_Effect_Ss_Solder_Srch_Ball/z_eff_ss_solder_srch_ball.h
+++ b/src/overlays/effects/ovl_Effect_Ss_Solder_Srch_Ball/z_eff_ss_solder_srch_ball.h
@@ -4,7 +4,7 @@
#include "ultra64.h"
#include "global.h"
-typedef struct {
+typedef struct EffectSsSolderSrchBallInitParams {
/* 0x00 */ Vec3f pos;
/* 0x0C */ Vec3f velocity;
/* 0x18 */ Vec3f accel;
diff --git a/src/overlays/effects/ovl_Effect_Ss_Stick/z_eff_ss_stick.c b/src/overlays/effects/ovl_Effect_Ss_Stick/z_eff_ss_stick.c
index b3dc6e8a4..77e907b29 100644
--- a/src/overlays/effects/ovl_Effect_Ss_Stick/z_eff_ss_stick.c
+++ b/src/overlays/effects/ovl_Effect_Ss_Stick/z_eff_ss_stick.c
@@ -20,7 +20,7 @@ EffectSsProfile Effect_Ss_Stick_Profile = {
EffectSsStick_Init,
};
-typedef struct {
+typedef struct StickDrawInfo {
/* 0x00 */ s16 objectId;
/* 0x04 */ Gfx* displayList;
} StickDrawInfo;
diff --git a/src/overlays/effects/ovl_Effect_Ss_Stick/z_eff_ss_stick.h b/src/overlays/effects/ovl_Effect_Ss_Stick/z_eff_ss_stick.h
index a3df5491c..8e01aeb00 100644
--- a/src/overlays/effects/ovl_Effect_Ss_Stick/z_eff_ss_stick.h
+++ b/src/overlays/effects/ovl_Effect_Ss_Stick/z_eff_ss_stick.h
@@ -4,7 +4,7 @@
#include "ultra64.h"
#include "global.h"
-typedef struct {
+typedef struct EffectSsStickInitParams {
/* 0x00 */ Vec3f pos;
/* 0x0C */ s16 yaw;
} EffectSsStickInitParams; // size = 0x10
diff --git a/src/overlays/effects/ovl_Effect_Ss_Stone1/z_eff_ss_stone1.c b/src/overlays/effects/ovl_Effect_Ss_Stone1/z_eff_ss_stone1.c
index 29901a387..acf3c9105 100644
--- a/src/overlays/effects/ovl_Effect_Ss_Stone1/z_eff_ss_stone1.c
+++ b/src/overlays/effects/ovl_Effect_Ss_Stone1/z_eff_ss_stone1.c
@@ -18,7 +18,7 @@ EffectSsProfile Effect_Ss_Stone1_Profile = {
EffectSsStone1_Init,
};
-typedef struct {
+typedef struct EffStoneDrawInfo {
/* 0x00 */ void* texture;
/* 0x04 */ Color_RGBA8 primColor;
/* 0x08 */ Color_RGBA8 envColor;
diff --git a/src/overlays/effects/ovl_Effect_Ss_Stone1/z_eff_ss_stone1.h b/src/overlays/effects/ovl_Effect_Ss_Stone1/z_eff_ss_stone1.h
index 680345014..d32916127 100644
--- a/src/overlays/effects/ovl_Effect_Ss_Stone1/z_eff_ss_stone1.h
+++ b/src/overlays/effects/ovl_Effect_Ss_Stone1/z_eff_ss_stone1.h
@@ -4,7 +4,7 @@
#include "ultra64.h"
#include "global.h"
-typedef struct {
+typedef struct EffectSsStone1InitParams {
/* 0x00 */ Vec3f pos;
/* 0x00 */ s32 unk_C;
} EffectSsStone1InitParams; // size = 0x
diff --git a/src/overlays/gamestates/ovl_file_choose/file_select.h b/src/overlays/gamestates/ovl_file_choose/file_select.h
index 15f78f143..1bf1d79fb 100644
--- a/src/overlays/gamestates/ovl_file_choose/file_select.h
+++ b/src/overlays/gamestates/ovl_file_choose/file_select.h
@@ -19,13 +19,13 @@
// Init mode: Initial setup as the file select is starting up, fades and slides in various menu elements
// Config mode: Handles the bulk of the file select, various configuration tasks like picking a file, copy/erase, and the options menu
// Select mode: Displays the selected file with various details about it, and allows the player to confirm and open it
-typedef enum {
+typedef enum MenuMode {
/* 0 */ FS_MENU_MODE_INIT,
/* 1 */ FS_MENU_MODE_CONFIG,
/* 2 */ FS_MENU_MODE_SELECT
} MenuMode;
-typedef enum {
+typedef enum ConfigMode {
/* 00 */ CM_FADE_IN_START,
/* 01 */ CM_FADE_IN_END,
/* 02 */ CM_MAIN_MENU,
@@ -69,7 +69,7 @@ typedef enum {
/* 40 */ CM_UNUSED_DELAY
} ConfigMode;
-typedef enum {
+typedef enum SelectMode {
/* 0 */ SM_FADE_MAIN_TO_SELECT,
/* 1 */ SM_MOVE_FILE_TO_TOP,
/* 2 */ SM_FADE_IN_FILE_INFO,
@@ -80,7 +80,7 @@ typedef enum {
/* 7 */ SM_LOAD_GAME
} SelectMode;
-typedef enum {
+typedef enum TitleLabel {
/* 0 */ FS_TITLE_SELECT_FILE, // "Please select a file."
/* 1 */ FS_TITLE_OPEN_FILE, // "Open this file?"
/* 2 */ FS_TITLE_COPY_FROM, // "Copy which file?"
@@ -92,7 +92,7 @@ typedef enum {
/* 8 */ FS_TITLE_ERASE_COMPLETE // "File erased."
} TitleLabel;
-typedef enum {
+typedef enum WarningLabel {
/* -1 */ FS_WARNING_NONE = -1,
/* 0 */ FS_WARNING_NO_FILE_COPY, // "No file to copy."
/* 1 */ FS_WARNING_NO_FILE_ERASE, // "No file to erase."
@@ -101,7 +101,7 @@ typedef enum {
/* 4 */ FS_WARNING_FILE_IN_USE // "This file is in use."
} WarningLabel;
-typedef enum {
+typedef enum MainMenuButtonIndex {
/* 0 */ FS_BTN_MAIN_FILE_1,
/* 1 */ FS_BTN_MAIN_FILE_2,
/* 2 */ FS_BTN_MAIN_FILE_3,
@@ -110,21 +110,21 @@ typedef enum {
/* 5 */ FS_BTN_MAIN_OPTIONS
} MainMenuButtonIndex;
-typedef enum {
+typedef enum CopyMenuButtonIndex {
/* 0 */ FS_BTN_COPY_FILE_1,
/* 1 */ FS_BTN_COPY_FILE_2,
/* 2 */ FS_BTN_COPY_FILE_3,
/* 3 */ FS_BTN_COPY_QUIT
} CopyMenuButtonIndex;
-typedef enum {
+typedef enum EraseMenuButtonIndex {
/* 0 */ FS_BTN_ERASE_FILE_1,
/* 1 */ FS_BTN_ERASE_FILE_2,
/* 2 */ FS_BTN_ERASE_FILE_3,
/* 3 */ FS_BTN_ERASE_QUIT
} EraseMenuButtonIndex;
-typedef enum {
+typedef enum SelectMenuButtonIndex {
/* 0 */ FS_BTN_SELECT_FILE_1,
/* 1 */ FS_BTN_SELECT_FILE_2,
/* 2 */ FS_BTN_SELECT_FILE_3,
@@ -132,29 +132,29 @@ typedef enum {
/* 4 */ FS_BTN_SELECT_QUIT
} SelectMenuButtonIndex;
-typedef enum {
+typedef enum ConfirmButtonIndex {
/* 0 */ FS_BTN_CONFIRM_YES,
/* 1 */ FS_BTN_CONFIRM_QUIT
} ConfirmButtonIndex;
-typedef enum {
+typedef enum ActionButtonIndex {
/* 0 */ FS_BTN_ACTION_COPY,
/* 1 */ FS_BTN_ACTION_ERASE
} ActionButtonIndex;
-typedef enum {
+typedef enum SettingIndex {
/* 0 */ FS_SETTING_AUDIO,
/* 1 */ FS_SETTING_TARGET
} SettingIndex;
-typedef enum {
+typedef enum AudioOption {
/* 0 */ FS_AUDIO_STEREO,
/* 1 */ FS_AUDIO_MONO,
/* 2 */ FS_AUDIO_HEADSET,
/* 3 */ FS_AUDIO_SURROUND
} AudioOption;
-typedef enum {
+typedef enum CharPage {
/* 0 */ FS_CHAR_PAGE_HIRA,
/* 1 */ FS_CHAR_PAGE_KATA,
/* 2 */ FS_CHAR_PAGE_ENG,
@@ -166,7 +166,7 @@ typedef enum {
/* 8 */ FS_CHAR_PAGE_ENG_TO_KATA
} CharPage;
-typedef enum {
+typedef enum KeyboardButton {
/* 00 */ FS_KBD_BTN_HIRA,
/* 01 */ FS_KBD_BTN_KATA,
/* 02 */ FS_KBD_BTN_ENG,
diff --git a/src/overlays/gamestates/ovl_file_choose/z_file_nameset.c b/src/overlays/gamestates/ovl_file_choose/z_file_nameset.c
index f369ce7f3..7e3ec55ee 100644
--- a/src/overlays/gamestates/ovl_file_choose/z_file_nameset.c
+++ b/src/overlays/gamestates/ovl_file_choose/z_file_nameset.c
@@ -1384,7 +1384,7 @@ void FileSelect_UpdateOptionsMenu(GameState* thisx) {
}
#if OOT_NTSC
-typedef struct {
+typedef struct OptionsMenuTextureInfo {
/* 0x00 */ void* texture[2];
/* 0x08 */ u16 width;
/* 0x0A */ u16 height;
@@ -1394,7 +1394,7 @@ typedef struct {
#define OPTIONS_MENU_TEXTURE_WIDTH(info) info.width
#define OPTIONS_MENU_TEXTURE_HEIGHT(info) info.height
#else
-typedef struct {
+typedef struct OptionsMenuTextureInfo {
/* 0x00 */ void* texture[3];
/* 0x0C */ u16 width[3];
/* 0x12 */ u16 height;
diff --git a/src/overlays/misc/ovl_kaleido_scope/z_lmap_mark.c b/src/overlays/misc/ovl_kaleido_scope/z_lmap_mark.c
index 7cb49d8f7..6b8b0d2f2 100644
--- a/src/overlays/misc/ovl_kaleido_scope/z_lmap_mark.c
+++ b/src/overlays/misc/ovl_kaleido_scope/z_lmap_mark.c
@@ -1,7 +1,7 @@
#include "z_kaleido_scope.h"
#include "assets/textures/parameter_static/parameter_static.h"
-typedef struct {
+typedef struct PauseMapMarkInfo {
/* 0x00 */ void* texture;
/* 0x04 */ u32 imageFormat;
/* 0x08 */ u32 imageSize;