Commit Graph

257 Commits (b60ef755d234af318220aa5bc8faee0b5e4f223e)

Author SHA1 Message Date
MysterD e166a12d96 Whoops 2023-11-08 20:14:14 -08:00
MysterD 8e0627d30c Cleanup from Isaac 2023-11-08 15:06:47 -08:00
MysterD 2897c7ad92 Fix crash in djui_inputbox_on_text_input() 2023-11-08 14:15:35 -08:00
MysterD 9e0aa2b730 Fixed crash in get_id_from_behavior_name() 2023-11-08 13:20:10 -08:00
MysterD 98b16c978f Fix crash in DynOS_Tex_Load() 2023-11-08 13:19:18 -08:00
MysterD 37b6df7f5a Fixed crash in DynOS_Lvl_Activate() 2023-11-08 12:54:54 -08:00
MysterD 301448f78a Fixed crash in DynOS_Actor_AddCustom() 2023-11-08 12:22:24 -08:00
Isaac0-dev 3fd9c8477b loading screen (#495)
* loading screen

* fix compile error

* Fix animation comparisons after character anim commit

* Cleaned up character sound/anim lookup code

* hopefully fix problems with queued mods

* use dj's changes

* fix compile errors due to upstream merge
2023-11-04 16:55:34 -07:00
Isaac0-dev f07f5e5433 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 f05c147d92 Force hidden 1up triggers to be invisible and E_MODEL_NONE 2023-10-26 16:53:50 -07:00
PeachyPeach 930d225b5e fix C string typing (#459) 2023-08-18 18:31:59 +02:00
FluffaLuigi dc8d11c5be Update Mario, Luigi and Wario's Models (#434)
Updated Luigi and Wario's models to their latest revision.
Mario, Luigi and Wario's sideburns now match the color of the rest of their hair with the player's palette.
Mario and Luigi's Logos were made into IA16 textures and are now shaded to look a bit better with the rest of the cap.
Cap inside was made a darker variant of the regular cap color across both the held and item caps.
Fixed an oversight with the cap wings, though mostly so that they're more consistent.
Removed Mario's unused model data since none of it is ever getting used as far as I'm aware.
2023-07-04 16:23:34 -07:00
MysterD db77e38c0d Clear texture 1 on level init (fixes corrupt level textures) 2023-06-27 15:38:08 -07:00
djoslin 0dae1cb5e9 Update for MacOS 2023-06-23 16:40:46 -07:00
MysterD d2734cf390 Init dynos packs after djui is created 2023-06-23 14:26:04 -07:00
MysterD fcd61d6c0e Add level script pointer validation 2023-06-22 01:13:38 -07:00
MysterD 00cf5348da Update lang files 2023-06-14 23:25:04 -07:00
MysterD 483c32259d Add Lights0 support to DynOS 2023-06-12 02:08:20 -07:00
MysterD 0f5af9b0d0 Deduplicate level models using the permanent model map 2023-06-11 13:45:24 -07:00
MysterD 05631ee6f2 Fix attempt to not clear permanent models 2023-06-07 23:50:44 -07:00
MysterD 493fefd89a Prevent clearing permanent vanilla model slot 2023-06-05 15:19:33 -07:00
MysterD 7b47069611 Fix DynOS_Lvl_GetActiveGfx() 2023-06-05 15:19:19 -07:00
MysterD 13b865e1ed Allow other mods to add levels to arena 2023-05-31 16:56:57 -07:00
MysterD 1296b19df9 Added last remote object information to crash screen 2023-05-22 23:00:11 -07:00
MysterD f28573c91e Added in-game console for DynOS and Lua errors 2023-05-19 04:20:08 -07:00
MysterD 048abe8fa3 Fix animations for late-join penguin baby 2023-05-19 01:34:37 -07:00
MysterD 8250670808 Prevent deduplication of area models - it would overwrite the areaIndex 2023-05-18 21:29:57 -07:00
MysterD 9c1c766489 Keep animations in-bounds 2023-05-18 12:42:18 -07:00
MysterD e44fc5dc40 Fix sync of models on late join 2023-05-17 23:32:39 -07:00
MysterD d8edfeb3ba Keep the previous dynamic pool in memory
Due to sm64 weirdness, I can't reliably free memory at certain points
The hacky solution is to keep the previous dynamic pool in memory,
essentially requiring two frees to actually clear all memory from it
2023-05-17 22:33:14 -07:00
MysterD ff9b0830ce Prevent immediate freeing of dynos model pools 2023-05-17 22:22:05 -07:00
MysterD 2703f7193a Rewrite how models are loaded and retrieved... yet again 2023-05-16 00:01:10 -07:00
MysterD 83540a2d01 Fix several more possible crashes from the Lua API 2023-05-15 15:55:16 -07:00
MysterD d550ca7f6a Schedule level pool to be freed at a later time 2023-05-15 12:03:57 -07:00
MysterD 67b7aab091 Fixed several crashes and errors found in static analysis 2023-05-15 01:15:20 -07:00
MysterD c12d926a67 Fix some memory mismanagement 2023-05-13 02:42:35 -07:00
MysterD f84ea90dc2 Remove the main pool 2023-05-13 01:49:54 -07:00
MysterD 08cae43887 Rename AllocOnlyPool to DynamicPool, add GrowingPool 2023-05-12 18:53:25 -07:00
MysterD e264cdd16b Load all models into dynamic memory, and store them in a way for reuse 2023-05-12 16:15:35 -07:00
MysterD 60f7ef7a0f WIP: start making memory management better 2023-05-12 13:19:10 -07:00
MysterD ada4421ce5 Prevented hundreds of additional crashes from the Mod API 2023-05-11 20:33:21 -07:00
MysterD 3489186355 Add a container to animation tables so that we can track their length and stay in bounds 2023-05-10 20:57:35 -07:00
MysterD d04c0af4de Rename func_80321080 -> stop_secondary_music 2023-05-10 15:39:15 -07:00
MysterD f9c0e2cfe2 Fix crashes in various obj functions 2023-05-07 15:55:11 -07:00
MysterD 060807dc7f Fixed crash in DynOS_UpdateCmd 2023-05-07 15:49:26 -07:00
MysterD 808691498e Fix crash in DynOS_Actor_AddCustom 2023-05-07 15:48:19 -07:00
MysterD 8311eb23ec Fixed ~240 possible crashes 2023-05-05 23:59:58 -07:00
MysterD b8a7cccb9f Merge branch '2cycle' into dev 2023-05-04 12:09:04 -07:00
Prince Frizzy 65887572e2 Adds support for compiling other regions (#378)
* Initial support for compiling with EU.

* Fix EU text.

* JP now compiles, TODO: Fix Autogen to fix JP and fix text in djui.

* audio: Prevent crash in EU.

* audio: Sync EU audio to 60 Hz instead of 50 Hz

* Add logging and remove sanity check to hopefully track EU crash.

* Various improvements for EU

Improve some memory debugging
Improve sound debugging
Initalize some variables in load.c for the sound system
Synchronize the EU cutscenes with the US version.

* Fix credits music playing in EU, Document some EU audio code.

* Autogen now supports version excluded object fields and functions. Reran autogen in accordance.

* Fix some potentional shifting issues due to version differences.

* Decrease the sleep times in some spots, We do not need them to be so long. (#373)

* Add the region to the version string.

---------

Co-authored-by: djoslin0 <djoslin0@users.noreply.github.com>
2023-05-03 00:54:25 -07:00
PeachyPeach 7d70778a64 custom animations no dynos (#371)
Load animations with smlua_anim_util_register_animation and set them with smlua_anim_util_set_animation.
2023-04-28 21:00:17 -07:00