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

18814 Commits

Author SHA1 Message Date
Michael Steenbeek
643e33efcd Fix #1491: Clearance of the Cash Machine is too low 2022-12-13 18:27:12 +01:00
spacek531
44100234c3 Fix #18665, #18559: Add API for getting g2 icons by name
Co-authored-by: Michael Steenbeek <m.o.steenbeek@gmail.com>
2022-12-12 23:03:16 +00:00
Michael Steenbeek
6b8f7afe29 Merge pull request #18815 from Gymnasiast/fix/6341
Fix #6341: “Unlock vehicle limits” does not allow setting fewer vehicles than the vehicle type requires
2022-12-12 22:51:09 +01:00
Gymnasiast
ca3dc801ce Properly display "0 cars per train" 2022-12-11 23:03:47 +01:00
Gymnasiast
174d638d1d Fix #6341: “Unlock vehicle limits” doesn’t work for setting fewer cpt 2022-12-11 23:00:51 +01:00
zzril
4583d0ae59 Fix #18805: Crash in WallCheckObstructionWithTrack
Revert refactored line for now to avoid crashes, will be solved properly in a later PR.

Co-authored-by: Michael Steenbeek <m.o.steenbeek@gmail.com>
2022-12-11 21:44:46 +00:00
Michael Steenbeek
5de62b774a Merge pull request #17997 from karst/steep-flume
Steep track pieces for log flumes
2022-12-11 15:20:20 +01:00
Michael Steenbeek
57a1bc4126 Merge pull request #18795 from Gymnasiast/refactor/track-block
Create method to safely retrieve track sequence block
2022-12-11 10:55:42 +01:00
Rik Smeets
055f16f0e5 Fix #18696: Construction rights cannot be viewed after all are purchased 2022-12-10 22:35:59 +01:00
Gymnasiast
38b34e841a Use safe method to access ted block 2022-12-10 22:31:23 +01:00
Gymnasiast
d90d81c7b3 Create method to safely retrieve track sequence block 2022-12-10 22:08:42 +01:00
Michael Steenbeek
c01fe36d80 Fix #18787: Back of stall shown through vertical terrain (#18789) 2022-12-09 19:59:47 +01:00
Michał Janiszewski
ca91c67eeb Fix #18576: Cannot open parks with certain types of corrupt tile elements 2022-12-09 06:57:40 +00:00
Michał Janiszewski
2d101a5212 Provide additional information when rejecting unknown tile element 2022-12-08 22:38:17 +01:00
ccahiggins
76d491b9a2 Improve OpenGL Rectangle SetInstances Performance
Change to use glBufferSubData instead of glBufferData

An initial buffer size is set with glBufferData.
glBufferSubData is then used to copy to the existing buffer,
rather than creating a new one for each frame.

