1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-23 14:54:30 +01:00
Commit Graph

18244 Commits

Author SHA1 Message Date
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
ZehMatt
575a24956d Feature #15164: Highlight selected Tile Inspector element 2021-08-10 16:49:41 +03: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
b4f3923162 Name byte_9D8150 2021-08-08 18:10:52 +02: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
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
ZehMatt
87fbb9faf5 Fix potential crash on corrupted network data 2021-08-06 20:30:03 +03:00
ZehMatt
aa2b7d9972 Deprecate peeps property in scripting for Car entity 2021-08-05 17:16:42 +03:00
ZehMatt
a7bef5442b Allow plugins to target a specific API version 2021-08-05 17:16:42 +03:00
ZehMatt
af102e391e Return correct entity type, API breaking change 2021-08-05 17:16:42 +03:00
ZehMatt
8f23670df8 Bump up scripting version 2021-08-05 17:16:42 +03:00
ZehMatt
78cff6e293 Implement getter for "guest" and "staff" types in getAllEntities 2021-08-05 17:16:42 +03:00
Ted John
40a4a993de Fix #15170: Plugin: incorrect label text alignment (#15175)
Initialise CustomWidgetDesc::TextAlign.
2021-08-04 21:47:13 +02:00
ocalhoun6
8a09406b64 Fix #13465: Creating a scenario based on a won save game results in a scenario that’s instantly won 2021-08-04 13:31:53 +02:00
Michael Steenbeek
2beed229a9 Fix negative Gs display (#15171) 2021-08-03 05:25:06 +01:00
Michael Steenbeek
3c86d56933 Merge pull request #15129 from ZehMatt/refactor/clang-tidy-01
Minor cleanup
2021-08-02 22:04:08 +02:00
Michael Steenbeek
8ecbabf8bf Fix #14974: too many dodgems not handled correctly
Properly check if all vehicles have been created, and clean them up properly if not.
2021-08-02 22:02:06 +02:00
Gymnasiast
5ec2a2e471 Export gS6Info in S6Exporter 2021-08-02 20:38:02 +02:00
Ted John
5f853df1fd Remove gS6Info 2021-08-02 20:38:02 +02:00
Michael Steenbeek
864de57877 Fix #14667: Unpurchaseable land tiles in Extreme Hawaiian Island 2021-08-01 17:26:43 +02:00
Ted John
417c0f584f Handle > 255 rides in ride list window 2021-08-01 15:18:15 +02:00
Gymnasiast
277317b6f1 Bump network and plug-in API version 2021-08-01 15:15:33 +02:00
Michael Steenbeek
abc4a02ff5 Fix missed ToMoney64() occurrence 2021-08-01 15:14:43 +02:00
Gymnasiast
114eff46f0 Remove static attribute from ToMoney64/32/16 2021-08-01 15:14:43 +02:00
Gymnasiast
efb3f8394b Convert to/from money64 during export; convert completed company value 2021-08-01 15:14:43 +02:00
Gymnasiast
584645a2d2 Fix 'Type too large' error 2021-08-01 15:14:43 +02:00
Gymnasiast
85043cb367 Fix abs error 2021-08-01 15:14:43 +02:00
Gymnasiast
2b78ee7b26 Create other variants of ToMoney# 2021-08-01 15:14:43 +02:00
Gymnasiast
93515f4414 Use money64 for land and water tools
Should hopefully also fix CI.
2021-08-01 15:14:43 +02:00
Gymnasiast
676ef7205e Change all calls to DrawTextBasic to use Formatter 2021-08-01 15:14:43 +02:00
Gymnasiast
c97e8d36f1 Fix money effect 2021-08-01 15:14:43 +02:00
Gymnasiast
c06d37021b Change gClearSceneryCost to money64 2021-08-01 15:14:43 +02:00
Matt
d9003b05ef Use money64 for track design costs 2021-08-01 15:14:43 +02:00
Gymnasiast
f1a67dda61 Fix water window cost display 2021-08-01 15:14:42 +02:00
Ted John
58ae6bbd8a Fix money64 issue in scenario options 2021-08-01 15:14:42 +02:00
Ted John
e56b7ae4a4 Fix more money64 issues 2021-08-01 15:14:42 +02:00
Gymnasiast
7f4927ced6 More money64 fixes 2021-08-01 15:14:42 +02:00
Gymnasiast
f3337de260 Fix weekly profit import 2021-08-01 15:14:42 +02:00
Gymnasiast
8af70cf402 Correctly import ride profits 2021-08-01 15:14:42 +02:00
Ted John
74de598cc0 Fix money formatting on cheat window 2021-08-01 15:14:42 +02:00
Ted John
77a46a3d34 Another money64 fix 2021-08-01 15:14:42 +02:00
Ted John
407fafbced Fix more money64 issues 2021-08-01 15:14:42 +02:00