1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-02-02 03:35:09 +01:00
Commit Graph

380 Commits

Author SHA1 Message Date
ζeh Matt
2597c04eb4 Refactor RideCreateAction result data passing 2021-10-02 00:50:03 +03:00
Hielke Morsink
94144bcd89 Remove some dead code
Reported by clang
clang-analyzer-deadcode.DeadStores
2021-09-30 10:40:32 +02:00
Hielke Morsink
4b4b3333d6 Remove unnecessary else blocks 2021-09-16 18:31:12 +02:00
Michael Steenbeek
5d039a5f55 Use std::string_view instead of C string
Co-authored-by: ζeh Matt <5415177+ZehMatt@users.noreply.github.com>
2021-09-12 18:45:53 +02:00
Gymnasiast
1426010652 Plugin: use ObjectEntryIndex for music and entrance style 2021-09-12 18:33:27 +02:00
Gymnasiast
3e1544aac8 Add missing object types to ObjectTypeToString() 2021-09-12 18:31:21 +02:00
ζeh Matt
516232e0a7 Change static casts to EnumValue 2021-09-10 19:10:15 +03:00
ζeh Matt
8a21bd01c6 Bump up scripting version 2021-09-10 19:10:14 +03:00
ζeh Matt
eda3188ecf Fix rebase 2021-09-10 19:10:13 +03:00
ZehMatt
3ad72baaae Cast fixes 2021-09-10 19:10:12 +03:00
Michael Steenbeek
624a32e93b Make Coords isNull/setNull functions TitleCase (#15382) 2021-09-08 20:48:53 -03:00
Gymnasiast
4cc717ccdb Rework path surface and railings descriptor handling 2021-09-05 19:09:09 +02:00
Hielke Morsink
e0751d707f Fix #15298: Crash on map.getAllEntities from in-game console (#15301) 2021-08-28 17:43:11 +02:00
ZehMatt
de364aa15a Rename type SpriteBase to EntityBase 2021-08-26 15:37:16 +03:00
Hielke Morsink
956e77f4c3 Use [[nodiscard]] for allocator and RAII functions (#15244) 2021-08-23 20:09:43 +02: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
ZehMatt
055ef31912 Fix compile error for missing return 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
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
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
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
5f853df1fd Remove gS6Info 2021-08-02 20:38:02 +02:00
Gymnasiast
277317b6f1 Bump network and plug-in API version 2021-08-01 15:15:33 +02:00