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

27394 Commits

Author SHA1 Message Date
ζeh Matt
bc8e8f0360 Reduce heap allocations with small_vector 2024-12-11 21:27:08 +02:00
ζeh Matt
a16b493ae4 Optimize how packets are queued and transferred 2024-12-11 21:18:36 +02:00
Aaron van Geffen
4f32028e01 Move RideManager struct into its own compilation unit (#23379)
* Move RideManager struct into its own compilation unit

* Move RidesEndOfUsedRange into GameState_t

* Let RideManager keep a GameState_t& internally
2024-12-11 15:54:45 +01:00
mrmbernardi
fb6c76d6c8 Add null check (#23377) 2024-12-11 06:13:09 +01:00
Michał Janiszewski
605947c02d Merge pull request #23370 from janisozaur/docker-build-18
Update docker building images to version 18 and build Android armv7-eabi
2024-12-10 23:26:18 +01:00
Matt
a064431c57 Remove reserve call on std::string which prevents SSO (#23360)
As the title suggests, most compilers have small string optimization which means up to a certain length there will be no allocation, that varies between compilers/STL implementation, by calling reserve we take that chance away in all cases

The problem is not the call to reserve but the fact that we don't know the string size beforehand.
2024-12-10 12:51:04 +01:00
OpenRCT2 git bot
e201ccfef8 Merge Localisation/master into OpenRCT2/develop 2024-12-10 04:02:19 +00:00
Michał Janiszewski
be51a52d95 Update gradle wrapper 2024-12-09 23:45:00 +01:00
Michał Janiszewski
1c87793cc0 Import SDL2 2.30.9 2024-12-09 23:45:00 +01:00
Michał Janiszewski
990614bc1f Compile with NDK r27c 2024-12-09 23:45:00 +01:00
Michał Janiszewski
d546b10884 Update gradle plugin to 8.7.3 2024-12-09 23:45:00 +01:00
Michał Janiszewski
a69a0fce3d Use android libraries v12 2024-12-09 23:45:00 +01:00
Michał Janiszewski
a9d130dac6 Build android armv7 2024-12-09 23:45:00 +01:00
Michał Janiszewski
6a04aaf2fa Update code formatting for clang-format 19 2024-12-09 23:25:40 +01:00
Michał Janiszewski
78984e8efe Fix clang-format path for new binary 2024-12-09 23:20:03 +01:00
Michał Janiszewski
659de0e40a Update docker building images to version 18
Version 18 brings Android updates, clang-format 19, libzip updates in
mingw
2024-12-09 23:17:10 +01:00
Aaron van Geffen
84e8b35bdc Refactor Editor::CheckObjectSelection (#23339)
* Refactor Editor::CheckObjectSelection

* Correct comment in FilterCompatibilityObject
2024-12-09 19:44:15 +01:00
mrmbernardi
9c0cc28d7f Fix currency formatting in the in game console (#23349) 2024-12-09 18:22:17 +11:00
OpenRCT2 git bot
29a11f652c Merge Localisation/master into OpenRCT2/develop 2024-12-09 04:02:15 +00:00
AuraSpecs
c5f79dcef7 Add Diagonal Brakes to LSM Launched Roller Coaster 2024-12-08 20:27:45 +00:00
Michał Janiszewski
38e39f3dfc Start v0.4.18 2024-12-08 18:30:59 +01:00
Michał Janiszewski
578178e73a Merge branch 'master' into develop 2024-12-08 18:30:04 +01:00
Michał Janiszewski
60dc190e1b Release v0.4.17
- Feature: [#23166] Add Galician translation.
- Feature: [#23227] Add Classic Wooden Twister roller coaster, for better compatibility with RCT1.
- Improved: [#23051] Add large sloped turns and new inversions to the Twister, Vertical Drop, Hyper and Flying Roller Coasters.
- Improved: [#23123] Improve sorting of roller coasters in build new ride menu.
- Improved: [#23211] Add boosters to classic wooden roller coaster (cheats only).
- Improved: [#23229] Add debug option for making the sprite sorting algorithm stable.
- Improved: [#23233] Add diagonal booster to LSM Launched Coaster.
- Improved: [#23277] Add small, medium and large turns, diagonal track and S-bends to the Boat Hire.
- Fix: [#20070, #22972] Missing and mismatched flat and sloped footpaths on several scenarios.
- Fix: [#22726] ‘Force park rating’ cheat is not saved with the park.
- Fix: [#23064] Stand-Up Roller Coaster unbanked to banked track pieces are misaligned.
- Fix: [#23066] Stand-Up Roller Coaster has many supports that don't join up to the track.
- Fix: [#23206] Multiplayer desyncs when FPS is uncapped.
- Fix: [#23238] Updating a guest’s favourite ride works differently from vanilla RCT2.
- Fix: [objects#355] Fix colour preset settings of the Stand-Up Roller Coaster trains.
- Fix: [objects#355] Fix colour preset settings of many vehicles from Wacky Worlds and Time Twister.
v0.4.17
2024-12-08 17:50:02 +01:00
Michał Janiszewski
a84af0fc14 Merge branch 'develop' 2024-12-08 17:04:18 +01:00
Michael Steenbeek
28b2ef1304 Merge pull request #23277 from mixiate/extended-boat-hire
Add small medium and large turns, diagonals and s-bends to Boat Hire
2024-12-08 14:31:43 +01:00
mix
7e850f12b8 Add changelog entry for new Boat Hire track pieces 2024-12-08 14:21:29 +01:00
mix
46eb48fb98 Fix Boat Hire visual glitches whilst building 2024-12-08 14:21:04 +01:00
mix
2fd52c82bc Add small medium and large turns, diagonals and s-bends to Boat Hire 2024-12-08 14:21:04 +01:00
OpenRCT2 git bot
962358974f Merge Localisation/master into OpenRCT2/develop 2024-12-08 04:02:07 +00:00
Matt
7154e85c0a Add stable paint sort (as a debug option) 2024-12-07 13:08:00 +01:00
Aaron van Geffen
03829f9cea Fill in the blanks in RCT1::PeepAnimationGroup enum (#23298) 2024-12-07 12:21:50 +01:00
OpenRCT2 git bot
4c56954799 Merge Localisation/master into OpenRCT2/develop 2024-12-07 04:02:15 +00:00
Arek Durlik
4e9765d871 Fix wrong label in tree to land ratio text input (#23336) 2024-12-06 19:52:59 +01:00
Aaron van Geffen
c15f6a975f Fix swapped labels in heightmap smoothing text input (#23334)
Co-authored-by: arekdurlik <72689308+arekdurlik@users.noreply.github.com>
2024-12-06 10:40:28 +00:00
mrmbernardi
c2b3f6c54c Avoid pointer arithmetic with null pointer (#23332) 2024-12-06 11:34:20 +01:00
Michał Janiszewski
2ac91f79e5 Add more descriptive information for renderer faults (#23327) 2024-12-06 11:28:03 +01:00
73
e1c3997269 Correct copyright years on ZoomLevel.cpp 2024-12-06 10:27:32 +01:00
Matt
f60656a9d6 Merge pull request #23330 from ZehMatt/msvc-errs
Add missing headers, latest MSVC has build errors
2024-12-06 00:06:33 +02:00
ζeh Matt
9c1a75caef Add missing headers, latest MSVC has build errors 2024-12-05 23:51:36 +02:00
Michał Janiszewski
96f6b76e7a Patch missing footpath in scenarios (#23128)
* Fix #22972: Missing flat footpath in scenarios

Scenarios touched:
- Alton Towers
- Build your own Six Flags Magic Mountain
- Mirage Madness
- Six Flags Magic Mountain

* Part of #20070: missing sloped footpath in scenarios

Scenarios amended:
- Alton Towers
- Rollercoaster Heaven

* Part of #20070: Allow fixing paths with queues

Fixes Mines of Africa

* Add changelog and bump network version

---------

Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
2024-12-05 18:57:27 +01:00
Michał Janiszewski
e73aa548eb Update backtrace.io token in Crash.cpp for upcoming release 2024-12-05 12:18:04 +01:00
Aaron van Geffen
b3aa852a8d Consolidate util/Math.hpp into core/Numerics.hpp (#23319)
* Consolidate util/Math.hpp into core/Numerics.hpp

* Remove branching; replace isPowerOf2 with std::has_single_bit

* Add templated types to floor2 and ceil2
2024-12-04 21:00:26 +00:00
Matt
fd79af7db8 Merge pull request #23321 from ZehMatt/window-alloc
Eliminate copying the window list each update
2024-12-04 21:40:33 +02:00
ζeh Matt
ba30f781f4 Remove WindowFlushDead, shouldn't be used directly 2024-12-04 21:18:25 +02:00
ζeh Matt
2c6c1161ed Remove copying the list of windows, no longer required 2024-12-04 21:16:59 +02:00
Aaron van Geffen
0cb81e4dcb Rename util/Prefetch.h to platform/Memory.h (#23320) 2024-12-04 19:16:56 +00:00
Matt
a18268be93 Merge pull request #23318 from ZehMatt/refactor-intent
Refactor Intent
2024-12-04 21:10:40 +02:00
ζeh Matt
9dfd4f3b19 Rename the callback types 2024-12-04 20:43:55 +02:00
ζeh Matt
53d1c27771 Fix a few more missing callback misuses 2024-12-04 18:46:56 +02:00
Aaron van Geffen
f65ef67260 Rename PeepAnimationType::None to PeepAnimationType::Walking (#23317) 2024-12-04 16:09:17 +00:00