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
Michael Steenbeek
9567892940
Merge pull request #24085 from Gymnasiast/refactor/more-screaming-enums
...
Refactor more screaming enums
2025-03-25 23:14:53 +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
Michael Steenbeek
cdb4e659dc
Rename some screaming enums ( #24074 )
...
* Rename TerrainSurfaceFlags and its members
* Rename SCENARIO_CATEGORY and turn into strong enum
* Create strong enum for ScenarioSelectMode
2025-03-25 15:31:36 +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
mix
185c601191
Fix #24028 : Giga and LSM booster pixels draw over transparent things
2025-03-24 13:17:07 +01: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
OpenRCT2 git bot
b60c5634cf
Merge Localisation/master into OpenRCT2/develop
2025-03-23 04:01:51 +00: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
Matt
8385b41a5e
Merge pull request #24039 from ZehMatt/move-forward
...
Improve performance of peeps walking
2025-03-21 23:26:35 +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
Matt
34478640b5
Merge pull request #24036 from ZehMatt/bypass-type-check
...
Skip the type checking in GetEntity/TryGetEntity with T as BaseEntity
2025-03-21 00:36:41 +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
Bart Ribbers
1ea87b93f1
Add missing ctime include to FileBrowser.h ( #24029 )
...
time_t is used which is defined in ctime. At least on musl libc systems this
header is not implicitly included and needs to be includex explicitly.
Co-authored-by: Michael Steenbeek <1478678+Gymnasiast@users.noreply.github.com >
2025-03-19 22:59:30 +00:00
Aaron van Geffen
a80762d41c
Fix viewport 'listen' toggles
2025-03-19 23:47:06 +01:00
Gymnasiast
13be47f389
Apply review requests
2025-03-19 16:52:57 +01:00
Gymnasiast
79514bbb79
Modify News::InitQueue to take GameState_t
2025-03-18 23:25:25 +01:00
Gymnasiast
79d4de341b
Do not import garbage data in RCT1/2 news queues
2025-03-18 23:24:50 +01:00