Commit graph

5127 commits

Author SHA1 Message Date
EmeraldLockdown
175d5fdcf7 Vast improvment to tuxie and it's syncing 2026-05-18 20:24:44 -05:00
EmeraldLockdown
3424f7a67c Probably didn't fix bowser platform and made it worse but need to test 2026-05-16 22:17:35 -05:00
EmeraldLockdown
d792230875 Fix race penguin, quite the blunder lol 2026-05-16 22:15:23 -05:00
EmeraldLockdown
265b5c46d4 Merge remote-tracking branch 'origin/dev' into even-more-syncing-fixes 2026-05-16 21:36:11 -05:00
EmeraldLockdown
068b5aab92 Force set intangiblity with king bobomb, bit of a hacky fix but works. Intangible timer was able to be synced so this action was fragile 2026-05-16 21:33:04 -05:00
EmeraldLockdown
b9bd3e33f5 Fix flipped condition in wiggler boss fight 2026-05-16 21:29:00 -05:00
EmeraldLockdown
e914936e17 Sync thi water for late joiners 2026-05-16 21:26:38 -05:00
EmeraldLockdown
a9b1443734 Fix quite a funny blunder in THI bowling ball 2026-05-16 21:23:54 -05:00
EmeraldLockdown
9ebb29b0b4 Fix issues introcued in another one of my prs 2026-05-16 21:15:03 -05:00
Sunk
e2035853b9
Change romhack camera options (#1247)
Some checks are pending
Build coop / build-linux (push) Waiting to run
Build coop / build-steamos (push) Waiting to run
Build coop / build-windows (push) Waiting to run
Build coop / build-macos-arm (push) Waiting to run
Build coop / build-macos-intel (push) Waiting to run
* Change camera options

* Resolve suggestions
2026-05-16 22:07:51 -04:00
EmeraldLockdown
5d0712c8e6 Tidy up some syntax, fix initial lakitu syncing 2026-05-16 21:05:15 -05:00
Isaac0-dev
d119881854
make pull requests auto 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 (push) Waiting to run
Build coop / build-macos-arm (push) Waiting to run
Build coop / build-macos-intel (push) Waiting to run
2026-05-16 15:28:28 +10:00
EmeraldLockdown
d750fee179
Resolve issue with windows compilation due to use of strcasestr (#1246)
Fixes issue introduced by bb142d5769 because someone didn't check the C standard to verify it was ok to use (it was me).

`strcasestr` is not apart of the C standard and is a GNU extension. Windows does not play well with this. The solution was to define a quite simple custom function partially based on the glibc implementation. Function should be reviewed.
2026-05-16 15:00:12 +10:00
EmeraldLockdown
0479b1b4ed Fixed bobomb sound playing repeatedly, fix it playing for other clients 2026-05-15 22:54:26 -05:00
EmeraldLockdown
bb142d5769
Add searchbox, add it to mod panel and dynos panel (#1129) 2026-05-16 12:14:56 +10:00
Isaac0-dev
8da31e6199
fix audio engine crash from reloading banks that are already loaded (#1232)
* fix audio engine crash from reloading banks that are already loaded

* only promote banks that are "discardable"
2026-05-15 21:14:09 -04:00
Isaac0-dev
967d120505
much further draw distance option (#1240)
The existing draw distance options don't actually increase the draw distance. It only impacts whether or not distant objects are rendered. 

This PR:
- Adds another option to the draw distance setting in the display menu, called "Infinite". It is not truly infinite, but it is significantly larger than what current options allow. Due to it not being truly infinite, we could use the name "Max" instead to be more accurate.
- Exposes a new function to the Lua API `draw_distance_scalar_is_infinite` which returns whether or not the infinite setting is enabled.
- `draw_distance_scalar_is_infinite` is now used in several places in this repo to bypass distance checks for objects if infinite mode is enabled.
- Fixes a bug where you couldn't bypass the distance check in `obj_is_in_view`, meaning you could never disable all object distance culling.
- The infinite setting now forces the far plane to be at least a minimum of `1,000,000`.
2026-05-16 11:13:02 +10:00
Agent X
91208e4e06 Fix OpenGL check
Some checks are pending
Build coop / build-linux (push) Waiting to run
Build coop / build-steamos (push) Waiting to run
Build coop / build-windows (push) Waiting to run
Build coop / build-macos-arm (push) Waiting to run
Build coop / build-macos-intel (push) Waiting to run
2026-05-14 21:31:15 -04:00
Agent X
2e9e6644ca Default to DirectX renderer if OpenGL can't be ran 2026-05-14 20:47:35 -04:00
Cooliokid956
e87d118063
Multiline descriptions (#1235)
Some checks failed
Build coop / build-linux (push) Has been cancelled
Build coop / build-steamos (push) Has been cancelled
Build coop / build-windows (push) Has been cancelled
Build coop / build-macos-arm (push) Has been cancelled
Build coop / build-macos-intel (push) Has been cancelled
2026-05-13 16:06:19 -04:00
Isaac0-dev
76e6bf6bce make it compile again
Some checks are pending
Build coop / build-linux (push) Waiting to run
Build coop / build-steamos (push) Waiting to run
Build coop / build-windows (push) Waiting to run
Build coop / build-macos-arm (push) Waiting to run
Build coop / build-macos-intel (push) Waiting to run
(my fault)
2026-05-13 11:49:48 +10:00
Demi-kun
1139c0f67a
Re-Implement Sound Modes (#1226) 2026-05-13 10:48:15 +10:00
EmeraldLockdown
5a3ce71c6a
Fix a blunder by yours truly (#1237) 2026-05-13 09:58:13 +10:00
rPhase
c9154bc60b
Add missing Scale XYZ entry to graphNodeLots (#1236) 2026-05-12 19:31:03 -04:00
Agent X
432b8721d6 Fix no icon on DirectX
Some checks are pending
Build coop / build-linux (push) Waiting to run
Build coop / build-steamos (push) Waiting to run
Build coop / build-windows (push) Waiting to run
Build coop / build-macos-arm (push) Waiting to run
Build coop / build-macos-intel (push) Waiting to run
2026-05-11 17:09:57 -04:00
Agent X
63156acf39 Fix mouse input on DirectX 2026-05-11 17:06:15 -04:00
Agent X
07705adc67 Port trilinear filtering to DirectX 2026-05-11 16:52:09 -04:00
Agent X
3f79f261e9 Port lightmap color feature from OpenGL to DirectX 2026-05-11 16:37:57 -04:00
Agent X
19a429dbe5
Add built-in preset screen shader effects configurable through Lua (#1217)
* C++ lighting engine

Runs better using my new system for storing and iterating through lights.

I removed the lighting ctx profiler because after I've realized its very inaccurate and was probably programmed incorrectly from the start. Although I remember it working fine before and not constantly showing 20 ms or higher when I'm in an extremely simple level with extremely simple lights and the FPS is way too high for it to be taking 20 ms.

* Whoops

* Make some optimizations

* Fix small bug with LE inside graphics vertex function

I also brought back the lighting profiler because it's better than nothing.

* Some optimizations

* Cache active lights and 4 lights per vertex limit

Less branching and less iterating with the limit

* Screen shader effects for Lua [OpenGL]

Hue, saturation, brightness, contrast, exposure, dithering, posterization

Global = usually an object in the world
Non global = usually a screen element

Also:
* Changed skyboxes to use environment color instead of vertex color, visually identical
* Changed hud head texture to be non global
* changed power meter to be non global
* changed sparkles to be global
* changed some BBH vertex types to global

OpenGL renderer supported only for now.

* Add default values and better function names

Also fixed sizes in reset function

* Add scanlines effect

* Add global enabled function

* Fix some default values

* Hopefully fix white sparkles

* Whoops

* Address review

* Update function names

* Fix shader crash

* Address reviews
2026-05-11 15:59:48 -04:00
EmeraldLockdown
c7b2b2bb56
Update libs (#1234)
Some checks are pending
Build coop / build-linux (push) Waiting to run
Build coop / build-steamos (push) Waiting to run
Build coop / build-windows (push) Waiting to run
Build coop / build-macos-arm (push) Waiting to run
Build coop / build-macos-intel (push) Waiting to run
2026-05-11 07:34:35 -04:00
Agent X
000dc5abc9 Auto updater improvements
Some checks are pending
Build coop / build-linux (push) Waiting to run
Build coop / build-steamos (push) Waiting to run
Build coop / build-windows (push) Waiting to run
Build coop / build-macos-arm (push) Waiting to run
Build coop / build-macos-intel (push) Waiting to run
2026-05-10 23:48:10 -04:00
EmeraldLockdown
1d71c4e8de
Add an auto updater (#1231)
Some checks are pending
Build coop / build-linux (push) Waiting to run
Build coop / build-steamos (push) Waiting to run
Build coop / build-windows (push) Waiting to run
Build coop / build-macos-arm (push) Waiting to run
Build coop / build-macos-intel (push) Waiting to run
* Add builtin updater to macos

* Compile using trimmed build

* Implement windows

* Add coopdx updater binary

* idk what this is

* Dont need that

* Undo temp code, close stdin, stdout, and stderror so we dont print to error

* Add intel

* Linux

* Finalize

Co-authored-by: AgentXLP <44549182+AgentXLP@users.noreply.github.com>

* Update updater executables (cross compiled, need to test)

* Update windows exec

* Update mac libs

* Update windows lib

* Address review

---------

Co-authored-by: AgentXLP <44549182+AgentXLP@users.noreply.github.com>
2026-05-10 22:46:35 -04:00
EmeraldLockdown
03c709c877 Merge remote-tracking branch 'origin/dev' into even-more-syncing-fixes 2026-05-10 15:41:32 -05:00
EmeraldLockdown
cf4df98fc5 Fix up king bobom 2026-05-10 15:39:14 -05:00
EmeraldLockdown
7924b3057a Sync thi island water top drainage 2026-05-10 15:20:27 -05:00
EmeraldLockdown
60b47551eb Redo fire piranha 2026-05-10 14:41:35 -05:00
EmeraldLockdown
64027f33fc Fix up ending bowser dialog 2026-05-10 14:02:34 -05:00
Agent X
388536b385
Unify renderers into one build, add renderer selectionbox (#1218)
Some checks are pending
Build coop / build-linux (push) Waiting to run
Build coop / build-steamos (push) Waiting to run
Build coop / build-windows (push) Waiting to run
Build coop / build-macos-arm (push) Waiting to run
Build coop / build-macos-intel (push) Waiting to run
* Unify renderers into one build, no more segregation

* Fix Linux compilation error

* How does one miss this

* Rename this

* Fix silly naming error that I missed

* Update Russian translation
2026-05-09 19:46:29 -04:00
EmeraldLockdown
43c8444bb7 Make octagonal rotating plat deterministic 2026-05-09 17:54:14 -05:00
EmeraldLockdown
401583b64f Whoops 2026-05-09 17:39:57 -05:00
EmeraldLockdown
03b6fa37fc Fix issue with bowser on tilt platform in bitfs 2026-05-09 17:39:21 -05:00
EmeraldLockdown
469769456a Document and cleanup only behavior I was yet to touch 2026-05-09 17:30:40 -05:00
EmeraldLockdown
288dddde8b Nuke that 2026-05-09 17:25:05 -05:00
EmeraldLockdown
83a495a836 Sync squishable platform via area timer 2026-05-09 17:24:14 -05:00
EmeraldLockdown
ac2c446686 Sync some bitfs platforms via area timer 2026-05-09 17:18:11 -05:00
Agent X
f2c5b4eb13 Implement the HOOK_ON_HUD_RENDER_BEHIND fix ON THE RIGHT BRANCH 2026-05-09 16:45:31 -04:00
EmeraldLockdown
e95737fb40 rerun autogen 2026-05-09 15:21:08 -05:00
EmeraldLockdown
e1cd2c142f
Merge branch 'dev' into even-more-syncing-fixes 2026-05-09 15:20:57 -05:00
EmeraldLoc
4e74f7315a Undo those attack type changes 2026-05-09 15:19:23 -05:00
EmeraldLockdown
21a3f6a04d Finish up boo somewhat, still an issue with flying bookend switch 2026-05-09 14:45:58 -05:00