1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-17 03:53:07 +01:00
Commit Graph

21572 Commits

Author SHA1 Message Date
frutiemax
780eb4f287 Part of #13874: Replace piece lengths 2021-08-22 17:53:38 -04:00
frutiemax
716dd3dcb6 Part of #13874: Replace mirror maps 2021-08-22 17:52:56 -04:00
frutiemax
72e6f9a694 Part of #13874: replace height markers positions tables 2021-08-22 17:52:19 -04:00
frutiemax
1bfa26e4c5 Part of #13874: replace flags table 2021-08-22 17:51:35 -04:00
frutiemax
675777efaf Part of #13874: replace curvechain 2021-08-22 17:50:18 -04:00
frutiemax
5a8cc7c610 Part of #13874: Replace alternativeTypes 2021-08-22 17:49:39 -04:00
frutiemax
80418efafb Part of #13874: Replace TrackCoordinates 2021-08-22 17:49:00 -04:00
frutiemax
5c261b6d2e Part of #13874: TrackElementDescriptor loader 2021-08-22 17:47:10 -04:00
Hielke Morsink
15ba3d3229 Fix compiler warning C4702 in ScMap.cpp
Co-authored-by: ZehMatt <m.moninger.h@gmail.com>
Co-authored-by: Ted John <ted@brambles.org>
2021-08-16 23:36:58 +02:00
ζeh Matt
a721ce30e8 Merge pull request #15189 from ZehMatt/scripting/refactor
Re-arrange structure of scripting
2021-08-16 13:01:54 -07:00
Duncan
940cab87d3 Map size refactors from NSF (#15112)
* Support large map sizes

* Fix top spin painting

* Fix crooked house

* Increase bb size

* Decrease limit back

* Clang format

* Remove asserts and apply review comments

* Fix rebase mistake

Co-authored-by: Ted John <ted@brambles.org>
2021-08-16 20:51:16 +01:00
Kane
bef853d0ab Fix #15225: Some scenarios show incorrect name in-game
The S6Importer/SawyerChunkReader correctly decodes the scenario name and description and stores it under the rct_s6_info struct (info.name and info.details)

The problem is that on lines 369-370 the name and description are replaced with the scenario internal name and description - which is sometimes incorrect - specifically a number of scenarios by Frontier in the exapansion packs.
2021-08-16 21:01:37 +02:00
ζeh Matt
758ad547ce Remove strdup in ObjectLoadError.cpp fixing a memory leak (#15218) 2021-08-16 14:18:22 +01:00
ζeh Matt
1553c904ea Fix #15221: Update tile inspector highlighted element when order changes (#15223) 2021-08-16 10:36:02 +01:00
Michael Steenbeek
0bb0800b6c Merge pull request #15144 from Gymnasiast/refactor/track-design-stuff
Refactor/track design stuff
2021-08-15 22:56:00 +02:00
Michael Steenbeek
8993e4d062 Use ObjectEntryIndex for entrance style 2021-08-15 22:54:43 +02:00
Kane
767dbfe41c Issue #13814: Refactor window to class: Viewport (#15217)
* Issue #13814: Refactor window to class: Viewport

* Code style

* Code improvements

* Code improvements

Removes unnecessary private var _viewportWindowNumber
GetFreeViewportNumber function updates window->number
2021-08-15 16:09:08 +01:00
ζeh Matt
175394f15b Fix #15193: Crash when rides/stalls are demolished 2021-08-15 14:28:08 +02:00
Gymnasiast
33b0963f53 Move scenery cost addition to the caller 2021-08-15 13:39:04 +02:00
Gymnasiast
c071b61d3e Use std::optional instead of std::pair 2021-08-15 13:12:05 +02:00
Gymnasiast
72404f1b85 Eliminate _trackDesignPlaceCost 2021-08-15 13:12:05 +02:00
Saad Rehman
d6ad9b67e7 Fix #15161 #15159 one-off error when getting stationIndex (#15163)
* Fix #14918 refactor stationIndex and loop to avoid in/decrement to null

Fix #15161 #15159 one-off error when getting stationIndex

* Add const and remove unused variable

Co-authored-by: duncanspumpkin <duncans_pumpkin@hotmail.co.uk>
2021-08-12 17:20:15 +01:00
Kane
cf9bb4cd2c Fix issue #15211: Rename RideConstructionState::Build to ...::MazeBuild (#15212)
Pull #15203 commited enum RideConstructionState missing the "Maze" part in "MazeBuild"
2021-08-12 16:43:34 +01:00
Michael Steenbeek
8f5ec43486 Pass derived tile element classes to functions (#15206) 2021-08-11 23:26:46 +02:00
ZehMatt
055ef31912 Fix compile error for missing return 2021-08-11 22:15:37 +03:00
ZehMatt
6d1f730359 Update xcode project 2021-08-11 22:15:37 +03:00
ZehMatt
5a69f22f2d Move ScTile code into cpp 2021-08-11 22:15:37 +03:00
ZehMatt
9f95b006d3 Move ScTileElement into its own files 2021-08-11 22:15:37 +03:00
ZehMatt
4684f39df9 Move ScPark code into cpp 2021-08-11 22:15:36 +03:00
ZehMatt
d558920606 Move ScParkMessage into its own files 2021-08-11 22:15:36 +03:00
ZehMatt
437321ac8f Move ScMap code into cpp 2021-08-11 22:15:36 +03:00
ZehMatt
53c5519cb3 Fix missing include and guard functions with network macro 2021-08-11 22:15:36 +03:00
ZehMatt
1848dd7839 Remove copy paste mistake #pragma once 2021-08-11 22:15:36 +03:00
ZehMatt
2bd348c39e Move ScRide into a cpp file 2021-08-11 22:15:36 +03:00
ZehMatt
fe57dece6b Move ScRideStation into its own files 2021-08-11 22:15:36 +03:00
ZehMatt
99eee53c60 Move ScNetwork and ScPlayer into their own files 2021-08-11 22:15:35 +03:00
ZehMatt
64b57734e1 Move ScPlayerGroup into its own files 2021-08-11 22:15:35 +03:00
ZehMatt
68a795d607 Fix include 2021-08-11 22:15:35 +03:00
ZehMatt
371bbc0675 Move ScLitter to its own files 2021-08-11 22:15:35 +03:00
ZehMatt
2e951877cb Move ScPeep ScGuest and ScStaff to their own files 2021-08-11 22:15:35 +03:00
ZehMatt
33e2878d2d Move ScVehicle into its own files 2021-08-11 22:15:35 +03:00
ZehMatt
82451b031a Fix declaration 2021-08-11 22:15:34 +03:00
ZehMatt
244025ec17 Fix includes 2021-08-11 22:15:34 +03:00
ZehMatt
adf5829cd6 Re-arrange structure of scripting 2021-08-11 22:15:34 +03:00
Michael Steenbeek
e547dd96db Make RideConstructionState a strong enum 2021-08-11 17:51:59 +02:00
Michael Steenbeek
385c9ee5ff Fix #15184: Crash when hovering over water types in Object Selection 2021-08-11 17:51:20 +02:00
Michael Steenbeek
1168425f14 Fix compilation on Ubuntu 20.04 / GCC 9 2021-08-11 16:37:42 +02:00
Basssiiie
23bae61b7a Add new plugin API properties to entity, ride and park 2021-08-11 13:54:00 +02:00
Michael Steenbeek
177f19f64e Remove unused track design symbols 2021-08-11 13:52:23 +02:00
ζeh Matt
41a6ad96a3 Merge pull request #15164 from ZehMatt/feature/tileinspector-highlight
Feature: Highlight selected Tile Inspector element
2021-08-10 10:54:48 -07:00