Commit graph

4234 commits

Author SHA1 Message Date
Agent X
598db03d80 Fix TTC desync! 2024-06-14 09:41:55 -04:00
Agent X
e780b74d1b Properly sync BITS ferris wheel platforms 2024-06-13 20:33:47 -04:00
Agent X
61e53a948f Further improve FONT_MENU 2024-06-13 20:33:47 -04:00
Agent X
c738a2c27d Remove 2 second freeze after a star spawns 2024-06-13 20:33:47 -04:00
Agent X
a8f76be263 Fix red coins, secrets, goomba triplet macros, and count_objects_with_behavior 2024-06-13 20:33:47 -04:00
Agent X
ab9e4bf6c7 Re add crash fix for exiting to main menu 2024-06-13 20:33:47 -04:00
Agent X
a8fdc53b8d Restore original crash screen shade of blue 2024-06-13 20:33:47 -04:00
Agent X
7026a2862f Add save_file_erase because it's already possible at this point 2024-06-13 20:33:47 -04:00
Radek Krzyśków
653d7a3c1c
Better handling of the keyboard shortcuts in djui_inputbox_on_key_down (#68) 2024-06-13 15:56:00 -04:00
Agent X
9e45e4ad66 Perfect the FONT_MENU period spacing 2024-06-13 12:01:38 -04:00
Agent X
76df190de1 Restore separated staff roll option 2024-06-13 10:19:10 -04:00
Agent X
82cd4176a3 Fix the new Miniaudio audio_stream_set_position 2024-06-12 17:05:41 -04:00
Agent X
9e4599ecb3 Network palette change when picking a preset palette 2024-06-12 16:34:49 -04:00
Agent X
40fb681eda Expose sound_get_level_intensity 2024-06-12 15:01:11 -04:00
Agent X
eb2033f9b0 Fix and improve custom audio stream volume code 2024-06-12 14:43:29 -04:00
Agent X
04964b7569 Revert "Fix heap alloc errors"
This reverts commit cd21cd0b28.
2024-06-12 11:46:28 -04:00
Agent X
9786ba9bc1 Remove delayed warp level ID 127 wrap around
This is very much an edge case, but if a delayed warp is initiated to a custom level that has an ID greater than 127 it will just loop back around to 0.
2024-06-12 11:44:52 -04:00
Agent X
41525c1fc3 Rename HOOK_OVERRIDE_PHYS_STEP_DEFACTO_SPEED to HOOK_MARIO_OVERRIDE_PHYS_STEP_DEFACTO_SPEED 2024-06-12 09:42:43 -04:00
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