Commit graph

3930 commits

Author SHA1 Message Date
Agent X
52b4d51508 Add collision_find_surface_on_ray_precision 2024-06-16 10:45:55 -04:00
Agent X
bcdb6be53a Improve mod storage & hopefully fix Cookie mod 2024-06-15 13:39:16 -04:00
Agent X
a15c36a968 Further fix character widths on FONT_MENU
Co-Authored-By: xLuigiGamerx <88401287+xluigigamerx@users.noreply.github.com>
2024-06-14 16:22:05 -04:00
Agent X
15c9602e11 Add gLevelValues.infiniteStairsRequirement and gBehaviorValues.CourtyardBoosRequirement
Ported this PR from the sm64ex-coop dev repo.

Co-Authored-By: Emily♥ <77174187+emilyemmi@users.noreply.github.com>
2024-06-14 10:37:14 -04:00
Agent X
b6ed10274b Update MarioState documentation 2024-06-14 09:42:18 -04:00
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