1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-18 12:33:17 +01:00
Commit Graph

18216 Commits

Author SHA1 Message Date
Michael Steenbeek
339edcd0f3 Fix #17310: Reversed reversible vehicles not imported properly from S4 2022-06-05 09:40:53 +02:00
spacek531
673ec0fa10 Frames rotation count part 1 (#17106)
Refactor vehicle sprite groups

rename rotationType to spriteGroup

remove numframes getters from scobject

add sprite groups getters

add documentation to plugin

Co-authored-by: duncanspumpkin <duncans_pumpkin@hotmail.co.uk>
2022-06-03 23:03:02 +01:00
Ted John
9a4492c704 Fix unable to save landscape in editor
Audio objects were being unloaded, while they were still in the loaded object list.
2022-05-30 23:34:29 +02:00
Hielke Morsink
529c1bcd07 Merge pull request #17294 2022-05-30 19:37:57 +02:00
Hielke Morsink
c8df66fab9 Log exception when an error occurs 2022-05-29 08:30:42 +02:00
Duncan
1cc2901680 Dropdown Window Class Refactor (#17278)
* Move dropdown window to class

* Refactor and move locals into member vars

* Deduplicate slightly

* Apply review comments
2022-05-29 01:06:23 +01:00
Hielke Morsink
3ea70cdeaf Fix: shortcut key highlight remains when cursor leaves list 2022-05-28 20:55:42 +00:00
MaxMallon
a45a788da9 Fix scenarios made from paused saves starting paused 2022-05-28 21:55:34 +02:00
Ted John
d56a6a927c Fix #17276: RollerCoaster Tycoon 1 Title screen music not playing 2022-05-28 13:57:42 +02:00
Hielke Morsink
15581b509d Fix cursor pivot for land up/down cursor (#17255)
Co-authored-by: guljam <cube4none@gmail.com>
2022-05-28 11:53:45 +00:00
Hielke Morsink
205f98560b Remove highlight when cursor leaves new rides list 2022-05-28 13:09:26 +02:00
Hielke Morsink
d709668eab Remember scroll position instead of ride selection 2022-05-28 13:09:26 +02:00
Hielke Morsink
64eff42c60 Introduce constant for ride tab count 2022-05-28 10:16:41 +02:00
Rik Smeets
275adc9e68 Fix #7983: Change when certain G-forces show up in red
Co-authored-by: Hielke Morsink <hielke.morsink@gmail.com>
2022-05-27 22:09:18 +00:00
X123M3-256
502f06af91 Add "Alpine Coaster" ride type (#16825)
* Implement "Alpine Coaster" ride type


Co-authored-by: duncanspumpkin <duncans_pumpkin@hotmail.co.uk>
2022-05-26 21:28:17 +00:00
Ted John
97c0c4e052 Merge pull request #16975 from IntelOrca/plugin/track-segments
[Plugin] Add APIs for track segments and track iteration
2022-05-26 20:33:53 +01:00
Ted John
2db373bb62 Increment plugin API version 2022-05-26 18:37:14 +01:00
Ken Reese
5d52f4fd31 Fixed > 4 to >= 4 in min height check for shore generation (#17280) 2022-05-25 06:48:10 +01:00
Ted John
bb102cc1ec Remove null audio source and fix crash on exit 2022-05-23 23:06:41 +01:00
Ted John
6465d42b57 Apply code review changes, auto* 2022-05-23 22:24:56 +01:00
Ted John
2effca59d1 Fix audio source leak 2022-05-23 22:24:56 +01:00
Ted John
2012488956 Fix issues with file finding on Linux 2022-05-23 22:24:56 +01:00
Ted John
a2e6691ac2 Add new audio objects for loading sounds 2022-05-23 22:24:56 +01:00
Duncan
5349e6fe88 Window Class Refactor: DebugPaint (#17269)
* Move debug paint window to class

* Refactor global

* Use ref where possible
2022-05-22 23:15:39 +01:00
guljam
03882905c8 fix #17247 Closing scenery window resets transparency settings 2022-05-22 22:58:51 +02:00
Hielke Morsink
6b94d8c0bc Fix overwriting buffer for parent directory when browsing "Up" 2022-05-22 14:32:06 +00:00
guljam
530c62c27b Fix hand cursor position on Inventions List 2022-05-22 14:02:26 +02:00
Ken Reese
eab90843a2 Improve shorelines in map generation (#17242) 2022-05-22 08:05:20 +02:00
Hielke Morsink
95df149804 Fix: Ghosts and tooltips move when panning the viewport by right-click dragging
Co-authored-by: Hielke Morsink <hielke.morsink@gmail.com>
2022-05-21 09:40:43 +02:00
Michał Janiszewski
7832288ff9 Plug memory leak in OpenGL engine (#17250) 2022-05-20 21:43:16 +00:00
Michał Janiszewski
5f7a852e57 Fix possible crash when reporting scenery name in S4 import
Similar to https://github.com/OpenRCT2/OpenRCT2/pull/17197
2022-05-20 22:41:14 +02:00
Hielke Morsink
b21aaa5229 Increment plug-in API version for #17231 2022-05-18 18:41:42 +02:00
Ted John
31764f62c6 Change track segment API to use null 2022-05-17 19:33:04 +01:00
Ted John
7af322f8eb Fix build due to unused field 2022-05-17 19:27:39 +01:00
Ted John
71a6e2bf74 Add angle and banking to track segment 2022-05-17 19:27:39 +01:00
Ted John
bf1e3412a5 Add extra fields to TrackSegment 2022-05-17 19:27:39 +01:00
Ted John
8c593709fa Add more properties to track segment 2022-05-17 19:27:39 +01:00
Ted John
b39f7643f0 Fix iterator issues 2022-05-17 19:27:39 +01:00
Ted John
4eef86dc50 Implement track iterator 2022-05-17 19:27:39 +01:00
Ted John
76601ef6fc Add API for getting track segments 2022-05-17 19:27:39 +01:00
Sadret
4cc2f31181 Fix inverted condition in ScTileElement.hpp 2022-05-17 19:25:28 +02:00
Michał Janiszewski
44843d8512 Mark OriginalPathfinding as final (#17228) 2022-05-17 15:07:20 +00:00
jensj12
d071693808 Remove double check in LandSetHeightAction (#17027) 2022-05-16 22:12:19 -03:00
Ted John
4adca3ba15 Merge pull request #17204 from LordOfLunacy/develop
I have picked up the task of preparing a rework of the pathfinding to allow for the addition of a new pathfinding implementation to the game. This initial pull request makes GuestPathfinding more modular by creating a GuestPathfinding base class and implementing the current pathfinding system into an OriginalPathfinding subclass.
2022-05-16 09:32:52 +01:00
Ted John
ed00228e58 Log errors to stderr if park load fails 2022-05-15 20:58:30 +02:00
Michael Steenbeek
77d7a3a52f Merge pull request #17199 from Gymnasiast/refactor/spiral-=slide
Load Spiral Slide images from the object
2022-05-15 17:33:07 +02:00
Hielke Morsink
1a3dae6f56 Remove unnecessary null checks
static_cast on a nullptr is defined behaviour.
2022-05-15 11:18:15 +02:00
Hielke Morsink
f9676d1863 Use object manager interface 2022-05-15 10:34:32 +02:00
Hielke Morsink
52eeb702e0 Fix TerrainEdgeObject::GetById returning surface instead 2022-05-15 00:01:55 +02:00
Hielke Morsink
71318dbcb3 Fix #17205: Crash in mapgen when base terrain is not selected 2022-05-15 00:01:00 +02:00