Commit graph

405 commits

Author SHA1 Message Date
Agent X
3a751aac56 Revert "move models to higher priority pools if needed"
This reverts commit 1bfe9d509c.
2025-04-06 13:35:40 -04:00
Isaac0-dev
1bfe9d509c move models to higher priority pools if needed
Some checks failed
Build coop / build-macos-arm (push) Has been cancelled
Build coop / build-ubuntu (push) Has been cancelled
Build coop / build-windows (push) Has been cancelled
Build coop / build-macos-intel (push) Has been cancelled
sometimes, a model may be loaded by the level, but then a mod loads it for the session, which causes issues so we move the model to the right pool.
2025-04-04 14:17:16 +10:00
Isaac0-dev
049e767ac6 free stuff
Some checks failed
Build coop / build-ubuntu (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
2025-04-02 12:42:14 +10:00
Isaac0-dev
54d33d28ba fix scrolling textures simply not scrolling
this was caused by the duplicated vertices commit
2025-04-02 11:42:24 +10:00
Agent X
0ee8d5f81e Fix/optimize/improve lighting engine 2025-03-28 23:06:48 -04:00
Isaac0-dev
d81512680b
duplicate every instance of a display list (#720)
Co-authored-by: PeachyPeachSM64 <72323920+PeachyPeachSM64@users.noreply.github.com>
2025-03-28 09:17:53 +10:00
Agent X
3e540790a3
Basic Vertex Point Lighting Engine (#716)
* CONCEPT: Basic vertex lighting engine

Set the geometry mode on your model to G_LIGHTING_ENGINE_EXT, spawn a `bhvAmbientLight`, spawn some `bhvPointLight`s, and then you got yourself a mighty interesting scene.

* Fixes

* How did I miss this

* Make light set home pos
2025-03-27 16:36:02 -04:00
Agent X
f8230fe484 Correct DynOS skybox texture tile paths (WARNING: MAY BREAK SKYBOX TEXTURE PACKS DESIGNED FOR COOPDX)
Some checks failed
Build coop / build-macos-intel (push) Has been cancelled
Build coop / build-ubuntu (push) Has been cancelled
Build coop / build-windows (push) Has been cancelled
Build coop / build-macos-arm (push) Has been cancelled
2025-03-21 20:40:16 -04:00
Agent X
5eb1a27eb4 Make custom GEO_ASMs work inside level geo 2025-03-09 12:33:14 -04:00
Isaac0-dev
2fca847499 bring back skip_pack_generation 2025-03-04 17:13:00 +10:00
Isaac0-dev
d6e243c4a7 add obj_get_model_id_extended, remember regular model ids 2025-03-04 15:09:09 +10:00
Isaac0-dev
f238b3d0f5
allow Lua to manipulate displaylists and vertices (#675)
Co-authored-by: ManIsCat2 <137772623+ManIsCat2@users.noreply.github.com>
2025-02-27 14:27:55 +10:00
Sonic The
e24431928c
Lvl Macros (#678)
for dynos levels that use the normal macros
2025-02-23 07:44:53 +10:00
Agent X
abf818b90e Boy what the hell (unbreak mods and DynOS packs)
They dug me out of my grave and told me `configSkipPackGeneration`. My heart sank.
This feature would have been fine if it was off by default and if it wasn't then people caught it before the version was officially released and the option was promptly disabled without a massive pool of people having this option turned on by default.
So I will say, Coolio wasn't really in the wrong by adding this, it should have never been changed to be on by default.
2025-02-14 18:42:41 -05:00
Cooliokid956
2218428a4d
Skip DynOS binary file generation on startup (#638)
it is off by default, but the common player may want to turn it on to improve loading times
2025-01-19 18:49:15 +10:00
KirbyKidJ
d1d36a1fa2
Fixed MacOS Resource Path Location (#617)
* Fixed MacOS resource path

I'm not very good at C coding.

* Fixed formatting and ensured safe return
2025-01-07 16:27:11 -05:00
Isaac0-dev
547e22530c fix dynos warps castle grounds bug 2025-01-07 09:04:37 +10:00
PeachyPeach
49c9a2d57e
Fix typo in gfx command (DynOS) (#605) 2025-01-02 18:47:12 -05:00
Michael
735a7ec7a7
Japanese Support (#574)
* server console with commands

* better unicode support and japanese translation

* Update README.md

* restore unneeded changes

* missed this

* extra

* restore

* remove extra line

* spacing

* japanese aliased

* language display names

* Update .gitignore

* japanese language support

* more common kanji

* merging new images

* fix line conflicts

* again

* redefinition removal

* Update djui_font.c

* Update djui_font.c

* Update djui_font.c

* separated japanese glyphs and images

* Update .gitignore

* Update djui_font.c

* Revert "Update djui_font.c"

This reverts commit ab2ad8c189.

* Revert "separated japanese glyphs and images"

This reverts commit c3d0fd40e3.

* recombined sheets

* Update djui_font.c

* Update djui_font.c

* Update djui_font.c

* separated japanese glyphs and images

* Update Japanese.ini

---------

Co-authored-by: Isaac0-dev <62234577+Isaac0-dev@users.noreply.github.com>
2024-12-31 10:32:31 -05:00
PeachyPeach
96932f5bf1
Custom geo function and switch nodes with Lua callback (#593) 2024-12-31 10:23:13 +10:00
Radek Krzyśków
dc538f4f50
Reworked the platform-dependent executable paths. Quoting the command line for Discord game invites. (#188) 2024-12-27 18:05:54 -05:00
PeachyPeach
970f454d8e
DynOS support for textures with palette (#582) 2024-12-27 17:52:28 -05:00
PeachyPeach
f1e216649d
Auto disable billboards for 3D models (#579) 2024-12-22 07:54:45 -05:00
xLuigiGamerx
6757a3abb7
Added FONT_SPECIAL (#556)
* Fixed player and mod lists not updating on language change

* Added `FONT_SPECIAL` which is based on the special controls letters in dialog boxes
2024-12-17 08:58:38 -05:00
Agent X
036fa909a4 Add missing selectionbox arrows and cake screen textures to DynOS 2024-12-15 19:51:55 -05:00
Isaac0-dev
23a6b6726f better typing for cmaps 2024-12-09 08:21:53 +10:00
Isaac0-dev
c65a67ccf1 use a hmap for scroll targets 2024-11-30 15:34:25 +10:00
Isaac0-dev
c0691d4b3e add unordered map to cmap 2024-11-30 15:33:11 +10:00
Isaac0-dev
2bfd9bc5f6 init dynos levels in DynOS_Level_GetCollision 2024-11-30 09:12:47 +10:00
Isaac0-dev
92fbe54ebd separate dynos pack model and mod owned model ids
to address the grand star late join model bug that can happen with mods like omm.
the bug happened when players have different dynos packs, and during a late join, the model ids are relied on to be the same.
dynos packs can offset the available model ids, therefore desyncing the model used on late join.
2024-11-28 14:02:27 +10:00
Isaac0-dev
39826deadd add a way to find surface types in collision 2024-11-22 08:57:37 +10:00
Khangaroo
693a77078d
Low-hanging fruit mod loading optimizations (#493)
* Low-hanging fruit mod loading optimizations

* Fix DynOS fread spam and don't use a linked list for mod cache (still O(n^2), but much faster)
2024-11-16 12:44:57 +10:00
Drahnokks
636b385e48
add controller.buttonReleased (#379) 2024-10-20 09:25:08 +10:00
Isaac0-dev
f8a30e4fd8 fix some issue with recent prs 2024-10-18 12:47:24 +10:00
xLuigiGamerx
49be9d159b
Allowed Dynos to use geo_mario_cap_display_list (#337)
* Allowed Dynos to use geo_mario_cap_display_list

* Fixed [CS] Extra Characters breaking voices in other CS mods
2024-09-24 10:04:50 +10:00
Isaac0-dev
4aa2a20f72
fixes, clean up and some new features (#259)
- Only inited `smlua_audio_utils` if needed, since there will probably be plenty of people who play without ever using mods with custom audio.
- Fixed the pause anywhere setting - this ended up not being fully accurate to ex-coop, which it was originally intended to be.
- Stopped regenerating dynos collision bin on start up every time therefore giving a slight start up speed boost for some people.
- Added a config file setting that lets people choose to compress dynos bins on startup (disabled by default).
- Fixed a warning that shows on non macs during compiling.
- Properly fixed the chat box focus.
- Made the public lobby rules panel "temporary".
- Added a cleaner loading screen design.
- Added an ex-coop theme easter egg, can only be activated from the config file.
- Cleaned up the Lua traceback logging, now shows the folder and file the error occurred in, rather than the full path.
- Added a way to set `gCheckingSurfaceCollisionsForCamera`, so mods can specify to surface finding functions to ignore `SURFACE_FLAG_NO_CAM_COLLISION` internally.
- Rewrote the way smlua pushes CObjects/CPointers to Lua. Now using the C Lua API entirely to connect to Lua.
	- Fixed a use-after-free bug that could easily crash the game through Lua (explained further in one of my comments below).
- Fixed a common crash in `audio_sanity_check`.
2024-09-12 19:09:01 +10:00
GhostlyDark
8636d26726
Fix incorrect skybox paths for DynOS builtin tex (#300) 2024-09-06 16:50:16 -04:00
Agent X
8b723b8e85 Fix incorrect texture path in DynOS builtin textures 2024-09-04 17:26:27 -04:00
Agent X
bc63f96f2b Disable DynOS compression for non-dev again 2024-07-03 18:38:06 -04:00
FluffaMario
5cba5bede1
Updated Player Characters (#85)
* Update Player Characters

* Oops...

* Slipped through

* Hopefully this is good now?
2024-06-30 07:40:29 -04:00
Agent X
8525a9a2ee DynOS fixes 2024-06-26 18:51:11 -04:00
PeachyPeach
c4214ed2da
Prevent the game from caching downloaded WIP mods (#69)
* don't tmp or cache wip mods

* update
2024-06-23 11:54:07 -04:00
Agent X
4607405b0c Re-enable DynOS compression (Needs testing) 2024-06-21 13:51:06 -04:00
Isaac0-dev
eeebfecca4
more loading screen fixes for non supported builds (#74) 2024-06-19 11:43:01 +10:00
Agent X
e780b74d1b Properly sync BITS ferris wheel platforms 2024-06-13 20:33:47 -04:00
Radek Krzyśków
eb45999791
Fix the texture dimensions check in DynOS (#67) 2024-06-11 18:47:22 -04:00
Agent X
0e0b3c1862 Expose gCurrentArea and gCamera to Lua 2024-06-10 11:32:05 -04:00
Agent X
29ad63f9f9 Fix some DynOS prints 2024-06-02 15:58:03 -04:00
Isaac0-dev
a347f77b3c
fix some git merge conflicts that weren't resolved (#55)
and added -latomic to build flags to fix compile warnings while compiling miniaudio
2024-06-01 13:40:58 +10:00
Agent X
70fb580311 Re-enable DynOS Vtx rounding 2024-05-21 17:10:00 -04:00