1206 Commits

Author SHA1 Message Date
coco875 efdaf9d8fd Fix switch and windows CI (#700)
* merge upstream commit to fix some bug

* fix merge

* add a local user for the merge

* Update main.yml

* revert main.yml

* fix windows CI

* fix switch build

* fix windows and try a fix for switch

* fix windows build
2026-05-04 20:00:43 +02:00
Alessio Tosto 76d19f7e43 Force proper wrapping on fov angles. (#699)
Co-authored-by: coco875 <59367621+coco875@users.noreply.github.com>
2026-05-03 04:08:05 +02:00
coco875 e2cf6ecbb4 Fix 32 bit (#697)
* try x86

* ci: uniform build-linux-release-docker and their x86

* Update main.yml

* fix animation

Co-Authored-By: Alessio Tosto <rinnegatamante@gmail.com>

* add explanation

* add windows 32 in release

* Update windows-compile.yml

* fix windows compilation

* fix win32 windows

* Update libultraship

---------

Co-authored-by: Alessio Tosto <rinnegatamante@gmail.com>
2026-05-03 02:13:30 +02:00
Alessio Tosto 40d4f12580 Fix missing texture size initialization for clouds. (#698) 2026-05-02 15:14:46 +02:00
Alessio Tosto 7b28790290 Force type correctness when calculating collision hashes (#696)
* Force type correctness when calculating collision hashes

* Fix more incorrect hash calculations.

* fix an error

---------

Co-authored-by: coco875 <59367621+coco875@users.noreply.github.com>
2026-05-01 23:20:21 +02:00
Jeod 10f10f17e6 Fix compiling for linux arm64 (#650)
* Enable MK64 build option for torch

* Fix HMAS type error (present on arm64)

* Align memory pool and fix empty macro

* Experimental: Add 4096 memory alignment

* Add alignment for ALIGNED8 macro

* Use memset over deprecated bzero

* Ensure OPENGLES flag can be used in CMakeLists.txt

* Diagnostic: align ship2_window_i8 to rule out odd-alignment crash

---------

Co-authored-by: MegaMech <MegaMech@users.noreply.github.com>
2026-04-22 17:38:48 -06:00
coco875 3a5af8ff76 Update CMakeLists.txt (#695) 2026-04-22 17:29:29 -06:00
mkoterski d2febf4603 Add CoreAudio to audio backend combobox map (#686)
macOS uses COREAUDIO as the default audio backend, but the
combobox display map in MenuTypes.h only contained SDL and
WASAPI. This causes an unordered_map::at crash on first
frame draw when the Audio API dropdown tries to render.
Fixes the menu crash portion of #681.
2026-04-21 13:33:11 +02:00
briaguya 90f0e3a199 Combine OpenGL shaders into single .glsl file (#687)
Kenix3/libultraship#972 changed the OpenGL backend to load a single
combined default.shader.glsl instead of separate .fs and .vs files.
The assets were never updated to match, breaking the OpenGL renderer.

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-21 13:32:49 +02:00
coco875 f93dce2bef Update libultraship (#685)
* Update libultraship

* Update libultraship

* Update .gitignore
2026-04-07 13:10:53 -06:00
EJStaats 7dba3c3c81 Allowing user-set internal resolution in menu (#682) 2026-03-29 13:34:19 -06:00
Gabriel Morazan a161aa7c3f Fix Windows Build (#680) 2026-03-24 12:34:15 -06:00
MegaMech f7aab65da4 Fix Item Window (#677)
* Update render_objects.c

* Update render_objects.c
2026-03-09 18:50:13 -06:00
MegaMech d16bdd75b1 Fix Palm Tree Interp (#675)
* Update actors.c

* Update actors.c

* Update SkyCloud.cpp

* Update render_objects.c
2026-03-09 18:43:17 -06:00
MegaMech 132357d9fb Big Interpolation Overhaul (#674)
* Fix FI

* FI statue

* Intepr fixes

* Improve

* More interp

* Fix compile

* More interp

* Fix text
2026-03-06 20:10:07 -07:00
MegaMech 25d49df90f More Interp Fixes (#673)
* Update render_player.c

* Update render.inc.c

* Update render.inc.c

* Fix kart interp

* Remove feature

* Fix error
2026-03-06 01:14:44 -07:00
MegaMech 89cd738955 Fix mistakes (#672) 2026-03-05 23:45:11 -07:00
MegaMech ba0a24e28f Fix editor loading and finishline duplication (#653)
* Fix editor loading and finishline duplication

* Update SceneManager.cpp
2026-03-05 21:15:59 -07:00
MegaMech 2564e0b7a3 update lus (#670) 2026-03-05 20:54:11 -07:00
MegaMech 376087be69 Fix Thwomp Collision and Better Interp Tagging for Actors (#665)
* Update actors.c

* Update actors.c

* actor

* Fix bounding box

* More interp fix

* Update KoopaTroopaBeach.cpp

* Update Thwomp.cpp

* Update actors.c

* Update render.inc.c

* Update render.inc.c
2026-03-05 16:52:14 -07:00
MegaMech 000c47e610 Fix retry issue with actors (#669)
* Update World.h

* Update World.cpp

* Update Game.cpp
2026-03-05 13:51:59 -07:00
MegaMech 55419843ad Update SkyActor.h (#666)
* Update SkyActor.h

* Update menu_items.c
2026-03-02 17:29:03 -07:00
MegaMech 55175baecd Possible Fix for SkySnow Crash (#664)
* Update SkySnow.cpp

* Update SkySnow.cpp
2026-03-02 13:04:51 -07:00
coco875 5c93004e38 clarify modding section (#656)
* clarify modding

* add the mention of gamebanana page

---------

Co-authored-by: MegaMech <MegaMech@users.noreply.github.com>
2026-02-26 12:36:21 -07:00
MegaMech cb3b447b53 Fix Lakitu in Time Trials (#657)
* Update Game.cpp

* Add functions for various quit transitions
2026-02-26 12:22:29 -07:00
coco875 1732542a6a Name (#655)
* Update CMakeLists.txt

* Update CMakeLists.txt

* Update CMakeLists.txt

* Update .gitignore

* Update CMakeLists.txt

* Update main.yml
1.0.0
2026-02-24 19:23:44 -07:00
MegaMech a33c66ee31 Frame Interp changes (#654) 2026-02-24 16:23:17 -07:00
MegaMech 548ccf0063 Impl Sky and SkyActors (#630)
* Create Cloud.cpp

* Create Cloud.h

* Fix the cloud

* Cleanup

* More cleanup

* Update Track.h

* Refactor SkyboxCloud position calculations

* Update SkyboxStar.cpp

* Update SkyboxStar.cpp

* Refactor SkyboxStar.cpp by removing redundant code

* Update SkyboxCloud.cpp

* Refactor SkyboxSnow.cpp by reordering includes

* Update SkyboxCloud.h

* Refactor SkyboxStar.h for improved formatting

* Impl skyboxcloud

* Update comment

* update comment

* Work now

* Fully impl Sky

* Fix define

* Fix args
2026-02-24 14:51:25 -07:00
MegaMech 321d440089 Update Thwomp.cpp (#645) 2026-02-20 14:45:41 -07:00
D++ 75c8d7dc9f Fixed Typo (#652)
Changed from Starship to SpaghettiKart
2026-02-12 21:31:25 -07:00
MegaMech 3aa2c9662a Attempt At Fixing Clang (#647)
* Update Game.h

* Update Game.h

* Update macros.h
2026-02-08 13:50:22 -07:00
MegaMech f3d6612b20 Update CustomTrack.cpp (#646) 2026-02-08 01:48:27 -07:00
MegaMech 4cc2fb5d13 More Interp Fixes... Probably (#644)
* Update BombKart.cpp

* Update BombKart.h

* Update PlayerBombKart.cpp

* Update Text.cpp
2026-02-06 23:53:33 -07:00
MegaMech 26b2ce90e7 More Interp and Draw Visibility Options (#643)
* Update render.inc.c

* FI improvements

* Rename

* Update PortMenu.cpp
2026-02-06 22:05:41 -06:00
tortugaveloz d7413601a6 Surround support (#642)
* Added surround option.

* Added surround effect.

* Remove printf.

* fix.

---------

Co-authored-by: Lywx <kiritodev01@gmail.com>
2026-02-06 00:28:54 -06:00
MegaMech c902e200ab Fix Interp Issues (#641)
* Update Seagull.cpp

* Update Seagull.h

* Update Thwomp.cpp

* Update Thwomp.h

* Update Crab.cpp

* Update render.inc.c

* Update Mole.cpp

* Update Mole.h

* Update Mole.cpp

* Update Thwomp.cpp

* Update Thwomp.cpp

* Update Thwomp.cpp

* Update HotAirBalloon.cpp

* Update HotAirBalloon.cpp

* Update ChainChomp.cpp

* Update Hedgehog.h

* Update Hedgehog.cpp

* Update Snowman.cpp

* Update Flagpole.h

* Update Flagpole.cpp

* Update Flagpole.cpp
2026-02-05 12:44:26 -07:00
MegaMech 816c03c88b Update Game.cpp (#640) 2026-02-04 22:45:18 -07:00
MegaMech cefae44db1 FrameInterpolation For Kart (#639)
* Update BombKart.cpp

* Update BombKart.h

* Update PlayerBombKart.cpp

* Update PlayerBombKart.cpp

* Update PlayerBombKart.h

* Update PlayerBombKart.h

* Update PlayerBombKart.cpp

* Update PlayerBombKart.cpp

* Update PlayerBombKart.h

* Update PlayerBombKart.h

* Update PlayerBombKart.cpp

* Update PlayerBombKart.cpp
2026-02-04 21:28:22 -07:00
MegaMech 2b9d689b2f [Enhancement] Allow Non-unique Character Selections (#638)
* Update PortMenu.cpp

* Update menus.c
2026-02-04 17:19:05 -07:00
MegaMech ddd47126ec Maybe fix some interpolation (#637)
* Update render_player.c

* Refactor FrameInterpolation_RecordOpenChild calls

* Update GrandPrixBalloons.cpp

* Modify func_80053D74 to include an additional parameter
2026-02-04 17:18:33 -07:00
MegaMech a59dcc1e75 Fix itemwindow interp for 3/4p mode (#634) 2026-02-04 17:17:38 -07:00
MegaMech 63172458b6 update lus (#633)
Co-authored-by: MegaMech <7255464+MegaMech@users.noreply.github.com>
2026-01-23 19:44:13 -07:00
coco875 9ac20da227 fix errror of compilation (and clean header) 2026-01-19 13:41:44 -06:00
coco875 d713853970 convert crlf to lf 2026-01-19 13:41:44 -06:00
MegaMech a2036f5ce7 Fix screen blanking (#627)
* Update main.c

* Update skybox_and_splitscreen.c

* Adjust framebuffer handling in race_logic_loop

Reorder framebuffer clearing and creation for proper rendering.
2026-01-17 22:35:21 -07:00
jsd1982 61a2f1c5e8 Revert default.shader.metal alpha+noise portion to its original state (#629) 2026-01-17 22:23:28 -07:00
Fabien Romano aaae77f3bc Fix NON_PORTABLE build. Ship::Context needs to be initialized first. (#618)
* Fix NON_PORTABLE build. Ship::Context needs to be initialized before resolving files. Move offending calls inside functions where they are used. Those will always be called after GameEngine() which runs Ship::Context::CreateUninitializedInstance() early.

* Replace hardcoded string mk64.o2r and spaghetti.o2r with variables game_asset_file and engine_asset_file.
2026-01-09 11:13:37 -07:00
MegaMech e71c422afb Update collision.c (#624) 2026-01-03 14:22:16 -07:00
Fabien Romano a4c01b784b fix build on OpenBSD (#621)
* fix build on OpenBSD

* Update src/port/Game.cpp

* Update ceremony_and_credits.c
2026-01-01 13:06:40 -07:00
MegaMech dfd6516db0 Add template (#622)
* Delete docs/tracks/finishline.blend

* Delete docs/tracks/finishline.fbx

* Add files via upload

* Add files via upload

* Delete docs/tracks/template 1.0.blend

* Add template, fix images probably
2026-01-01 12:45:17 -07:00