Gymnasiast
5ffee91c8a
Rename members of GameActions::Status
2025-12-12 11:41:49 +01:00
Gymnasiast
a662c5ef8e
Change WindowClass members to use lowerCamelCase
2025-09-17 23:18:52 +02:00
Aaron van Geffen
5b8fedd5b2
Rework Map.h includes (remove transitive header includes)
2025-09-04 22:16:53 +02:00
mix
d98a06564a
Change MapAnimations::MarkTileForUpdate parameter to TileCoordsXY
2025-06-13 21:13:33 +01:00
mix
78c2b85b1d
Rename MapAnimation namespace to MapAnimations
2025-06-13 21:13:33 +01:00
mix
e464b2ebe7
Don't invalidate map animations for tiles that are not in view
2025-06-13 21:13:33 +01:00
ζeh Matt
769a85afb7
Refactor how map animations are created and stored
2025-06-13 21:13:32 +01:00
Gymnasiast
7a68050897
Rename Banner::ride_index to rideIndex
2025-05-21 00:15:16 +02:00
Gymnasiast
cbd2c7b3d7
Use FlagHolder for banner flags
2025-05-21 00:15:12 +02:00
Aaron van Geffen
2c8c37c09d
Reduce Map.h includes ( #24007 )
2025-03-16 18:41:51 +01:00
Michael Steenbeek
05b64985f4
Update Ride struct to new codestyle
2025-03-09 00:26:25 +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
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
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
Duncan
f6582647f5
Large scenery tiles 2 ( #22888 )
...
* Use std::span for tiles
* Add an index helper parameter
* Use coordsxyz
* Split up corners and walls
* Use bools for the two flags
* Apply coding style
* Refer only to LargeSceneryObject where required
* Address comments
2024-10-16 22:35:29 +01:00
Michael Steenbeek
a2ed026264
Split up remaining tile elements
2024-10-15 22:02:31 +02:00
Michael Steenbeek
71ce725a2a
Split off BannerElement and TrackElement ( #22955 )
2024-10-14 14:26:10 +02:00
duncanspumpkin
6283993351
Move WallElement into its own header/source files
2024-10-07 22:04:13 +02:00
Michael Steenbeek
e6e0f97557
Split off EntranceElement header
2024-10-03 12:42:53 +02:00
Gymnasiast
5f92d1920b
Group all sequence-bound properties
2024-09-18 22:43:55 +02:00
Aaron van Geffen
d5485878f7
Remove unnecessary includes from TileInspector.cpp ( #22535 )
2024-08-11 11:00:46 +00:00
Gymnasiast
9294a58e98
Change TrackDescriptor field names to lowerCamelCase
2024-08-03 12:51:25 +02:00
mrmbernardi
9ed5c63857
Rename Location.hpp constants ( #22385 )
2024-07-26 10:23:25 +02:00
Aaron van Geffen
3d5c19de08
Drop Localisation.h include where not required
2024-07-13 13:33:32 +02:00
Aaron van Geffen
b5ef2693b0
Remove common.h include from all units
2024-07-09 16:45:19 +02:00
Aaron van Geffen
51873dc0f6
Include Diagnostic.h at unit level
2024-07-09 16:23:31 +02:00
Gymnasiast
4cdaaa9810
Refactor slope flags
2024-05-10 20:16:07 +02:00
Michał Janiszewski
7b12667ddb
Reduce <algorithm> include ( #21947 )
2024-05-01 13:47:27 +02:00
Michael Steenbeek
005aece802
Expose “animation is backwards” flag in Tile Inspector
2024-04-12 18:08:34 +00:00
Gymnasiast
c158854a7f
Move Park into namespace, add other park-related things to struct
2024-04-04 18:14:27 +02:00
Claudio Tiecher
24688ad5a3
Part of #21421 : Refactor TILE_ELEMENT_DIRECTION_MASK
2024-03-25 16:17:32 +01:00
Peter Froud
40a7fa70fc
Fix empty error messages ( #21351 )
...
* Add `STR_ERR_CANT_CHANGE_PARK_ENTRANCE_FEE`
* Add `STR_ERR_TRACK_ON_THIS_TILE_NEEDS_WATER`
* Return existing `GameAction::Result`
* Add `STR_ERR_ACTION_INVALID_FOR_THAT_STAFF_TYPE`
I am open to suggestions for a different message!
Originally this was going to be STR_ERR_WRONG_STAFF_TYPE
but I thought that was confusing because the game
action arguments do not specify a staff type. We
want it to mean "the staff ID you specified is the
wrong StaffType for this game action".
* Refactor `StaffSetColour()` to return `Result`
* Remove unnecessary arguments when `Status` is `Ok`
* Refactor `SwapTileElements()` to return `Result`
Also add STR_ERR_CANT_SWAP_TILE_ELEMENT_WITH_ITSELF
* Format code
* Use `STR_ERR_CANT_CHANGE_PARK_ENTRANCE_FEE` in title
* Format code using Github web editor
* Format indentation
2024-02-19 20:58:04 -03:00
Matt
fc1b580074
Merge pull request #21244 from pfroud/add-error-strings
...
Add error strings to reduce how many `GameActions::Result`s have `STR_NONE, STR_NONE`
2024-01-29 18:02:37 +02:00
Peter Froud
ce45cb3360
Use descriptive error strings for two GameAction::Results
...
- Fix error when setting brake speed outside park
- Fix error when pasting but reached tile limit
2024-01-25 11:37:02 +01:00
Peter Froud
7302d718e3
Fix local variable shadowing a previous local
2024-01-22 02:49:19 -08:00
Peter Froud
4145f851da
Run clang-format
2024-01-22 02:29:08 -08:00
Peter Froud
9299a80a58
Add descriptive error strings for null checks
2024-01-22 01:21:14 -08: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
Michael Bernardi
73579900ad
Fix inconsistent behaviour when removing in MP
2023-08-12 22:38:04 +02:00
Michael Bernardi
0faff29a88
Move tile invalidation to the action
2023-08-12 22:00:29 +02:00
Michael Bernardi
a26464b897
Selected TileElement now stored in paint session
2023-08-12 22:00:29 +02:00
Michael Bernardi
b496e001d1
Remove old calls to invalidate now handled by intent
2023-08-12 22:00:29 +02:00
Michael Bernardi
055a532571
Fix #19822 : Banners can now be copy-pasted from the tile inspector
2023-07-02 21:35:09 +02:00
Matthias Moninger
3ef6003671
Replace openrct2_assert with Guard::Assert, remove openrct2_assert
2023-07-02 16:42:46 +02:00
Michael Bernardi
9c5c1eb858
Fix #20349 : Tile inspector creates map animations
2023-06-06 21:55:15 +02:00
John Mulcahy
18ce417dc0
Fix 19231 - Fix Tile Copy/Paste null pointer exception
2023-04-04 11:35:20 +02:00
Duncan
e904ef406f
Fix #19503 . Hide 3+ queue junction railings behind a flag ( #19644 )
...
* Fix #19503 . Hide 3+ queue junction railings behind a flag
This is to prevent existing parks from changing their behaviour
* Clang format
* Bump version numbers. Update changelog
* Update text
2023-03-23 08:16:32 +00: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