Commit Graph

878 Commits

Author SHA1 Message Date
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
EJStaats 7dba3c3c81 Allowing user-set internal resolution in menu (#682) 2026-03-29 13:34:19 -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 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
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
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
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
coco875 9ac20da227 fix errror of compilation (and clean header) 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
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 81d200e74b Refactor Track to CustomTrack Class, impl render layers (#606)
* impl Custom track transparency and clip

* Rename DrawWater to DrawTransparency

* Impl z-sorting for transparent mesh

* Interp work

* rename track function

* cleanup

* Revert texture interp

* Further revert

* Update Harbour

* Impl custom track path select

* Add check

* Fix compile

* Fix function extern

---------

Co-authored-by: MegaMech <7255464+MegaMech@users.noreply.github.com>
2025-12-29 15:51:12 -07:00
coco875 5fc7aebf87 fix item in multiplayer (#612) 2025-12-24 16:44:45 +01:00
coco875 b0582b5c32 invert condition in menu and some adjustement in interpolation (#611)
* use more unique ptr and fix a shell crash

* remove useless mods folder

* add even more unique_ptr

* Update KoopaTroopaBeach.cpp

* restore a throw

* Update Game.cpp

* automatically create mods folder

* fix oob in external by assuming that all 8 player can make sound

* better texture loading

* add destructor for gameobject

* avoid out of bound in audio sample

* Update FrameInterpolation.cpp

* Update torch

* invert condition

* adjust interpolation
2025-12-23 14:27:27 +01:00
coco875 ce92773a60 Clean ptr and fix (#610)
* use more unique ptr and fix a shell crash

* remove useless mods folder

* add even more unique_ptr

* Update KoopaTroopaBeach.cpp

* restore a throw

* Update Game.cpp

* automatically create mods folder

* fix oob in external by assuming that all 8 player can make sound

* better texture loading

* add destructor for gameobject

* avoid out of bound in audio sample

* Update FrameInterpolation.cpp

* Update torch
2025-12-22 14:48:07 -07:00
coco875 31c2063a61 fix podium ceremony (#608)
Co-authored-by: MegaMech <MegaMech@users.noreply.github.com>
2025-12-20 11:44:13 -07:00
coco875 586db3dcda fix hedgehog custom texture (#607) 2025-12-20 06:52:36 -07:00
coco875 5d54756d2d fix again spining will but avoid invalid texture at all (#605) 2025-12-19 17:16:29 -07:00
coco875 a925d0fa2f make id of cup more robust and fix a mistake (#604)
* fix id koopa troopa beach

* make id of cup more robust
2025-12-19 16:14:29 -07:00
coco875 67536f525a Update render_player.c (#603) 2025-12-19 11:06:19 -07:00
MegaMech 3bbfa13cf7 Fix Lakitu Crash (#602)
* Update Lakitu.cpp

* Update Lakitu.h

* Update code_8006E9C0.c

* Update Lakitu.cpp

* Add mCameraId member to Lakitu class

* Update code_8006E9C0.c
2025-12-19 10:57:37 -07:00
MegaMech 7d64601d85 Fix Camera nullptr (#599)
* Update spawn_players.c

* Update spawn_players.c

* Update code_80280000.c

* Update Game.cpp

* Add CM_ThrowRuntimeError function declaration

* Update spawn_players.c

* Modify CM_ThrowRuntimeError for improved error handling

Increased the buffer size for error messages and added a crash description.

* Update Game.cpp

* Update Game.cpp

* Update Game.h

* Update Game.h

* Update Game.h
2025-12-18 19:03:43 -07:00
MegaMech 509a8f4259 Fix Bugs in Collision Code to Allow Big Triangles (#600)
* Update collision.c

* Update collision.c

* Update collision.c

* Update collision.c

* Update spawn_players.c

* Fix return value in collision detection function

Corrected return value for point inside triangle check.

* Update collision.c

* Update spawn_players.c
2025-12-18 11:25:26 -07:00
MegaMech f0c2cea0ee Impl RandomItemTable class (#598)
* Impl RandomItem class

* Refactor func

* Impl RandomItemTable

* Revert probability inaccuracy

* Remove unnecessary comment

* Fix compile, probably

* As per review 1

---------

Co-authored-by: MegaMech <7255464+MegaMech@users.noreply.github.com>
2025-12-18 11:24:38 -07:00
MegaMech 99b5630055 Impl Triple Shells, fix CPU items (#597)
* Impl triple shell

* CPUs can throw greenshells backwards
---------

Authored-by: Luiz Henrique <luizlink64@gmail.com>
2025-12-16 15:45:10 -07:00
coco875 1a5c79b641 Player bitflag attributes (pr 750 from the decomp) (#592)
* Player bitflag attributes (pr 750 from the decomp)

Co-Authored-By: Jed Grabman <JedGrabman@users.noreply.github.com>

* remove WATER_NO_INTERACTION

---------

Co-authored-by: Jed Grabman <JedGrabman@users.noreply.github.com>
Co-authored-by: MegaMech <MegaMech@users.noreply.github.com>
2025-12-16 09:55:37 -07:00
coco875 6b8be33a5b fix Ressource name (#596)
* fix Ressource name

* add a fallback

* use the correct name for dk jungle

* use the correct name for macos intel CI

* add print
2025-12-16 09:46:06 -07:00
MegaMech 8250ea5764 Update Track.cpp (#595) 2025-12-15 12:38:10 -07:00
MegaMech eb11374093 Edit TrackInfo Properties (#594)
* Fix finishline for toads turnpike in extra

* Fixed trash bin in extra

* Refactor fov

* Update scene.json

* Allow setting fog

* impl fog save & load

* Fix modifying resourceName and rename editor namespace to trackeditor

* small change
2025-12-15 12:29:58 -07:00