1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2024-11-10 19:20:13 +00:00
oot/include
Dragorn421 054bac7583
Doc player drawing (#1098)
* Introduce and use more enums and defines for equips and data involved in player drawing

* `EQUIP_TYPE_`, `EQUIP_INV_`, `EQUIP_VALUE_`

* Improve doc on ItemEquips/Inventory's `equipment` field

* Run formatter

* Add `PLAYER_MODELGROUPENTRY_*` for second index of `gPlayerModelTypes`

* Name `PLAYER_MODELGROUPENTRY_*` from existing documentation

* Partial doc on `PLAYER_MODELTYPE_*`

* Some doc on `PLAYER_MODELGROUP_*`

* Run formatter

* Name and some doc/cleanup on the various player draw functions

* Name symbols used for player position in pause menu

* Name player override/post limb draw callbacks

* `BOOTS_NORMAL` -> `BOOTS_KOKIRI`

* `EQUIP_INV_SWORD_GIANTKNIFE` -> `EQUIP_INV_SWORD_BROKENGIANTKNIFE`

* `currentSword` -> `currentSwordItem` to avoid confusion with `PlayerSword` enum

* Make one constant more explicit

* Document severe bug (not an issue by luck)

* Some doc on `PLAYER_MODELTYPE_RH_FF`

* Actually name most of `PlayerModelType`

* Actually name most of `PlayerModelGroup` and improve comments

* Make equipment in debug save data use equip enums

* Name symbol for computing player's `bodyPartsPos` and fix struct access

* Name right/left `HandType` symbols

* Add `PlayerBodyPart` enum

* Run formatter

* Introduce defines for pause player render dimensions and cleanup viewport usage in pause drawing

* Document `playerSegment` related usage

* Run formatter

* Revert player bodypart changes

* Revert equips doc changes

* Revert player model and anim data changes

* Revert drawing-unrelated changes

* Move `sTunicColors` tunic comments to after data
2022-03-12 19:06:43 -05:00
..
libc Fix misc 6 (#1148) 2022-02-20 14:22:29 +01:00
tables Implement the scene table with defines (#1128) 2022-02-01 14:36:09 -05:00
ultra64 Document vismono (#1107) 2022-02-27 16:21:26 -05:00
alignment.h Force required alignment on DMA related stuff (#1135) 2022-02-11 18:23:57 -05:00
alloca.h Fix all headers to comply with C standard (#957) 2021-09-15 19:24:19 -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 Misc. doc/cleanup 5 (#1096) 2022-01-12 15:48:04 -05:00
fault.h Documentation for fault.c and fault_drawer.c (#1106) 2022-02-02 16:43:34 -05:00
fp.h Fix all headers to comply with C standard (#957) 2021-09-15 19:24:19 -04:00
functions.h Doc player drawing (#1098) 2022-03-12 19:06:43 -05:00
global.h Fix all headers to comply with C standard (#957) 2021-09-15 19:24:19 -04:00
ichain.h Use __builtin_offsetof for non IDO builds (#1140) 2022-02-13 00:05:11 -05:00
irqmgr.h Documentation for fault.c and fault_drawer.c (#1106) 2022-02-02 16:43:34 -05:00
macro.inc First proper commit. 2020-03-17 00:31:30 -04:00
macros.h Use __builtin_offsetof for non IDO builds (#1140) 2022-02-13 00:05:11 -05:00
message_data_fmt.h Whitespace (#1112) 2022-01-23 18:09:02 -05:00
message_data_static.h Whitespace (#1112) 2022-01-23 18:09:02 -05:00
padmgr.h Documentation for fault.c and fault_drawer.c (#1106) 2022-02-02 16:43:34 -05:00
regs.h Document Parts of Camera Data (#1054) 2022-01-10 20:51:57 -05:00
segment_symbols.h Implement the scene table with defines (#1128) 2022-02-01 14:36:09 -05:00
sequence.h Nature Ambience Documentation (#1063) 2021-12-27 12:35:05 -05:00
sfx.h Various SFX fixes (#237) 2020-07-04 23:30:21 -04:00
ultra64.h libultra files and directories restructure (#1038) 2021-11-30 19:08:57 -05:00
unk.h Fix all headers to comply with C standard (#957) 2021-09-15 19:24:19 -04:00
variables.h Naming1 (#1113) 2022-03-10 21:21:46 +01:00
vt.h Documentation for fault.c and fault_drawer.c (#1106) 2022-02-02 16:43:34 -05:00
z64.h Doc player drawing (#1098) 2022-03-12 19:06:43 -05:00
z64actor.h Naming1 (#1113) 2022-03-10 21:21:46 +01:00
z64animation.h Whitespace (#1112) 2022-01-23 18:09:02 -05:00
z64audio.h z_message_PAL, message_data_static and surrounding doc (#996) 2021-11-22 20:20:30 -05:00
z64bgcheck.h Fix all headers to comply with C standard (#957) 2021-09-15 19:24:19 -04:00
z64camera.h Document Distortions from z_camera and z_view (#1102) 2022-02-20 18:35:53 -05:00
z64collision_check.h Whitespace (#1112) 2022-01-23 18:09:02 -05:00
z64cutscene.h Whitespace (#1112) 2022-01-23 18:09:02 -05:00
z64cutscene_commands.h Whitespace (#1112) 2022-01-23 18:09:02 -05: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
z64elf_message.h Create macros for and decompile elf_message scripts (#999) 2021-11-16 18:04:31 -05: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 PlayerMeleeWeaponAnimation enum (#1154) 2022-03-09 12:52:28 -05:00
z64save.h Naming1 (#1113) 2022-03-10 21:21:46 +01:00
z64scene.h Implement the scene table with defines (#1128) 2022-02-01 14:36:09 -05:00
z64skin.h Small Skin system documentation pass (#1017) 2022-01-12 18:00:28 -05:00
z64transition.h Extract the assets from most of the overlays (#985) 2021-11-08 20:51:45 -05:00