1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2024-12-27 07:07:09 +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
ultra64 Fix misc 19 (#1488) 2023-01-10 13:03:31 -05:00
alignment.h
alloca.h
attributes.h
boot.h
color.h
command_macros_base.h
fault.h
fp.h
functions.h
gfx.h
gfxprint.h
global.h
ichain.h
irqmgr.h
jpeg.h
macro.inc
macros.h
mempak.h
message_data_fmt.h Whitespace (#1112) 2022-01-23 18:09:02 -05:00
message_data_static.h
padmgr.h
prerender.h
quake.h
regs.h
rumble.h
sched.h
segment_symbols.h
seqcmd.h
sequence.h
sfx.h
speedmeter.h
terminal.h
tha.h
thga.h
ultra64.h
unk.h
variables.h
z64.h
z64actor.h
z64animation.h
z64animation_legacy.h
z64audio.h
z64bgcheck.h
z64camera.h
z64collision_check.h
z64curve.h
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
z64dma.h
z64effect.h
z64environment.h Minor Misc Cleanup 2 (#1422) 2023-02-26 21:48:42 +01:00
z64game.h
z64interface.h
z64item.h
z64light.h
z64map_mark.h
z64math.h
z64message.h
z64object.h
z64ocarina.h
z64pause.h
z64player.h
z64quest_hint_commands.h
z64save.h
z64scene.h
z64skin.h
z64skybox.h
z64sram.h
z64transition.h
z64transition_instances.h
z64view.h
z64vis.h