1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-26 00:04:43 +01:00
Commit Graph

23608 Commits

Author SHA1 Message Date
Hielke Morsink
eec99b6fae Catch window refs by reference instead of copy 2022-08-02 21:55:23 +02:00
Michael Steenbeek
2765ed45d2 Remove now-unnecessary object patches (#17674)
These 5 objects are now part of the game and all fixes have been integrated.
2022-08-02 21:53:17 +02:00
Michael Steenbeek
fd54e962f8 Rename “Half Loop” to “Small Half Loop”
Done because we now also have both medium and large half loops. Discussed in the team chat.
2022-08-02 12:56:59 +02:00
Michael Steenbeek
43b72eba6a Add #17638 and objects#198 to changelog
[ci skip]
2022-08-02 00:15:41 +02:00
Michał Janiszewski
e1c2a8b74f Merge pull request #17634 from OpenRCT2/janisozaur-patch-1
Build OpenRCT2 with breakpad support in CI
2022-08-01 15:04:08 -07:00
Michael Steenbeek
56f6828ba9 Fix #17571: Researched rides show up as new vehicles in .park scenarios 2022-08-01 23:46:33 +02:00
Michael Steenbeek
80f0d952ad Merge pull request #17638 from X123M3-256/new_track_pieces
Add new track pieces to the hybrid and single rail
2022-08-01 23:24:22 +02:00
Michał Janiszewski
bc51039e8f Don't take screenshot of crashed OpenGL application 2022-08-01 22:24:26 +02:00
Michał Janiszewski
f9e870a388 Provide more traces for breakpad 2022-08-01 22:24:26 +02:00
Michał Janiszewski
826918c0c6 Build OpenRCT2 with breakpad support in CI
Fixes #17632
2022-08-01 22:24:26 +02:00
Gymnasiast
0bf750cb12 Update to objects release v1.3.3 2022-08-01 22:19:11 +02:00
OpenRCT2 git bot
4ed12489be Merge Localisation/master into OpenRCT2/develop 2022-08-01 04:28:59 +00:00
Henry Cheng
281cf137f4 Fix #17639: Duplicate special elements when building upside down 2022-07-31 21:51:08 +00:00
Michael Steenbeek
a68f8e8467 Merge pull request #17656 from Gymnasiast/refactor/rct-string-id
Rename rct_string_id to StringId
2022-07-31 22:55:28 +02:00
Gymnasiast
9841b4e9e0 Fix naming conflicts 2022-07-31 22:30:18 +02:00
Gymnasiast
d3fd31c611 Rename rct_string_id to StringId 2022-07-31 22:30:13 +02:00
Hielke Morsink
6c5bdd5e08 Merge pull request #17660 2022-07-31 22:16:17 +02:00
Hielke Morsink
5c6db6126d Take const reference in some window functions 2022-07-31 20:34:33 +02:00
Hielke Morsink
7cb2113252 Apply clang-format rules 2022-07-31 20:34:32 +02:00
Hielke Morsink
274ab7190d Remove unused function definitions 2022-07-31 20:34:32 +02:00
Hielke Morsink
d6525e3cd0 Refactor window functions to take references 7 2022-07-31 17:23:18 +02:00
Hielke Morsink
d05d675ed9 Refactor window functions to take references 6 2022-07-31 17:23:17 +02:00
Hielke Morsink
755deeef8e Refactor window functions to take references 5 2022-07-31 17:23:17 +02:00
Hielke Morsink
a258008bef Refactor window functions to take references 4 2022-07-31 17:23:16 +02:00
Hielke Morsink
523bb8136e Refactor window functions to take references 3 2022-07-31 17:23:16 +02:00
Hielke Morsink
c8605a8763 Refactor window functions to take references 2 2022-07-31 17:23:15 +02:00
Hielke Morsink
76c1bc8980 Refactor window functions to take references 1 2022-07-31 17:23:15 +02:00
Rik Smeets
889293f2b7 Lower default price for the Crooked House (#17655)
Guests didn't want to pay the previous default price,
even if the ride was brand new.
2022-07-31 14:07:36 +02:00
frutiemax
e96f428c7b Add RIDE_TYPE_FLAG_HAS_SEAT_ROTATION for multi-dim rollercoaster 2022-07-31 12:01:22 +02:00
Hielke Morsink
099b3c939b Apply regular expressions to format tables 2022-07-31 10:22:46 +01:00
X123M3-256
da710557de Fix bug in ride construction window 2022-07-31 10:22:46 +01:00
X123M3-256
da472ff033 Remove unnecessary changes 2022-07-31 10:22:45 +01:00
X123M3-256
f77a2386ca Remove excess newlines from VehicleSubpositionData 2022-07-31 10:22:45 +01:00
X123M3-256
ffbf8f4706 Fix bit shifts in ride construction window 2022-07-31 10:22:45 +01:00
X123M3-256
0347ee62cb Remove apparently redundant cast 2022-07-31 10:22:45 +01:00
X123M3-256
d1adb28131 Add missing single rail sprites 2022-07-31 10:22:45 +01:00
X123M3-256
8090eab2a3 Fix comments in TrackData 2022-07-31 10:22:45 +01:00
X123M3-256
3b7cd1194c Fix formatting 2022-07-31 10:22:44 +01:00
X123M3-256
c6a5a6da5f Allow more than 32 special pieces in construction menu 2022-07-31 10:22:04 +01:00
X123M3-256
77c5bbcafe Finalize track data and G forces 2022-07-31 10:22:04 +01:00
X123M3-256
15d82db8fd Implement zero g rolls, large corkscrews and medium loops 2022-07-31 10:22:00 +01:00
frutiemax
aab94437dc Add RIDE_TYPE_FLAG_HAS_ONE_STATION for gokarts and minigolf 2022-07-31 02:16:48 +02:00
Michał Janiszewski
575bae7ac4 Rename global variable text_palette -> gTextPalette (#17647) 2022-07-30 23:21:34 +02:00
Michał Janiszewski
3c4a07859b Provide enough space in temp buffer
```
src/openrct2-ui/windows/Ride.cpp:3338:44: error: ‘__builtin___snprintf_chk’ output may be truncated before the last format character [-Werror=format-truncation=]
 3338 |     snprintf(buffer, std::size(buffer), "%u", currentValue);
      |

(...)

/usr/include/x86_64-linux-gnu/bits/stdio2.h:71:35: note: ‘__builtin___snprintf_chk’ output between 2 and 6 bytes into a destination of size 5
```
2022-07-30 23:19:52 +02:00
Michael Steenbeek
92d7c79ac8 Fix #17532: Object Selection allows unselecting all stations
While it shouldn’t be possible to unselect them under normal circumstances,
I added checks for terrain surfaces and edges as well for good measure.
2022-07-30 20:01:42 +02:00
Michael Steenbeek
0bfc151ab9 Remove remaining usages of gGameCommandErrorText 2022-07-30 18:04:59 +02:00
Ted John
142b9ff243 Optimise object selection search
* Do case insensitive string matching for object search.
* Return as soon as first field is a hit.
2022-07-30 16:50:54 +02:00
frutiemax
d556eafc73 Add LightFXAddLightsMagicVehicle to RTD (#17211) 2022-07-30 16:45:41 +02:00
Michael Steenbeek
5a5b107245 Refactor Twist rotations, fix truncating of operating value (#17636) 2022-07-30 16:32:22 +02:00
Hielke Morsink
e2da19f0f7 Add missing includes 2022-07-29 18:45:10 +02:00