1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-23 06:44:38 +01:00
Commit Graph

8604 Commits

Author SHA1 Message Date
Duncan
cdd3c28b2e Use intents to control scenery window (#16562)
* Use intents to control scenery window
2022-02-03 21:10:21 +00:00
Johan Mattsson
c00cc90b1f Fix bounds checks and a nullptr check 2022-02-03 21:42:12 +01:00
ζeh Matt
aed98b5d82 Initialize track data table at compile time 2022-02-02 21:10:32 +02:00
Duncan
5157b57a15 OpenRCT2 Limits (#16088)
* Move over max rides to limits file

* Move max stations to limits file

* Move over max inversions, golf holes, helices, custhistsize

* Move over max trains per ride

* Bring over Max cars per train and max circuits per ride

* Port over NumColourSchemes and max vehicle colours

* Fix compilation

* Move over max awards

* Move over max peep spawns and park entrances

* Fix rebase issues

* Remove future work

* Switch style

* Update copyright
2022-02-01 20:59:48 +00:00
Silent
8064ef288b Fix money overflow in scenario_entrance_fee_too_high_check and more 2022-01-31 23:06:54 +01:00
ζeh Matt
19dca61ee8 Fix #16535: Entering construction mode unblocks all paths 2022-01-31 23:05:26 +01:00
ζeh Matt
284fff8961 Merge pull request #16544 from ZehMatt/desync/gLastStationStyle
Refactor usage of gLastEntranceStyle
2022-01-29 16:54:08 -08:00
ζeh Matt
41e8146465 Bump up network version 2022-01-29 17:09:05 +02:00
ζeh Matt
dea22ad951 Refactor RideCreateAction to pass entrance object explicitly 2022-01-29 17:07:31 +02:00
Michael Steenbeek
8b7f60d10d Fix: Incorrect “Same price throughout park” for RCT1 import 2022-01-29 15:46:24 +01:00
Michael Steenbeek
4c41d2269a Fix RCT2 Fruity Ices Stall colour
Error was introduced during the mass rename of objects in the late stages of the NSF.
2022-01-29 15:45:53 +01:00
ζeh Matt
383412252c Only modify gLastEntranceStyle for the callee of the game action 2022-01-29 16:42:27 +02:00
Michael Steenbeek
657f13fec0 Merge pull request #16531 from Gymnasiast/refactor/file_dialog_desc
Merge old and new FileDialogDesc
2022-01-29 14:32:19 +01:00
ζeh Matt
269673e3aa Profiler update (#16463)
* Add more functions to be profiled

* Add isEnabled method to Profiler scripting interface

* Bump up scripting version

* Apply review suggestions
2022-01-29 15:29:08 +02:00
Gymnasiast
2f0e6389da Use u8string in FileDialogDesc 2022-01-29 14:09:13 +01:00
Gymnasiast
fd6b327adb Use emplace_back() instead of push_back() 2022-01-29 14:07:21 +01:00
Gymnasiast
55591b1b2f Merge old and new FileDialogDesc 2022-01-29 13:55:10 +01:00
Michael Steenbeek
f43a4344ce Remove platform_get_user_directory() (#16530) 2022-01-29 09:01:05 -03:00
Michael Steenbeek
14374478a7 Use u8string_view in CSG functions (#16532) 2022-01-28 23:57:31 -03:00
Gymnasiast
3ea0e2fea2 Remove no-longer-needed ifdef 2022-01-28 22:14:53 +01:00
Gymnasiast
f8c74fe2f8 Use u8string in Path/File; replace Path::Append with Path::Combine 2022-01-28 21:52:44 +01:00
Michael Steenbeek
149b164ee8 Use u8string for custom paths 2022-01-27 14:21:46 +01:00
Michael Steenbeek
2c8c940caa Refactor get_file_extension_type() 2022-01-27 11:14:19 +00:00
Michael Steenbeek
3359dc4509 Merge pull request #16518 from Gymnasiast/refactor/absolute-path
Clean up Path::GetAbsolute and platform_get_absolute_path()
2022-01-27 11:38:55 +01:00
Michael Steenbeek
46abcda068 Make File/Path calls more robust 2022-01-27 00:33:17 +01:00
Michael Steenbeek
3752a5ab05 Merge pull request #16490 from Gymnasiast/fix/16363
Close #16363: Allow listing .DAT files in JSON scenery groups
2022-01-26 17:13:35 +01:00
Gymnasiast
f7adac3de2 Replace Platform::GetAbsolutePath() with fs:: equivalent 2022-01-26 15:19:15 +01:00
Gymnasiast
d7dcffbee8 Remove C string overload for Path::GetAbsolute() 2022-01-26 14:54:49 +01:00
Gymnasiast
0577497c32 Remove platform_get_absolute_path() 2022-01-26 14:47:45 +01:00
Hielke Morsink
5dd01f5511 Remove unused includes 2022-01-26 00:09:57 +01:00
Michael Steenbeek
9f74c7081b Create definitions for u8string and u8string_view 2022-01-25 16:41:45 +01:00
Michael Steenbeek
28b10f6787 Merge pull request #16498 from Gymnasiast/remove/scaling-dropdown
Always use SNN for non-integer scaling
2022-01-25 10:55:17 +01:00
Michael Steenbeek
c903d95512 Replace platform_open_directory_browser() with ShowDirectoryDialog() 2022-01-25 10:54:12 +01:00
Duncan
98fa424e7b Merge pull request #16503 from Gymnasiast/refactor/replace-path-get-extension
Replace path_get_extension() with Path::GetExtension()
2022-01-25 08:35:38 +00:00
Duncan
6eec7b8d48 Merge pull request #16472 from duncanspumpkin/editor
Refactor Editor Object Selection Flags
2022-01-25 07:43:39 +00:00
Gymnasiast
8ba0c7d1ee Replace path_get_extension() with Path::GetExtension() 2022-01-24 23:40:37 +01:00
Gymnasiast
fd0788fc7f Remove MAX_ZLIB_REALLOC 2022-01-24 23:12:29 +01:00
Gymnasiast
615c07977d Remove util_zlib_deflate() 2022-01-24 23:12:22 +01:00
Gymnasiast
93f3e94b3f Remove util_zlib_inflate() 2022-01-24 23:12:14 +01:00
Gymnasiast
0a46a960de Remove utf8_is_bom() 2022-01-24 23:12:08 +01:00
Michael Steenbeek
4192fc5cc8 Fix leftover references to SC6 2022-01-24 20:03:20 +01:00
Gymnasiast
98cd39a375 Always use SNN for non-integer scaling 2022-01-24 17:46:22 +01:00
Gymnasiast
a16d548b69 Clean up rct_object_entry creation code 2022-01-24 12:30:22 +01:00
Silent
4172f3eb4e Close #16493: Boat Hide and Submarine Ride have odd support costs 2022-01-24 11:40:29 +01:00
Gymnasiast
9228cde8cd Add comments to explain the numbers 2022-01-23 15:40:37 +01:00
Gymnasiast
b1637e1199 Use IReadObjectContext for error log 2022-01-23 15:40:08 +01:00
Gymnasiast
202999a8b4 Pass CoordsXY into PaintTileElementBase 2022-01-23 14:53:03 +01:00
Gymnasiast
573a28f835 Rename sub_68B3FB to PaintTileElementBase 2022-01-23 14:50:16 +01:00
Gymnasiast
7c68cf96e5 Close #16363: Allow listing .DAT files in JSON scenery groups 2022-01-23 14:37:13 +01:00
Michael Steenbeek
a6042b8903 Merge pull request #16153 from IntelOrca/embed-duktape
Resolve #14259: Embed our own duktape library
2022-01-23 13:45:42 +01:00