Commit Graph

21753 Commits

Author SHA1 Message Date
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
ZehMatt ede11be41c
Update changelog.txt 2021-08-10 16:50:26 +03:00
ZehMatt 575a24956d
Feature #15164: Highlight selected Tile Inspector element 2021-08-10 16:49:41 +03:00
Hielke Morsink 22a2a1a71f
Enable blank issue template (#15192) 2021-08-10 08:09:55 +02:00
Michał Janiszewski bc550bfe7a
Update bug_report.yaml 2021-08-09 20:56:48 +02:00
ζeh Matt 3ed2f8e98e
Merge pull request #15165 from ZehMatt/scripting/createEntity
Add createEntity API to scripting
2021-08-09 07:46:31 -07:00
Michael Steenbeek a529fe35db
Merge pull request #15077 from Broxzier/develop
Use GitHub issue forms
2021-08-09 08:59:50 +02:00
Hielke Morsink 14785155dd Apply feedback 2021-08-08 22:15:06 +02:00
Michael Steenbeek b4f3923162
Name byte_9D8150 2021-08-08 18:10:52 +02:00
Michael Steenbeek 37910414bc
Merge pull request #15183 from Gymnasiast/backport/small-track-stuff
Small track design changes
2021-08-08 11:39:41 +02:00
OpenRCT2 git bot 31ccac8354 Merge Localisation/master into OpenRCT2/develop 2021-08-08 04:07:52 +00:00
Gymnasiast 5a721cc5e2
Make track_design_place_all_scenery() take a CoordsXYZ 2021-08-07 23:12:34 +02:00
Gymnasiast ada164ac92
Remove one write to gGameCommandErrorText
All callers assume the landscape data area is full if the function returns false and set that error themselves.
2021-08-07 23:10:28 +02:00
ZehMatt 30739de7cc
Update changelog.txt 2021-08-07 22:31:37 +03:00
ZehMatt 29e5ec634c
Add litter entity to scripting 2021-08-07 22:28:48 +03:00
ZehMatt 94daa1e42c
Bump up scripting version 2021-08-07 22:05:15 +03:00
ZehMatt 5e3913965d
Add scripting API to create entities 2021-08-07 22:05:14 +03:00
ZehMatt c1d97b845e
Small cleanup in ScMap.hpp 2021-08-07 22:05:14 +03:00
Michael Steenbeek e3c918ba5b
Merge pull request #15174 from ZehMatt/scripting/deperecate-peep
Deprecate peep in scripting
2021-08-07 20:45:48 +02:00
ZehMatt 900f9c9190
Apply code review 2021-08-07 20:33:43 +03:00