1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2024-11-14 05:19:36 +00:00
oot/include
Dragorn421 57ce0cf8d9
Doc/Cleanup pass on object handling (#1227)
* `Object_InitBank` -> `Object_InitContext`

* Add and use `OBJECT_SPACE_SIZE_BASE`

* Remove `OBJECT_EXCHANGE_BANK_MAX` -> use `ARRAY_COUNT()` instead

* "object status" -> "object load entry"

* Misc. cleanup/renames

* Partial docs and way too much batch renaming and cleanup for a single commit

* ctrl shift h

* format

* format clang-11.1

* fix regressions

* Improve a `@bug` comment

* Move `OBJECT_SPACE_SIZE_BASE` from header to near `Object_InitContext`

* "objectID" -> "objectId"

* Revert iterator index to `i` in `Actor_KillActorsWithUnloadedObject`

* "object load entry index" -> "object entry"

* `Object_UpdateLoadEntries` -> `Object_UpdateEntries`

* Run format.sh

* "object entry" -> "object slot" (except internal usage)

* Proper `Object_SpawnPersistent` doc

Co-authored-by: fig02 <fig02srl@gmail.com>

* fixup one comment "object bank index" -> "object slot"

* Amend `Object_SpawnPersistent` comment to mention running out of free slots

* `Actor_KillActorsWithUnloadedObject` -> `Actor_KillAllWithMissingObject`

* Remove useless mention of what uses `Object_SpawnPersistent`

* Fix mistake on `Object_SpawnPersistent` doing sync dma, not async

* run formatter

* `Object_InitContext` -> `Object_Init`

* `waitObjectSlot` -> `requiredObjectSlot`

* `Object_Init` -> `func_80097DD8`

* one objectIndex -> objectSlot

* Remove `OBJECT_SPACE_SIZE_BASE`

* light fix on the merge (rm OBJECT_EXCHANGE_BANK_MAX)

* `func_80097DD8` -> `Object_InitContext`

---------

Co-authored-by: fig02 <fig02srl@gmail.com>
2023-09-19 14:10:12 -04:00
..
libc
tables Generate gamestate overlay table with an include/tables/ header (#1504) 2023-07-04 12:36:55 -04:00
ultra64 Fix misc 19 (#1488) 2023-01-10 13:03:31 -05:00
alignment.h
alloca.h
attributes.h Apply noreturn attribute where applicable (#1532) 2023-09-09 10:24:52 -04:00
boot.h
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 Apply noreturn attribute where applicable (#1532) 2023-09-09 10:24:52 -04:00
fp.h Fix all headers to comply with C standard (#957) 2021-09-15 19:24:19 -04:00
functions.h Doc/Cleanup pass on object handling (#1227) 2023-09-19 14:10:12 -04:00
gfx.h Split z64.h: move various things, state, sram, gfx, jpeg, prerender, speedmeter (#1487) 2023-08-15 12:21:19 -04:00
gfxprint.h Split z64.h: gfxprint, message, pause, view (as new headers), +misc (#1475) 2022-12-30 14:55:31 +01:00
global.h
ichain.h
irqmgr.h
jpeg.h Split z64.h: move various things, state, sram, gfx, jpeg, prerender, speedmeter (#1487) 2023-08-15 12:21:19 -04:00
macro.inc
macros.h Apply noreturn attribute where applicable (#1532) 2023-09-09 10:24:52 -04:00
mempak.h Mempak doc (#1382) 2022-11-16 02:32:07 -05:00
message_data_fmt.h
message_data_static.h
padmgr.h Rumble doc (#1375) 2022-09-27 12:40:26 -04:00
prerender.h Split z64.h: move various things, state, sram, gfx, jpeg, prerender, speedmeter (#1487) 2023-08-15 12:21:19 -04:00
quake.h Quake Documentation Pass (#1402) 2022-10-15 02:16:37 -04:00
regs.h En_Cow Doc (#1492) 2023-08-19 11:34:48 -04:00
rumble.h
sched.h
segment_symbols.h Generate gamestate overlay table with an include/tables/ header (#1504) 2023-07-04 12:36:55 -04:00
seqcmd.h
sequence.h
sfx.h
speedmeter.h Split z64.h: move various things, state, sram, gfx, jpeg, prerender, speedmeter (#1487) 2023-08-15 12:21:19 -04:00
terminal.h
tha.h
thga.h
ultra64.h
unk.h Fix all headers to comply with C standard (#957) 2021-09-15 19:24:19 -04:00
variables.h DbCamera to DebugCamera (#1482) 2023-01-12 16:06:31 -05:00
z64.h Document Framebuffer Filters, VisCvg and VisZbuf (#1534) 2023-09-16 17:16:58 -04:00
z64actor.h Doc/Cleanup pass on object handling (#1227) 2023-09-19 14:10:12 -04:00
z64animation.h Placeholder names for skelanime moveflags (#1489) 2023-08-15 22:23:53 +02:00
z64animation_legacy.h
z64audio.h Minor Misc Cleanup 2 (#1422) 2023-02-26 21:48:42 +01:00
z64bgcheck.h Cleanup/add bgcheck macros (#1478) 2023-08-15 22:12:50 +02:00
z64camera.h Minor Misc Cleanup 2 (#1422) 2023-02-26 21:48:42 +01:00
z64collision_check.h Cleanup/add bgcheck macros (#1478) 2023-08-15 22:12:50 +02:00
z64curve.h Improve rcp.h, remove HW_REG macro (#1425) 2022-11-13 02:16:01 -05:00
z64cutscene.h Split z64.h: move various things, state, sram, gfx, jpeg, prerender, speedmeter (#1487) 2023-08-15 12:21:19 -04:00
z64cutscene_commands.h another round of trailing whitespaces (#1495) 2023-02-26 17:26:07 +01:00
z64dma.h Split z64.h: move various things, state, sram, gfx, jpeg, prerender, speedmeter (#1487) 2023-08-15 12:21:19 -04:00
z64effect.h Doc/Cleanup pass on object handling (#1227) 2023-09-19 14:10:12 -04:00
z64environment.h Minor Misc Cleanup 2 (#1422) 2023-02-26 21:48:42 +01:00
z64game.h Split z64.h: move various things, state, sram, gfx, jpeg, prerender, speedmeter (#1487) 2023-08-15 12:21:19 -04:00
z64interface.h Split z64.h: move various things, state, sram, gfx, jpeg, prerender, speedmeter (#1487) 2023-08-15 12:21:19 -04:00
z64item.h another round of trailing whitespaces (#1495) 2023-02-26 17:26:07 +01:00
z64light.h
z64map_mark.h
z64math.h Fix misc GCC compatibility issues (#1463) 2022-12-12 20:55:57 -05:00
z64message.h Split z64.h: gfxprint, message, pause, view (as new headers), +misc (#1475) 2022-12-30 14:55:31 +01:00
z64object.h Doc/Cleanup pass on object handling (#1227) 2023-09-19 14:10:12 -04:00
z64ocarina.h Split z64.h: gfxprint, message, pause, view (as new headers), +misc (#1475) 2022-12-30 14:55:31 +01:00
z64pause.h Document pause states (excluding gameover) (#1483) 2023-09-06 11:14:15 -04:00
z64player.h Start Player Item Docs (#1523) 2023-09-18 00:08:43 -04:00
z64quest_hint_commands.h
z64save.h z_fishing partially documented (#1424) 2023-09-06 10:58:17 -04:00
z64scene.h Split z64.h: move various things, state, sram, gfx, jpeg, prerender, speedmeter (#1487) 2023-08-15 12:21:19 -04:00
z64skin.h
z64skybox.h Split z64.h: move various things, state, sram, gfx, jpeg, prerender, speedmeter (#1487) 2023-08-15 12:21:19 -04:00
z64sram.h Split z64.h: move various things, state, sram, gfx, jpeg, prerender, speedmeter (#1487) 2023-08-15 12:21:19 -04:00
z64transition.h Split z64.h: move various things, state, sram, gfx, jpeg, prerender, speedmeter (#1487) 2023-08-15 12:21:19 -04:00
z64transition_instances.h Split z64.h: move various things, state, sram, gfx, jpeg, prerender, speedmeter (#1487) 2023-08-15 12:21:19 -04:00
z64view.h Split z64.h: gfxprint, message, pause, view (as new headers), +misc (#1475) 2022-12-30 14:55:31 +01:00
z64vis.h Document Framebuffer Filters, VisCvg and VisZbuf (#1534) 2023-09-16 17:16:58 -04:00