We keep track of the buffer size, and if instances size increases
above the buffer size, a new buffer is created with glBufferData
2022-12-08 21:14:31 +01:00
Gymnasiast
59f6856cd3 Make steep Log Flume pieces in older parks invisible 2022-12-08 20:03:08 +01:00
Rik Smeets
9226448eb1 Fix #18552: Trains clipping through helixes 2022-12-08 19:49:54 +01:00
Karst
2c68c73a24 Add steep drops to the Log Flume 2022-12-07 22:52:22 +01:00
HouseholdVTuber
228a8573e2 Fix #18364: No Too High! or Too Low! error messages when attempting to raise/lower land beyond the limits 2022-12-06 23:06:06 -03:00
Michael Steenbeek
b3af9b6eb3 Set a default scenery group priority value
All custom groups I checked seem to use ‘40’ as the priority, so I went with that.
2022-12-05 07:36:10 +01:00
Michael Steenbeek
6be16ed64f Fix spelling of ‘scenery’ 2022-12-04 23:06:49 +01:00
frutiemax
b7a1db6e69 Use BoundBoxXYZ for PaintAddImageAsParent (part 1) 2022-12-04 20:43:19 +01:00
GalBr
8d4979588e Fix #18755: Ferris Wheel and Circus ghosts not coloured correctly 2022-12-04 20:11:11 +01:00
X123M3-256
3dfe1eedb6 Fix #18720: Can build upward helix on Alpine Coaster 2022-12-04 20:10:30 +01:00
frutiemax
76faa77f6b Part of #16152: Use BoundBoxXYZ for PaintAddImageAsChild 2022-11-27 18:33:11 +00:00
Michael Steenbeek
4281914c73 Fix #18653: Negative ratings multipliers do not appear in Vehicle tab 2022-11-24 20:42:25 +00:00
Michael Steenbeek
eeb28e5db8 Close #18591: Order RollerCoaster Tycoon 2 scenarios by difficulty 2022-11-24 13:12:27 +01:00
Michael Steenbeek
c338e2c292 Merge pull request #18657 from Gymnasiast/objects-release
Update objects to v1.3.7
2022-11-24 12:56:52 +01:00
spacek531
a617d393ed Read and write version field of .park 2022-11-23 23:20:44 +01:00
Rik Smeets
0ea5f343af Fix #18469: Land rights window issues (#18662)
Global variables regarding land ownership weren't initialized upon loading a .park file. This would lead to different bugs when using the 'Land rights' window, like markers remaining visible indefinitely and not being able to select the type of land rights to buy.
2022-11-23 20:02:34 +01:00
Michael Steenbeek
9855ff5cac Fix spelling of *_COLOR_* constants 2022-11-23 18:42:14 +00:00
Michael Steenbeek
06b9dacfaf Revert "Fix #11679: Facilities clipping issues" (#18660)
This reverts commit c9b6292b88.

Unfortunately #11679 had side effects more serious than the problem it set out to solve. So unfortunately we’ll have to revert it, unless @rik-smeets has another solution.

See here: https://github.com/OpenRCT2/OpenRCT2/pull/18358#issuecomment-1304615840
2022-11-23 18:31:37 +00:00
Ryan
f1c3ee33ff Fix Dragon Islands not appearing in UCES tab 2022-11-23 18:26:59 +01:00
Gymnasiast
bd11230d46 Update object ID for people who used the development version 2022-11-23 18:22:22 +01:00
Gymnasiast
713a05f203 Remove obsolete object hacks 2022-11-23 18:18:20 +01:00
AuraSpecs
0a7a50e2c5 Add tab for UCES scenarios
The order of the scenarios is listed in the same order listed on the UCES website. This also allows for translating the scenarios to other languages!

Co-authored-by: Gymnasiast <m.o.steenbeek@gmail.com>
2022-11-22 15:18:55 +01:00
Simon J
f4e0480cba Fix #10932: Extensive warnings in console when placing an entrance or exit (#13114)
Co-authored-by: Simon Jarrett <mwnciau@users.noreply.github.com>
2022-11-20 09:03:08 -03:00
Basssiiie
5396368274 [Plugin] Fix crash when reading widget property on window that has both static and tab content (#18620) 2022-11-19 08:29:01 -03:00
Rik Smeets
9688d93e46 Open campaign tab from finished campaign news
When a marketing campaign is finished, it is likely the player wants to renew it.
This change allows the ‘Campaigns’ tab in the 'Finances' window to be opened from the news item of the finished campaign.
2022-11-18 13:26:52 +01:00
Michael Steenbeek
e13a2d70b3 Fix #18606: JSON objects do not take priority over DATs they supersede 2022-11-17 18:50:20 +01:00
Haven Kim
7df08a304d Fix #18244: Invention DragWindow's starting position is inconsistent (#18303) 2022-11-17 07:44:43 -03:00
Duncan
75f3e82661 Provide more warnings for RideSetColourSchemeAction (#18590)
Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
2022-11-16 23:45:53 -03:00
73
48ba81371f Fix #18600: Some copyright years are not updated
this will address issue report #18600
2022-11-16 11:13:32 +01:00
Haven Kim
69e5439484 Fix #17067: Random Staff Patrol Area clicks (#18329)
Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
2022-11-16 00:13:24 +00:00
Michael Steenbeek
bde4e2400f Fix asset pack priority tooltips 2022-11-15 12:13:31 +01:00
Michael Steenbeek
96284123e7 Reduce usage of gCommonStringFormatBuffer 2022-11-14 23:48:34 +00:00
Michał Janiszewski
8439499004 Merge pull request #18555 from janisozaur/imageid-byval
Pass ImageId by value instead by const-ref
2022-11-13 22:15:40 +01:00
Michael Steenbeek
21e88a8a33 Remove code duplication in character bitmap init 2022-11-13 15:04:49 +01:00
Michał Janiszewski
237bba9e6f Provide additional info for ImageId struct size requirements 2022-11-12 23:36:47 +01:00
Ted John
a136cf79ca Add RMC friction as special friction sound 2022-11-12 12:04:11 +01:00