Commit Graph

4166 Commits (main)

Author SHA1 Message Date
Agent X 8bae9e2ec7 Change Lua volume control to 0-127 instead of 0.0-1.0 2024-06-11 19:10:54 -04:00
Isaac0-dev a638c4725c
added a rectangle to show your color in palette editor (#65) 2024-06-11 18:50:09 -04:00
iZePlayz 95fd534e15
Removed a no-longer-existing command and added a new command to the tab-completion list (#57)
* Removed a no-longer-existing command and added a new command to the tab-completion list

* Bugfix

* bugfix 2

* Fixed a few bad german translations

* Fixed Tabcompletion for the "nametags" command

* Revert "Merge branch 'coop-deluxe:main' into main"

This reverts commit 3803ead26d23256a5200f6fa2c4c9185ce6e05f0, reversing
changes made to bd7ffb38a7560e8791118edce2cdcaf06e683d66.

* Reapply "Merge branch 'coop-deluxe:main' into main"

This reverts commit 28c1d97dd5c8a8648d4271bb59d3ca9c16df5c30.

* Fixed the "mallocation" and "static" issues

* more fixes

* Improved, cleaned up and refactored the iZeSaveStates mod and renamed it to just SaveStates

* bug fix

* removed the savestates mod

* combined both for-loops into a single one
2024-06-11 18:47:54 -04:00
Radek Krzyśków eb45999791
Fix the texture dimensions check in DynOS (#67) 2024-06-11 18:47:22 -04:00
Isaac0-dev ed8b316270
remove all palettes that aren't for a built in character (#66)
saves people from scrolling through the palette selection menu, these palettes will still be available elsewhere
2024-06-11 20:42:38 +10:00
Agent X a550305fbd Improve FONT_MENU period spacing 2024-06-10 12:13:59 -04:00
Agent X 0e0b3c1862 Expose gCurrentArea and gCamera to Lua 2024-06-10 11:32:05 -04:00
Agent X 2506c1e64d Fix bug about mod menu buttons on pause menu 2024-06-10 08:16:06 -04:00
Agent X f18a3fef7d Fix power meter crash 2024-06-10 08:06:21 -04:00
Agent X 6471da0a07 Remove crash-prone mod menu force unpause feature 2024-06-09 10:32:43 -04:00
Agent X cb729dc40a Make audio streams update volume 2024-06-09 10:26:51 -04:00
Agent X 7c01e405e0 Allow mods to do -- ignore-script-warnings: true 2024-06-09 09:31:48 -04:00
Agent X d23c6f0ac5 Fix save file names 2024-06-09 09:16:09 -04:00
Isaac0-dev 27b85c94b7
update coopnet linux library (#64) 2024-06-09 21:59:40 +10:00
Cooliokid956 bc811e730b
Character anim cleanup: take 2 (#63)
defining each animation is no longer necessary, as the get_character_anim function now passes through the characterAnim parameter on the principle that mario's animation enums correspond to the character animation enums
only if an animation beyond the range of mario animations is defined, then it is used
this wouldn't allow characters to reuse mario's animations for different slots, but that shouldn't be needed anyways

bye bye macro
2024-06-09 16:17:33 +10:00
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