Commit graph

3840 commits

Author SHA1 Message Date
Isaac0-dev
6995b1a07c
revert texture coordinates as ints instead of shorts (#46)
This reverts commit f994ffbe8c.
2024-05-15 21:30:52 +10:00
Isaac0-dev
37528b7ee8
fix flashbang while pause entering a level (#45) 2024-05-14 23:02:27 +10:00
Isaac0-dev
2f5b0c4880
reset mario state on player disconnect (#44)
fixes some mod related bugs
2024-05-14 10:12:20 +10:00
Isaac0-dev
eaa1a59996
fixed some mario cutscene action related bugs (#43)
- fixed a bug where remote players would show mario's head repeatedly twitching up and down while reading automatic dialog
- fixed a bug where remote mario's would sometimes not update while unlocking a star door, resulting in the previous animation playing during that action
- fixed a bug where players exiting a warp door could get stuck for a few extra frames due to other players opening that same door.

- added dialogId to MarioState, which is synced for remote players the dialog id that player has active. this can be used by Lua mods - don't access the local player's dialog id because that isn't updated as that is unnecessary
2024-05-14 09:45:33 +10:00
Isaac0-dev
bab8be49af
fixed a crash & memory leak from smlua_text_utils (#40)
* fixed a crash & memory leak from smlua_text_utils

* prevent autogen from exposing smlua_text_utils_shutdown

* forgot to push this
2024-05-13 19:38:53 -04:00
Isaac0-dev
45d42dbf73
fix crash when importing textures that exceed expected size (#42) 2024-05-14 09:38:21 +10:00
Isaac0-dev
626970c022
fixed scuttlebugs incorrect behavior (#41)
scuttlebugs used to always target the closest mario in range, due to angleToPlayer being updated every frame, overwriting the angle if its set to the angle to the scuttlebug's home
2024-05-13 19:37:40 -04:00
Isaac0-dev
082b6dd6da
interpolate scrolling textures (#30)
* interpolate scrolling textures

* cleaner way to skip interpolation

* fixed interpolation only lasting for one frame

* just reorder these

just because
2024-05-13 19:37:29 -04:00
PeachyPeach
a6c1b2a3d1
Fix surface_load memory leaks and improve performance (#38) 2024-05-14 09:08:51 +10:00
PeachyPeach
14cbb673fc
Proper custom object fields (#39) 2024-05-14 08:52:56 +10:00
Agent X
3a7adb8b40 Change "Global PLayer Models" to "Local Player Model Only" 2024-05-12 09:56:27 -04:00
Agent X
8209554f69 Disable freecam options if freecam is off 2024-05-12 09:51:17 -04:00
Agent X
3d2436c808 Rename is_playerlist_open to djui_is_playerlist_open 2024-05-12 09:18:40 -04:00
Agent X
9910aa32ad Add eeliottheking to credits.txt 2024-05-12 09:16:55 -04:00
Agent X
34113d3b53 Make tex files generate even with other ones in the dir 2024-05-12 09:16:55 -04:00
Agent X
3c86c0c83b Add is_playerlist_open() 2024-05-12 09:16:55 -04:00
Isaac0-dev
4fc0cc92e6
fix headless servers with mods that access marioObj on load (#37) 2024-05-12 22:58:43 +10:00
Agent X
cb6f5f2b30 Revert "Add gServerSettings.enableChat"
This reverts commit c21c255241.
2024-05-12 08:15:57 -04:00
Agent X
f3b583ac47 Make rainbow text colors brighter 2024-05-11 22:08:35 -04:00
Agent X
cdd23f5952 Add save file names 2024-05-11 22:05:35 -04:00
Agent X
dd6ce3d7f9 Actually fix Waluigi anims 2024-05-11 19:17:50 -04:00
Agent X
ec3fb07e76 Add @Hex4dec HOOK_ON_ATTACK_OBJECT 2024-05-11 18:44:18 -04:00
Agent X
307d5e993a Fix changing language breaking staff roll background 2024-05-11 18:26:17 -04:00
Agent X
96018588cd Fix convert_constants.py on Python 3.12 2024-05-11 17:55:38 -04:00
Agent X
e6880a5fee Add new networked water level functions 2024-05-11 17:55:18 -04:00
Agent X
2d314c539c DynOS NPOT texture warning instead of error 2024-05-11 17:52:42 -04:00
Agent X
c21c255241 Add gServerSettings.enableChat 2024-05-11 16:48:59 -04:00
Agent X
ee1034a79b Disable Waluigi anims for now 2024-05-11 16:43:07 -04:00
Agent X
c91b390d80 Remove some legacy sm64ex code 2024-05-11 16:30:25 -04:00
Agent X
940a05a2d1 Fix sounds on Python 3.12 2024-05-11 15:11:55 -04:00
Isaac0-dev
1e4e1f8e75
fix bugs caused by interpolating the frame an object spawns (#36) 2024-05-11 08:28:20 +10:00
Isaac0-dev
8845b3ef0c
fixed a bug where sync objects could be duplicated (#35)
this would happen if the sync object was spawned before the other players in the level's area sync was valid
2024-05-10 19:32:50 +10:00
Isaac0-dev
533404ca10
fixed camera palette editor cutscene breaking while transitioning to different cutscenes (#34) 2024-05-10 09:08:37 +10:00
Isaac0-dev
35a4119137
delete iZeSaveStates.lua 2024-05-10 00:06:04 +10:00
Isaac0-dev
108f35c369
credit dj clearly in info panel 2024-05-10 00:04:08 +10:00
Isaac0-dev
85c3bde7e3
improve frame delaying and vsync (#31)
use uncapped framerate and vsync for the best experience
2024-05-09 23:56:54 +10:00
defacube
e3bfbb65b1
Update Arena's description (#27) 2024-05-09 23:55:16 +10:00
Isaac0-dev
59dfcb6483
made rng positions more random (#33)
coins will still consistently spawn in the same formation
2024-05-09 23:24:03 +10:00
Isaac0-dev
7b4a223b67
fixed double dynos animation swap (#32)
this usually was a bug caused by mirror mario, where animInfo.curAnim was NULL, but the swap was still carried out
2024-05-09 21:36:32 +10:00
Isaac0-dev
a5c4e29d2f
allowed add_scroll_target to use behavior parameters for offset and size (#20) 2024-05-08 22:12:55 +10:00
Isaac0-dev
c512d403a1
allow right alt in fullscreen combo (#29) 2024-05-08 09:52:33 +10:00
Isaac0-dev
1bd638ba2b
remove this 2024-05-08 09:47:27 +10:00
Yuyake
74b0a6175c
Update characters.c
Added the color palette for Luigi that was originally gonna be set but never was.
2024-05-06 14:08:28 -06:00
Isaac0-dev
c288fdf0d2
a bit of cleanup (#26)
disabled the loading screen properly with gCLIOpts.hideLoadingScreen
2024-05-06 22:16:48 +10:00
Isaac0-dev
76b66e9b7d
give Lua mods some more control over dialog boxes (#19)
exposed set_menu_mode, create_dialog_box, create_dialog_box_with_response, create_dialog_box_with_var, create_dialog_inverted_box, reset_dialog_render_state
added and exposed get_dialog_response
HOOK_ON_DIALOG can now take an extra return value as a string, which will be used instead of what ever was going to be in the textbox.
2024-05-06 17:51:28 +10:00
Isaac0-dev
933f0812a7
more bounds checks in network_receive_save_remove_flag (#25) 2024-05-06 17:49:47 +10:00
Isaac0-dev
0174cfa0fa
move domain resolution to socket.c (#23) 2024-05-03 21:27:44 +10:00
Isaac0-dev
3826d379e9
network_receive_save_set_flag sanity checks (#24) 2024-05-03 20:58:40 +10:00
Isaac0-dev
90b071acc0
exposed a bunch of interaction functions to Lua (#22)
Renamed the function interact_unknown_08 to interact_spiny_walking
and added the constant INTERACT_SPINY_WALKING, which has the same value of INTERACT_UNKNOWN_08
INTERACT_UNKNOWN_08 is kept for compatibility with smlua, and behavior dynos bins
2024-05-03 18:38:21 +10:00
Agent X
df7da84cc6 Move constant to the correct file 2024-04-28 12:23:33 -04:00