Gymnasiast
a45625fc3e
Change PromptMode members to new codestyle
2025-03-01 20:12:11 +01: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
a976a43708
Rename network.h to Network.h ( #23882 )
2025-02-24 10:43:06 +01:00
73
c7c703515e
Rename audio.h to Audio.h ( #23842 )
2025-02-17 13:24:03 +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
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
fa06a49302
Update copyright year to 2025 ( #23514 )
2024-12-31 20:30:04 +01:00
Aaron van Geffen
91cf22aede
Reset all peep sprite bounds at save file import time
2024-12-17 21:06:11 +01:00
Aaron van Geffen
35e117aca2
Rename String methods to use lowerCamelCase
2024-12-11 22:49:37 +01:00
Aaron van Geffen
a24dc2e60a
Reduce includes in and of Util.h/cpp
2024-12-11 20:42:43 +01:00
Aaron van Geffen
5442b20a7a
Move StrLogicalCmp, SafeStrCpy, SafeStrCat to String.hpp
2024-12-11 20:42:43 +01:00
ζeh Matt
9dfd4f3b19
Rename the callback types
2024-12-04 20:43:55 +02:00
ζeh Matt
e86618e835
Make sure the callback is not converted to void*
2024-12-04 16:46:35 +02:00
Aaron van Geffen
f40da09ab8
Move SawyerCoding from util into core, and into its own namespace
2024-10-29 21:59:28 +01:00
Michael Steenbeek
f4d2dadfe7
Close #23018 : Close windows before loading new game
2024-10-23 20:33:37 +02:00
Michael Steenbeek
a2ed026264
Split up remaining tile elements
2024-10-15 22:02:31 +02:00
mrmbernardi
aea385a6ab
Fix PatrolArea and AudioSource memory leaks ( #22992 )
2024-10-15 12:16:56 +00:00
Aaron van Geffen
d1ca17adef
Remove ScenerySetDefaultPlacementConfiguration from _legacy.cpp
2024-07-31 20:12:23 +02:00
Aaron van Geffen
d9efdd4cad
Prevent loading saved games twice in LoadSave window callback ( #22305 )
2024-07-15 19:50:53 +00:00
Aaron van Geffen
229df6d66d
Move CSStringConverter from localisation to rct12 folder ( #22280 )
2024-07-12 20:37:00 +00:00
Aaron van Geffen
51873dc0f6
Include Diagnostic.h at unit level
2024-07-09 16:23:31 +02:00
Harry Hopkinson
3c04e67ece
Refactor constant notation in Limits.h
2024-05-26 17:54:31 +02:00
Aaron van Geffen
69c5e6ad9e
Move money types into Money.hpp
2024-05-14 16:35:00 +02:00
Aaron van Geffen
a63d86c488
Introduce Config namespace and struct
2024-05-10 12:10:21 +02:00
Michał Janiszewski
7b12667ddb
Reduce <algorithm> include ( #21947 )
2024-05-01 13:47:27 +02:00
Aaron van Geffen
95239d75c9
Move UpdatePaletteEffects to Drawing.cpp
2024-04-29 18:14:09 +02:00
Aaron van Geffen
255e89ec37
Refactor TitleScreen to TitleScene; introduce GameScene
...
Co-authored-by: ζeh Matt <5415177+ZehMatt@users.noreply.github.com >
2024-04-23 21:31:05 +02:00
Claudio Tiecher
ffb8b4d44b
Part of #21421 : Refactor MAXIMUM_MAP_SIZE_TECHNICAL
2024-03-25 16:17:32 +01:00
Harry Hopkinson
14f0479c94
Refactor constants/macros ( #21483 )
...
* Refactor constants in AudioMixer.h
* Refactor constants in Map.h
* Rename kMinimumLandHeight_BIG to kMinimumLandZ
2024-03-01 20:23:29 +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
Matt
19be093569
Fix #21208 : Error messages disappear too quickly if the game runs for a while ( #21394 )
...
* Reset gCurrentRealTimeTicks when the map is initialized
* Use 32 bit for gWindowUpdateTicks
* Update changelog.txt
2024-02-13 16:03:30 -03:00
Harry-Hopkinson
b755c873e5
Move gMapSize to GameState_t
2024-02-12 21:32:08 +00:00
Harry Hopkinson
11ae8247bd
Move gNumGuestsInPark to GameState_t ( #21295 )
...
* Move gNumGuestsInPark to GameState_t
* Replace GetGameState() with gameState
2024-01-28 19:17:43 -03:00
Harry Hopkinson
01eecbaeba
Move gNumGuestsHeadingForPark to GameState_t ( #21277 )
...
* Move gNumGuestsHeadingForPark to GameState_t
* Format code
* Remove change to contributors list
* Revert new line addition
2024-01-28 07:26:22 -03:00
Harry Hopkinson
42336915cd
Move gClimateCurrent to GameState_t
2024-01-24 11:18:54 +01:00
ζeh Matt
9b2a79faf1
Adjust the import/export code to have the game state passed
2024-01-19 16:32:19 +02:00
ζeh Matt
a5dde0f8dc
Replace gCurrentTicks with the one in GameState_t
2024-01-19 16:32:19 +02:00
James103
1d8dc111f1
Replace 2023 with 2024 in copyright headers ( #21139 )
...
Replace all instances of the year 2023 with 2024 in all copyright headers
2024-01-01 12:52:28 +01:00
ζeh Matt
897579b5de
Print a warning if there is a disagreement with the imported data
2023-10-20 15:02:28 +03:00
ζeh Matt
37bc7238e6
Remove unnecessary scope
2023-10-20 14:27:02 +03:00
ζeh Matt
4e7587db13
Re-calculate the amount of guests heading to the park on import
2023-10-20 14:26:30 +03:00
ζeh Matt
a45d72f562
Extract functions out of GameFixSaveVars
2023-10-20 14:22:14 +03:00
Andrew
e17bca3b53
Made setting the game speed a game action ( #20825 )
...
* Bare minimum for a game action
* Changelog entry
* Fixed formatting
* Consistent capitalization
* Committed wrong file
* Removing redundant toolbar invalidations
* Bump network version; remove redundant qualifier
* Fixed crash on starting server
2023-10-04 16:13:40 +01:00
ζeh Matt
88ec42e7ab
Remove WindowUpdateAll from GameLoadInit
2023-06-28 23:53:09 +03:00
Silent
c4b70358c8
More MAX_PATH removals ( #20113 )
...
* Refactor FileScanner to lift a MAX_PATH limit
* Replace Platform::EnsureDirectoryExists with Path::CreateDirectory
* Remove MAX_PATH from Platform.Posix.cpp
2023-05-09 20:08:46 +01:00
ζeh Matt
0c3c2ebcd2
Refactor MapGetSurfaceElementAt to accept TileCoordsXY
2023-04-05 23:13:47 +03:00
Duncan
b56748bc82
ObjectEntry Cleanup. FootpathItem, SceneryGroup, Water, LargeScenery ( #19385 )
...
* Move footpathitem entry into new getter
* Move scenery group entry into new getter
* Move water entry into new getter
* Move large scenery entry into new getter
* Remove unused header includes
* Fix compile issue
* Include missing header from vcxproj
2023-02-15 21:35:16 +00:00
Matthias Moninger
62a96cc251
Fix and refactor banner fixing ( #19288 )
2023-01-28 22:43:59 +00:00