33 Commits
Author SHA1 Message Date
Agent X ab71222a01 Reset pause menu hidden on network shutdown (Oldest mistake in the book)
Also removed a couple unnecessary externs
2025-11-23 20:19:05 -05:00
djoslin0andMysterD 2f6a0425a1 Fix sequenced background music when set in ON_LEVEL_INIT (#1011)
---------

Co-authored-by: MysterD <myster@d>
2025-11-17 10:21:29 +10:00
PeachyPeachSM64 1055cebd27 Fix cap sequences not replaced/playing on dynos warp and level entry; Add gLevelValues.shellSequence 2025-08-29 22:54:40 +02:00
PeachyPeach 9f61a29e03 smlua event hooks refactor (#826) 2025-06-09 07:40:48 +10:00
Isaac0-dev d70daacc00 fix crash during conflicting warps 2025-06-04 09:40:20 +10:00
Agent X d3d37098cb The old dynos warp hook params worked fine 2025-05-01 21:37:44 -04:00
Agent X 6cfc047908 Fix HOOK_ON_WARP and document more functions (87.18%) 2025-05-01 20:26:04 -04:00
Agent X 1918b03070 Fix HOOK_ON_WARP params 2025-04-15 14:13:58 -04:00
Blockyyy f047d805ec HOOK_BEFORE_WARP, added params to HOOK_ON_LEVEL_INIT and HOOK_ON_WARP (#736) 2025-04-10 17:17:59 -04:00
Isaac0-dev 565907f99f fix dynos warps castle grounds bug 2025-01-07 09:04:37 +10:00
Drahnokks 54db59759b add controller.buttonReleased (#379) 2024-10-20 09:25:08 +10:00
Agent X 2a81d6a019 Expose gCurrentArea and gCamera to Lua 2024-06-10 11:32:05 -04:00
Agent X 76df2dbcf6 Remove sm64ex-coop compatibility 2024-03-17 16:32:49 -04:00
Agent X 5c289695f3 Make DynOS warp bug fix only work with coop compatibility off 2024-03-07 19:05:31 -05:00
Agent X dc0f30e462 Fix Castle Grounds DynOS warps facing backwards 2023-12-11 16:38:11 -05:00
Isaac0-dev 4530c5dc4c custom level fixes and fixes from other pr (#483)
clean up custom level code
    fixed a bug where custom level course numbers weren't used by dynos warps
    removed a bunch of unused dynos code
    fix demos triggering incorrectly
    allowed the right Ctrl key to be used when opening the in game console
    fixed a softlock that was possible to experience when talking to the snowman in CCM
    fixed the bug where you can permanently lose your cap (bug created by my own PR from beta 32)
    fix the moderator feature I made a while back; I am amazed it even worked at all before
    fixed dynos warp initial actions being skipped (read ec8aabc for explanation)
    completely changed the way star names and course names work
2023-10-27 16:42:27 -07:00
MysterD b36a2747f8 Schedule level pool to be freed at a later time 2023-05-15 12:03:57 -07:00
MysterD 176f7720a0 Remove the main pool 2023-05-13 01:49:54 -07:00
MysterD 0d564e61ac Rename func_80321080 -> stop_secondary_music 2023-05-10 15:39:15 -07:00
Agent X e4506dcd5e Bug fixes for mostly the title screen (#308)
- Add NULL checks to DynOS warps
- Change checks for skipping interpolation on the original title screen for much better ones
- Interactions are no longer processed if you are on the title screen
- Re-add some of the legacy demo code for the original title screen
- Fix disconnecting on the original title screen
- Fix disconnecting on the act select screen
- Fix interpolation crash
2023-03-18 17:14:01 -04:00
wRadion bc081955de Added warp_to_warpnode function (#157)
* Added warp to warp node function

* Added generated docs

* Restored Makefile (will put in other branch)
2022-09-30 20:02:34 -07:00
MysterD 18f156b7c5 Fix up includes for clang 2022-08-05 20:55:31 -07:00
PeachyPeach cc4e2c8164 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
MysterD dbdc7018ac Stop music on dynos warp 2022-04-15 19:32:53 -07:00
MysterD f74bdc96f7 Allow DynOS to warp to level with castle levels 2022-04-10 01:30:56 -07:00
MysterD cdd8b8d139 Allow course names/acts to be changed from Lua 2022-04-09 23:28:36 -07:00
MysterD 9f952f5f05 Added support for SM76's JUMP_AREA, added missing lvl geos, reordered parsing 2022-04-07 18:34:44 -07:00
MysterD 824b5bcbc4 Fixed token corruption in DynOS, added support for runtime LOAD_MODEL_FROM_GEO 2022-04-07 08:21:19 -07:00
MysterD d7b9b43c5a Added ability for DynOS levels to call into lua for custom objects 2022-04-04 18:16:36 -07:00
MysterD 75847b5d2b Refactor coop-specific DynOS code 2022-03-30 23:05:53 -07:00
Prince Frizzyandn64 d2efd93113 Update to Refresh 13 (#19)
* Refresh 13

Co-authored-by: n64 <n64>
2022-03-13 00:17:10 -08:00
MysterD 1493962b3a Ported the rest of DynOS, but left the options menu disabled 2022-03-10 01:18:53 -08:00
MysterD bbbea80aae Added DynOS v1.1 without the dynamic options
- Added support for coop-specific actors
- Added support for coop-specific geo functions
- Added support for coop-specific model functions
2022-03-09 18:01:03 -08:00