Emerald Lockdown
80d59c2be1
`djui_popup_create_global` ( #402 )
...
* Add djui_popup_create_global
2023-05-31 21:05:07 -07:00
MysterD
13b865e1ed
Allow other mods to add levels to arena
2023-05-31 16:56:57 -07:00
MysterD
4ba86a27f7
Fixed bounds checks in save_file_is_cannon_unlocked()
2023-05-20 20:07:17 -07:00
Dominicentek
c294de9092
Expose save_file_is_cannon_unlocked to smlua ( #395 )
...
* Update convert_functions.py
* Update save_file.c
* Update save_file.h
* Update cannon_door.inc.c
2023-05-20 20:06:15 -07:00
MysterD
abf3807f72
Fix some bugs found in testing
2023-05-18 17:54:29 -07:00
MysterD
a0c1f7eee9
Prevent rending of corrupted graphnodes, only run lua GC once per frame
2023-05-16 21:49:13 -07:00
MysterD
3a93423fcc
Make certain GraphNodeObject fields mutable again
2023-05-16 00:05:26 -07:00
MysterD
83540a2d01
Fix several more possible crashes from the Lua API
2023-05-15 15:55:16 -07:00
MysterD
4e2ade1bd7
Make GraphNode flags mutable from lua again
2023-05-15 01:19:10 -07:00
MysterD
67b7aab091
Fixed several crashes and errors found in static analysis
2023-05-15 01:15:20 -07:00
MysterD
defaf170a3
Merge branch 'dev' of github.com:sm64ex-coop-dev/sm64ex-coop into dev
2023-05-14 12:12:30 -07:00
MysterD
fc84a2a56d
Prevent crashes and hangs
2023-05-13 03:07:20 -07:00
MysterD
ada4421ce5
Prevented hundreds of additional crashes from the Mod API
2023-05-11 20:33:21 -07:00
Isaac0-dev
2d6c3b6cb1
add djui_open_pause_menu() ( #391 )
2023-05-11 06:10:25 -04:00
MysterD
afedaa312d
Prevent even more possible crashes from the mod api
2023-05-11 01:46:27 -07:00
MysterD
a070b024a5
Fix more possible crashes
2023-05-11 00:19:01 -07:00
MysterD
f38adda7ed
Fix autogen for AnimationTable
2023-05-10 22:29:39 -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
2332077649
Merge branch 'dev' of github.com:sm64ex-coop-dev/sm64ex-coop into dev
2023-05-10 15:21:00 -07:00
Prince Frizzy
9a4598bb3e
Name more audio code and variables, Document some others. ( #386 )
2023-05-10 14:31:58 -07:00
MysterD
8ef52f3acc
Prevent several possible crashes and hangs, limit more struct fields to read-only
2023-05-10 13:25:41 -07:00
PeachyPeach
4a8f1dbb5d
better kick/punch/trip, gp and flying detection ( #388 )
2023-05-09 15:38:29 -04:00
MysterD
62e5563168
Fix crash in network_receive_lua_sync_table
2023-05-07 22:46:00 -07:00
MysterD
8311eb23ec
Fixed ~240 possible crashes
2023-05-05 23:59:58 -07:00
MysterD
a723ea8b03
Re-ran autogen
2023-05-03 01:01:36 -07:00
MysterD
e1356acf43
Merge branch 'coop' into dev
2023-05-03 01:01:18 -07:00
Agent X
38cef3b77e
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
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
Marioiscool246
408b2848df
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
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
Isaac0-dev
2ff8cf006c
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
717dfde419
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
16c468c5dd
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
8e54677c39
Made nametags mod interpolate names and health
2023-04-24 16:45:25 -07:00
PeachyPeach
53cfe50052
djui_hud_set_rotation ( #356 )
...
* djui_hud_set_rotation
* some goddard textures
2023-04-24 06:34:21 -04:00
PeachyPeach
8eabb41a2d
Adding hazardType to HOOK_ALLOW_HAZARD_SURFACE; more loading info ( #355 )
2023-04-23 12:11:56 -04:00
PeachyPeach
a66293b56a
obj_init_animation_with_accel_and_sound + fix collision_find_surface_on_ray parameter names ( #352 )
2023-04-20 19:43:37 -04:00
Agent X
da5a8875a2
Remove Share Lives ( #351 )
...
it's a leftover from the very early betas, it isn't needed and isn't even fully functional anyway.
Also potentially fixed mario_get_floor_class crash
2023-04-20 07:02:00 -04:00
MysterD
dfbbddf66b
Re-ran autogen
2023-04-20 01:28:42 -07:00
Isaac0-dev
3defbf5943
allow interact type to be 0 in hook_mario_action ( #350 )
...
* allow interact type to be 0 in hook_mario_action
2023-04-20 01:28:23 -07:00
MysterD
256b4ad16f
Restore old version code
2023-04-20 00:51:34 -07:00
MysterD
cc17ff7347
Merge branch 'coopnet' into coop
2023-04-19 00:23:37 -07:00
PeachyPeach
e7e59d6f60
Expose globally custom behaviors defined with hook_behavior ( #345 )
...
* Expose globally custom behaviors defined with hook_behavior; macros for mod strings max length
* fixes
* made customBehaviorIndex a mod field to be more relevant
2023-04-17 21:54:55 -07:00
MysterD
e43ef39206
Add lobby descriptions
2023-04-17 16:34:56 -07:00
MysterD
f2591bd5b4
Ripped out discord network system, started re-adding invites
2023-04-15 19:53:34 -07:00
MysterD
71b616c76c
Ran autogen
2023-04-13 22:39:42 -07:00
PeachyPeach
1d9cabd613
level_script_parse description ( #340 )
...
enhanced level_script_parse description
2023-04-10 12:25:26 +02:00
Isaac0-dev
fe42d422f2
add a way for Lua mods to detect what OS coop is running on ( #338 )
...
* patch for beta 32
* bump version
* fix lakitu cam duplication hopefully
* add a way for Lua mods to see what OS its running on
2023-04-08 19:52:16 -04:00
MysterD
9f9dfa53a3
Removed lag compensation functions that shouldn't be added to the Lua API
2023-04-03 21:56:52 -07:00
MysterD
ede53830b6
Improve lag compensation
2023-04-03 13:55:03 -07:00