Prince Frizzy
d368e4e844
Name more audio code and variables, Document some others. ( #386 )
2023-05-10 14:31:58 -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
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
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
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
PeachyPeach
fe934ffe82
djui_hud_set_rotation ( #356 )
...
* djui_hud_set_rotation
* some goddard textures
2023-04-24 06:34:21 -04:00
PeachyPeach
df248e5139
Adding hazardType to HOOK_ALLOW_HAZARD_SURFACE; more loading info ( #355 )
2023-04-23 12:11:56 -04:00
PeachyPeach
8311116cdf
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
92da90bf3f
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
c71d3c564f
Re-ran autogen
2023-04-20 01:28:42 -07:00
Isaac0-dev
bc7909c392
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
491a69549c
Restore old version code
2023-04-20 00:51:34 -07:00
MysterD
98c78a9470
Merge branch 'coopnet' into coop
2023-04-19 00:23:37 -07:00
PeachyPeach
999ea1dd42
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
4566b7ee14
Ripped out discord network system, started re-adding invites
2023-04-15 19:53:34 -07:00
Isaac0-dev
f7a3e5f0a6
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
e7ebce5207
Removed lag compensation functions that shouldn't be added to the Lua API
2023-04-03 21:56:52 -07:00
MysterD
fce88728d2
Improve lag compensation
2023-04-03 13:55:03 -07:00
MysterD
192d47aea0
Added FONT_TINY
2023-04-02 23:02:14 -07:00
MysterD
9cfa078b5e
Make gMarioStates->controller immutable in Lua
2023-04-01 17:16:18 -07:00
MysterD
6fc711e440
Added smlua_text_utils_get_language()
2023-04-01 00:04:45 -07:00
MysterD
7df87d583e
Fix crash when removing a sync objects and iterating at the same time
2023-03-27 20:25:35 -07:00
MysterD
b596cb2af2
Figure out a ping between every player, adjust resend rate based on it
2023-03-27 11:50:32 -07:00
Isaac0-dev
6cb1b2faec
Beta 32.0.1 ( #325 )
...
* patch for beta 32
* require the development flag for Lua profiler
* autogen
2023-03-26 01:15:28 -04:00
Agent X
4277230f20
Show players on star select toggle ( #321 )
...
* Show players on star select toggle
* Make only toggleable by mods
* Allow player list to also be disabled
2023-03-23 21:12:26 -04:00
Sunk
08f8502cab
Remove duplicate hook documentation ( #318 )
2023-03-23 17:13:08 -04:00
Agent X
1a86d46d95
Override envfx from Lua ( #316 )
...
* Override envfx from Lua
set_override_envfx(-1) to reset override
* Fix type mismatch
2023-03-23 14:46:15 -04:00
Agent X
c79a001f5f
Make fixed collision rounded corners toggleable ( #315 )
2023-03-22 21:02:43 -04:00
Isaac0-dev
7e46ce4a21
fixes and other improvements ( #309 )
...
* HOOK_JOINED_GAME
* expose VERSION_TEXT, and two more adjusments
* show if a constant type is a string with autogen
* fix another blunder by that guy
* should use an or operator here
* fix frame limiter stuff
2023-03-21 19:43:29 -04:00
Agent X
751dfe61c7
Move everything over ( #280 )
2023-03-20 22:36:25 -04:00
Agent X
42b43a9b7e
get_ttc_speed_setting and set_ttc_speed_setting ( #307 )
2023-03-20 20:20:11 -04:00
Agent X
90bc1732f1
Merge pull request #303 from Sunketchupm/coop
...
Fix inaccuracies in hooks.md
2023-03-20 20:13:55 -04:00
Agent X
d0318c23d5
Merge pull request #301 from Agent-11/hooks
...
Touch up new hooks
2023-03-20 20:07:14 -04:00
Agent X
3a45334a3d
Merge pull request #310 from Agent-11/time
...
get_time()
2023-03-20 19:59:31 -04:00
Agent X
22952dda05
Expose sound_banks_enable/disable to Lua ( #311 )
2023-03-18 17:12:33 -04:00
Sunk
2370f2e3d9
Merge remote-tracking branch 'upstream/coop' into coop
2023-03-18 00:13:54 -04:00
Agent X
c67b09b77f
get_time()
2023-03-14 20:53:23 -04:00
Agent X
35eb3f1695
Merge branch 'sm64ex-coop-dev:coop' into hooks
2023-03-13 09:15:04 -04:00
Isaac0-dev
a939ddc07b
bring back the ability to lose your cap ( #229 )
...
* bring back the ability to lose your cap
* run autogen and add "cap" to the mario states guide
* fix some indentation
2023-03-03 01:46:46 -05:00
Sunk
6c362312f7
Fix inaccuracies in hooks.md
2023-03-01 20:24:12 -05:00
Agent X
5653b2bec4
Add new param to documentation
2023-02-28 22:43:47 -05:00
PeachyPeach
1e175b5ce7
Make most used and useful features built-ins ( #242 )
...
* made all bools u8 for consistency with fixCollisionBugs
* preview blue coins + visible secrets
* preserve indexing
* star number
* hud cap timer
* red coins radar + secrets radar
* extended pause display
* autogen
* only sDynosBuiltinFuncs is sensitive to indexing
* rebased
2023-02-26 03:15:54 +01:00
Sunk
9ec75abc60
Add HOOK_BEFORE_SET_MARIO_ACTION ( #253 )
...
* Small quality of life changes
Disabled fixed collision in sm74 by default.
Popping should now completely set the popped player's speed to 0.
* Add HOOK_BEFORE_SET_MARIO_ACTION
Param: incoming action
Return: changes incoming action
If the return value is 1, prevent the action from happening entirely.
0 can't be used here since it'll break the title screen.
* Update hooks.md
* Revert "Small quality of life changes"
This reverts commit 05dd235cd0
.
2023-02-22 20:28:23 -05:00
Isaac0-dev
baedae5412
rerun autogen ( #291 )
2023-02-22 00:56:30 -05:00