1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-24 00:03:11 +01:00
Commit Graph

27877 Commits

Author SHA1 Message Date
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
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
Gymnasiast
ccd86f1730 Properly clear whole news queue 2025-03-18 23:23:29 +01:00
Gymnasiast
d93de5c5b1 Move importing news items to function 2025-03-18 21:50:39 +01:00
Michael Steenbeek
fff481328b Merge pull request #24019 from Gymnasiast/refactor/drawtext-to-label-widgets
Refactor Guest window widgets
2025-03-18 10:18:58 +01:00
Gymnasiast
835f45523d Create widget type for horizontal separator 2025-03-17 22:43:09 +01:00
Gymnasiast
e06832693b Change more Guest window DrawText calls to Label widgets 2025-03-17 21:18:45 +01:00
Gymnasiast
30bf050fb0 Convert Guest Stats string calls to label widgets 2025-03-17 21:07:43 +01:00
mix
647ab23c33 Fix #18309: Vehicles glitch going inverted to uninverted with uncap fps (#24011) 2025-03-17 20:39:28 +01:00
Michael Steenbeek
816984d58c Merge pull request #23994 from Gymnasiast/refactor/more-flags2
Refactor more track flags
2025-03-17 20:38:09 +01:00
Gymnasiast
30748fcf5b Fix apostrophes and quotes in changelog
[ci skip]
2025-03-16 23:16:02 +01:00
busybu2
70302be7d0 Link to libatomic for arm-linux-gnueabihf library architecture 2025-03-16 21:27:09 +00:00
Aaron van Geffen
1ccfd0e2e6 Bump kNetworkStreamVersion (#24010) 2025-03-16 20:37:26 +01:00
Aaron van Geffen
2c8c37c09d Reduce Map.h includes (#24007) 2025-03-16 18:41:51 +01:00
OpenRCT2 git bot
5f08276531 Merge Localisation/master into OpenRCT2/develop 2025-03-16 04:02:06 +00:00
OpenRCT2 git bot
6dfef8399e Merge Localisation/master into OpenRCT2/develop 2025-03-15 04:02:17 +00:00
Michael Steenbeek
0d90ea2846 Fix #5281: Missing supports on miniature railways built backwards 2025-03-14 21:39:13 +01:00
Gymnasiast
0bfeff59ba Create weak enum for MazeWallType 2025-03-14 21:31:13 +01:00
Gymnasiast
73cda29208 Create strong enum for RideTestingFlags 2025-03-14 21:30:50 +01:00
Gymnasiast
3800d0bca1 Create strong enum for TrackElementSetFlag and TrackSelectionFlag 2025-03-14 21:27:27 +01:00
Gymnasiast
7038cd8a4d Extend FlagHolder methods 2025-03-14 21:27:26 +01:00
mix
1c2e22e859 Fix lamps and queue line tvs drawing incorrectly on paths with fences 2025-03-14 21:16:37 +01:00
Matt
e89312a319 Fix #23983: Ordering files by size not working and potentially crashing (#23991) 2025-03-14 09:32:28 +01:00
OpenRCT2 git bot
e91a9245bf Merge Localisation/master into OpenRCT2/develop 2025-03-14 04:02:16 +00:00
Michael Steenbeek
113928a251 Fix #23985: Crash when opening New Ride menu 2025-03-13 21:25:24 +00:00
Aaron van Geffen
0382973afe Use window shim in more windows (#23986)
* ProgressWindow: use WINDOW_SHIM; call OnResize

* Use window shim in multiplayer windows
2025-03-13 20:14:34 +01:00
Michael Steenbeek
7040588337 Update field names on RCT1/RCT2 Ride struct 2025-03-12 23:48:45 +01:00
mix
91afda265e Fix corner path fences drawing over adjacent sloped land 2025-03-12 22:40:55 +00:00