Aaron van Geffen
d543de0807
Work around GameLoadInit switching scene away from editor
2026-06-27 15:36:49 +02:00
Aaron van Geffen
bd3d24b181
Add clarification around GameLoadInit calls
2026-06-27 14:59:08 +02:00
Aaron van Geffen
35180cbefe
Fold remaining Editor unit into EditorController
2026-06-27 14:49:12 +02:00
Aaron van Geffen
ad24c5c17f
Introduce SceneManager class ( #26691 )
2026-06-14 16:46:48 +00:00
mgiannopoulos24
ab47bbd5d9
Rename Guest entity members ( #26625 )
2026-05-30 14:21:37 +00:00
Harry Hopkinson
9d5e532064
Rename enum members to lowerCamelCase in actions/ ( #26593 )
...
* Rename enums in LoadOrQuitAction.h
* Rename enums in ScenarioSetSettingAction.h
* Rename enums in TileModifyAction.h
* Rename enums in NetworkModifyGroupAction.h
* Rename enums in LandBuyRightsAction.h
* Rename enums in LandSetRightsAction.h
* Rename enums in ParkSetParameterAction.h
* Rename enums in PeepPickupAction.h
* Rename enums in StaffSetPatrolAreaAction.h
* Rename enums in RideFreezeRatingAction.h
* Rename enums in RideSetAppearanceAction.h
* Rename enums in RideSetSettingAction.h
* Rename enums in RideSetVehicleAction.h
* Rename enums in BannerSetStyleAction.h
2026-05-21 19:16:07 +00:00
Marino Rottier
6c6acd527b
Rename TileElementBase members ( #26522 )
...
* Rename TileElementBase members to camelCase
* Rename RCT12TileElementBase and RCT12TileElement members to camelCase
2026-05-17 13:21:16 +00:00
Marino Rottier
66e1411d84
Rename EntityBase and EntitySpriteData members ( #26520 )
...
* Rename EntitySpriteData members to camelCase
* Rename EntityBase members to camelCase
2026-05-17 11:21:59 +00:00
Gymnasiast
f3cec44278
Move TrackTypeIs*() to TrackElemType.{cpp,h}
2026-03-10 18:33:43 +01:00
Aaron van Geffen
be84cdb1bb
Rename Climate to Weather where appropriate ( #26163 )
...
* Introduce OpenRCT2::Weather namespace
* Rename Climate.h/cpp to Weather.h/cpp
* Rename ScClimate.hpp to ScWeather.hpp
* Rename drawing/Weather.h to drawing/WeatherDrawer.h
2026-03-08 11:00:07 +01:00
Aaron van Geffen
1cc7006127
Reorganise game actions into folders ( #25987 )
2026-02-10 08:57:40 +01:00
Aaron van Geffen
773ba479cd
Create separate unit for GameActionRunner
2026-02-09 16:06:56 +01:00
frozensnowy
10ea862bda
Fix #23859 : Wrong banner text displayed after loading different park
...
The scrolling text cache matches entries using memcmp on raw Formatter data which includes pointers to ride/banner names. When loading a new park, memory addresses can be reused, causing false cache matches that display text from the previous park. This adds invalidate() calls to both park loading paths to clear stale cache entries
2026-02-01 13:41:47 +01:00
Michael Steenbeek
343c7a70d7
Change colour to a strong enum ( #25873 )
2026-01-28 10:06:45 +01:00
matheusvb3
162977a84b
Remove redundant namespace qualifiers from miscellaneous files ( #25816 )
2026-01-14 23:15:07 +01:00
Aaron van Geffen
b5cd780b3e
Rework drawing header includes ( #25744 )
...
* Move Csg unit into OpenRCT2 namespace
* Move G1Element into its own header file
* Clean up SpriteCommands.h
* Add trailing namespace comment to Csg.cpp
* Remove Drawing.h dependency from Graph.h
* Add <memory> include to G1Element.h
* Remove Drawing.h include from ImageTable.h (used by all objects!)
* Drop Drawing.h dependency from OpenGLFramebuffer.h
* Drop Drawing.h dependency from TextureCache.h
* Drop Drawing.h include from TitleScene.h
* Drop Drawing.h dependency from Widget.h
* Add <optional> include to SpriteFile.h
* Add Drawing.h to PlayTests, S6ImportExportTests
* Include <cstdint> in TitleScene.h for SIZE_MAX
2026-01-05 19:09:34 +00:00
Aaron van Geffen
40aaf97c07
Update copyright years to 2026 ( #25741 )
2026-01-05 13:42:59 +00:00
Aaron van Geffen
db619be0c3
Rename ViewportInitAll to ContextResetSubsystems ( #25690 )
2025-12-23 11:56:52 +01:00
Gymnasiast
57e65f5888
Rename members of RCT2LanguageId
2025-10-07 20:46:11 +02:00
Gymnasiast
daa4fe8ac3
Rename field of all config categories
2025-10-07 20:21:32 +02:00
Gymnasiast
8f399dfbdd
Rename members of EntityType
2025-10-05 14:58:57 +02:00
Gymnasiast
159dc7aab0
Rename members of PeepState
2025-10-05 14:46:12 +02:00
Gymnasiast
a662c5ef8e
Change WindowClass members to use lowerCamelCase
2025-09-17 23:18:52 +02:00
Aaron van Geffen
99065960f2
Rename InputFlags::unk{4,5} to {left,right}MousePressed
2025-09-15 22:44:39 +02:00
Aaron van Geffen
9b7ee06e0f
Move Context fully into OpenRCT2 namespace; types into Input.h
2025-09-12 14:03:44 +02:00
Aaron van Geffen
4446ff9f6f
Pass game state ref as parameter to game actions ( #25065 )
2025-09-08 16:21:29 +02:00
Michał Janiszewski
a3daec8150
Merge pull request #24892 from ethanaobrien/develop
...
Emscripten: Download/Upload parks
2025-09-07 07:28:08 +02:00
Matt
6333c91a8e
Merge pull request #25090 from jaterx/develop
...
Fix for Attempt to decrement guests in park and guests heading for park below zero. #21172
2025-09-07 01:01:53 +03:00
Jater Xu
d90329731d
Fix for Attempt to decrement guests in park and guests heading for park below zero.
...
Updated Review:
- Removed ignore warning variable
- Changed the log level of the related warnings to verbose
2025-09-02 10:33:18 -07:00
Jater Xu
6fb00193ac
Fix for Attempt to decrement guests in park and guests heading for park below zero. #21172
...
Fix:
- Calling recompute peep functions when in title sequence
- Provided a way to ignore the warning for title sequence
2025-09-01 19:47:42 -07:00
Aaron van Geffen
5a4cc7d00d
Remove Network function name prefixes given namespace qualifiers
2025-08-31 16:02:43 +02:00
Aaron van Geffen
12ab9195b6
Rework EntityRegistry into class
2025-08-31 14:29:36 +02:00
Aaron van Geffen
afdee8852a
Move LoadOrQuit, Map, Maze, Network game actions
2025-08-26 21:17:44 +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
be125fc9e1
Use ParkData refs in more places ( #25035 )
2025-08-25 22:25:53 +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
e6c0de0382
Move .numGuests(HeadingForPark|InParkLastWeek) into ParkData struct
2025-08-13 22:28:18 +02:00
Aaron van Geffen
e5ead99c83
Move .numGuestsInPark, .guestsInParkHistory into ParkData struct
2025-08-13 21:20:13 +02:00
Ethan O'Brien
a784fe46fe
Resolve issues with save before load/quit prompt
2025-08-10 14:30:26 -05:00
Ethan O'Brien
1eff246b1a
Emscripten: Reimplement save/load
2025-08-07 08:34:26 -05:00
Gymnasiast
8c001ba4b5
Move SawyerEncoding files to their own folder
2025-07-04 22:07:17 +02:00
Matt
42df41efdb
Remove the use of shared_ptr for the Context ( #24404 )
...
* Replace shared_ptr with unique_ptr for Context systems, return refs
* Fix all the users
* clang-format fix
* Fix linux builds
2025-05-15 22:46:06 +03:00
matheusvb3
2adf16f726
Scale lightning and thunder inversely proportional to game speed ( #23803 )
...
* Disable lightning flashes at higher speeds
* Scale lightning/thunder inversely proportional to game speed
* Change gGameSpéed from uint32 to uint8
* Update changelog.txt
* Increment network version
2025-04-07 18:45:26 +02:00
Gymnasiast
2002f697e0
Refactor INPUT_FLAGS into FlagHolder
2025-03-26 13:00:54 +01:00
Gymnasiast
eaaba9fbfb
Rename HOOK_TYPE and its members
2025-03-26 12:16:47 +01:00
Gymnasiast
14b881e22b
Rename DIRID and its members
2025-03-25 23:39:27 +01:00
Gymnasiast
622a8dc525
Rename DIRBASE and its members
2025-03-25 22:47:09 +01:00
Gymnasiast
4badffcdb6
Change GameState_t members to lowerCamelCase
2025-03-20 23:05:57 +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