Commit graph

4796 commits

Author SHA1 Message Date
PeachyPeach
17c311ae7d
smlua event hooks refactor (#826)
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
2025-06-09 07:40:48 +10:00
djoslin0
838fe40d6e
Add HOOK_ON_ADD_SURFACE and HOOK_ON_CLEAR_AREAS (#843)
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
2025-06-08 13:46:28 +10:00
Isaac0-dev
b99f18dacc check texInfo so mods can't spoof it in smlua_to_texture_info
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
2025-06-06 09:34:23 +10:00
Isaac0-dev
73db1b0345 fix autogen texinfo get 2025-06-06 07:29:24 +10:00
Isaac0-dev
98ff007818 get_texture_average_color
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
pass in a texture, it returns the average color of the texture
2025-06-05 22:33:24 +10:00
Isaac0-dev
378b619fd6 made autogen build djui_hud_render_texture* 2025-06-05 21:03:38 +10:00
PeachyPeach
c79d59d8ec
Fix vec3f bugs (#837) 2025-06-05 19:44:09 +10:00
Isaac0-dev
e1aab9c479 gfx_get_texture
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
returns a pointer to the texture in the gfx command
2025-06-05 17:07:53 +10:00
Isaac0-dev
50f83b1ffe log line on error in gfx_set_command 2025-06-05 15:36:40 +10:00
Isaac0-dev
ced949627f improved remote player platform upwarping
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
fixes the bug in whomp's fortress where remote players could be seen on the cone roof of the tower, when they weren't really there
2025-06-04 13:26:19 +10:00
Isaac0-dev
dc4678c121 made escape button respond to release 2025-06-04 11:47:52 +10:00
Isaac0-dev
ecbb911367 fix djui console spam 2025-06-04 11:34:26 +10:00
Isaac0-dev
c939d9c925 correct return logic to fix back button bug 2025-06-04 10:16:41 +10:00
Isaac0-dev
65b67ad9fa fix djui back button bug and crash [build]
could be caused by pressing B and letting go of A on the same frame
2025-06-04 09:46:59 +10:00
Isaac0-dev
b8fe342c17 fix custom dialog boxes not being properly reset 2025-06-04 09:41:36 +10:00
Isaac0-dev
5a9f4b10bd fix bubba eaten action not being invisible 2025-06-04 09:40:45 +10:00
Isaac0-dev
681ea52f4b fix crash during conflicting warps 2025-06-04 09:40:20 +10:00
Isaac0-dev
d6508def28 revise my latest changes
Some checks are pending
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
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
2025-06-04 07:58:02 +10:00
Isaac0-dev
f0d6e4331d reset modified graph nodes on network shutdown 2025-06-04 02:36:35 +10:00
Beckowl
566e2ba934
Add `ModelExtendedId param to HOOK_OBJECT_SET_MODEL` (#834)
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
2025-06-03 18:12:56 +10:00
Isaac0-dev
73e72e1b77 fix mirror mario with custom animations again [build]
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
2025-06-03 17:17:19 +10:00
Agent X
2dfcb39704 Revert "Small behavior fixes [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
This reverts commit bf4bef435a.
2025-05-31 18:22:24 -04:00
Agent X
ff31ae55fa Bug fixes
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
If it ain't broke, don't fix it
2025-05-30 16:14:19 -04:00
Agent X
feba35b010 Expose sync_object_get_object
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
2025-05-29 11:31:31 -04:00
Agent X
dd13da2a0d Re-run autogen for everything 2025-05-29 10:57:44 -04:00
Agent X
46b9cf5fb8 whoops 2025-05-29 10:55:51 -04:00
Sunk
5d48c72d2d
Revert "Fix(?) frozen star cutscenes (#796)" (#830)
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 9e87ce10c0.
2025-05-28 22:53:57 -04:00
Isaac0-dev
fd163d4cb5 these should remain 2025-05-29 12:50:35 +10:00
Isaac0-dev
56a5e0b7d2 fix opengl warning 2025-05-29 12:49:38 +10:00
Agent X
1f2e09da6e Re-arrange some parameters and add math.round
Co-Authored-By: xLuigiGamerx <88401287+xLuigiGamerx@users.noreply.github.com>
2025-05-28 22:34:45 -04:00
PeachyPeach
69e129805e
More math improvements (#820)
* More math improvements

* more math functions

* stack check

* added error message when trying to modify read-only table; fix gSmluaConstants printed to console
2025-05-29 02:52:31 +02:00
NitroDisPro
dea7247d9f
Add HOOK_MARIO_OVERRIDE_FLOOR_CLASS (#812)
* Update lua_definitions constants.lua

* you kiddin' dude

* Update lua docs constants.md

* Update smlua_constants_autogen.c

* Update smlua_hooks.h

* Update mario.c to add HOOK_MARIO_OVERRIDE_FLOOR_CLASS to mario_get_floor_class(m)

yeah i sure love using web interface

* Update lua guide hooks.md

* Whoops
2025-05-28 18:13:46 -04:00
Beckowl
97e0737bbb
expose utf8 (#829) 2025-05-28 17:01:40 -04:00
Agent X
3b7b413989 Day Night Cycle DX v2.5.1
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
2025-05-26 17:49:02 -04:00
Agent X
3795e5afbc Add some sync object functions [build]
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
2025-05-26 14:51:57 -04:00
xLuigiGamerx
625646aeeb
Updated [CS] The Originals models to add missing reverts (#828)
* Added `xOffset` and `yOffset` to the `DjuiFont` struct to align the custom hud fonts

* Replaced `VL-Tones and CJes` CS pack with `The Originals` CS pack

* Removed the shading from the emblems and sideburns for `[CS] The Originals`

* Updated Djoslin0 Toad to give him recolorable hair and updated CJes and VL-Tones Luigi hud icons.

* Updated `[CS] The Originals` models to add missing reverts

* Wrong outdated Djoslin Toad model fix
2025-05-26 10:26:00 -04:00
Agent X
0327ef9a94 make my own small adjustments
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
2025-05-24 09:10:24 -04:00
Cooliokid956
b79960e42c
Fix Chat Scrolling (#822)
* stupid oversight

and more

* Fix macOS compilation
2025-05-24 09:05:28 -04:00
Agent X
c856188ab2 Make Lua Profiler in misc in non dev again [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
2025-05-22 19:54:20 -04:00
Agent X
32db129861 Whoops [build]
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
2025-05-22 08:58:59 -04:00
Agent X
318c8a4995 Fix macOS compile errors and warnings [build] 2025-05-22 08:48:05 -04:00
Agent X
bf4bef435a Small behavior fixes [build] 2025-05-22 08:32:06 -04:00
Cooliokid956
aac982a3eb
Add missing mouse scrolling in console + Smooth Scrolling (#790)
* Add mouse wheel scrolling for DJUI Console

forgot to do that before

Bonus: optional Smooth Scrolling (activate in menu options)
Dutch - @benjipg
English - me
French - @Blockyyy
German - @iZePlayzYT
Italian - @wall_e20
Russian - @yoyeet961
Spanish - me

Missing translations:
Czech-Help
Japanese-uhhhh
Polish-maybe
Portuguese- might be able to get this one in tomorrow

i really think something needs to be done about the DJUI prefixing

* Return of the eepy

- actually added the config option
- NEW TRANSLATION:
  - portuguese - @saniky

* Czech translation

by @Dominicentek

* add missing translations, correct others

since this is an actual feature present in major programs (e.g. Chromium), it is widely localized and i can find accepted translations for the term
I have gone and used those instead where applicable

* address nitpicking

* unified clamping

* new clamp + fixed chat jumping to 0 when below max
2025-05-22 08:26:29 -04:00
PeachyPeach
bbabaa3c79
Fix hand/foot pos and get any Mario part position (#816)
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 hand/foot pos and get any Mario part position
2025-05-21 23:52:04 +02:00
PeachyPeach
8db6356754
Improving math functions (#813)
* Improving math functions

* Isaac review
2025-05-21 23:50:49 +02:00
Isaac0-dev
0087bfbda0 Revert "fix a likely bug in exclamation boxes where high behavior ids don't work"
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 c27b9c0e87.
2025-05-21 22:22:19 +10:00
Isaac0-dev
ecac2afd07 fix some issues with smlua
get_temp_s32_pointer and deref_s32_pointer: these are actually safe and mods use them
fixed a nil script error with smlua_to_cpointer
2025-05-21 21:50:13 +10:00
Isaac0-dev
c27b9c0e87 fix a likely bug in exclamation boxes where high behavior ids don't work
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
2025-05-21 11:53:32 +10:00
Sunk
ce67d8c0a5
Add gLevelValues.wallMaxRadius (#815) 2025-05-21 11:19:02 +10:00
Isaac0-dev
06f1d66dd6 fix get_behavior_name_from_id returning nil
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
2025-05-21 10:45:27 +10:00