Emerald Lockdown
3e52c4f5db
djui_popup_create_global (#402 )
...
* Add djui_popup_create_global
2023-05-31 21:05:07 -07:00
MysterD
929b10995c
Allow other mods to add levels to arena
2023-05-31 16:56:57 -07:00
MysterD
1dd70283da
Fixed bounds checks in save_file_is_cannon_unlocked()
2023-05-20 20:07:17 -07:00
MysterD
d043fdd22d
Added in-game console for DynOS and Lua errors
2023-05-19 04:20:08 -07:00
MysterD
cf7d4bc8d2
Prevent deduplication of area models - it would overwrite the areaIndex
2023-05-18 21:29:57 -07:00
MysterD
b0408a1379
Fix some bugs found in testing
2023-05-18 17:54:29 -07:00
MysterD
41a4fcf516
Keep animations in-bounds
2023-05-18 12:42:18 -07:00
MysterD
ddd2f19ca1
Fix more memory errors
2023-05-18 01:57:36 -07:00
MysterD
93020c04e5
Prevent broken mods from messing up the sync table of others
2023-05-17 00:01:09 -07:00
MysterD
2dde74b4b6
Fix warnings
2023-05-16 22:17:43 -07:00
MysterD
18bf5847a2
Prevent rending of corrupted graphnodes, only run lua GC once per frame
2023-05-16 21:49:13 -07:00
MysterD
ab585db973
Prevent lua mods from saving over your camera settings
2023-05-16 02:03:49 -07:00
MysterD
fa88a5aee0
Make certain GraphNodeObject fields mutable again
2023-05-16 00:05:26 -07:00
MysterD
688cd3b399
Rewrite how models are loaded and retrieved... yet again
2023-05-16 00:01:10 -07:00
MysterD
60d70d0d38
Fix several more possible crashes from the Lua API
2023-05-15 15:55:16 -07:00
MysterD
ed163203d8
Make gEnvironmentRegions safer
2023-05-15 12:04:07 -07:00
MysterD
2eb2b8c18f
Make GraphNode flags mutable from lua again
2023-05-15 01:19:10 -07:00
MysterD
2083242b66
Fixed several crashes and errors found in static analysis
2023-05-15 01:15:20 -07:00
MysterD
5598ac95e7
Merge branch 'dev' of github.com:sm64ex-coop-dev/sm64ex-coop into dev
2023-05-14 12:12:30 -07:00
MysterD
bc73468e64
Load all models into dynamic memory, and store them in a way for reuse
2023-05-12 16:15:35 -07:00
MysterD
e391faf574
WIP: start making memory management better
2023-05-12 13:19:10 -07:00
MysterD
cc1ec3e81f
Prevented hundreds of additional crashes from the Mod API
2023-05-11 20:33:21 -07:00
Isaac0-dev
fad7984cd4
add djui_open_pause_menu() ( #391 )
2023-05-11 06:10:25 -04:00
MysterD
f785050ccb
Fix more possible crashes
2023-05-11 00:19:01 -07:00
MysterD
af01a214ee
Fix autogen for AnimationTable
2023-05-10 22:29:39 -07:00
MysterD
d30b1e61a6
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
e666719baf
Rename func_80321080 -> stop_secondary_music
2023-05-10 15:39:15 -07:00
MysterD
b22230db5d
Merge branch 'dev' of github.com:sm64ex-coop-dev/sm64ex-coop into dev
2023-05-10 15:21:00 -07:00
Prince Frizzy
d368e4e844
Name more audio code and variables, Document some others. ( #386 )
2023-05-10 14:31:58 -07:00
MysterD
b863cc80c8
Prevent several possible crashes and hangs, limit more struct fields to read-only
2023-05-10 13:25:41 -07:00
PeachyPeach
3ab4c944ac
better kick/punch/trip, gp and flying detection ( #388 )
2023-05-09 15:38:29 -04:00
MysterD
1ee3fd1d13
Fixed ~240 possible crashes
2023-05-05 23:59:58 -07:00
MysterD
0a4dfd17a4
Re-ran autogen
2023-05-03 01:01:36 -07:00
MysterD
5b108e50e6
Merge branch 'coop' into dev
2023-05-03 01:01:18 -07:00
Agent X
52d70e33a5
Expose some painting functions to Lua ( #357 )
...
* Expose some painting functions to Lua
get_painting_warp_node
initiate_painting_warp
* Change initiate_painting_warp u8 to s16
In initiate_painting_warp, pass in -1 to not override the painting index.
* Add sanity checks to get_painting_warp_node
* Add requested changes
2023-05-03 00:54:57 -07:00
Prince Frizzy
ee3a7018ab
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
Marioiscool246
7b4b873d39
Add fov adjustment to djui_hud_world_pos_to_screen_pos ( #374 )
...
* Add fov adjustment to djui_hud_world_pos_to_screen_pos
sFOVState is now a global (gFOVState)
djui_hud_world_pos_to_screen_pos now returns false if the position is behind the camera
* Fix aspect ratio parentheses
* Rerun autogen
---------
Co-authored-by: Marioiscool246 <marioiscool101@gmail.com>
2023-04-30 22:54:55 -04:00
MysterD
01d91ff07d
Added profiling to more places to make lag easier to track down
2023-04-30 17:39:45 -07:00
PeachyPeach
2aa6e1aa08
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
Isaac0-dev
08d31b8255
give mods more control over animations ( #369 )
...
* give mods more control over animations
- added HOOK_ON_OBJECT_ANIM_UPDATE
- make some animation values mutable
* add to docs
2023-04-29 01:56:18 +02:00
PeachyPeach
adba0f6de8
Bug fix: level_script_parse ( #366 )
...
* Bug fix: level_script_parse
* level_is_vanilla_level
2023-04-29 01:55:29 +02:00
SMS Alfredo
57ceb6543f
Expose o->collidedObjs to Lua via obj_get_collided_object function ( #362 )
...
* The function
* Autogen
* Add index parameter
2023-04-25 21:43:07 -04:00
MysterD
f2a8df7728
Made nametags mod interpolate names and health
2023-04-24 16:45:25 -07:00
MysterD
2048c8a164
Reset resolution, font, and rotation before and after HOOK_ON_HUD_RENDER
2023-04-24 13:04:46 -07:00
MysterD
1b8baecaf9
Merge branch 'coop' of github.com:sm64ex-coop-dev/sm64ex-coop into coop
2023-04-24 12:54:51 -07:00
MysterD
1f11cf00d2
Make permanent vanilla models use their vanilla slot
2023-04-24 12:52:44 -07:00
PeachyPeach
fe934ffe82
djui_hud_set_rotation ( #356 )
...
* djui_hud_set_rotation
* some goddard textures
2023-04-24 06:34:21 -04:00
MysterD
07324c5396
Clarify dynos usage message
2023-04-24 01:02:44 -07:00
MysterD
c1e33f5e70
Doubled extended model id size, avoided using vanilla object slots
2023-04-24 01:01:50 -07:00
PeachyPeach
df248e5139
Adding hazardType to HOOK_ALLOW_HAZARD_SURFACE; more loading info ( #355 )
2023-04-23 12:11:56 -04:00