1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2024-11-25 09:45:02 +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 Improve rcp.h, remove HW_REG macro (#1425) 2022-11-13 02:16:01 -05:00
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 TwoHeadArena and TwoHeadGfxArena docs (#1349) 2022-11-13 18:29:50 -05:00
alloca.h
attributes.h Apply noreturn attribute where applicable (#1532) 2023-09-09 10:24:52 -04:00
boot.h
color.h
command_macros_base.h
fault.h Apply noreturn attribute where applicable (#1532) 2023-09-09 10:24:52 -04:00
fp.h
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 More documentation for padmgr.c (#1336) 2022-09-03 02:52:13 +02:00
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 Fix TEXTBOX_POS issue (#1329) 2022-07-27 16:24:58 -04:00
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 Rumble doc (#1375) 2022-09-27 12:40:26 -04:00
sched.h Improvements to Video Interface related functions and data (#1332) 2022-11-13 18:07:27 -05:00
segment_symbols.h Generate gamestate overlay table with an include/tables/ header (#1504) 2023-07-04 12:36:55 -04:00
seqcmd.h Document code_800F9280.c -> audio_seqcmd.c i.e. (Audio_QueueSeqCmd) (#1234) 2022-10-07 13:29:33 +02:00
sequence.h Document code_800F9280.c -> audio_seqcmd.c i.e. (Audio_QueueSeqCmd) (#1234) 2022-10-07 13:29:33 +02:00
sfx.h Document Surface Material (#1447) 2022-11-26 18:11:06 -05:00
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 Rename vt.h to terminal.h (#1339) 2022-11-01 19:17:11 -04:00
tha.h TwoHeadArena and TwoHeadGfxArena docs (#1349) 2022-11-13 18:29:50 -05:00
thga.h TwoHeadArena and TwoHeadGfxArena docs (#1349) 2022-11-13 18:29:50 -05:00
ultra64.h Improve rcp.h, remove HW_REG macro (#1425) 2022-11-13 02:16:01 -05:00
unk.h
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 Skelanime/Animation header cleanup (#1434) 2022-11-30 18:46:12 +01:00
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 Some doc on env light settings (#1307) 2022-11-01 19:00:38 -04:00
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 Document elf_message scripting system (#1398) 2022-10-15 13:24:13 -04:00
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