Commit Graph

26488 Commits

Author SHA1 Message Date
Matthias Moninger
5924185a6b Fix tab index being overwritten for scripted windows (#20630) 2023-07-18 21:08:42 +01:00
Duncan
ce86aa029f Remove custom_info pointer (#20480)
* Remove custom_info pointer

* Formatting
2023-07-18 06:24:42 +01:00
Matthias Moninger
8c0a931403 Merge pull request #20570 from zzril/fix-20389-reversed-banking-on-diagonal-slopes
Fix #20389: Reversed vehicles incorrectly banked on diagonal slopes
2023-07-16 23:57:35 +03:00
Michael Bernardi
1159c9d0bc Add a window method to resize spinners 2023-07-16 15:34:31 +02:00
Frédéric Fauberteau
bd21ee0402 Fix invalid OPENRCT2_BRANCH test
The test 'if (${OPENRCT2_BRANCH} EQUAL master)' fails if
OPENRCT2_BRANCH is not defined.
2023-07-14 23:15:08 +02:00
Michael Bernardi
76af75af43 Fix #20312: Affected windows now update properly 2023-07-11 13:37:42 +02:00
Crazycolbster
a7881a5046 Fixed typo in openrct2.d.ts, ScenarioObjectiveType (#20592) 2023-07-10 22:14:30 +01:00
Duncan
ea3508b22c Reduce accessing global widgets Part 2 (#20572)
* Further work to remove references to widget globals

* Clang format
2023-07-09 21:07:14 +01:00
Matthias Moninger
0a3573ec67 Merge pull request #20569 from ZehMatt/string-cleanup-2
String cleanup 2
2023-07-06 14:55:20 +03:00
ζeh Matt
378e1f3c15 Ensure the tests use the correct overloads 2023-07-06 01:32:28 +03:00
ζeh Matt
687fbef025 Use u8string and u8string_view types 2023-07-06 01:25:27 +03:00
Severin Paul Höfer
2dc42a0d69 Update changelog.txt 2023-07-06 00:21:03 +02:00
Severin Paul Höfer
9fc7596983 Wrap bank_rotation access in GetPaintBankRotation 2023-07-06 00:00:20 +02:00
ζeh Matt
38c57251b3 Fix code formatting 2023-07-06 00:58:22 +03:00
ζeh Matt
c55eb50740 Add some basic tests for Equals and IEquals 2023-07-06 00:51:52 +03:00
ζeh Matt
b011b8085d Move IEquals to String.cpp and cleanup the implementation 2023-07-06 00:41:59 +03:00
Duncan
70148c8341 Reduce accessing global widgets (#20553) 2023-07-05 21:49:09 +01:00
ζeh Matt
b6ea3b1b47 Avoid constructing temporary string object 2023-07-05 23:14:05 +03:00
ζeh Matt
3d5e6ea932 Replace Equals with IEquals where appropriate 2023-07-05 23:14:05 +03:00
Matthias Moninger
279a056125 Fix #20543: Crash using show segments height from debug paint option. (#20561)
* Fix #20543: Crash using show segments height debug option

* Update changelog.txt
2023-07-05 08:05:53 +01:00
Matthias Moninger
7f76c05a64 Fix potential null dereferencing (#20558) 2023-07-05 08:01:34 +01:00
OpenRCT2 git bot
3988768b2f Merge Localisation/master into OpenRCT2/develop 2023-07-05 04:02:05 +00:00
Matthias Moninger
14f007c049 Merge pull request #20489 from ZehMatt/code-overhaul
Remove TestPaint and remove benchmark code
2023-07-05 01:55:46 +03:00
Matthias Moninger
891b3b129f Merge pull request #20557 from ZehMatt/mt-option
Enable multi-threading by default
2023-07-05 00:17:21 +03:00
ζeh Matt
8a11db0776 Have multi-threading enabled by default rather than disabled 2023-07-04 23:17:57 +03:00