ζ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
Aaron van Geffen
84e8b35bdc
Refactor Editor::CheckObjectSelection ( #23339 )
...
* Refactor Editor::CheckObjectSelection
* Correct comment in FilterCompatibilityObject
2024-12-09 19:44:15 +01:00
ζeh Matt
9dfd4f3b19
Rename the callback types
2024-12-04 20:43:55 +02:00
ζeh Matt
53d1c27771
Fix a few more missing callback misuses
2024-12-04 18:46:56 +02:00
Aaron van Geffen
c8e9d36263
Don't require peep names object for track designer ( #22869 )
2024-09-30 17:40:32 +02:00
Aaron van Geffen
931f0705ce
Introduce PeepNamesObjects for 'real' names of peeps ( #22758 )
...
* Add initial PeepNamesObject implementation
* Add peep names object to default objects
* Append peep names object to object list for older saves
* Deduplicate AppendRequiredObjects functions
* Remove built-in 'real name' tables
* Increment park version; introduce kPeepNamesObjectsVersion
* Update objects dependency to v1.4.8
2024-09-29 15:05:55 +02:00
Harry Hopkinson
c1ac7c0700
Cleanup gameState usage
2024-09-02 22:42:37 +02:00
Aaron van Geffen
d1ca17adef
Remove ScenerySetDefaultPlacementConfiguration from _legacy.cpp
2024-07-31 20:12:23 +02:00
mrmbernardi
9ed5c63857
Rename Location.hpp constants ( #22385 )
2024-07-26 10:23:25 +02:00
Aaron van Geffen
05e56517ab
Adopt existing namespaces into OpenRCT2 namespace ( #22368 )
...
* Put all of TitleSequenceManager into the same namespace
* Move RideConstructionState into the OpenRCT2 namespace
* Adopt existing namespaces into OpenRCT2 namespace
This adds `using namespace OpenRCT2` to compilation units where appropriate,
as a means to get the codebase to compile until these units have been placed
in a namespace of their own.
2024-07-26 09:59:58 +02:00
Aaron van Geffen
4a981be643
Simplify scenario editor's landscape loading code ( #22309 )
2024-07-16 08:49:02 +02:00
Aaron van Geffen
3d5c19de08
Drop Localisation.h include where not required
2024-07-13 13:33:32 +02:00
Aaron van Geffen
8cef18cd2f
Include cassert as needed at unit level
2024-07-09 16:43:03 +02:00
Michał Janiszewski
7b12667ddb
Reduce <algorithm> include ( #21947 )
2024-05-01 13:47:27 +02:00
Aaron van Geffen
8973e35ba1
Stabilize scenario and track editors\
2024-05-01 12:34:10 +02:00
Aaron van Geffen
4f3449cfcf
Fix assert with some custom objects
2024-04-12 19:52:21 +00:00
Michael Steenbeek
271a22d00e
Merge pull request #21681 from AaronVanGeffen/obj-list-refactor
...
Move various object list properties out of ObjectTypes header
2024-04-12 11:54:13 +02:00
Gymnasiast
c158854a7f
Move Park into namespace, add other park-related things to struct
2024-04-04 18:14:27 +02:00
Gymnasiast
4f3b7aa8a9
Turn Park into struct
2024-04-04 18:12:36 +02:00
Gymnasiast
fef1a27342
Remove GameState class
2024-04-04 18:12:35 +02:00
Aaron van Geffen
e898e9211d
Move kObjectEntryGroupCounts to ObjectList.cpp
2024-03-27 20:13:10 +01:00
Harry Hopkinson
e486606189
Move gPeepSpawns to GameState_t ( #21570 )
2024-03-10 15:16:28 -03:00
Harry Hopkinson
86c28693ba
Move gGuestChangeModifier to GameState_t
2024-03-06 00:06:27 +01:00
Harry Hopkinson
701bbda164
Move gEditorStep to GameState_t ( #21492 )
...
* Move gEditorStep to GameState_t
* Fix compilation on GCC
---------
Co-authored-by: Gymnasiast <m.o.steenbeek@gmail.com >
2024-03-01 20:26:20 +00:00
Harry Hopkinson
0fab1eaca8
Move gSavedView states to GameState_t ( #21456 )
...
* Move gSavedView to GameState_t
* Move gSavedViewRotation to GameState_t
* Move gSavedViewZoom to GameState_t
2024-02-25 20:46:01 +00:00
Martin Mizzi
f5a9846ea2
Move gBankLoan and gBankLoanInterestRate to GameState_t
2024-02-19 04:42:44 -05:00