Commit graph

3892 commits

Author SHA1 Message Date
Agent X
cd0ad9260a Add curl to Dockerfile 2024-06-08 08:07:47 -04:00
Agent X
9dcbef97eb Make smlua_model_util_get_id return ModelExtendedId 2024-06-07 20:33:48 -04:00
Isaac0-dev
a04aa4c240
make Lua calls to interaction functions call interaction hooks (#52)
* make Lua calls to interaction functions call interaction hooks

* Revert "make Lua calls to interaction functions call interaction hooks"

This reverts commit 14c597cd340cb19acd72f7e4327f6f078bf09f1d.

* thanks peachy for a far better solution

* don't let mods lie about what interaction it is
2024-06-07 19:14:33 -04:00
Agent X
ed1986e743 Add volume control functions to Lua 2024-06-07 17:34:24 -04:00
Isaac0-dev
3503f4e86c
fix warnings in characters.c (#62)
until a better fix is found
2024-06-07 22:51:30 +10:00
Isaac0-dev
16400321e5
palette editor cutscene fixes, press Z to toggle cap (#54)
this removes the forced taking cap off while in the palette editor. press Z to remove cap now.
it also fixes various problems that could happen that would cause the cap to stay off when it shouldn't. also fixed the taking off cap custom action sometimes playing the animation all the way through when it shouldn't.

translations by DeepL, eros, Flower35 and Skeltan
2024-06-07 19:41:22 +10:00
Cooliokid956
c811b4ebdf
Clean up animation definitions in character tables (#61)
The definition of character animations has been reduced to a macro, BASE_ANIMS(), which defines initial animations that can be subsequently overwritten if the character uses different animations.

while testing, the near/far clip plane functions prevented compilation as they appeared to be using keywords, so i've also changed the offending functions' parameters.
2024-06-07 19:39:43 +10:00
Agent X
02d214d2fd Refactor staff roll option 2024-06-06 18:52:52 -04:00
Agent X
c05c2a4d0e Fix language panel unlocking the camera 2024-06-06 18:52:52 -04:00
Isaac0-dev
eaeaeb0f7f
add a way for mods to get dynamic surfaces that belong to specific objects (#59)
Adding this for collision minimap, but I'm sure it'd be useful for many other mods that deal with collision in this kind of way

exposes a function, obj_get_surface_from_index. pass in an object, and the index of the surface you want. numSurfaces is also added to know when to stop iterating through surfaces

Thanks to peachy for coming up with the better method of doing this

Co-authored-by: PeachyPeach <72323920+PeachyPeachSM64@users.noreply.github.com>
2024-06-06 17:24:28 +10:00
Agent X
d1bbc05ece Add Odyssey theme to DJUI 2024-06-05 19:33:00 -04:00
Agent X
6305c20410 Add 'script warnings' for using deprecated functions, add new Discord ID function 2024-06-05 18:58:38 -04:00
Cooliokid956
36ddaa65ac
Arena tweaks (#58)
noticed that a recent commit broke ladders, so i took this opportunity to bring some things up to date

- upgraded the ladder system to more or less its current state in Dream Raider 64
- lowered streamed music volume when paused
- cap music plays where it's supposed to again
- other cleanup in the sound system
2024-06-06 07:10:37 +10:00
Agent X
4592559fe3 Fix DJUI scaling for existing configs 2024-06-05 15:59:21 -04:00
Agent X
deb2c00dba Fix Mod Menu 2024-06-05 15:59:21 -04:00
Isaac0-dev
695b1cc84e
fix some djui related issues (#53)
- fixed a crash that could occur when closing the game with the mods menu open. this was a use after free.
- allowed pressing the B button to go back in the save file name editor to refresh the file name.
- fixed text getting cut off on paginated page count, and centered the text (as one string)
- fixed disabled buttons not fading out since the addition of djui themes
2024-06-04 07:27:12 +10:00
Agent X
bdd427c561 Touch up mod storage and fix inconsistent logic with old mod_storage_load 2024-06-02 18:15:17 -04:00
Agent X
3f6da68615 Make DJUI Mod Menu element names visually refresh 2024-06-02 17:51:02 -04:00
Agent X
c4893b1f8a Whoops 2024-06-02 17:50:15 -04:00
Agent X
2768375e7b Move chat keybinds option to controls instead of misc 2024-06-02 15:58:23 -04:00
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