1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2024-12-02 07:46:01 +00:00
oot/src/code
engineer124 970513253b
Introducing Macros for BGM (Background Music) (#979)
* Import bgm Ids

* Small correction

* Fix kaleido

* Add defines for 0, 1, 0xFFFF. Fill in missing macros

* Improve names, move to bgm.h, add in macros to kankyo.c

* format

* Swap order of bgm macros and flags
2021-11-01 13:54:19 -04:00
..
__osMalloc.c Fix/cleanup/rephrase miscellaneous stuff (#983) 2021-10-02 23:17:09 -04:00
audio_effects.c Fix/cleanup/rephrase miscellaneous stuff (#983) 2021-10-02 23:17:09 -04:00
audio_heap.c audio_synthesis OK + partially documented (#920) 2021-08-31 18:53:35 -04:00
audio_load.c audio_load OK (#948) 2021-09-07 14:14:09 -04:00
audio_playback.c Fix/cleanup/rephrase miscellaneous stuff (#983) 2021-10-02 23:17:09 -04:00
audio_rodata.c Audio WIP (#836) 2021-07-27 19:44:58 -04:00
audio_seqplayer.c audio_synthesis OK + partially documented (#920) 2021-08-31 18:53:35 -04:00
audio_sound_params.c Fix/cleanup/rephrase miscellaneous stuff (#983) 2021-10-02 23:17:09 -04:00
audio_synthesis.c audio_synthesis OK + partially documented (#920) 2021-08-31 18:53:35 -04:00
audioMgr.c Cleanup translation comments (#924) 2021-09-04 15:33:19 +02:00
code_800A9F30.c Fix most compiler warnings in the boot and code segments (#674) 2021-02-13 19:49:40 -05:00
code_800ACE70.c Fix most compiler warnings in the boot and code segments (#674) 2021-02-13 19:49:40 -05:00
code_800AD920.c Fix most compiler warnings in the boot and code segments (#674) 2021-02-13 19:49:40 -05:00
code_800BB0A0.c Fix a few warnings (#998) 2021-10-11 16:16:43 -04:00
code_800C3C20.c Fix/cleanup/rephrase miscellaneous stuff (#983) 2021-10-02 23:17:09 -04:00
code_800D2E30.c Fix most compiler warnings in the boot and code segments (#674) 2021-02-13 19:49:40 -05:00
code_800D31A0.c Fix most compiler warnings in the boot and code segments (#674) 2021-02-13 19:49:40 -05:00
code_800E4FE0.c Match func_800E5000 (#977) 2021-09-20 15:24:24 -04:00
code_800EC960.c Introducing Macros for BGM (Background Music) (#979) 2021-11-01 13:54:19 -04:00
code_800F7260.c code_800EC960 OK + data migrated (#937) 2021-09-01 18:33:37 -04:00
code_800F9280.c Introducing Macros for BGM (Background Music) (#979) 2021-11-01 13:54:19 -04:00
code_800FBCE0.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
code_800FC620.c Add do whiles to all remaining gbi macros (#946) 2021-09-05 14:41:02 -04:00
code_800FCE80.c Consistent naming for Math_ functions (#542) 2020-12-26 05:44:53 -05:00
code_800FD970.c Fix most compiler warnings in the boot and code segments (#674) 2021-02-13 19:49:40 -05:00
code_8006BA00.c Fix most compiler warnings in the boot and code segments (#674) 2021-02-13 19:49:40 -05:00
code_8006C3A0.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
code_8006C510.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
code_80097A00.c Cleanup translation comments (#924) 2021-09-04 15:33:19 +02:00
code_800430A0.c Format all translation comments like // "..." (hopefully all of them) (#986) 2021-09-28 19:53:56 -04:00
code_801067F0.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
code_801068B0.c Fix most compiler warnings in the boot and code segments (#674) 2021-02-13 19:49:40 -05:00
code_80043480.c Various minor cleanups (#940) 2021-09-05 21:00:24 +09:00
code_80069420.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
code_80106860.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
db_camera.c Document ovl_select (#966) 2021-10-23 20:44:45 -04:00
debug_malloc.c Fix/cleanup/rephrase miscellaneous stuff (#983) 2021-10-02 23:17:09 -04:00
fault.c Fix/cleanup/rephrase miscellaneous stuff (#983) 2021-10-02 23:17:09 -04:00
fault_drawer.c Fix/cleanup/rephrase miscellaneous stuff (#983) 2021-10-02 23:17:09 -04:00
flg_set.c Decompile the pause menu aka. ovl_kaleido_scope (+ minor changes) (#803) 2021-05-02 19:15:16 -04:00
game.c Cleanup translation comments (#924) 2021-09-04 15:33:19 +02:00
gamealloc.c Fix most compiler warnings in the boot and code segments (#674) 2021-02-13 19:49:40 -05:00
gfxprint.c Add va_end and returns to variadic functions (#950) 2021-09-07 18:17:19 +02:00
graph.c Fix/cleanup/rephrase miscellaneous stuff (#983) 2021-10-02 23:17:09 -04:00
irqmgr.c Format all translation comments like // "..." (hopefully all of them) (#986) 2021-09-28 19:53:56 -04:00
jpegdecoder.c Fix most compiler warnings in the boot and code segments (#674) 2021-02-13 19:49:40 -05:00
jpegutils.c Fix most compiler warnings in the boot and code segments (#674) 2021-02-13 19:49:40 -05:00
listalloc.c Fix most compiler warnings in the boot and code segments (#674) 2021-02-13 19:49:40 -05:00
loadfragment2.c Fix most compiler warnings in the boot and code segments (#674) 2021-02-13 19:49:40 -05:00
logseverity.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
main.c Fix/cleanup/rephrase miscellaneous stuff (#983) 2021-10-02 23:17:09 -04:00
mempak.c Fix most compiler warnings in the boot and code segments (#674) 2021-02-13 19:49:40 -05:00
mtxuty-cvt.c Decompile the last of libultra_code_O2 (#464) 2020-10-28 15:59:18 -04:00
padmgr.c Format all translation comments like // "..." (hopefully all of them) (#986) 2021-09-28 19:53:56 -04:00
padsetup.c Fix most compiler warnings in the boot and code segments (#674) 2021-02-13 19:49:40 -05:00
padutils.c Fix most compiler warnings in the boot and code segments (#674) 2021-02-13 19:49:40 -05:00
PreRender.c convert remaining RGB5a1 to RGBA16 (#879) 2021-08-01 19:15:21 +02:00
printutils.c Add va_end and returns to variadic functions (#950) 2021-09-07 18:17:19 +02:00
relocation.c Fix most compiler warnings in the boot and code segments (#674) 2021-02-13 19:49:40 -05:00
sched.c Fix/cleanup/rephrase miscellaneous stuff (#983) 2021-10-02 23:17:09 -04:00
shrink_window.c Fix most compiler warnings in the boot and code segments (#674) 2021-02-13 19:49:40 -05:00
sleep.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
speed_meter.c Fix most compiler warnings in the boot and code segments (#674) 2021-02-13 19:49:40 -05:00
sys_cfb.c Fix/cleanup/rephrase miscellaneous stuff (#983) 2021-10-02 23:17:09 -04:00
sys_math.c Fix most compiler warnings in the boot and code segments (#674) 2021-02-13 19:49:40 -05:00
sys_math3d.c Cleanup translation comments (#924) 2021-09-04 15:33:19 +02:00
sys_math_atan.c Fix most compiler warnings in the boot and code segments (#674) 2021-02-13 19:49:40 -05:00
sys_matrix.c Rename MtxF members to use the common convention (#923) 2021-08-31 14:19:41 -04:00
sys_ucode.c Fix most compiler warnings in the boot and code segments (#674) 2021-02-13 19:49:40 -05:00
system_malloc.c Format all translation comments like // "..." (hopefully all of them) (#986) 2021-09-28 19:53:56 -04:00
title_setup.c Cleanup translation comments (#924) 2021-09-04 15:33:19 +02:00
TwoHeadArena.c Fix most compiler warnings in the boot and code segments (#674) 2021-02-13 19:49:40 -05:00
ucode_disas.c UCodeDisas_Disassemble (#981) 2021-10-31 16:39:29 -04:00
z_actor.c Document Camera Settings (#994) 2021-11-01 16:10:03 +01:00
z_actor_dlftbls.c Implement define tables for objects, actors and effect soft sprites (#906) 2021-08-29 21:24:32 -04:00
z_bgcheck.c Cleanup translation comments (#924) 2021-09-04 15:33:19 +02:00
z_camera.c Document Camera Settings (#994) 2021-11-01 16:10:03 +01:00
z_camera_data.c Document Camera Settings (#994) 2021-11-01 16:10:03 +01:00
z_cheap_proc.c Use macros for oGfxCtx accesses (#465) 2020-10-29 17:31:09 -04:00
z_collision_btltbls.c Cleanup translation comments (#924) 2021-09-04 15:33:19 +02:00
z_collision_check.c Fix return UB (#958) 2021-09-12 13:02:45 +02:00
z_common_data.c Introducing Macros for BGM (Background Music) (#979) 2021-11-01 13:54:19 -04:00
z_construct.c Decompile z_kankyo (#956) 2021-09-20 12:51:35 -04:00
z_debug.c Document ovl_select (#966) 2021-10-23 20:44:45 -04:00
z_debug_display.c Use void* instead of u32 for segmented addresses in debug display (#995) 2021-10-11 13:41:44 -04:00
z_demo.c Document Camera Settings (#994) 2021-11-01 16:10:03 +01:00
z_DLF.c Cleanup translation comments (#924) 2021-09-04 15:33:19 +02:00
z_draw.c Rename Matrix_Pull to Matrix_Pop (#703) 2021-02-24 14:28:04 -05:00
z_eff_blure.c Cleanup translation comments (#924) 2021-09-04 15:33:19 +02:00
z_eff_shield_particle.c Add do whiles to all remaining gbi macros (#946) 2021-09-05 14:41:02 -04:00
z_eff_spark.c Add do whiles to all remaining gbi macros (#946) 2021-09-05 14:41:02 -04:00
z_eff_ss_dead.c Decompile z_kankyo (#956) 2021-09-20 12:51:35 -04:00
z_effect.c Add do whiles to all remaining gbi macros (#946) 2021-09-05 14:41:02 -04:00
z_effect_soft_sprite.c Cleanup translation comments (#924) 2021-09-04 15:33:19 +02:00
z_effect_soft_sprite_dlftbls.c Implement define tables for objects, actors and effect soft sprites (#906) 2021-08-29 21:24:32 -04:00
z_effect_soft_sprite_old_init.c Macros: PLAYER -> GET_PLAYER(globalCtx), ACTIVE_CAM -> GET_ACTIVE_CAM(globalCtx) (#921) 2021-08-31 12:22:03 +02:00
z_elf_message.c Cleanup translation comments (#924) 2021-09-04 15:33:19 +02:00
z_en_a_keep.c z_en_a_keep documentation and cleanup (#900) 2021-10-22 21:54:30 +02:00
z_en_item00.c Decompile z_kankyo (#956) 2021-09-20 12:51:35 -04:00
z_face_reaction.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
z_fbdemo.c Use gDPSetScissor more and fix a few gbi macros (#776) 2021-04-14 21:14:07 +02:00
z_fbdemo_circle.c Fix most compiler warnings in the boot and code segments (#674) 2021-02-13 19:49:40 -05:00
z_fbdemo_fade.c Format all translation comments like // "..." (hopefully all of them) (#986) 2021-09-28 19:53:56 -04:00
z_fbdemo_triforce.c Fix most compiler warnings in the boot and code segments (#674) 2021-02-13 19:49:40 -05:00
z_fbdemo_wipe1.c Fix most compiler warnings in the boot and code segments (#674) 2021-02-13 19:49:40 -05:00
z_fcurve_data_skelanime.c Add do whiles to all remaining gbi macros (#946) 2021-09-05 14:41:02 -04:00
z_frame_advance.c Decompile z_kankyo (#956) 2021-09-20 12:51:35 -04:00
z_game_dlftbls.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
z_game_over.c Introducing Macros for BGM (Background Music) (#979) 2021-11-01 13:54:19 -04:00
z_horse.c Cleanup translation comments (#924) 2021-09-04 15:33:19 +02:00
z_jpeg.c Format all translation comments like // "..." (hopefully all of them) (#986) 2021-09-28 19:53:56 -04:00
z_kaleido_manager.c Fix/cleanup/rephrase miscellaneous stuff (#983) 2021-10-02 23:17:09 -04:00
z_kaleido_scope_call.c Cleanup translation comments (#924) 2021-09-04 15:33:19 +02:00
z_kaleido_setup.c Decompile the pause menu aka. ovl_kaleido_scope (+ minor changes) (#803) 2021-05-02 19:15:16 -04:00
z_kanfont.c Global Context And General Cleanup (#863) 2021-08-15 19:15:58 -04:00
z_kankyo.c Introducing Macros for BGM (Background Music) (#979) 2021-11-01 13:54:19 -04:00
z_lib.c Fix most compiler warnings in the boot and code segments (#674) 2021-02-13 19:49:40 -05:00
z_lifemeter.c Global Context And General Cleanup (#863) 2021-08-15 19:15:58 -04:00
z_lights.c Decompile z_kankyo (#956) 2021-09-20 12:51:35 -04:00
z_malloc.c Cleanup translation comments (#924) 2021-09-04 15:33:19 +02:00
z_map_data.c libultra cleanup (#215) 2020-10-03 11:22:44 -04:00
z_map_exp.c Decompile z_kankyo (#956) 2021-09-20 12:51:35 -04:00
z_map_mark.c Document ovl_select (#966) 2021-10-23 20:44:45 -04:00
z_message_PAL.c Interface improvements (#822) 2021-06-15 13:29:10 -04:00
z_moji.c Document z_moji.c (#926) 2021-11-01 12:23:49 -04:00
z_msgevent.c Fix most compiler warnings in the boot and code segments (#674) 2021-02-13 19:49:40 -05:00
z_olib.c Fix most compiler warnings in the boot and code segments (#674) 2021-02-13 19:49:40 -05:00
z_onepointdemo.c Document Camera Settings (#994) 2021-11-01 16:10:03 +01:00
z_onepointdemo_data.c OnePointDemo OK (#719) 2021-03-31 12:18:31 -04:00
z_parameter.c Introducing Macros for BGM (Background Music) (#979) 2021-11-01 13:54:19 -04:00
z_path.c Actor Struct Changes (and a few related things) (#617) 2021-01-18 16:04:04 -05:00
z_play.c Introducing Macros for BGM (Background Music) (#979) 2021-11-01 13:54:19 -04:00
z_player_call.c Fix most compiler warnings in the boot and code segments (#674) 2021-02-13 19:49:40 -05:00
z_player_lib.c Fix/cleanup/rephrase miscellaneous stuff (#983) 2021-10-02 23:17:09 -04:00
z_prenmi.c Fix most compiler warnings in the boot and code segments (#674) 2021-02-13 19:49:40 -05:00
z_prenmi_buff.c Fix most compiler warnings in the boot and code segments (#674) 2021-02-13 19:49:40 -05:00
z_quake.c OnePointDemo OK (#719) 2021-03-31 12:18:31 -04:00
z_rcp.c Decompile z_kankyo (#956) 2021-09-20 12:51:35 -04:00
z_room.c Document Camera Settings (#994) 2021-11-01 16:10:03 +01:00
z_sample.c Decompile the pause menu aka. ovl_kaleido_scope (+ minor changes) (#803) 2021-05-02 19:15:16 -04:00
z_scene.c Introducing Macros for BGM (Background Music) (#979) 2021-11-01 13:54:19 -04:00
z_scene_table.c Decompile z_kankyo (#956) 2021-09-20 12:51:35 -04:00
z_skelanime.c Cleanup translation comments (#924) 2021-09-04 15:33:19 +02:00
z_skin.c Rename MtxF members to use the common convention (#923) 2021-08-31 14:19:41 -04:00
z_skin_awb.c assert macro OK (#755) 2021-04-29 14:39:46 -04:00
z_skin_matrix.c Rename MtxF members to use the common convention (#923) 2021-08-31 14:19:41 -04:00
z_sram.c Fix a few warnings (#998) 2021-10-11 16:16:43 -04:00
z_ss_sram.c Fix most compiler warnings in the boot and code segments (#674) 2021-02-13 19:49:40 -05:00
z_view.c Add do whiles to all remaining gbi macros (#946) 2021-09-05 14:41:02 -04:00
z_vimode.c Match ViMode_Configure (z_vimode.c OK) (#830) 2021-05-29 09:41:39 -04:00
z_vismono.c Fix/cleanup/rephrase miscellaneous stuff (#983) 2021-10-02 23:17:09 -04:00
z_vr_box.c Match vr_box functions (#1014) 2021-10-27 23:12:16 +02:00
z_vr_box_draw.c Decomp the remaining functions in vr_box and import its data (#917) 2021-09-21 04:48:43 -04:00