Commit Graph
118 Commits
Author SHA1 Message Date
Gymnasiast 5ffee91c8a Rename members of GameActions::Status 2025-12-12 11:41:49 +01:00
Michael Steenbeek 355bb5d58d Refactor GAME_COMMAND_FLAG_* to enum+FlagHolder 2025-12-11 00:12:21 +01:00
Michael Steenbeek 6a5dd316a1 Allow dragging lines of walls 2025-11-16 17:14:20 +01: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 d6e9f3d205 Replace duplicate MapIsLocationAtEdge function with MapIsEdge (#25107) 2025-09-06 21:45:49 +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 238b397968 Move scenery game actions into GameActions namespace 2025-08-26 15:55:26 +02:00
Gymnasiast 61df9eaf9a Update ExpenditureType enum to new code style 2025-08-21 22:12:41 +02:00
mix 89f349f6e8 Change MapAnimations::MarkTileForInvalidation 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
Gymnasiast ddacaacc71 Change SCROLLING_MODE_NONE to kScrollingModeNone 2025-05-20 22:57:59 +02:00
Michael Steenbeek 1a571cd4e4 Create enum for TextColour 2025-05-11 22:37:21 +02:00
Gymnasiast 4badffcdb6 Change GameState_t members to lowerCamelCase 2025-03-20 23:05:57 +01:00
Michael Steenbeek 05b64985f4 Update Ride struct to new codestyle 2025-03-09 00:26:25 +01:00
Michael Steenbeek 06c1fed4f7 Refactor gScreenFlags to LegacyScene enum 2025-03-05 20:45:04 +00: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
RedMarcher c24e47dea1 Rename cheat variables to match new code style 2024-12-01 18:15:37 +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
Michael Steenbeek 52b70703af Turn TrackElemType into a strong enum 2024-10-11 13:30:27 +00:00
duncanspumpkin 6283993351 Move WallElement into its own header/source files 2024-10-07 22:04:13 +02:00
Gymnasiast 5f92d1920b Group all sequence-bound properties 2024-09-18 22:43:55 +02:00
Michael Steenbeek 47800cddcf Change RTD flags to a strong enum 2024-08-13 20:20:25 +00:00
Gymnasiast d93233f9fd Update TrackCoordinates field names 2024-08-11 15:06:19 +02:00
Gymnasiast 0ea9c5a2c2 Update TrackDefinition field names 2024-08-11 14:52:25 +02: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 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
Gymnasiast de0ca4ded4 No reason specified when placing door off edge of map 2024-04-28 22:53:01 +02:00
Gymnasiast 6335906d03 Fix #10701: No explanation when placing door over unsuitable track 2024-04-28 22:53:01 +02:00
Peter Froud 2b1d5ad9b7 Use specific error stringIDs 2024-03-30 17:12:54 +01:00
Claudio Tiecher 24688ad5a3 Part of #21421: Refactor TILE_ELEMENT_DIRECTION_MASK 2024-03-25 16:17:32 +01:00
MaxandGymnasiast bc926057eb Fix #21419: Cannot build walls under sloped terrain
Co-authored-by: Gymnasiast <Gymnasiast@users.noreply.github.com>
2024-03-23 12:39:00 +01:00
Duncan 4b6ba80a46 Move cheats to struct in GameState_t 2024-03-03 22:44:15 +01:00
Peter Froud afe3b02a24 Use STR_OFF_EDGE_OF_MAP when !LocationValid() 2024-01-24 23:27:34 -08:00
Aaron van Geffen dcd1f60f4f Move wall edge definitions from header to compilation unit 2024-01-22 19:45:51 +01:00
Gymnasiast 95c1adc813 Rename TrackBank to TrackRoll 2024-01-17 23:34:36 +01:00
Gymnasiast cffc55e165 Rename fields of TrackDefinition 2024-01-17 23:33:19 +01:00
Gymnasiast b832eb5f72 Make TrackBank into an enum class 2024-01-17 23:33:19 +01: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
Gymnasiast 2779e82ced Return a full error message when the object cannot be found 2023-05-27 14:47:54 +02: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
Duncan d811c9a9ba Add Object Entry Manager (#19332)
* Add object entry manager

Port over wall and banner

* Port over small scenery to ObjectEntryManager

Clang format files

Actually make things safe

Fix build
2023-02-12 20:43:11 +00:00