1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-15 19:13:07 +01:00
Commit Graph

21686 Commits

Author SHA1 Message Date
Gymnasiast
eaaba9fbfb Rename HOOK_TYPE and its members 2025-03-26 12:16:47 +01:00
Gymnasiast
867b69a0f6 Rename SAWYER_ENCODING and its members 2025-03-26 12:09:45 +01:00
Gymnasiast
5b7793f77b Rename SPECIAL_FOLDER and its members 2025-03-26 12:06:31 +01:00
Gymnasiast
c7d38b29fc Rename ADVERTISE_STATUS and its members 2025-03-26 12:03:26 +01:00
Gymnasiast
8d57f4d193 Rename ZIP_ACCESS and its members 2025-03-26 12:00:43 +01:00
Gymnasiast
b26a2953d7 Rename IMAGE_FORMAT and its members 2025-03-26 11:59:12 +01:00
Gymnasiast
3289aa4df3 Rename ASSERT_BEHAVIOUR and its members 2025-03-26 11:56:06 +01:00
Gymnasiast
b8dafb9d62 Rename DIRECTORY_CHILD_TYPE and its members 2025-03-26 11:45:12 +01:00
Gymnasiast
15707d64ec Refactor fountain flags 2025-03-26 00:51:27 +01:00
Gymnasiast
74758c77b6 Rename PATHID and its members 2025-03-25 23:57:36 +01:00
Gymnasiast
e6762f1e08 Refactor TRACK_REPO_ITEM_FLAGS to strong enum and FlagHolder 2025-03-25 23:47:28 +01:00
Gymnasiast
ad547d2d6c Rename static constants of repositories 2025-03-25 23:42:27 +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
0437329690 Rename DIALOG_TYPE and its members 2025-03-25 22:47:08 +01:00
Gymnasiast
c5fff2bb77 Create enum class for FileMode 2025-03-25 22:47:08 +01:00
Gymnasiast
0dfc94799a Rename FILE_TYPE and its members 2025-03-25 22:47:08 +01:00
Gymnasiast
7675622acc Refactor EDITOR_INPUT_FLAGS to use FlagHolder 2025-03-25 22:47:08 +01:00
Gymnasiast
fa15bc56d2 Rename INVALID_DIRECTION to kInvalidDirection 2025-03-25 22:47:08 +01:00
Gymnasiast
d0368a7f02 Rename STATION_OBJECT_FLAGS and its members 2025-03-25 22:05:53 +01:00
Michael Steenbeek
5ad0f5b411 Fix #24077: Track Designer crashes when clicking the park fence 2025-03-25 21:50:37 +01:00
Michael Steenbeek
6b57ec82ff Fix #19506: Queue paths can be placed on train tracks 2025-03-25 17:35:28 +01:00
Gymnasiast
be31812fa8 Create strong enum for ScenarioSelectMode 2025-03-25 15:09:23 +01:00
Gymnasiast
a8982ac113 Rename SCENARIO_CATEGORY and turn into strong enum 2025-03-25 15:09:23 +01:00
Gymnasiast
bca715fb7f Rename TerrainSurfaceFlags and its members 2025-03-25 15:03:55 +01:00
Aaron van Geffen
7efb6e7835 Generalise dropdown tooltips and add tooltips to footpath window (#24070) 2025-03-25 08:59:30 +01:00
Michael Steenbeek
70bdddcf36 Reduce object casting (#24072) 2025-03-25 08:51:44 +01:00
mix
a8e2c6e375 Fix #23710: Tracked rides draw station bases with No entrance, no platform station style 2025-03-24 21:32:56 +01:00
Aaron van Geffen
472ab1996a Order custom menus consistently by label text (#24067) 2025-03-24 17:42:05 +00:00
Michał Janiszewski
0da5990857 Merge pull request #24032 from garrettleach/assert-with-source_location
Add Guard::Assert function with std::source_location default parameter
2025-03-24 08:55:52 +01:00
mix
eff6da11f3 Fix s4 and s6 importer convertNewsQueue msvc build error 2025-03-23 10:41:28 +01:00
Matt
94be70f8a8 Merge pull request #24034 from Gymnasiast/refactor/gamestate-t-lower-camel-case
Change GameState_t members to lowerCamelCase
2025-03-21 23:32:02 +02:00
ζeh Matt
c7fd5093d3 Further cleanup the code, restrict maximum iterations 2025-03-21 15:55:58 +02:00
ζeh Matt
e3015198e7 Cleanup and style refactor PeepFootpathMoveForward 2025-03-21 15:55:54 +02:00
Matt
2c2467cd00 Merge pull request #24038 from ZehMatt/spatial-index-perf
Improve performance of spatial indexing
2025-03-21 15:53:42 +02:00
mix
7a9041c7f3 Shorten PaintSegment enum variant names 2025-03-21 09:17:15 +01:00
ζeh Matt
a287a7979d Improve performance of spatial indexing 2025-03-21 01:21:18 +02:00
Gymnasiast
4badffcdb6 Change GameState_t members to lowerCamelCase 2025-03-20 23:05:57 +01:00
ζeh Matt
c7c5a2c9c0 Skip the type checking in GetEntity/TryGetEntity with T as BaseEntity 2025-03-21 00:04:41 +02:00
Matt
3e0826e85c Merge pull request #24035 from ZehMatt/code-overhaul-2
Some code cleanup
2025-03-20 22:00:09 +02:00
ζeh Matt
49182eb448 Simplify operators on TIdentifier using the spaceship operator 2025-03-20 21:23:32 +02:00
ζeh Matt
cac21504cd Refactor PerformNextAction, we don't need a wrapper 2025-03-20 21:23:32 +02:00
ζeh Matt
bd4db4a91b Use TryGetEntity for iterators as it handles null entities explicitly 2025-03-20 21:23:31 +02:00
ζeh Matt
e22c2eeb62 Cleanup the function PeepInteractWithPath 2025-03-20 21:23:31 +02:00
MoorDev
96e22f0170 Fix #18169: Missing TTF support on Android 2025-03-20 18:52:57 +00:00
Michael Steenbeek
eb30d3c054 Fix #23889 and refactor news items import (#24025)
* Move importing news items to function

* Properly clear whole news queue

* Do not import garbage data in RCT1/2 news queues

* Modify News::InitQueue to take GameState_t

* Apply review requests
2025-03-20 19:28:24 +01:00
Garrett Leach
8e9944d6eb Use more common filename:line format for assertion failure messages 2025-03-20 09:14:51 -05:00
Garrett Leach
89515edbd8 Use stringstream until std::format is available
Part of #12489
2025-03-19 23:08:48 -05:00
Garrett Leach
37be543c4c Add Guard::Assert function with std::source_location default parameter
Part of #12489
2025-03-19 22:49:55 -05:00
Aaron van Geffen
0a3e9fdfd9 Update object manager API to access new object types (#24009)
* Update object manager API to access new object types

* Use separate mapping for scripting due to different type names

* Amend changelog
2025-03-20 00:16:08 +01:00