Commit graph

4081 commits

Author SHA1 Message Date
Agent X
29ad63f9f9 Fix some DynOS prints 2024-06-02 15:58:03 -04:00
Agent X
cd21cd0b28 Fix heap alloc errors 2024-06-02 15:57:16 -04:00
Agent X
2b2dceb333
Add a mod menu where mods can put DJUI elements (#56)
* Add a menu where mods can put their options at

* Document mod menu hook functions

* Add HOOK_ON_LANGUAGE_CHANGED

* Add new Cheats mod

* Make player menu disable singleplayer pause

* fix some git merge conflicts that weren't resolved (#55)

and added -latomic to build flags to fix compile warnings while compiling miniaudio

* Remove legacy 'deluxe' field from built-in mods

* Lots of improvements to memory safety

* Abbreviated hex color parsing

Co-Authored-By: Mechstreme <84944335+mechstreme@users.noreply.github.com>

---------

Co-authored-by: Isaac0-dev <62234577+Isaac0-dev@users.noreply.github.com>
Co-authored-by: Mechstreme <84944335+mechstreme@users.noreply.github.com>
2024-06-01 20:52:43 -04:00
Agent X
cb3b7ebef9 Re-add DJUI scale above 1.0 2024-06-01 13:48:27 -04:00
Agent X
fa8d8c9b0f Fixes and overhaul mouse locking 2024-06-01 13:30:41 -04:00
Agent X
54de3b689a Remove Forced 4:3 2024-06-01 13:12:01 -04:00
Agent X
b25fe89b41 Remove legacy 'deluxe' field from built-in mods 2024-06-01 09:50:50 -04:00
Isaac0-dev
a347f77b3c
fix some git merge conflicts that weren't resolved (#55)
and added -latomic to build flags to fix compile warnings while compiling miniaudio
2024-06-01 13:40:58 +10:00
Agent X
b0be6143fb Make mario theme have HUD font header 2024-05-30 17:44:48 -04:00
Agent X
800f2422f9 Make every free cam option always available again 2024-05-30 17:44:48 -04:00
Isaac0-dev
f8b5f2a9f6
some nametags improvements (#50)
- crouching now hides your nametag entirely
- nametag transparency is now based on player opacity
- nametags are no longer rendered while the player does not have a valid area sync
2024-05-28 17:51:32 +10:00
Agent X
d9e50581ff Remove Gun Mod DX
It isn't a finished product, I ran out of time to complete it and removing it can also free up some space for something like a cheats or moveset mod to be in its place.
2024-05-26 15:21:29 -04:00
Agent X
b7b044e0b2 Improve save file names slightly 2024-05-26 10:29:45 -04:00
Agent X
85f58322ab Consistency change 2024-05-26 09:37:51 -04:00
Agent X
15ea5dc8e2 Reorganize and cleanup configfile code 2024-05-21 17:10:00 -04:00
Agent X
563196048d Make camera options disable if no first person or override 2024-05-21 17:10:00 -04:00
Agent X
e617e5a5b4 Fix bug if 'palettes' is in exe path 2024-05-21 17:10:00 -04:00
Agent X
1f3af25805 Expose fade_into_special_warp 2024-05-21 17:10:00 -04:00
Agent X
efd432afb8 Fix a Security Concern 2024-05-21 17:10:00 -04:00
Agent X
e35e4529a2 Fix overflow, hex codes not working, and add dev prints 2024-05-21 17:10:00 -04:00
Agent X
5fe4aeb605 Fix Windows compilation error 2024-05-21 17:10:00 -04:00
Agent X
13e6197107 Added hex code support and sanity checks to palette INIs 2024-05-21 17:10:00 -04:00
Agent X
70fb580311 Re-enable DynOS Vtx rounding 2024-05-21 17:10:00 -04:00
Agent X
ceb7aa4649 Palette system overhaul and preset rewrite 2024-05-21 17:09:59 -04:00
Isaac0-dev
0d71c6c12f
remove animation dma tables, and provide mods more access to mario animations (#47)
This removes the old animation system which would create 16 copies of the animation table, so this should use less memory. Made m->animation->targetAnim always be a pointer to the actual animation in gMarioAnims, so mods can grab the pointer and reuse it.
added get_mario_vanilla_animation to Lua, which lets a mod get any of mario's built in animations from its index.
2024-05-21 21:17:30 +10:00
Cooliokid956
bb34e9f501
quick patch: don't rename tmp folder if .tmp already exists (#48)
if ex-coop is ran after the tmp folder is renamed, a new tmp folder will be created, which coopdx will then attempt to rename on the next run and fail to do so since .tmp already exists, resulting in the game failing to open
2024-05-20 12:42:06 +10:00
Agent X
f5db61f864 Whoops 2024-05-16 17:28:00 -04:00
Agent X
f2a6891a08 Rework new user folder system, make it just read sm64ex-coop if sm64coopdx isn't present, no more copying 2024-05-16 17:15:25 -04:00
Agent X
3b13b06b00 Fix Nametags color inconsistency 2024-05-15 18:35:13 -04:00
Agent X
b3e49f408b Force compilation to be the US version due to rom asset extractor 2024-05-15 18:07:42 -04:00
Agent X
591261fd41 Rename tmp to .tmp and hide on Windows (Will test after making this commit) 2024-05-15 18:00:16 -04:00
Agent X
12aff40090 Make user folder sm64coopdx instead of sm64ex-coop, add auto folder copy 2024-05-15 18:00:16 -04:00
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