sm64coopdx/docs/lua
PeachyPeach 27db236b5d
Various bug fixes + Added is_game_paused() and more background music functions to lua (#93)
Bug: DynOS models with animations cannot swap animations if they are
     loaded via lua (smlua_model_util_get_id and
     obj_set_model_extended).
Fix: DynOS_Actor_GetActorGfx takes a graph node instead of a georef,
     and checks for DynosValidActors graph nodes if georef is NULL.

Bug: The game can crash when calling obj_set_model_extended inside a
     HOOK_ON_OBJECT_RENDER hook.
Fix: The crash happens in smlua_model_util_load_with_pool_and_cache_id
     due to pool being NULL. If the game can't allocate an
     AllocOnlyPool object, use DynOS to generate the graph node.

Bug: warp_to_level and similar functions don't trigger HOOK_ON_WARP.
Fix: Call HOOK_ON_WARP hooks in DynOS_Warp_UpdateWarp and
     DynOS_Warp_UpdateExit after level and mario initialization.

Bug: The game sometimes calls HOOK_ON_OBJECT_RENDER hooks for
     unintended objects.
Fix: Initialize hookRender field to 0 when creating an object.

Bug: Actions can't apply gfx offsets to characters that have an anim
     offset (Waluigi, Wario)
Fix: Add m->curAnimOffset to gfx.pos[1] instead of setting it to
     m->pos[1] + m->curAnimOffset, except during the jumbo star
     cutscene.
2022-05-14 14:28:25 -07:00
..
examples Various audio fixes, updated audio example 2022-05-08 04:32:18 -07:00
constants.md Add surface_terrains.h to constants (#77) 2022-05-02 17:31:55 -07:00
functions-2.md Split up functions.md into multiple pages 2022-04-22 18:41:42 -07:00
functions-3.md Various bug fixes + Added is_game_paused() and more background music functions to lua (#93) 2022-05-14 14:28:25 -07:00
functions-4.md Various bug fixes + Added is_game_paused() and more background music functions to lua (#93) 2022-05-14 14:28:25 -07:00
functions.md Various bug fixes + Added is_game_paused() and more background music functions to lua (#93) 2022-05-14 14:28:25 -07:00
globals.md Added gActiveMods global to lua 2022-04-22 18:44:59 -07:00
hooks.md HOOK_ALLOW_INTERACT; new HUD functions (#73) 2022-04-30 17:33:38 -07:00
lua.md Move audio test example 2022-05-08 00:28:02 -07:00
structs.md Merge branch 'audio' into unstable 2022-05-08 16:41:05 -07:00
vs-code-setup.md Fix image 2022-03-12 21:52:38 -08:00