Commit Graph
227 Commits
Author SHA1 Message Date
Gymnasiast ee67a827c0 Rename members of AnimationPeepType 2025-10-05 01:10:06 +02:00
Gymnasiast 472e048f69 Make WindowView into strong enum 2025-09-17 23:49:17 +02:00
Gymnasiast a662c5ef8e Change WindowClass members to use lowerCamelCase 2025-09-17 23:18:52 +02:00
Gymnasiast 3a803e13e2 Change window functions to use lowerCamelCase 2025-09-17 20:10:12 +02:00
Aaron van Geffen 60c88f7b3c Park: distinguish between CalculateParkSize and Park::UpdateSize 2025-09-12 15:57:34 +02:00
Aaron van Geffen 37e143565b Park: pass ParkData& and GameState_t& refs down 2025-09-11 13:41:58 +02:00
Aaron van Geffen 4446ff9f6f Pass game state ref as parameter to game actions (#25065) 2025-09-08 16:21:29 +02:00
Aaron van Geffen 12ab9195b6 Rework EntityRegistry into class 2025-08-31 14:29:36 +02:00
Aaron van Geffen 5b8fedd5b2 Rework Map.h includes (remove transitive header includes) 2025-09-04 22:16:53 +02:00
Aaron van Geffen cd68270e7f Split off MapLimits.h from Map.h 2025-09-04 21:17:45 +02:00
Aaron van Geffen 1e059d18d0 Move Guest and Land game actions into GameActions namespace 2025-08-26 15:10:05 +02:00
Aaron van Geffen e88c5e4399 Move Scenario::Category into its own unit 2025-08-22 18:07:55 +02:00
Aaron van Geffen f11d1e33d0 Move Scenario::Objective into its own unit; enum class ObjectiveType 2025-08-22 17:40:47 +02:00
Aaron van Geffen f5f3199dfe Move scenario objective/category/name/details into Scenario::Options 2025-08-22 16:05:38 +02:00
Aaron van Geffen aa35ec07cd Introduce Scenario::Options struct; move cash and guest options 2025-08-22 15:57:33 +02:00
Gymnasiast 5365e10196 Rename MaxBankLoanInterestRate to kMaxBankLoanInterestRate 2025-08-21 22:12:42 +02:00
Gymnasiast 9c810d9e32 Update ParkData fields to new code style 2025-08-21 22:12:41 +02:00
Aaron van Geffen 681a489d15 Move .guest(ChangeModifier|GenerationProbability) into ParkData struct 2025-08-13 23:18:29 +02:00
Aaron van Geffen 51f17c5754 Move .bankLoanInterestRate into ParkData struct 2025-08-13 23:15:24 +02:00
Aaron van Geffen e300ca8277 Move .maxBankLoan into ParkData struct 2025-08-13 22:29:25 +02:00
Aaron van Geffen e6c0de0382 Move .numGuests(HeadingForPark|InParkLastWeek) into ParkData struct 2025-08-13 22:28:18 +02:00
Aaron van Geffen 68a4991971 Move .bankLoan into ParkData struct 2025-08-13 21:24:06 +02:00
Aaron van Geffen e5ead99c83 Move .numGuestsInPark, .guestsInParkHistory into ParkData struct 2025-08-13 21:20:13 +02:00
Matt d26252c883 Index and load objects after the editor scene is initialized not before (#24953)
* Index and load objects after the editor scene is initialized not before

* Remove pointless calls and cleanup

* Display the progress window when loading the editor

* Update changelog.txt
2025-08-11 20:51:39 +00:00
Aaron van Geffen 653826ba99 Clear plugin storage when converting save game for scenario (#24069) 2025-05-01 23:25:15 +02:00
ζeh Matt 12063aa884 Rename SetLocation to SetViewportLocation, this is less confusing 2025-04-25 17:48:39 +03:00
Aaron van Geffen b0b050d42f Add extra editor step for entering scenario details 2025-03-20 16:37:47 +01:00
Aaron van Geffen 807a2fa7c9 Merge objective options into scenario options 2025-03-13 13:57:03 +01:00
Aaron van Geffen 3404405f7e Load scripts in the scenario editor and track designer (#24090)
* Load scripts in the scenario editor and track designer

* Explicitly unload plugins upon saving scenario
2025-04-13 13:41:22 +02:00
Aaron van Geffen 99836faeff Rename Window_internal unit to WindowBase for consistency (#24163) 2025-04-06 17:43:36 +02:00
Michael Steenbeek 5ad0f5b411 Fix #24077: Track Designer crashes when clicking the park fence 2025-03-25 21:50:37 +01:00
Gymnasiast a8982ac113 Rename SCENARIO_CATEGORY and turn into strong enum 2025-03-25 15:09:23 +01:00
Gymnasiast 4badffcdb6 Change GameState_t members to lowerCamelCase 2025-03-20 23:05:57 +01:00
Gymnasiast 79514bbb79 Modify News::InitQueue to take GameState_t 2025-03-18 23:25:25 +01:00
Aaron van Geffen 8eb8f045b5 Purge old climate setting from gamestate 2025-02-04 16:25:17 +01:00
Michael Steenbeek 8266447904 Split LOADSAVETYPE_* into LoadSaveAction and LoadSaveType 2025-03-06 21:06:39 +00:00
Michael Steenbeek 06c1fed4f7 Refactor gScreenFlags to LegacyScene enum 2025-03-05 20:45:04 +00:00
Gymnasiast 9cf02f3635 Refactor MODAL_RESULT_* to enum 2025-03-01 20:12:11 +01:00
Aaron van Geffen a380413c56 Remove Scenario.h include from many units (#23901)
* Reduce includes/dependencies for Scenario.h

* Remove Scenario.h include from many units
2025-03-01 17:32:32 +01:00
73 c7c703515e Rename audio.h to Audio.h (#23842) 2025-02-17 13:24:03 +01:00
Aaron van Geffen bb94ee8bc0 Rename ObjectType enum to follow recent code style (#23810) 2025-02-13 23:07:55 +01:00
Aaron van Geffen cf448753c1 Move WindowInvalidate and WidgetInvalidate families into WindowManager (#23692)
* Move WindowInvalidate and WidgetInvalidate families into WindowManager

* Use InvalidateWidget shorthand in more places

* Cut back on UiContext includes

* Cut back on Window.h includes

* Remove outdated parameter comments
2025-01-25 13:46:08 +01:00
Michael Steenbeek b0c99fcb6c Refactor more constants to kConstant notation 2025-01-22 16:16:55 +00:00
Aaron van Geffen a8773dd805 Move WindowClose family into WindowManager (#23646)
* Replace WindowClose() calls with Close method calls where possible

* Move WindowClose family into WindowManager

* Remove UpdateSceneryGroupIndexes hack
2025-01-19 18:49:18 +01:00
Michael Steenbeek be9f27e4f9 Mass rename constants (#23656) 2025-01-19 15:59:45 +00:00
Aaron van Geffen bed4d5bdca Move WindowCreate and WindowFocusOrCreate into WindowManager (#23643)
* Move WindowBringToFront into WindowManager

* Move WindowCreate and WindowFocusOrCreate into WindowManager

* Cut back on Context/UiContext includes
2025-01-19 06:58:28 -03:00
Aaron van Geffen 7efe73f6ac Add checks to ensure an animation object is selected for each peep type 2024-12-07 13:40:30 +01:00
Aaron van Geffen aa45247f21 Move WindowFind functions into WindowManager (#23517)
* Move WindowFind* functions into WindowManager

* Update parameter documentation where applicable
2025-01-08 21:12:11 +01:00
Aaron van Geffen fa06a49302 Update copyright year to 2025 (#23514) 2024-12-31 20:30:04 +01:00
Aaron van Geffen 6ee798337a Introduce EnumUtils header (#23407) 2024-12-15 17:39:52 +01:00