Commit Graph

22972 Commits

Author SHA1 Message Date
OpenRCT2 git bot 7ead70968b Merge Localisation/master into OpenRCT2/develop 2022-02-19 04:09:15 +00:00
Hielke Morsink 5c5f86ac42
Correct some mistakes 2022-02-18 23:28:21 +02:00
Hielke Morsink ad0a2a8f96
Remove entrance/exit location functions 2022-02-18 23:28:17 +02:00
Hielke Morsink 2137cea3bb
Reduce use of UnderlyingType 2022-02-18 23:21:38 +02:00
Hielke Morsink f06645d2f7
Make stations a private std::array and use getters for access 2022-02-18 23:21:35 +02:00
Hielke Morsink 4b73923425
Access properties with full name 2022-02-18 23:11:11 +02:00
Hielke Morsink 01a997cd11
Unname the structs themselves 2022-02-18 23:11:11 +02:00
Hielke Morsink 054f7392a1
Let index underflow for reverse loops 2022-02-18 23:11:11 +02:00
Hielke Morsink e756c46b44
Name structs in union to fix error
Nameless structs inside unions cannot have non-standard types, even if they are trivially constructable and standard aligned. In C++, structs need to be named.
2022-02-18 23:11:10 +02:00
Hielke Morsink f47c1b9f96
Close #16468: Use TIdentifier for StationIndex 2022-02-18 23:11:07 +02:00
Sadret 8898d0af56
Close #16251: Adjust openrct2.d.ts to actual API implementation 2022-02-18 21:59:44 +01:00
Michael Steenbeek 5edc561715
Close #11437: Migrate old platform methods 2022-02-18 21:57:00 +01:00
Gymnasiast b424682934
Refine STR_6371
[ci skip]
2022-02-18 21:56:00 +01:00
Michael Steenbeek 4c046024a3
Merge pull request #16640 from ZehMatt/refactor/entityid-16469
#16469: Introduce EntityId and refactor everything
2022-02-18 21:29:23 +01:00
Gymnasiast 8fa150a3d7
Fix error in STR_6371 2022-02-18 18:04:23 +01:00
Tulio Leao 1e58ab4c98
Merge pull request #16673 from IntelOrca/fix/16591-plugin-timeout 2022-02-18 09:38:19 -03:00
Silent 2ac24e7c3f
Win32: Fix a Y2038 bug in TimeToSystemTime (#16681) 2022-02-18 10:22:29 +00:00
Sam Atkins 2b4579bd93
Use labels for OptionsWindow text
This lets us show tooltips for them. Most of the FooDraw() methods are
now empty and have been deleted.
2022-02-17 23:09:39 +01:00
Gymnasiast 406817e674
Add #16264 to changelog
[ci skip]
2022-02-17 23:06:59 +01:00
Ted John 007a33404e Close plugin's windows gracefully when stopped
When a plugin is stopped, close all windows created by that plugin.
Ensure the close event on the window can not open a new window if the plugin is being stopped.
2022-02-17 20:18:30 +00:00
Ted John 105009f3f8 Fix #16591: Plugins: setInterval and setTimeout is not disposed... 2022-02-17 20:18:16 +00:00
Karst d0c019d222
Fix #16674: Double support on B&M left inline-twist (up to down) 2022-02-17 19:22:24 +01:00
ζeh Matt 6af14a1e69
Remove SPRITE_INDEX_NULL 2022-02-17 18:44:50 +02:00
ζeh Matt 0a67426799
Add MAX_ENTITIES check in PeepPickupAction 2022-02-17 18:40:18 +02:00
Duncan ad86544c83
Merge pull request #16668 from IntelOrca/fix/plugin-pressed-tab
Fix pressed tab for plugin windows
2022-02-17 16:13:41 +00:00
ζeh Matt fcea5bc483
Update openrct2.d.ts 2022-02-16 19:53:03 +02:00
ζeh Matt cd261fc7b2
Use DukValue for scripted entity id_get 2022-02-16 19:51:50 +02:00
ζeh Matt 512348a81d
Fix Clang format 2022-02-16 19:49:25 +02:00
ζeh Matt 02b816e38a
Bump up scripting API version 2022-02-16 19:42:09 +02:00
ζeh Matt e46338a2f1
Fix scripting API returning 0 instead of null. 2022-02-16 19:41:59 +02:00
ζeh Matt 61751d551b
Push right amount of vehicles for vehicles_get 2022-02-16 19:38:20 +02:00
ζeh Matt aa3ad0424d
Add <=, >= operators for TIdentifier 2022-02-16 18:56:43 +02:00
ζeh Matt 52047805db
Use correct type for EntityId and fix issues 2022-02-16 18:56:43 +02:00
ζeh Matt c1bd0ff047
Fix serializer traits 2022-02-16 18:56:43 +02:00
ζeh Matt ff1eb583fc
Make clang-format happy 2022-02-16 18:56:43 +02:00
ζeh Matt d7f5003943
Introduce EntityId and refactor everything 2022-02-16 18:56:39 +02:00
OpenRCT2 git bot 9322f415a9 Merge Localisation/master into OpenRCT2/develop 2022-02-16 04:09:00 +00:00
Ted John 6c3a417af3
Merge pull request #16259 from IntelOrca/refactor/rectangle-maps
Refactor map size to allow for rectangle maps.
2022-02-15 19:08:37 +00:00
Michael Steenbeek ffe67ff33e
Merge pull request #16642 from Gymnasiast/refactor/dropdown
Create Dropdown::Item and use it for gDropdownItems
2022-02-15 18:50:26 +01:00
Ted John b5127089e2 Fix pressed tab for plugin windows 2022-02-15 10:37:18 +00:00
Ted John 44294119c9 More code review changes 2022-02-14 23:20:19 +00:00
Ted John 6d337a15c4 Increment network version 2022-02-14 23:16:47 +00:00
Ted John 45040cd34a More code review changes 2022-02-14 23:15:59 +00:00
Ted John 83c347218b Allow plugins to call change map size game action 2022-02-14 23:15:59 +00:00
Ted John 3d2420c86c More code review changes 2022-02-14 23:15:59 +00:00
Ted John 454bfb0a8f Refactor map size to allow for rectangle maps 2022-02-14 23:15:59 +00:00
Duncan b22ac0551c
Merge pull request #16592 from skdltmxn/fix-integer-overflow
Fix staff statistics overflow
2022-02-14 21:41:52 +00:00
Michael Steenbeek ed657f07f0
Add #16572 to changelog [ci skip] 2022-02-14 21:11:18 +01:00
Ted John efc490d785
Merge pull request #16641 from IntelOrca/plugin/remove-widget-limit
Remove custom window widget limit for plugins, and refactor code that reads the widget flags.
2022-02-14 18:24:13 +00:00
duncanspumpkin 4d341c8518 Update network version 2022-02-14 12:32:14 +00:00