Ted John
314faa69ca
Save user shortcuts after removing a binding
2021-02-27 15:51:26 +00:00
Ted John
1ee72ffd21
Fix #14184 : Right and down arrow swapped
...
Incorrect order of legacy shortcut IDs.
2021-02-27 15:51:05 +00:00
Ted John
ce11d1eb2f
Add missing property trackLocation to openrct2.d.ts
2021-02-27 02:44:00 +00:00
Ted John
31a30c0307
Fix lint errors in openrct2.d.ts
2021-02-27 02:20:47 +00:00
Ted John
49b677780f
Merge pull request #14171 from IntelOrca/plugin/custom-widget
...
* Add API for getting network traffic statistics.
* Add API for creating custom widgets.
* Add API for drawing graphics for custom widgets.
* Add click event to spinners and allow them to be held down.
2021-02-27 01:31:00 +00:00
Michael Steenbeek
08f07e6135
Reduce usage of gCurrentFontSpriteBase ( #14178 )
2021-02-26 15:39:20 +01:00
Michael Steenbeek
9397feaa44
Merge pull request #14134 from duncanspumpkin/reorg_entityexport
...
Rework how entity export works to allow for easier changes in future
2021-02-26 13:08:56 +01:00
Michael Steenbeek
28c680f97f
Merge pull request #14163 from Gymnasiast/refactor/get-rtd
...
Use GetRideTypeDescriptor() in more places
2021-02-26 10:46:38 +01:00
Gymnasiast
48f513f73f
Apply review request; fix Testpaint
2021-02-26 10:19:03 +01:00
Gymnasiast
44d0e77afb
Make all access to RTD table use the bounds checking function
2021-02-26 10:01:00 +01:00
Gymnasiast
62f8796677
Replace more flag checking
2021-02-26 09:51:17 +01:00
Gymnasiast
f118b2ede4
Replace ride_type_has_flag() with retrieving RTD
2021-02-26 09:49:09 +01:00
OpenRCT2 git bot
03d6771cce
Merge Localisation/master into OpenRCT2/develop
2021-02-26 04:05:52 +00:00
Ted John
e000f06442
Remove holdable flag from spinner widget
2021-02-25 22:30:35 +00:00
Gymnasiast
b1ab20ec27
Replace loose flag checking with helper function
2021-02-25 23:04:40 +01:00
Ted John
f7650fdfbc
Fix CI failure
2021-02-25 18:47:54 +00:00
Michał Janiszewski
6340b1248c
Merge pull request #14146 from janisozaur/reduce-includes
...
Reduce inclusion of Vehicle.h
2021-02-25 16:51:43 +01:00
Michał Janiszewski
ac6e4fc0d6
Move SPRITE_INDEX_NULL, MAX_SPRITES to their new homes
2021-02-25 10:56:27 +01:00
Michał Janiszewski
67b61478cf
Reduce inclusion of EntityList.h
2021-02-25 10:56:27 +01:00
Michał Janiszewski
6baff43f52
Reduce inclusion of Sprite.h
2021-02-25 10:56:27 +01:00
Michał Janiszewski
24f0407740
Add missing include in Windows. cpp
2021-02-25 10:56:27 +01:00
Michał Janiszewski
003e5a0136
Change include guards
2021-02-25 10:56:27 +01:00
Michał Janiszewski
8ee49ab615
Reduce inclusion of world/Sprite.h
2021-02-25 10:56:27 +01:00
Michał Janiszewski
bfdf6874ac
Reduce inclusion of Vehicle.h
2021-02-25 10:56:27 +01:00
OpenRCT2 git bot
2733447387
Merge Localisation/master into OpenRCT2/develop
2021-02-25 04:05:56 +00:00
Ted John
c7d9eba9db
Increment plugin API version
2021-02-24 22:56:29 +00:00
Ted John
a98d9aaf41
Update changelog
2021-02-24 22:56:17 +00:00
Ted John
d64bd60278
Fix CI errors
2021-02-24 22:54:53 +00:00
Ted John
c2183989a5
Allow spinners to be clicked and held
2021-02-24 22:37:31 +00:00
Ted John
c1b0df5de6
Improve graphics plugin API
2021-02-24 22:37:31 +00:00
Ted John
081c1895ce
Add box and well APIs
2021-02-24 22:37:31 +00:00
Ted John
93f17f1175
Add custom widget logic and network stats API
2021-02-24 22:37:31 +00:00
Ted John
82b1a5eb6d
Convert CustomWindow into a class
2021-02-24 22:37:31 +00:00
Ted John
faf7f5706f
Merge pull request #14158 from IntelOrca/fix/14149-shortcuts-save
...
Fix #14149 : Numpad shortcut keys are not loaded correctly
Fix #14160 : Game crashs when registering shortcuts
Fix #14161 : ShortcutDesc.bindings does not work
2021-02-24 22:19:30 +00:00
Ted John
668ea01548
Update src/openrct2-ui/windows/ShortcutKeys.cpp
...
Co-authored-by: Aaron van Geffen <aaron@aaronweb.net>
2021-02-24 16:57:19 +00:00
Gymnasiast
d63e3b1d9f
Replace RideTypeDescriptors[ride->type] with GetRideTypeDescriptor()
2021-02-24 14:10:30 +01:00
Gymnasiast
56399e7188
Use the RTD instead of ride_type_has_flag()
2021-02-24 14:10:30 +01:00
Gymnasiast
429f6fb845
Always return an RTD
2021-02-24 14:10:22 +01:00
duncanspumpkin
d2fdf0917b
Remove static casts and use union
2021-02-24 08:08:59 +00:00
duncanspumpkin
11da10971f
Reorg again to reduce casts
2021-02-24 08:00:38 +00:00
TELK
99e72dde3f
Change StringIds to more generic
2021-02-24 16:50:40 +09:00
duncanspumpkin
9da6ba01bb
Rename variables
2021-02-24 07:50:37 +00:00
OpenRCT2 git bot
9e4553c5b6
Merge Localisation/master into OpenRCT2/develop
2021-02-24 04:04:59 +00:00
Ted John
5ba3fdf452
Fix #14161 : ShortcutDesc.bindings does not work
2021-02-23 22:19:46 +00:00
Ted John
52dffb83c2
Fix #14160 : Game crashs when registering shortcuts
2021-02-23 22:18:00 +00:00
Michael Steenbeek
f32fe2b7e4
Fix #14145 : Crash in RCT2TrackTypeToOpenRCT2()
2021-02-23 23:15:19 +01:00
Michael Steenbeek
aa11a1ee96
Fix RCT1 shop import ( #14157 )
...
Regression from https://github.com/OpenRCT2/OpenRCT2/pull/14021
2021-02-23 19:13:26 -03:00
Ted John
aedd93ef33
Add remove button to clear a shortcut
2021-02-23 21:34:32 +00:00
Ted John
817edff4bd
Fix #14149 : Numpad shortcut keys are not loaded correctly
2021-02-23 20:35:24 +00:00
TELK
ea5cf16924
Feature: Make ride construction shortcuts work for footpath too
2021-02-23 16:11:53 +09:00