1
0
mirror of https://github.com/zeldaret/oot.git synced 2024-09-22 13:25:00 +00:00
oot/src/code
engineer124 7da841fcc9
Restructuring Camera Structs and Related Macros (#1108)
* Proof-of-concept

* small cleanup

* static to fixed

* Update to new names

* Use full names for structs

* Update comments

* PR 1

* More macro changes

* More PR Suggestions

* Use a union for funcData

* Apply change to all cam structs

* typedef union outside of cam struct

* Add size

* typedef union, not struct

* funcData -> paramData

* Better manage doorParams
2022-05-08 23:35:54 +02:00
..
__osMalloc.c Memstuff (#1164) 2022-05-02 00:06:35 +02:00
__osMemmove.c Memstuff (#1164) 2022-05-02 00:06:35 +02:00
__osMemset.c Memstuff (#1164) 2022-05-02 00:06:35 +02:00
audio_data.c Import Audio Synthesis Data (#1010) 2021-11-12 10:52:17 -05:00
audio_effects.c Minor data/ cleanups (#1025) 2021-11-23 21:07:48 -05:00
audio_heap.c Memstuff (#1164) 2022-05-02 00:06:35 +02:00
audio_init_params.c Migrate Remaining Audio Data & Cleanup some Audio Data externs (#1097) 2022-01-11 20:58:26 -05:00
audio_load.c Message Queues, Threads, and surroundings cleanup (#1178) 2022-04-08 20:20:23 -04:00
audio_playback.c Document parts of audio (#1000) 2021-11-07 17:58:50 +01:00
audio_seqplayer.c Improve River_Sound Docs (#1100) 2022-01-14 17:13:04 -05:00
audio_sound_params.c Fix/cleanup/rephrase miscellaneous stuff (#983) 2021-10-02 23:17:09 -04:00
audio_synthesis.c Fix misc 6 (#1148) 2022-02-20 14:22:29 +01:00
audioMgr.c Message Queues, Threads, and surroundings cleanup (#1178) 2022-04-08 20:20:23 -04: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 Document parts of audio (#1000) 2021-11-07 17:58:50 +01:00
code_800D2E30.c Minor data/ cleanups (#1025) 2021-11-23 21:07:48 -05:00
code_800D31A0.c Name one is-controller-valid symbol (#1060) 2021-12-07 09:17:48 -05:00
code_800E4FE0.c Name rsp ucodes and surrounding cleanup (#1166) 2022-05-04 00:43:09 +02:00
code_800E6840.c Documentation for fault.c and fault_drawer.c (#1106) 2022-02-02 16:43:34 -05:00
code_800EC960.c Cleanup clang-format off (#1195) 2022-04-29 15:06:08 -04:00
code_800F7260.c Name variables for Audio_PlaySoundGeneral (#1198) 2022-04-23 10:55:18 -04:00
code_800F9280.c Migrate Remaining Audio Data & Cleanup some Audio Data externs (#1097) 2022-01-11 20:58:26 -05:00
code_800FC620.c Add do whiles to all remaining gbi macros (#946) 2021-09-05 14:41:02 -04:00
code_800FCE80.c Misc Cleanup 2 (#1007) 2021-11-30 18:40:42 -05:00
code_800FD970.c Cleanup clang-format off (#1195) 2022-04-29 15:06:08 -04: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 Doc equips usage (inventory, current and player-specific constants) (#1142) 2022-04-30 18:18:56 +02:00
code_800430A0.c Use defines for actor flags (#873) 2021-12-05 19:11:38 -05:00
code_80043480.c Various minor cleanups (#940) 2021-09-05 21:00:24 +09:00
code_80069420.c Memstuff (#1164) 2022-05-02 00:06:35 +02:00
db_camera.c Angle cleanup - macros names (#1193) 2022-04-24 10:23:49 -04:00
debug_malloc.c Fix/cleanup/rephrase miscellaneous stuff (#983) 2021-10-02 23:17:09 -04:00
fault_drawer.c Documentation for fault.c and fault_drawer.c (#1106) 2022-02-02 16:43:34 -05:00
fault.c Fix misc 10 (#1208) 2022-04-30 08:33:28 -04:00
flg_set.c Decompile the pause menu aka. ovl_kaleido_scope (+ minor changes) (#803) 2021-05-02 19:15:16 -04:00
fmodf.c Memstuff (#1164) 2022-05-02 00:06:35 +02:00
game.c More documentation for IrqMgr (#1144) 2022-03-13 19:22:14 -04:00
gamealloc.c Fix most compiler warnings in the boot and code segments (#674) 2021-02-13 19:49:40 -05:00
gfxprint.c Improve gfxprint documentation and strings (#1028) 2021-11-28 08:48:17 -05:00
graph.c Name rsp ucodes and surrounding cleanup (#1166) 2022-05-04 00:43:09 +02:00
irqmgr.c Message Queues, Threads, and surroundings cleanup (#1178) 2022-04-08 20:20:23 -04:00
jpegdecoder.c Misc Cleanup 2 (#1007) 2021-11-30 18:40:42 -05:00
jpegutils.c Misc Cleanup 2 (#1007) 2021-11-30 18:40:42 -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 Improve the state of handwritten assembly files (#865) 2022-05-01 01:03:22 +02: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 Misc Cleanup 2 (#1007) 2021-11-30 18:40:42 -05:00
padmgr.c Message Queues, Threads, and surroundings cleanup (#1178) 2022-04-08 20:20:23 -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 Doc misc 1 (#1160) 2022-02-27 16:32:05 -05:00
printutils.c Add va_end and returns to variadic functions (#950) 2021-09-07 18:17:19 +02:00
rcp_utils.c first pass (#1185) 2022-03-21 20:49:11 +01:00
relocation.c Fix most compiler warnings in the boot and code segments (#674) 2021-02-13 19:49:40 -05:00
sched.c Message Queues, Threads, and surroundings cleanup (#1178) 2022-04-08 20:20:23 -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 Names for some view things (#1191) 2022-04-09 00:50:28 +02:00
sys_cfb.c first pass (#1185) 2022-03-21 20:49:11 +01:00
sys_math3d.c Naming1 (#1113) 2022-03-10 21:21:46 +01:00
sys_math_atan.c Angle cleanup - BINANG_TO_RAD, BINANG_TO_RAD_ALT (#1158) 2022-03-19 20:16:33 -04:00
sys_math.c Angle cleanup - miscellaneous (#1159) 2022-04-03 14:32:18 -04:00
sys_matrix.c Angle cleanup - macros names (#1193) 2022-04-24 10:23:49 -04:00
sys_ucode.c Name rsp ucodes and surrounding cleanup (#1166) 2022-05-04 00:43:09 +02: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 Cleanup clang-format off (#1195) 2022-04-29 15:06:08 -04: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_actor.c Fixup feetFloorFlags doc and -> feetFloorFlag (#1180) 2022-04-29 14:29:49 -04:00
z_bgcheck.c Document Pushing Player: Bg Conveyors and Climbing Slopes (#1103) 2022-04-04 00:06:25 +02:00
z_camera_data.c Document Parts of Camera Data (#1054) 2022-01-10 20:51:57 -05:00
z_camera.c Restructuring Camera Structs and Related Macros (#1108) 2022-05-08 23:35:54 +02: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 misc 10 (#1208) 2022-04-30 08:33:28 -04:00
z_common_data.c Document Transition System (#1131) 2022-04-27 16:00:25 -04:00
z_construct.c HealthMeter_ -> Health_ (#1202) 2022-05-07 10:18:42 -04:00
z_debug_display.c Document undocumented matrix functions (#955) 2022-01-11 00:28:01 +01:00
z_debug.c Use defines for actor flags (#873) 2021-12-05 19:11:38 -05:00
z_demo.c Memstuff (#1164) 2022-05-02 00:06:35 +02:00
z_DLF.c Cleanup translation comments (#924) 2021-09-04 15:33:19 +02:00
z_draw.c Document undocumented matrix functions (#955) 2022-01-11 00:28:01 +01:00
z_eff_blure.c Doc misc 1 (#1160) 2022-02-27 16:32:05 -05:00
z_eff_shield_particle.c Fix matrices documentation (#952) 2021-11-17 05:52:26 -05:00
z_eff_spark.c Name the coordinate transformation matrices (#1042) 2021-11-30 18:52:16 -05:00
z_eff_ss_dead.c Decompile z_kankyo (#956) 2021-09-20 12:51:35 -04: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 Misc. doc/cleanup 5 (#1096) 2022-01-12 15:48:04 -05:00
z_effect_soft_sprite.c Misc Cleanup 2 (#1007) 2021-11-30 18:40:42 -05:00
z_effect.c Add do whiles to all remaining gbi macros (#946) 2021-09-05 14:41:02 -04:00
z_elf_message.c Doc equips usage (inventory, current and player-specific constants) (#1142) 2022-04-30 18:18:56 +02:00
z_en_a_keep.c Cleanup clang-format off (#1195) 2022-04-29 15:06:08 -04:00
z_en_item00.c Cleanup clang-format off (#1195) 2022-04-29 15:06:08 -04:00
z_face_reaction.c Misc Cleanup 2 (#1007) 2021-11-30 18:40:42 -05:00
z_fbdemo_circle.c Fix misc 11 (#1209) 2022-05-04 21:25:26 +02:00
z_fbdemo_fade.c Cleanup pad's in z_scene_table.c (#1215) 2022-05-07 16:10:06 +02:00
z_fbdemo_triforce.c Remove THIS macro (#1047) 2021-12-04 11:33:00 -05:00
z_fbdemo_wipe1.c Cleanup pad's in z_scene_table.c (#1215) 2022-05-07 16:10:06 +02:00
z_fbdemo.c Use gDPSetScissor more and fix a few gbi macros (#776) 2021-04-14 21:14:07 +02:00
z_fcurve_data_skelanime.c Fix matrices documentation (#952) 2021-11-17 05:52:26 -05:00
z_frame_advance.c Decompile z_kankyo (#956) 2021-09-20 12:51:35 -04:00
z_game_dlftbls.c File Select (z_file_choose) OK (#1012) 2021-11-15 22:33:44 +01:00
z_game_over.c Defines for SaveContext flags (eventChkInf, itemGetInf, infTable, eventInf) (#1094) 2022-04-29 14:19:48 -04:00
z_horse.c Fix misc 10 (#1208) 2022-04-30 08:33:28 -04:00
z_jpeg.c Name rsp ucodes and surrounding cleanup (#1166) 2022-05-04 00:43:09 +02:00
z_kaleido_manager.c first pass (#1185) 2022-03-21 20:49:11 +01:00
z_kaleido_scope_call.c first pass (#1185) 2022-03-21 20:49:11 +01:00
z_kaleido_setup.c Document Transition System (#1131) 2022-04-27 16:00:25 -04:00
z_kanfont.c z_message_PAL, message_data_static and surrounding doc (#996) 2021-11-22 20:20:30 -05:00
z_kankyo.c Defines for SaveContext flags (eventChkInf, itemGetInf, infTable, eventInf) (#1094) 2022-04-29 14:19:48 -04:00
z_lib.c Memstuff (#1164) 2022-05-02 00:06:35 +02:00
z_lifemeter.c HealthMeter_ -> Health_ (#1202) 2022-05-07 10:18:42 -04:00
z_lights.c Fix misc 7 (#1149) 2022-02-20 08:31:31 -05:00
z_malloc.c first pass (#1185) 2022-03-21 20:49:11 +01:00
z_map_data.c Defines for SaveContext flags (eventChkInf, itemGetInf, infTable, eventInf) (#1094) 2022-04-29 14:19:48 -04:00
z_map_exp.c Cleanup clang-format off (#1195) 2022-04-29 15:06:08 -04:00
z_map_mark.c Run formatter (#1139) 2022-02-13 00:29:48 +01:00
z_message_PAL.c Memstuff (#1164) 2022-05-02 00:06:35 +02:00
z_moji.c Improve gfxprint documentation and strings (#1028) 2021-11-28 08:48:17 -05:00
z_msgevent.c Message Queues, Threads, and surroundings cleanup (#1178) 2022-04-08 20:20:23 -04:00
z_olib.c Angle cleanup - macros names (#1193) 2022-04-24 10:23:49 -04:00
z_onepointdemo_data.c OnePointDemo OK (#719) 2021-03-31 12:18:31 -04:00
z_onepointdemo.c Restructuring Camera Structs and Related Macros (#1108) 2022-05-08 23:35:54 +02:00
z_parameter.c HealthMeter_ -> Health_ (#1202) 2022-05-07 10:18:42 -04:00
z_path.c Angle cleanup - macros names (#1193) 2022-04-24 10:23:49 -04:00
z_play.c Fix misc 11 (#1209) 2022-05-04 21:25:26 +02:00
z_player_call.c Use defines for actor flags (#873) 2021-12-05 19:11:38 -05:00
z_player_lib.c Doc equips usage (inventory, current and player-specific constants) (#1142) 2022-04-30 18:18:56 +02: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_prenmi.c Fix most compiler warnings in the boot and code segments (#674) 2021-02-13 19:49:40 -05:00
z_quake.c Memstuff (#1164) 2022-05-02 00:06:35 +02:00
z_rcp.c Doc player drawing (#1098) 2022-03-12 19:06:43 -05:00
z_room.c Name rsp ucodes and surrounding cleanup (#1166) 2022-05-04 00:43:09 +02:00
z_sample.c Names for some view things (#1191) 2022-04-09 00:50:28 +02:00
z_scene_table.c Cleanup pad's in z_scene_table.c (#1215) 2022-05-07 16:10:06 +02:00
z_scene.c Message Queues, Threads, and surroundings cleanup (#1178) 2022-04-08 20:20:23 -04:00
z_skelanime.c Fix misc 6 (#1148) 2022-02-20 14:22:29 +01:00
z_skin_awb.c Fix misc 9 (#1183) 2022-04-03 18:33:50 -04:00
z_skin_matrix.c Document undocumented matrix functions (#955) 2022-01-11 00:28:01 +01:00
z_skin.c Small Skin system documentation pass (#1017) 2022-01-12 18:00:28 -05:00
z_sound_source.c Name variables for Audio_PlaySoundGeneral (#1198) 2022-04-23 10:55:18 -04:00
z_sram.c Memstuff (#1164) 2022-05-02 00:06:35 +02:00
z_ss_sram.c Message Queues, Threads, and surroundings cleanup (#1178) 2022-04-08 20:20:23 -04:00
z_view.c Memstuff (#1164) 2022-05-02 00:06:35 +02:00
z_vimode.c Misc Cleanup 2 (#1007) 2021-11-30 18:40:42 -05:00
z_vismono.c Document vismono (#1107) 2022-02-27 16:21:26 -05: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
z_vr_box.c Doc misc 1 (#1160) 2022-02-27 16:32:05 -05:00