1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2024-11-13 04:39:36 +00:00
oot/include
Dragorn421 f1d27bf653
Fix/cleanup/rephrase miscellaneous stuff (#983)
* Add parens around params usage in VEC_SET macro

* Remove unnecessary space character in a xml

* Use defines instead of magic values in head/tail magic comments

* Use `OS_USEC_TO_CYCLES` to make a time look better in `Graph_TaskSet00`

* `0x25800` -> `sizeof(u16[SCREEN_HEIGHT][SCREEN_WIDTH])`

* `0x803DA800` -> `0x80400000 - frame buffer size`

* Use `OS_VI_` defines instead of hex

* Add empty line after some variable declarations

* Remove unused `extern CutsceneData` in `z_bg_dy_yoseizo.c`

* `Matrix_MtxFToYXZRotS` does not use `MTXMODE_`

* Use `MTXMODE_` more

* Remove `ASCII_TO_U32`, use `'IS64'`

* Add explicit `!= NULL` in some ternaries

* Use `INV_CONTENT`, `AMMO` macros more

* Use `PLAYER_AP_` enum more to compare to `Player#heldItemActionParam`

* Get rid of lowercase hex (outside libultra)

* `gWindMill*` -> `gWindmill*`

* Format and small fix enums in `z_boss_mo.h`

* Use `CHECK_BTN_ANY` more

* Fix xz/xy mistake in comment in tektite

* Rephrase comments mentioning "the devs" in a more neutral way

* Clean-up some objectively useless parens

* Fix some negative values written as u16 instead of s16 in ichains

* `SKJ_ACTON_` -> `SKJ_ACTION_`

* Run formatter

* Fix unk_ offset of `TransformUpdateIndex#unk_10` -> `unk_0E`

* Remove comments using in-game text

* Remove `U` suffix from integer literals

* Revert "Remove `ASCII_TO_U32`, use `'IS64'`"

This reverts commit c801337dde.

* Use `PLAYER_STR_*` to compare to `CUR_UPG_VALUE(UPG_STRENGTH)`

* Add empty line after decl x2

* Revert "Use `PLAYER_STR_*` to compare to `CUR_UPG_VALUE(UPG_STRENGTH)`"

This reverts commit d80bdb32da.

* Make `CUR_UPG_VALUE(UPG_STRENGTH)` compare to integers (eventually needs its own enum)

* Only use `PLAYER_SHIELD_` enum with `Player#currentShield`

* Only use `PLAYER_TUNIC_` enum with `Player#currentTunic`
2021-10-02 23:17:09 -04:00
..
tables Implement define tables for objects, actors and effect soft sprites (#906) 2021-08-29 21:24:32 -04:00
ultra64 Fix all headers to comply with C standard (#957) 2021-09-15 19:24:19 -04:00
alloca.h Fix all headers to comply with C standard (#957) 2021-09-15 19:24:19 -04:00
bgm.h First proper commit. 2020-03-17 00:31:30 -04:00
color.h Fix all headers to comply with C standard (#957) 2021-09-15 19:24:19 -04:00
command_macros_base.h Fix all headers to comply with C standard (#957) 2021-09-15 19:24:19 -04:00
fp.h Fix all headers to comply with C standard (#957) 2021-09-15 19:24:19 -04:00
functions.h EnWf OK and documented (#967) 2021-09-24 18:35:42 -04:00
global.h Fix all headers to comply with C standard (#957) 2021-09-15 19:24:19 -04:00
ichain.h Fix all headers to comply with C standard (#957) 2021-09-15 19:24:19 -04:00
macro.inc First proper commit. 2020-03-17 00:31:30 -04:00
macros.h Fix all headers to comply with C standard (#957) 2021-09-15 19:24:19 -04:00
math.h Fix all headers to comply with C standard (#957) 2021-09-15 19:24:19 -04:00
regs.h Decompile z_kankyo (#956) 2021-09-20 12:51:35 -04:00
segment_symbols.h Fix all headers to comply with C standard (#957) 2021-09-15 19:24:19 -04:00
sfx.h Various SFX fixes (#237) 2020-07-04 23:30:21 -04:00
stdarg.h Fix all headers to comply with C standard (#957) 2021-09-15 19:24:19 -04:00
stdbool.h Fix all headers to comply with C standard (#957) 2021-09-15 19:24:19 -04:00
stddef.h Fix all headers to comply with C standard (#957) 2021-09-15 19:24:19 -04:00
stdlib.h Fix all headers to comply with C standard (#957) 2021-09-15 19:24:19 -04:00
ultra64.h Fix all headers to comply with C standard (#957) 2021-09-15 19:24:19 -04:00
unk.h Fix all headers to comply with C standard (#957) 2021-09-15 19:24:19 -04:00
variables.h Decompile z_kankyo (#956) 2021-09-20 12:51:35 -04:00
vt.h Partially format header files 2020-03-22 22:50:15 +01:00
z64.h Fix/cleanup/rephrase miscellaneous stuff (#983) 2021-10-02 23:17:09 -04:00
z64actor.h Fix all headers to comply with C standard (#957) 2021-09-15 19:24:19 -04:00
z64animation.h Fix/cleanup/rephrase miscellaneous stuff (#983) 2021-10-02 23:17:09 -04:00
z64audio.h Fix all headers to comply with C standard (#957) 2021-09-15 19:24:19 -04:00
z64bgcheck.h Fix all headers to comply with C standard (#957) 2021-09-15 19:24:19 -04:00
z64camera.h Fix all headers to comply with C standard (#957) 2021-09-15 19:24:19 -04:00
z64collision_check.h Decomp BgHidanSekizou (#970) 2021-09-24 18:26:19 -04:00
z64cutscene.h Fix all headers to comply with C standard (#957) 2021-09-15 19:24:19 -04:00
z64cutscene_commands.h Fix all headers to comply with C standard (#957) 2021-09-15 19:24:19 -04:00
z64dma.h Fix all headers to comply with C standard (#957) 2021-09-15 19:24:19 -04:00
z64effect.h Fix all headers to comply with C standard (#957) 2021-09-15 19:24:19 -04:00
z64environment.h Decomp the remaining functions in vr_box and import its data (#917) 2021-09-21 04:48:43 -04:00
z64interface.h Fix all headers to comply with C standard (#957) 2021-09-15 19:24:19 -04:00
z64item.h Fix all headers to comply with C standard (#957) 2021-09-15 19:24:19 -04:00
z64light.h Decompile z_kankyo (#956) 2021-09-20 12:51:35 -04:00
z64map_mark.h Fix all headers to comply with C standard (#957) 2021-09-15 19:24:19 -04:00
z64math.h Fix/cleanup/rephrase miscellaneous stuff (#983) 2021-10-02 23:17:09 -04:00
z64object.h Fix all headers to comply with C standard (#957) 2021-09-15 19:24:19 -04:00
z64player.h Fix all headers to comply with C standard (#957) 2021-09-15 19:24:19 -04:00
z64save.h Decompile z_kankyo (#956) 2021-09-20 12:51:35 -04:00
z64scene.h Decompile z_kankyo (#956) 2021-09-20 12:51:35 -04:00
z64transition.h Fix all headers to comply with C standard (#957) 2021-09-15 19:24:19 -04:00