Commit graph

5007 commits

Author SHA1 Message Date
Agent X
675c71e00d v1.5 2026-05-01 21:01:14 -04:00
PeachyPeachSM64
58a6b7e019 Remove dead code in custom geo and bhv functions
Some checks are pending
Build coop / build-linux (push) Waiting to run
Build coop / build-steamos (push) Waiting to run
Build coop / build-windows-opengl (push) Waiting to run
Build coop / build-windows-directx (push) Waiting to run
Build coop / build-macos-arm (push) Waiting to run
Build coop / build-macos-intel (push) Waiting to run
- Custom geo asm and custom behaviors were meant to use any non-local
  function from any active mod, but the condition for it was always
  false (gSmLuaConvertSuccess is never set to false and funcRef is not
  checked)
- By default, they should NOT be able to retrieve anything from other mods
- Even without this condition, they are still allowed to use any
  function exposed to _G

Approved by Isaac.
2026-05-01 12:51:36 +02:00
Blockyyy
793196d581
add stayInLevelAfterStar constants (#1210)
Some checks failed
Build coop / build-linux (push) Has been cancelled
Build coop / build-steamos (push) Has been cancelled
Build coop / build-windows-opengl (push) Has been cancelled
Build coop / build-windows-directx (push) Has been cancelled
Build coop / build-macos-arm (push) Has been cancelled
Build coop / build-macos-intel (push) Has been cancelled
2026-04-30 12:24:57 +10:00
denpakei
a87e67d7ac
more font adjustments (#1211)
cyrillic letters in font_normal adjusted by @idiotforge, in font_hud adjusted by @xLuigiGamerx

in the recolorable hud font, i fixed some things i missed last time
2026-04-29 21:21:27 -04:00
EmeraldLockdown
8edcc86049
Fix crash when CG was loaded in main menu related to Yoshi (#1206)
Some checks failed
Build coop / build-linux (push) Has been cancelled
Build coop / build-steamos (push) Has been cancelled
Build coop / build-windows-opengl (push) Has been cancelled
Build coop / build-windows-directx (push) Has been cancelled
Build coop / build-macos-arm (push) Has been cancelled
Build coop / build-macos-intel (push) Has been cancelled
* Fix crash when CG was loaded in main menu

* Remove now unecessary check

* This *should* undo this

* Let's try that again!

* Remove leftover code
2026-04-24 18:05:57 +02:00
Agent X
f10e3062d8 Change 0.85x DJUI scale to 0.75x
Some checks failed
Build coop / build-linux (push) Has been cancelled
Build coop / build-steamos (push) Has been cancelled
Build coop / build-windows-opengl (push) Has been cancelled
Build coop / build-windows-directx (push) Has been cancelled
Build coop / build-macos-arm (push) Has been cancelled
Build coop / build-macos-intel (push) Has been cancelled
2026-04-22 18:18:42 -04:00
Agent X
668c1678ad Revert "Add scroll support to DJUI menus (#1173)"
This reverts commit f76f8d3c08.
2026-04-22 18:15:32 -04:00
iZePlayz
9b021f9ba0
Fixed Tab-Completion for the "psc" command (#1174)
Some checks are pending
Build coop / build-linux (push) Waiting to run
Build coop / build-steamos (push) Waiting to run
Build coop / build-windows-opengl (push) Waiting to run
Build coop / build-windows-directx (push) Waiting to run
Build coop / build-macos-arm (push) Waiting to run
Build coop / build-macos-intel (push) Waiting to run
2026-04-22 11:31:25 -04:00
Leonardo Manrique
a6b24865fa
Fix syntax error in _clock_gettime POSIX fallback (#1204)
Some checks are pending
Build coop / build-linux (push) Waiting to run
Build coop / build-steamos (push) Waiting to run
Build coop / build-windows-opengl (push) Waiting to run
Build coop / build-windows-directx (push) Waiting to run
Build coop / build-macos-arm (push) Waiting to run
Build coop / build-macos-intel (push) Waiting to run
Remove stray `)` after the fallback clock_gettime() call in the _POSIX_MONOTONIC_CLOCK == 0 branch.
2026-04-22 16:41:51 +10:00
Cooliokid956
b05b929fa4
Upgrade miniaudio: v0.11.21 -> v0.11.25 (#1065)
* Upgraded miniaudio: `v0.11.21` -> `v0.11.23`

Benefits:
- Read changelogs (lots of bug fixes!)
  - [0.11.22](https://github.com/mackron/miniaudio/releases/tag/0.11.22)
  - [0.11.23](https://github.com/mackron/miniaudio/releases/tag/0.11.23)
- Split files means shorter compile times for dependent files

* Upgraded miniaudio again: `v0.11.23` -> `v0.11.25`

Read changelogs (lots of bug fixes!)
- [0.11.24](https://github.com/mackron/miniaudio/releases/tag/0.11.24)
- [0.11.25](https://github.com/mackron/miniaudio/releases/tag/0.11.25)
2026-04-21 23:43:02 -04:00
Agent X
6919878b40
Introduce this new pack in a more proper reviewable manner (#1192)
* Introduce this new pack in a more proper reviewable manner

Ideally I should have made a PR for my new pack and I understand the new geo function may have come out of no where. I've been thinking about adding it for a while and was going to utilize it in a new project I'm working on but I should have explained it first before pushing anything for sure

* Address suggestions

* Restore these, whoops
2026-04-21 23:41:44 -04:00
EmeraldLockdown
638a242763
Mark all unused variables as unused, resolve other warnings (#1147)
* Mark all unused variables as unused, resolve some unsafe code, some things still need to be looked at

* Remove a lot of unused variables that didn't need to exisat

* Remove UNUSED keyword from appartion values

---------

Co-authored-by: Agent X <44549182+AgentXLP@users.noreply.github.com>
2026-04-21 23:40:24 -04:00
EmeraldLockdown
6510f3928c
Fix cutscenes, syncing issues, and more (Yoshi!) (#1109)
* Fixes

* Lots more changes

* Yoshi :D

* Remove some unecessary changes

* Oops

* Remove temp code

* Revert changes made to king bobomb, will be handled in #1196

* copied from main not dev, oops

* Address review and do a minor improvement

* Nuke that
2026-04-21 23:37:30 -04:00
EmeraldLockdown
f04106325e
Make languages default to english with missing data (#1140)
Some checks are pending
Build coop / build-linux (push) Waiting to run
Build coop / build-steamos (push) Waiting to run
Build coop / build-windows-opengl (push) Waiting to run
Build coop / build-windows-directx (push) Waiting to run
Build coop / build-macos-arm (push) Waiting to run
Build coop / build-macos-intel (push) Waiting to run
* Make languages default to english with missing data

* Make syntax in ini more concise

* coolio is happy now, right?

* good idea peachy, thanks!
2026-04-21 21:49:02 -04:00
mingokrb
df73c83a67
Add "do not show again" checkbox to host message panel (#1165)
* Add "do not show again" checkbox to host message panel

* remove unused lines

was messing with the checkbox size to see how it would look but in the end i just kept it default, so these are now just useless lines i forgot to remove

* Add Russian and Spanish translations
2026-04-21 21:43:18 -04:00
abcpea
84b2aead86
Improved deadzone implementation (#1077)
* Improved deadzone implementation (sneaking now possible even with high deadzones)

* Reworked deadzone algorithm

* Faster/Stronger/Better

* minor renaming

* Requested change

* use float instead of double sqrt()
2026-04-21 21:42:09 -04:00
Leonardo Manrique
f76f8d3c08
Add scroll support to DJUI menus (#1173)
Adds scrollable capability to DJUI panels, fixing a well known bug where users had to change DJUI scale just to be able to press hidden buttons
2026-04-21 21:40:43 -04:00
EmeraldLockdown
7e10a3bb13
Add in C documentation (#1176)
* Add in C documentation

* update readme

* Remove unecessary spacing
2026-04-21 21:35:01 -04:00
Blockyyy
754d822c85
fix lingering kick pvp interaction (#1202) 2026-04-21 21:33:30 -04:00
jayden
45bc3062be
Fix get_texture_info and add HOOK_ON_DYNOS_PACKS_TOGGLED (#1181)
* respect overridden textures

* add HOOK_ON_DYNOS_CHANGED

* document HOOK_ON_DYNOS_CHANGED

* HOOK_ON_DYNOS_CHANGED -> HOOK_ON_DYNOS_PACK_TOGGLED

* Apply suggestions from code review

Co-authored-by: Isaac0-dev <62234577+Isaac0-dev@users.noreply.github.com>

* Update data/dynos_mgr_tex.cpp

Co-authored-by: Isaac0-dev <62234577+Isaac0-dev@users.noreply.github.com>

* add missing include

* add pack name and enabled

---------

Co-authored-by: Isaac0-dev <62234577+Isaac0-dev@users.noreply.github.com>
2026-04-21 21:22:18 -04:00
ManIsCat2
962ea72e41
Fix Texture tiles & Add shift support (#1095)
* shift support

* 14 days for ts :wilted_rose:

---------

Co-authored-by: xLuigiGamerx <88401287+xLuigiGamerx@users.noreply.github.com>
2026-04-21 21:21:39 -04:00
EmeraldLockdown
660f9aff80
Allow clients to view server settings (#973)
* Allow clients to view server settings

* Remove unecessary include

* Address review

* Address reviews
2026-04-21 21:18:29 -04:00
denpakei
26f6910206
make custom_font_hud_recolor's gradients a bit more consistent (#1201)
Some checks failed
Build coop / build-linux (push) Has been cancelled
Build coop / build-steamos (push) Has been cancelled
Build coop / build-windows-opengl (push) Has been cancelled
Build coop / build-windows-directx (push) Has been cancelled
Build coop / build-macos-arm (push) Has been cancelled
Build coop / build-macos-intel (push) Has been cancelled
2026-04-20 01:17:10 -04:00
PeachyPeach
b0e1f1e465
Fix DynOS packs Lua code execution (#1194)
Some checks failed
Build coop / build-linux (push) Has been cancelled
Build coop / build-steamos (push) Has been cancelled
Build coop / build-windows-opengl (push) Has been cancelled
Build coop / build-windows-directx (push) Has been cancelled
Build coop / build-macos-arm (push) Has been cancelled
Build coop / build-macos-intel (push) Has been cancelled
* Fix dynos packs code execution

* make mod player models ignore dynos local player model only
2026-04-12 09:42:21 +10:00
jayden
21dd1ce81d
Add mod_fs_file_set_compression (#1187)
Some checks are pending
Build coop / build-linux (push) Waiting to run
Build coop / build-steamos (push) Waiting to run
Build coop / build-windows-opengl (push) Waiting to run
Build coop / build-windows-directx (push) Waiting to run
Build coop / build-macos-arm (push) Waiting to run
Build coop / build-macos-intel (push) Waiting to run
* add compression level to modfs files

* document modfs compression

* correction in modfs guide

* undo text mode write check

* compression level use s32 instead of int

* fix missing s32
2026-04-10 23:25:58 +02:00
PeachyPeachSM64
7666a8f9eb Revert "Re-add my own coop cafe pipe model rendition :)"
Some checks are pending
Build coop / build-linux (push) Waiting to run
Build coop / build-steamos (push) Waiting to run
Build coop / build-windows-opengl (push) Waiting to run
Build coop / build-windows-directx (push) Waiting to run
Build coop / build-macos-arm (push) Waiting to run
Build coop / build-macos-intel (push) Waiting to run
This reverts commit e22d85b119.

Lack of PR.

Built-in DynOS packs have barely any utility in the coopdx build,
specifically if it's private jokes/references.
Coop Cafe is a private community associated with coopdx, not a core part
of it.
This pack should be distributed as a separate mod instead.
2026-04-10 01:16:03 +02:00
PeachyPeachSM64
b8a7983512 Revert "Reunite Cafe Pipe pack w/ fixed smoke once more"
This reverts commit 418080e71d.
2026-04-10 01:15:51 +02:00
Agent X
418080e71d Reunite Cafe Pipe pack w/ fixed smoke once more 2026-04-09 19:06:58 -04:00
bluelightzero
8a395088fd
Fix Hyperspeed when taking damage underwater with faster-swimming.lua (#1186)
Some checks are pending
Build coop / build-linux (push) Waiting to run
Build coop / build-steamos (push) Waiting to run
Build coop / build-windows-opengl (push) Waiting to run
Build coop / build-windows-directx (push) Waiting to run
Build coop / build-macos-arm (push) Waiting to run
Build coop / build-macos-intel (push) Waiting to run
2026-04-08 22:59:25 -04:00
Agent X
e22d85b119 Re-add my own coop cafe pipe model rendition :)
Return of a subsequent removal
2026-04-08 22:55:42 -04:00
Squishy
bdd34bdd3e
Remove Character Select and Subsequent Mods (#1185)
Some checks are pending
Build coop / build-linux (push) Waiting to run
Build coop / build-steamos (push) Waiting to run
Build coop / build-windows-opengl (push) Waiting to run
Build coop / build-windows-directx (push) Waiting to run
Build coop / build-macos-arm (push) Waiting to run
Build coop / build-macos-intel (push) Waiting to run
2026-04-08 01:42:33 -04:00
PeachyPeach
24c5a226ed
Fix mod storage load/save number (#1169)
Some checks failed
Build coop / build-linux (push) Has been cancelled
Build coop / build-steamos (push) Has been cancelled
Build coop / build-windows-opengl (push) Has been cancelled
Build coop / build-windows-directx (push) Has been cancelled
Build coop / build-macos-arm (push) Has been cancelled
Build coop / build-macos-intel (push) Has been cancelled
- Fix `mod_storage_load/save_number` incorrect behavior. These functions should now be used only with numbers, not integers (see next point). The `mod_storage_load_number` can still load integer values from existing mod storage files.
- Add `mod_storage_load/save_integer` for integer values.
- Expand the range of savable values to `double` (64-bit float) and `long long` (64-bit integer) for respectively `number` and `integer` mod storage functions.
- Fix an obscure bug with `smlua_to_integer` that truncated very high integer values due to an implicit cast to double, causing floating-point imprecision issues. Thanks @yoshiweegee for the explanation.
2026-04-05 10:56:53 +10:00
PeachyPeach
de25c5437b
Make djui_hud_measure_text compute text height (#1177)
- Change `djui_hud_measure_text` to return both text width and height
  - New syntax is: `local width, height = djui_hud_measure_text(text)`
  - Old syntax still works, but only returns `width`
- Fix incorrect char height for some fonts
- Fix nametags interpolation using the wrong scale
2026-04-05 10:00:03 +10:00
PeachyPeach
8afe062be1
Fix nametags color and rendering order (#1150)
Some checks are pending
Build coop / build-linux (push) Waiting to run
Build coop / build-steamos (push) Waiting to run
Build coop / build-windows-opengl (push) Waiting to run
Build coop / build-windows-directx (push) Waiting to run
Build coop / build-macos-arm (push) Waiting to run
Build coop / build-macos-intel (push) Waiting to run
* Fix nametags color and rendering order

* make growing_array_init reuse array and buffer if they were already allocated

* use prim color for text color

* isaac review

* update text color descriptions

* small optimization
2026-04-04 09:37:16 +10:00
PeachyPeachSM64
ba54cbd1d0 path separators
Some checks are pending
Build coop / build-linux (push) Waiting to run
Build coop / build-steamos (push) Waiting to run
Build coop / build-windows-opengl (push) Waiting to run
Build coop / build-windows-directx (push) Waiting to run
Build coop / build-macos-arm (push) Waiting to run
Build coop / build-macos-intel (push) Waiting to run
2026-04-03 00:23:31 +02:00
PeachyPeachSM64
7604ef9297 check surface type and special object preset type in dynos collision validation
Some checks failed
Build coop / build-linux (push) Has been cancelled
Build coop / build-steamos (push) Has been cancelled
Build coop / build-windows-opengl (push) Has been cancelled
Build coop / build-windows-directx (push) Has been cancelled
Build coop / build-macos-arm (push) Has been cancelled
Build coop / build-macos-intel (push) Has been cancelled
2026-03-29 20:05:29 +02:00
PeachyPeachSM64
5288ac5b2d fix text interpolation with legacy font 2026-03-29 19:24:28 +02:00
Blockyyy
dfb3b2523d
Fix lives (#1119)
Some checks failed
Build coop / build-linux (push) Has been cancelled
Build coop / build-steamos (push) Has been cancelled
Build coop / build-windows-opengl (push) Has been cancelled
Build coop / build-windows-directx (push) Has been cancelled
Build coop / build-macos-arm (push) Has been cancelled
Build coop / build-macos-intel (push) Has been cancelled
- Fix lives going below 0 right before a game over (also fixes a crash where if you exited with -1 lives and went into a subarea you would crash)
- Restore how lives get removed upon death exit (like in vanilla)
- Prevent bubbling from happening if you don't have enough lives (this fixes the annoying bug where you would get put back in a bubble and get popped immediately after over and over again)
2026-03-27 13:32:44 +10:00
Gibson Pilconis
b27fa1dd7a
Fix rumble and add PS4/PS5 controller rumble. (#1007)
Previously `thread6_rumble_loop()` was only being called once in
`thread5_game_loop()`. This commit removes that call and adds one to
`game_loop_one_iteration()`, creating the desired outcome of
`thread6_runnable_loop()` running once per frame.

Additionally, PS4 and PS5 rumble support is added. PS4 and PS5 rumble
requires a feature called 'extended reporting', which can be enabled
using two SDL hints. Since extended reported, once enabled, breaks
compatibility with DirectInput until the controller is restarted, an
option is also added to the configuration menu to toggle this
functionality.
2026-03-27 12:54:05 +10:00
EmeraldLockdown
43c697edf7
Fix issue with mouse buttons being applied to pad (#1156)
Some checks are pending
Build coop / build-linux (push) Waiting to run
Build coop / build-steamos (push) Waiting to run
Build coop / build-windows-opengl (push) Waiting to run
Build coop / build-windows-directx (push) Waiting to run
Build coop / build-macos-arm (push) Waiting to run
Build coop / build-macos-intel (push) Waiting to run
2026-03-26 12:52:21 +10:00
Isaac0-dev
b5d021b231 fixed dynos animations on held objects [build]
Some checks failed
Build coop / build-linux (push) Has been cancelled
Build coop / build-steamos (push) Has been cancelled
Build coop / build-windows-opengl (push) Has been cancelled
Build coop / build-windows-directx (push) Has been cancelled
Build coop / build-macos-arm (push) Has been cancelled
Build coop / build-macos-intel (push) Has been cancelled
2026-03-24 10:10:37 +10:00
Isaac0-dev
fb8fbd1136 forgot to run autogen [build]
Some checks failed
Build coop / build-linux (push) Has been cancelled
Build coop / build-steamos (push) Has been cancelled
Build coop / build-windows-opengl (push) Has been cancelled
Build coop / build-windows-directx (push) Has been cancelled
Build coop / build-macos-arm (push) Has been cancelled
Build coop / build-macos-intel (push) Has been cancelled
2026-03-20 16:49:29 +10:00
Isaac0-dev
111b2e7ea5 bump version [build] 2026-03-20 16:48:33 +10:00
Isaac0-dev
4284e389a9 fix ext sound bank crash when instId > 0x83 2026-03-20 15:53:31 +10:00
ThePlayerRolo
7ec6c77e1c
Implement smlua_audio_utils_allocate_sequence() (#891)
Some checks are pending
Build coop / build-linux (push) Waiting to run
Build coop / build-steamos (push) Waiting to run
Build coop / build-windows-opengl (push) Waiting to run
Build coop / build-windows-directx (push) Waiting to run
Build coop / build-macos-arm (push) Waiting to run
Build coop / build-macos-intel (push) Waiting to run
2026-03-20 08:14:24 +10:00
Isaac0-dev
34d4069c53 more scroll texture fixes
Some checks are pending
Build coop / build-linux (push) Waiting to run
Build coop / build-steamos (push) Waiting to run
Build coop / build-windows-opengl (push) Waiting to run
Build coop / build-windows-directx (push) Waiting to run
Build coop / build-macos-arm (push) Waiting to run
Build coop / build-macos-intel (push) Waiting to run
2026-03-19 23:01:30 +10:00
Isaac0-dev
2b76ba23ff fix a logic error in scrolling textures 2026-03-19 21:30:42 +10:00
Isaac0-dev
efe794d1d8 more accurate types for these iterators 2026-03-19 20:45:55 +10:00
PeachyPeach
e645aa7cef
Adds compilation fixes for ARM in headless mode (#1151)
Some checks failed
Build coop / build-linux (push) Has been cancelled
Build coop / build-steamos (push) Has been cancelled
Build coop / build-windows-opengl (push) Has been cancelled
Build coop / build-windows-directx (push) Has been cancelled
Build coop / build-macos-arm (push) Has been cancelled
Build coop / build-macos-intel (push) Has been cancelled
Co-authored-by: Alfredo <jalfredo.gallegos@gmail.com>
2026-03-16 22:32:39 +01:00
EmeraldLockdown
8735cf96ad
Add get_mod_files (#1091)
Some checks are pending
Build coop / build-linux (push) Waiting to run
Build coop / build-steamos (push) Waiting to run
Build coop / build-windows-opengl (push) Waiting to run
Build coop / build-windows-directx (push) Waiting to run
Build coop / build-macos-arm (push) Waiting to run
Build coop / build-macos-intel (push) Waiting to run
* Add `get_mod_files`

* Dont allocate memory, use the stack

* Implement peachy's suggestion

* Actually allow optional to wrok
2026-03-15 21:49:01 +01:00