Agent X
d63abe9c7e
Changes to light shade color ( #444 )
2023-07-10 15:40:45 -04:00
Sonicxryan
3258064a7f
Shading ( #439 )
2023-07-06 16:21:37 -04:00
Dominicentek
809cbc314b
Add lifeCap, coinCap and coinToLife to gLevelValues ( #429 )
...
* Add lifeCap, coinCap and coinToLife to gLevelValues
* autogen
* forgor
* renamed the properties
2023-07-04 14:16:07 -07:00
MysterD
aeb8817f0d
Reduced Lua GC pressure by a lot, reuse cobjects/pointers
2023-06-24 23:43:03 -07:00
MysterD
aaa23a8394
lol whoops
2023-06-24 17:54:26 -07:00
MysterD
0bb8d6b5cd
Revert Lua GC settings to defaults
2023-06-24 17:49:19 -07:00
MysterD
f06d75017c
Fix warnings
2023-06-24 13:57:32 -07:00
MysterD
2a809f2bdc
Change cobject allowlist to C++ maps
2023-06-24 01:44:01 -07:00
Sunk
f6a78e0c77
Allow mods to disable romhack camera centering ( #423 )
2023-06-23 16:58:47 -07:00
MysterD
2842803362
Added gLevelValues.fixCollisionBugsPickBestWall
2023-06-22 20:18:10 -07:00
MysterD
c7a557d870
Add gLevelValues.fixCollisionBugsGroundPoundBonks
2023-06-22 11:40:59 -07:00
Agent X
3f60869fcb
Add the ability to change lighting color ( #420 )
...
* Add the ability to change lighting color
Well it's actually multiplying the lighting color and not changing it completely but I think it's better that way.
* Consistency
2023-06-22 11:28:17 -07:00
MysterD
c92b62fe58
Enable romhack cam by default when in a non-vanilla level
2023-06-22 02:12:57 -07:00
Dominicentek
2629381971
Customizable dialogs ( #411 )
...
* add customizable dialogs
* remove testing mod
* add HOOK_ON_DIALOG
* Reset dialog overrides in `network_shutdown`
It may have compile errors idk editing code on phone sucks
* typo smh
* copy over the file from original repo so this fork can be synced
* run autogen again
* actually im stupid
2023-06-18 20:04:39 -07:00
Agent X
f1990c618e
Add tons of new save file / star related functions ( #419 )
...
These were needed to port interact_star_or_key to Lua but are also just good to have exposed IMO.
2023-06-18 20:04:02 -07:00
MysterD
b3eff990ae
Re-ran autogen
2023-06-18 12:28:26 -07:00
MysterD
488ef1c6d2
Added collision_get_temp_wall_collision_data() to Lua
2023-06-15 19:55:55 -07:00
MysterD
f04be96225
Cleanup
2023-06-11 14:41:14 -07:00
PeachyPeach
175dbada5a
Various checks for binary lua files ( #397 )
...
* various checks for binary lua files
* endianness
2023-06-11 14:36:15 -07:00
Sunk
a0ff975ec8
Re-introduce a few vanilla bugs under gBehaviorValues ( #413 )
...
* Properly set Mario's y vel to 0 on popping
* Re-introduce a few vanilla bugs under gBehaviorValues
The Shell Mario glitch was patched as a side effect to patching a different bug, but several romhacks use it so I need it back.
The ability to collect multiple normal caps at once is needed for hat-in-hand using the hat factory glitch.
* Fix Shell Mario fix
Found the actual reason why the glitch doesn't work and figured that this change shouldn't affect anything else, so I removed its entry from gBehaviorValues.
* Add InfiniteRenderDistance to gBehaviorValues
I'm well aware that disabling the infinite render distance will be very desync prone, however a few glitches, most notably cloning and chuckya double jump, need objects load and unload from render distance.
2023-06-11 14:24:13 -07:00
MysterD
def1122159
Allow toggling the false ledge grab fix
2023-06-11 13:00:11 -07:00
MysterD
efba660738
Seeded smlua's random functions by default
2023-06-02 22:10:54 -07:00
Isaac0-dev
05f4c42f81
add cancels to HOOK_BEFORE_PHYS_STEP allowing for custom step systems ( #400 )
...
* add cancels to HOOK_BEFORE_PHYS_STEP allowing for custom step systems
* give lua mods access to stepArg and nextPos from hanging and air step; fix a crash when m.floor is null
2023-05-31 21:10:06 -07:00
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