Commit graph

2975 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
Agent X
17348a8fc4 Make level IDs s16s 2024-04-28 10:00:13 -04:00
Agent X
9cbf364113 Fix colored mod names leaking into script error message 2024-04-28 09:37:21 -04:00
Blockyyy
a7b2741aa7
added HOOK_ON_SEQ_LOAD (#18) 2024-04-24 22:39:34 +10:00
iZePlayzYT
12e8312eda
Streamlined Development and Enhanced Customization: Updates to .gitignore, and Keyboard Controls in Chat (#17)
* Ignore Visual Studio Stuff

* Added a few scripts for development

* Improved the development scripts

* Added option to choose between 2 different keyboard control variants in the chat

* Improved and added new batch scripts for development purposes

* Hotfix

* Converted the .BAT-Scripts to .SH-Scripts and moved them to the "development" folder and fixed a bug in the already existing "compile.sh" file

* Fixed some stuff

* Removed 7 .sh-scripts
2024-04-22 19:32:28 -04:00
Agent X
7561b375fa Simplify info panel 2024-04-19 15:32:42 -04:00
Agent X
19b354fb2f Change around printing a little 2024-04-19 13:32:39 -04:00
Agent X
998a057051 Remove some TARGET_N64 remnants 2024-04-19 12:44:14 -04:00
Agent X
91320b9cf9 Revert "Decrease the sleep times in some spots, We do not need them to be so long. (#373)"
This reverts commit 9b1123dde9.
2024-04-19 12:37:37 -04:00
Agent X
1d72087479 Readd fixed MSAA 2024-04-19 12:28:45 -04:00
Agent X
a6b938df75 Shorten include paths by removing unnecessary "src/" 2024-04-17 17:28:38 -04:00
eros71
d0eee30c06
Reorganize Info panel and Misc. (#14)
Makes the info credits paginated so we can add more text over time with no issues and also moves the Open Appdata/User Folder button to the Misc. menu to avoid cluttering.

Also fixed the size of the changelog panel as the Back button was also being obscured.

Rewritten it from the old repo, so all new changes should stay there.

There IS an issue where if you go to the changelog, and then back to info and try to go to another page the game crashes, and I think it's DJUI and not panel related, but I'm still looking into what it could be.
2024-04-17 12:09:45 -04:00
Agent X
afb2a09db5 Make HOOK_ON_EXIT also call on lobby exit 2024-04-09 18:11:52 -04:00
Agent X
b8c42f308f Disallow function that shouldn't be in Lua 2024-04-09 17:40:52 -04:00
Agent X
136edd1097 Fix incorrect SDL window pos on high DPI 2024-04-03 21:33:46 -04:00
Agent X
2f69079e8e Make linear/tripoint filters switchable without restart 2024-04-03 20:25:51 -04:00
Agent X
95d0977df5 Windows: Make SDL APIs DPI aware 2024-04-03 20:11:09 -04:00
Agent X
817c8a1aff Make OpenGL renderer able to vertex color lightmaps 2024-04-03 20:10:10 -04:00
Agent X
c6437101c6 Remove 1.5x DJUI scale 2024-04-03 19:58:36 -04:00
Agent X
ddc46affca Remove MSAA 2024-04-03 19:30:57 -04:00
Agent X
fd96946962 Remove DirectX 12 2024-03-30 23:57:18 -04:00
Agent X
c12d452011
Update djui_panel_info.c - oops
Sorry Peachy
2024-03-30 14:34:53 -04:00
Agent X
667adcbe7f Fix THI lowering music volume on main menu 2024-03-29 19:49:33 -04:00
Agent X
3c6c11b08a Restore camera pan level slider 2024-03-29 19:49:33 -04:00
Agent X
cb38dc2efa Improve some English lines 2024-03-29 19:49:33 -04:00
Isaac0-dev
7468ff001b
fix write out of bounds in smlua text utils (#13) 2024-03-28 23:56:15 -04:00
Isaac0-dev
974577f678
djui player menu custom camera cutscene (#2) 2024-03-28 18:53:46 -04:00
Isaac0-dev
64cc05e219
pause anywhere server setting (#11) 2024-03-28 18:52:27 -04:00
Isaac0-dev
1a3dd25c10
fix compilation with the HEADLESS compile flag (#9) 2024-03-28 18:49:47 -04:00
Isaac0-dev
4223225b8d
cleaner loading screen design (#10) 2024-03-26 17:38:16 -04:00
PeachyPeach
e455db33fb
update info panel (#12) 2024-03-26 17:20:15 -04:00
Agent X
c8bf12754f Refactor verify_warp 2024-03-25 19:03:59 -04:00
EmeraldLockdown
9fde4dc1b7 Fix sins/coss negative numbers on arm architecture (thanks robertkirkman) (#588) 2024-03-25 18:55:19 -04:00
EmeraldLockdown
e958ffb81c Fix compilation (#585) 2024-03-25 18:55:19 -04:00
defacube
22c8080502 Fix warp softlocks and crashes (fixed) (#555)
* Main code

* Added gInCredits

* Added gInCredits

* Reset gInCredits when network_shutdown() is ran

* Update mario_actions_cutscene.c

* Remove gInCredits

* Remove gInCredits (header file)

* Update network.c

* Update mario_actions_cutscene.c
2024-03-25 18:55:18 -04:00
Emily♥
29b67a3ef0 Pass "interaction" to HOOK_ALLOW_PVP_ATTACK and HOOK_ON_PVP_ATTACK + Fix broken links (#566)
* Pass "interaction" to HOOK_ALLOW_PVP_ATTACK and HOOK_ON_PVP_ATTACK

This let's you test for the kind of attack in the hook; for example, you can do `interaction & INT_KICK ~= 0` to test if the attack is a kick.

* Fix broken links in wiki

Have to go up one directory
2024-03-25 18:47:27 -04:00
Isaac0-dev
2d14e25df6 add support for custom coins star names (#560) 2024-03-25 18:45:22 -04:00
Isaac0-dev
7868cc26df remove external data (#551)
* remove external data

* fix tabs
2024-03-25 18:44:02 -04:00
Cooliokid956
8f0099cd85 Allow SMLua to stop sounds (#549)
That's it
shoutouts to play_sound
2024-03-25 18:37:01 -04:00
PeachyPeach
2a36b14dcd Remove OMM Rebirth temporary fixes (#542) 2024-03-25 18:35:25 -04:00
Agent X
3819bbe0a3 Fix DirectX disconnect crash 2024-03-25 18:25:20 -04:00
Agent X
5eca2fc291 Fix main panel on lower resolutions 2024-03-24 20:11:18 -04:00
Agent X
e38cba8d19 Consistent capitalization on loading screen 2024-03-23 18:19:06 -04:00
Agent X
ba42a50a3d Fix camera movement persisting after network shut down 2024-03-23 18:01:27 -04:00
Agent X
a9611cadd0 Post rom extractor changes 2024-03-23 17:03:52 -04:00
Isaac0-dev
4473bfffe9
removed bass, replaced with miniaudio (#8) 2024-03-23 16:14:53 -04:00
Isaac0-dev
663e4549d8
extract assets from rom at runtime (#4)
* Proof of concept for loading rom assets at runtime

* Added skybox textures

* Adjusted format

* Load all texture assets from rom

* Adjusted rom asset loading

* Load all Vtx lists from rom

* clean up toad, wario and his cap conflicts

* Load sound samples from rom

* fix toad sounds

* Loaded sequences from rom

* Load collisions from rom

* Object animations are now loaded from the rom

* Load player animations from rom

* Load goddard anims from rom

* whoops

* fix some compile errors

* drag and drop rom checker, everything works now.

* fix errors due to merge conflicts

* fix compile errors on windows, switch to md5

* fix vertex colors during load

Co-Authored-By: Agent X <44549182+agent-11@users.noreply.github.com>

* Load dialogs from rom

* Loaded course/act names from rom

* Loaded ingame text from rom

* rerun autogen & blacklist smlua_text_utils_init

* fix ttc_seg7_vertex_0700B238 colors

---------

Co-authored-by: MysterD <myster@d>
Co-authored-by: Agent X <44549182+agent-11@users.noreply.github.com>
2024-03-23 16:11:30 -04:00
Agent X
cdafb80fbc Make windows console fully disable itself 2024-03-23 14:30:32 -04:00
Agent X
41b41164d7 Always update chat message font 2024-03-23 10:26:02 -04:00
Agent X
30a1b115da Make inputboxes always light themed 2024-03-23 10:21:21 -04:00
Agent X
40a83f8312 Move dev chat commands to pc dir 2024-03-23 10:10:15 -04:00
Agent X
5ede164f18 Remove debug code that broke on headless 2024-03-23 10:09:10 -04:00
Agent X
e24a446c05 Remove buggy Free Camera C-Up 2024-03-23 09:18:12 -04:00
Agent X
7c799d58b7 Fix crash in Nametag rendering 2024-03-23 08:35:03 -04:00
Isaac0-dev
d55f6ec277
tell coopnet that our build is sm64ex-coop v37 (#7) 2024-03-23 07:18:38 -04:00
Agent X
a2fd2983b2 Add crash preventions to DynOS_Tex_Get 2024-03-22 18:54:24 -04:00
Agent X
fab85ec9cc Disable update checker for now 2024-03-20 19:54:35 -04:00
Agent X
33d710c821 Set VERSION_TEXT to "v" 2024-03-20 19:54:18 -04:00
Isaac0-dev
bf23836115 fix free after use in mod_storage_load 2024-03-20 23:06:49 +10:00
Agent X
a022b04638 Some fixes 2024-03-19 15:17:55 -04:00
Agent X
680d40be60 Merge branch 'main' of https://github.com/coop-deluxe/sm64coopdx-merger 2024-03-19 15:05:26 -04:00
Agent X
a826ba146b Remove redundant gDjuiPanelPlayerCreated 2024-03-19 15:05:19 -04:00
Agent X
8ce5e26496
Merge pull request #1 from Isaac0-dev/1
cleanup and bug fixes
2024-03-19 15:03:40 -04:00
Isaac0-dev
bb4ea3de46 put this back to avoid corrupted rom hack level textures 2024-03-19 21:27:25 +10:00
Isaac0-dev
90331f8fe5 fix mod compatibility due to version constants 2024-03-19 20:47:18 +10:00
Isaac0-dev
f07b74c3d2 cleanup and bug fixes 2024-03-19 19:48:48 +10:00
Agent X
7ebe54681e Add DJUI Font option 2024-03-18 21:16:58 -04:00
Agent X
5fba777c1c Set version to 1.0 for now 2024-03-18 19:28:41 -04:00
Agent X
c358e5eff2 Make each Mario blink 1 cycle ahead of the last (unsynced blinking) 2024-03-17 21:20:42 -04:00
Agent X
3567e5b62c Prevent CoopNet and Discord activity mod name truncation 2024-03-17 21:11:08 -04:00
Agent X
7dd02b5c4d Massively improve "Global Player Models" option 2024-03-17 20:58:38 -04:00
Agent X
e48670a2ef Fix red coin, secret, caps, WF platforms and goomba bhv overrides being broken 2024-03-17 18:05:44 -04:00
Agent X
de1e24b7b9 Remove sm64ex-coop compatibility 2024-03-17 16:32:49 -04:00
Agent X
d2842becdb Restore old versioning system 2024-03-17 15:02:03 -04:00
Agent X
c21d30b176 Remove unused chat command code 2024-03-16 13:51:08 -04:00
Agent X
ac20101490 Fix macOS compilation 2024-03-15 21:44:16 -04:00
Agent X
beb003df5f v0.2 Hotfix
- Fixed update checker causing loading screen stutter
- Fixed update checker reading latest version as "0.2A?"
2024-03-15 21:44:16 -04:00
Agent X
a2f319c1e1 Fix ¿ 2024-03-14 14:16:40 -04:00
Agent X
bea876f715 Add changelog 2024-03-13 19:24:39 -04:00
Agent X
58a3ed49f7 Revert "Add ability to set global note frequency scale"
This reverts commit de9c3c35b2.
2024-03-13 17:24:46 -04:00
Agent X
7455fc47a6
Merge pull request #86 from xLuigiGamerx/dev
Increased tilt range for free cam and disabled tilt centering in slide actions
2024-03-12 17:43:50 -04:00
Agent X
c91214b516 Fix network system setting with --server 2024-03-12 17:37:05 -04:00
xLuigiGamerx
12cb57e307 Increased tilt range for free cam and disabled tilt centering in slide actions 2024-03-12 20:17:09 +03:00
Agent X
7b628334d6 Fix --server a bit further 2024-03-10 22:16:42 -04:00
Agent X
6e4da0ce6f Small fixes 2024-03-10 19:09:19 -04:00
Agent X
62ab169fcb Make vanilla red coin display work with Forced 4:3 2024-03-10 16:46:30 -04:00
Agent X
0b16e8f912 Overhaul launch paremeter code 2024-03-09 23:47:39 -05:00
Agent X
74dd416749 FINALLY fix --server 2024-03-09 21:35:54 -05:00
Agent X
021fd1f621 FINALLY fix broken transitions 2024-03-09 21:25:01 -05:00
Agent X
9b67a74d93 Bump version to 0.2 2024-03-09 21:07:18 -05:00
Agent X
bbf9cfb618 FINALLY fix that mouse hiding bug that's been bothering me forever 2024-03-09 21:03:18 -05:00
Agent X
74422d16a4 Fix Toadette palette 2024-03-09 14:18:30 -05:00
Agent X
836a7cbdd7 Fix --help and improve console launch param 2024-03-09 11:59:28 -05:00
Agent X
31a67658ec Make 1 player lobbies say playing instead of waiting 2024-03-09 11:46:01 -05:00
Agent X
0bb62eb381 Make recovery heart only heal the player who interacted with it 2024-03-09 11:44:44 -05:00
Agent X
edd29c0719 Remove set gfx adjust for aspect ratio function
Too much power.
2024-03-08 19:47:46 -05:00
Agent X
7d9947816c Fix small snprintf bug in version.c 2024-03-08 19:08:01 -05:00
Agent X
5894c7b46c Finish up update checker 2024-03-08 17:25:11 -05:00
Agent X
c8b592d914 Thank you Isaac for the wrongwarp pause fix 2024-03-07 21:35:38 -05:00
Agent X
ffe3faba7f Fix update checker on Linux 2024-03-07 18:21:48 -05:00
Agent X
91eb1966a0 [WIP] Update checker 2024-03-07 17:33:43 -05:00
Agent X
fd6dd9bd2c Fix bouncy level bounds & nametags still showing up on coop compatibility mode (again) 2024-03-07 16:47:16 -05:00
Agent X
8ca0fbb322 Allow players to bounce on non grounded players' heads 2024-03-06 20:11:34 -05:00
Agent X
5199104e2a Make pause camera only zoom out if singleplayer pause 2024-03-05 16:26:23 -05:00
Agent X
9870e18bf5 Add OBJ_LIST_EXT in place of OBJ_LIST_UNUSED_1 2024-03-04 20:09:53 -05:00
Agent X
55fe506b82 Add ENVFX_MODE_NO_OVERRIDE constant 2024-03-04 19:26:44 -05:00
Agent X
89e9bcdcec Add "-- pausable" field for mods and function so mods can make themselves pausable in singleplayer 2024-03-04 19:25:09 -05:00
Agent X
fe75dbfa28 Remove leftover debug feature 2024-03-04 17:17:46 -05:00
Agent X
893c65d927 Fix mirror marios always using global player models 2024-03-04 16:37:43 -05:00
Agent X
b7f629e620 Tweak light & dark theme panel transparency slightly 2024-03-04 12:59:23 -05:00
Agent X
1e1c46f6b9 Make DynOS and Player panels disable pause camera zoom out 2024-03-04 12:53:37 -05:00
Agent X
e2fdcbe5b9 Make DynOS panel uncentered 2024-03-04 12:53:13 -05:00
Agent X
fa4eaad79e Fix memory leak with smlua anim utils 2024-03-04 00:25:35 -05:00
Agent X
87a83806a1 Restore vanilla pause camera zoom out as gLevelValues field 2024-03-03 17:30:20 -05:00