Commit Graph

84 Commits

Author SHA1 Message Date
MegaMech 2a0c0939c7 Refactor World::Courses to unique_ptr (#211)
* wip course unique ptr

* Track unique_ptr : This probably compiles

* Finish impl Courses as unique_ptr

* Fix error

* Fixes

* More fixes

* Cleanup

* Remove old vars

---------

Co-authored-by: MegaMech <7255464+MegaMech@users.noreply.github.com>
2025-05-23 16:53:14 -06:00
sitton76 622795584c Shell flames handled better. 2025-05-20 22:44:51 -05:00
sitton76 05d78da59e Merge branch 'transformfuncsforint' of https://github.com/HarbourMasters/SpaghettiKart into transformfuncsforint 2025-05-20 22:21:55 -05:00
sitton76 6f61776b91 Changed how shell flames are interpolated. 2025-05-20 22:21:38 -05:00
Sonic Dreamcaster 0d6db3ad1e comment 2025-05-20 22:44:06 -03:00
Sonic Dreamcaster 11e4d2a6a9 shift is not needed here 2025-05-20 21:53:41 -03:00
Sonic Dreamcaster 1812219588 Merge branch 'transformfuncsforint' of https://github.com/HarbourMasters/SpaghettiKart into transformfuncsforint 2025-05-20 21:51:19 -03:00
Sonic Dreamcaster a33f296e0f better object interpolation 2025-05-20 21:50:52 -03:00
sitton76 46abc4f6fc Tagged player rank placement in HUD 2025-05-20 17:03:04 -05:00
Sonic Dreamcaster 2764ac6595 tag hud 2025-05-20 17:10:37 -03:00
Sonic Dreamcaster 4a6ebfdc78 tag leaves 2025-05-20 16:48:25 -03:00
sitton76 0ec42de46e Interpolated penguins, also added comment tags to places I missed. 2025-05-20 01:31:32 -05:00
sitton76 36a8c15404 Interpolated snowflakes 2025-05-20 01:03:59 -05:00
Sonic Dreamcaster 23e53566f0 Merge branch 'transformfuncsforint' of https://github.com/HarbourMasters/SpaghettiKart into transformfuncsforint 2025-05-20 02:36:16 -03:00
Sonic Dreamcaster 7717b9d674 cloud interpolation refactor 2025-05-20 02:36:09 -03:00
sitton76 c3c38b05fe Interpolated smoke particles from shells 2025-05-20 00:16:00 -05:00
Sonic Dreamcaster 140aa9014d cloud interpolation 2025-05-20 02:00:56 -03:00
sitton76 6794a94e4d Bowser castle statue flame interpolated. 2025-05-19 22:45:08 -05:00
MegaMech 1eba8ebc17 Fix interpolation camera bug 2025-05-19 16:42:11 -06:00
Sonic Dreamcaster 19d29604c0 tag whatever func_80051ABC is 2025-05-17 03:54:53 -03:00
MegaMech 32632cacdb Impl new intro (#193)
* Update menus

* Update CMakeLists.txt

* Add Ship

* Impl hm ship actors

* Update HM course

* Impl new intro

* Finish intro scene

* Rename

* Start Editor Work

* raycast works

* Fix ScreenRayTrace in widescreen

* Basic Actor Picking

* wip

* Editor use vtx collision

* gizmo work

* otr works for object picking

* Impl objects for editor

* actor init

* Update

* Add all axis move (freemove)

* Docking Windows works here

* Setup imgui layout for editor

* Editor Snap to Ground works

* Basic Scene Explorer Works

* Editor get actor names

* Impl editor object names

* impl Editor Play and Pause buttons

* Editor translate works while paused

* Fix freecam lighting

* Added adjustable track properties to editor

* Editor matrix, icons, rotation, impl light

* Setup Track Properties 1

* Editor tooling wip

* Load modded o2rs

* Don't enable hud if editor is enabled

* Updates

* SceneManager nearly working

* Fix mario kart 64 intro logo sizing

* Fix Rotator

* Finish new matrix translation code

* Cleanup headers

* Cleanup

* Cleanup 2

* Cleanup 3

* Prevent divize by zero crash

* Add visible circle for translate in all axis

* Editor scaling/rot works properly now

* Scale All_Axis evenly

* Fixes to includes to work on Linux.

* Removed overfilled arguments in gfx_create_framebuffer()

* Added missing function definitions to Game.h

* Editor sun face the camera

* Add rotation model to gizmo

* Add new handles

* Failed attempt at transforming collision

* Impl water volume

* Import fast64 paths

* water surface

* Scene Setup 1

* Custom Track O2R almost working needs testing

* Custom Track Load path O2r

* Render custom track. Wip collision

* Add missing function

* Debug Spawning Custom O2R Track

* Import courses working now

* Fix memory leak

* Remove New Track Button

* Engine.cpp more consistent with sf64

* Fix Editor Enable Button

* Editor Accurate mouse click drag objects

* Editor selects closest object and cleanup

* Gizmo rot and scale collision working

* Remove constexpr from IRotator

* Impl properties for location/rot/scale

* Better Properties display, swap rot handles

* Fix content browser dock and editor now disabled by default

* Remove GameInfoWindow, Multiplayer Button, and FPS Slider

* Disable Editor when its disabled

* Add new logo to hm intro

* Fix pause menu item box cursor

* Remove minimap from Course::from_json and to_json

* Impl Import Minimap

* Fix custom minimap rendering

* minimap uses extension .png

* Refactor minimap

* Freecam only for player 1

* GrandPrix Balloons work in custom track

* Track Id is now std::string and outside of Props

* Moved editor assets to be included in ship.o2r

* Fixed GenerateO2R to package the correct folder and save to the correct filename

* Linux specific changes.

* Added "#include <stdio.h>" that required them
* Changed how the "ship.o2r" file is loaded to allow it to load the file from within appimages.
* Changed the Linuxdeploy version to avoid errors later when the Github Actions creates appimages(same fix applied to other ports.)

* Revert "Moved editor assets to be included in ship.o2r"

This reverts commit 05704c01f7.

* Added back files(this time without LUS changes)

* Changed workflow file to use correct filename for assets file.

* Missed a few spots in the workflow file.

* Added .desktop file and made corrections to the main workflow.

* Added the rest of upstream CMakeLists.txt

* disabled USE_NETWORKING

* New InverseMatrix

* Renamed both .o2r files to be more accurate to its contents.

* Reverted CmakeList.txt

---------

Co-authored-by: MegaMech <7255464+MegaMech@users.noreply.github.com>
Co-authored-by: sitton76 <58642183+sitton76@users.noreply.github.com>
2025-05-14 18:30:32 -06:00
MegaMech fc1e1a9782 Reimpl star emitter (#180)
* Reimpl star emitter

* Remove OObject Lists

* wip mole reimpl

* nearly fix moles

* Cleanup

* Update reimpl seagull

* Rework finishline to auto spawn and not to run in credits

* Fix train crossing direction in extra mode

* Clarification

* micro optimization

* update mole

---------

Co-authored-by: MegaMech <7255464+MegaMech@users.noreply.github.com>
2025-02-07 14:36:55 -07:00
MegaMech ce9b4f25be Fix Remaining Widescreen Issues and Fix Audio Sizes (#174)
* Fix some boxes that shouldn't be wide

* forgot fix

* Fix widescreen for sliding lap texture

* Fix lakitu towing fade in out

* Add DOUBLE_SIZE_ON_64_BIT and ssize_t
2025-01-25 19:36:44 -07:00
MegaMech 1f189dfa80 Game.cpp and World.cpp Cleanup (#159)
* Remove CProperties and delete dup Properties from World.h

* Improvement

* Fix compile

* Cleanup

* Document gRaceState

* wip cleanup

* compile

* Impl PlayerBombKart

* Rename CourseManager_ to CM_

* Finish renames m_ to CM_

* cleanup

* Remove extra printf

---------

Co-authored-by: MegaMech <7255464+MegaMech@users.noreply.github.com>
2025-01-23 11:22:07 -07:00
briaguya 24ecfc3db4 fix toads turnpike minimap (#164) 2025-01-20 17:38:20 -07:00
MegaMech 8c46368d5d Fix data, option menus, impl boos, fix demo camera (#156)
* Fix data and option menus

* safer code

* wip boos impl

* finish impl boos

* Fix demo camera

* slightly better match
2025-01-18 08:58:12 -07:00
MegaMech 04d56d6ba0 Fixes as per Sonic (#154)
* Fix imGUI game reset button

* Fix course select cursor sound oob

* Fix cloud rendering

* Fix centering of tt race data cannot be saved by ghost

* Impl chain chomp & bats

* Fix retry crash

* DebugMode On Skips intro logo menu

* rename
2025-01-13 21:15:16 -07:00
Sonic Dreamcaster 810aec9df1 readability 2025-01-12 15:03:14 -03:00
MegaMech d4162154f6 Fix minimap widescreen in extra mode (#152)
* Fix extra mode minimap widescreen
2025-01-10 14:20:33 -07:00
coco875 46ef6a4054 fix texture with three point filter 2025-01-06 22:04:32 +01:00
coco875 177cefe79f fix compilation issue 2025-01-05 23:46:04 +01:00
MegaMech a24ae0e548 rename as per review 2025-01-05 12:37:56 -07:00
MegaMech e993944089 Finishwide screen. Impl IVector2D MinimapDimensions 2025-01-05 12:26:27 -07:00
MegaMech 5ee24ab2aa Nearly fix finishline on 3P 2025-01-04 20:53:13 -07:00
MegaMech adaa16b84b cleanup 2025-01-04 20:30:25 -07:00
MegaMech 528871010a Fix minimap karts 2025-01-04 20:30:09 -07:00
MegaMech dc04c834bd Fix portrait numbers 2025-01-04 18:00:18 -07:00
MegaMech 8746a4337e Wide screen progress 2025-01-04 17:31:32 -07:00
MegaMech 6a00e58893 Finish doc 2025-01-03 17:41:12 -07:00
MegaMech f9c661c590 continued 2024-12-31 18:04:45 -07:00
MegaMech 3cdffe421b Big 19750 renames 2024-12-31 13:04:39 -07:00
MegaMech 64b9dcbb30 impl hot air balloon 2024-12-29 20:19:59 -07:00
MegaMech e4737ce2f5 Impl Hedgehog and Flagpole 2024-12-29 16:52:26 -07:00
MegaMech 9c4b35206a Fix podium ceremony. Wip particle emitters 2024-12-28 20:30:18 -07:00
MegaMech 8309225412 Reimpl Lakitu 2024-12-28 00:25:41 -07:00
MegaMech 135b51ea71 Impl snowmen and trashbin 2024-12-17 17:12:12 -07:00
MegaMech 60014ec466 More changes 2024-12-16 16:42:17 -07:00
MegaMech 95b8cca500 Reimplementing objects 2024-12-11 20:58:18 -07:00
MegaMech bcf4a7f384 Put all thwomp code in thomp class 2024-12-06 21:50:01 -07:00
MegaMech e0e1d60181 Fix minimap on custom courses 2024-12-06 07:18:21 -07:00