1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-08-09 00:00:44 +00:00
oot/src/overlays/effects
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
..
ovl_Effect_Ss_Blast Doc/cleanup pass on effects 1 (#1421) 2023-08-15 20:28:12 -04:00
ovl_Effect_Ss_Bomb Doc/cleanup pass on effects 1 (#1421) 2023-08-15 20:28:12 -04:00
ovl_Effect_Ss_Bomb2 Doc/cleanup pass on effects 1 (#1421) 2023-08-15 20:28:12 -04:00
ovl_Effect_Ss_Bubble Fix asset file includes to always start with assets/ (#1260) 2022-06-06 15:37:25 -04:00
ovl_Effect_Ss_D_Fire Doc/Cleanup pass on object handling (#1227) 2023-09-19 14:10:12 -04:00
ovl_Effect_Ss_Dead_Db Rename "Sound" to "Sfx" (#1292) 2022-07-30 09:05:27 -04:00
ovl_Effect_Ss_Dead_Dd Fix asset file includes to always start with assets/ (#1260) 2022-06-06 15:37:25 -04:00
ovl_Effect_Ss_Dead_Ds Fix RaycastFloor flags (#1328) 2022-08-30 17:49:51 +02:00
ovl_Effect_Ss_Dead_Sound Rename "Sound" to "Sfx" (#1292) 2022-07-30 09:05:27 -04:00
ovl_Effect_Ss_Dt_Bubble Fix asset file includes to always start with assets/ (#1260) 2022-06-06 15:37:25 -04:00
ovl_Effect_Ss_Dust Doc/cleanup pass on effects 1 (#1421) 2023-08-15 20:28:12 -04:00
ovl_Effect_Ss_En_Fire Fix various small gfx issues (#1313) 2022-07-30 17:49:10 -04:00
ovl_Effect_Ss_En_Ice Fix various small gfx issues (#1313) 2022-07-30 17:49:10 -04:00
ovl_Effect_Ss_Extra Doc/Cleanup pass on object handling (#1227) 2023-09-19 14:10:12 -04:00
ovl_Effect_Ss_Fcircle Fix various small gfx issues (#1313) 2022-07-30 17:49:10 -04:00
ovl_Effect_Ss_Fhg_Flash Doc/Cleanup pass on object handling (#1227) 2023-09-19 14:10:12 -04:00
ovl_Effect_Ss_Fire_Tail Fix various small gfx issues (#1313) 2022-07-30 17:49:10 -04:00
ovl_Effect_Ss_G_Fire Fix asset file includes to always start with assets/ (#1260) 2022-06-06 15:37:25 -04:00
ovl_Effect_Ss_G_Magma Fix asset file includes to always start with assets/ (#1260) 2022-06-06 15:37:25 -04:00
ovl_Effect_Ss_G_Magma2 Doc/Cleanup pass on object handling (#1227) 2023-09-19 14:10:12 -04:00
ovl_Effect_Ss_G_Ripple Fix asset file includes to always start with assets/ (#1260) 2022-06-06 15:37:25 -04:00
ovl_Effect_Ss_G_Spk Doc/cleanup pass on effects 1 (#1421) 2023-08-15 20:28:12 -04:00
ovl_Effect_Ss_G_Splash Doc/Cleanup pass on object handling (#1227) 2023-09-19 14:10:12 -04:00
ovl_Effect_Ss_Hahen Doc/Cleanup pass on object handling (#1227) 2023-09-19 14:10:12 -04:00
ovl_Effect_Ss_HitMark Doc/cleanup pass on effects 1 (#1421) 2023-08-15 20:28:12 -04:00
ovl_Effect_Ss_Ice_Piece Fix various small gfx issues (#1313) 2022-07-30 17:49:10 -04:00
ovl_Effect_Ss_Ice_Smoke Doc/Cleanup pass on object handling (#1227) 2023-09-19 14:10:12 -04:00
ovl_Effect_Ss_K_Fire Fix various small gfx issues (#1313) 2022-07-30 17:49:10 -04:00
ovl_Effect_Ss_Kakera Doc/Cleanup pass on object handling (#1227) 2023-09-19 14:10:12 -04:00
ovl_Effect_Ss_KiraKira Doc/cleanup pass on effects 1 (#1421) 2023-08-15 20:28:12 -04:00
ovl_Effect_Ss_Lightning Doc/cleanup pass on effects 1 (#1421) 2023-08-15 20:28:12 -04:00
ovl_Effect_Ss_Sibuki Fix asset file includes to always start with assets/ (#1260) 2022-06-06 15:37:25 -04:00
ovl_Effect_Ss_Sibuki2 Doc/cleanup pass on effects 1 (#1421) 2023-08-15 20:28:12 -04:00
ovl_Effect_Ss_Solder_Srch_Ball Fix a number of warnings when compiling with GCC (#1239) 2022-06-03 18:51:23 +02:00
ovl_Effect_Ss_Stick Doc/Cleanup pass on object handling (#1227) 2023-09-19 14:10:12 -04:00
ovl_Effect_Ss_Stone1 TransitionFade docs and clean up other transitions (#1459) 2022-12-24 03:46:56 +01:00