Hielke Morsink
d05d675ed9
Refactor window functions to take references 6
2022-07-31 17:23:17 +02:00
Hielke Morsink
a258008bef
Refactor window functions to take references 4
2022-07-31 17:23:16 +02:00
Hielke Morsink
523bb8136e
Refactor window functions to take references 3
2022-07-31 17:23:16 +02:00
Hielke Morsink
c8605a8763
Refactor window functions to take references 2
2022-07-31 17:23:15 +02:00
Hielke Morsink
76c1bc8980
Refactor window functions to take references 1
2022-07-31 17:23:15 +02:00
Hielke Morsink
e2da19f0f7
Add missing includes
2022-07-29 18:45:10 +02:00
Michael Steenbeek
1a8660d59d
Pass window reference to tool_set ( #17625 )
2022-07-27 22:22:22 -03:00
Hielke Morsink
d06f564506
Clean up some title sequence code
2022-07-03 16:20:23 +02:00
Sadret
544770c0fb
Fix #16539 : CustomListView header unclickable when scrolled
2022-07-02 12:34:12 +02:00
Hielke Morsink
79ae03fc5e
Rename command to avoid ghosting
...
It's curious that gcc complains about ghosting here, since the lambda has its own stack pointer, and doesn't capture the outer `command`.
2022-06-28 21:57:29 +02:00
Hielke Morsink
6a017ac761
use std::decay helper type
2022-06-28 21:57:28 +02:00
Hielke Morsink
43f49f2483
Fix: commands used as tags don't save in scripting
2022-06-28 21:57:28 +02:00
Hielke Morsink
2b52df87ce
Move scripting command names to command classes
...
This way, new commands are required to have this field, or a compiler error will occur.
2022-06-28 21:57:27 +02:00
Hielke Morsink
239dcb1677
Update title sequence scripting part
2022-06-28 21:57:26 +02:00
jazzysoggy
f77611dcd2
Fix #17229 : Rename G1_FLAG_BMP to G1_FLAG_HAS_TRANSPARENCY ( #17441 )
...
* Renamed All Instance of G1_FLAG_BMP
Renamed all instances of G1_FLAG_BMP to GA_FLAG_HAS_TRANSPARENCY
* Fixed comments and labels
Fixed comments and labels to be more in line with new definitions
2022-06-25 07:04:40 +01:00
Ted John
e2170a995f
Fix setPixelData for RAW image format ( #16918 )
2022-04-02 20:24:01 +02:00
Ted John
273fe52e74
Fix formatting
2022-03-24 23:34:57 +00:00
Ted John
6863fb1ecb
Return undefined instead of null
2022-03-24 23:33:07 +00:00
Ted John
818dcacb31
Add draw to image API
2022-03-24 22:37:22 +00:00
Ted John
e3a1733cdd
Implement plugin ownership of images
2022-03-24 22:37:22 +00:00
Ted John
a977bbaebe
Implement loading .png and refactor
2022-03-24 22:37:22 +00:00
Ted John
e74396b464
Refactor and implement RLE custom images
2022-03-24 22:37:22 +00:00
Ted John
8f30ed910f
Start working on custom image APIs
2022-03-24 22:37:21 +00:00
Ted John
8f34029e89
Re-create windows if loading park on title screen
2022-03-21 21:42:30 +00:00
Ted John
af340cbf34
Add API for toolbox menu items
2022-03-21 21:42:30 +00:00
Ted John
91ceecc6fc
Change ternary to tertiary for plugins ( #16833 )
2022-03-21 21:42:10 +00:00
Michael Steenbeek
e78c29ea5c
Fix most occurrences of ‘ternary’ ( #16832 )
2022-03-20 19:22:05 +01:00
Hielke Morsink
ba85cf4873
Close #15896 : Refactor out the ZoomLevel operators
2022-02-26 23:14:59 +01:00
Ted John
501328bc9a
Fix #16712 : [Plugin] Crash when clicking on a list view item
2022-02-24 21:39:11 +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
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
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
52047805db
Use correct type for EntityId and fix issues
2022-02-16 18:56:43 +02:00
ζeh Matt
d7f5003943
Introduce EntityId and refactor everything
2022-02-16 18:56:39 +02: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
b775832d01
Refactor window flags to be read with the helper methods
2022-02-13 23:09:42 +00:00
Ted John
da89a4e413
Remove rct_window::enabled_widgets ( #16643 )
...
`enabled_widgets` was used to enable input for widgets. However I do not recall anywhere this being used to specifically disable a widget which doesn't use the dedicated `disabled_widgets` flag. I don't think there is any purpose in keeping this, so I have removed all uses of it.
2022-02-13 23:06:19 +00:00
Gymnasiast
723867e0a0
Create Dropdown::Item and use it for gDropdownItems
2022-02-12 23:57:22 +01:00
Ted John
992ece4a4c
Fix #16449 : Viewport doesn't close when switching tabs
2022-01-19 10:23:44 +01:00
frutiemax
adb692b74e
Forward declare Formatter
2021-12-30 12:17:51 -05:00
Ted John
a324bfab63
Add image manager plugin API ( #16144 )
2021-12-07 20:55:27 +00:00
Hielke Morsink
53d9bfa8b4
Update implicit zoom conversions
2021-12-01 00:08:35 +01:00
Duncan
90d2be3ddd
Clang tidy Part 3: Ui Project Enum Names ( #15986 )
...
* Enum constant case
* Apply enum names clang tidy
* Rename scoped enum missed by clang-tidy
2021-11-26 14:25:34 +00:00
ζeh Matt
56e78d5733
Merge pull request #15985 from ZehMatt/refactor/entities2
...
Refactor Sprite to Entity
2021-11-25 12:53:50 -08:00
ζeh Matt
03fb9b390f
Rename Sprite to EntityRegistry
2021-11-24 17:04:12 +02:00
ζeh Matt
7c726e2a0c
Fix includes
2021-11-24 16:48:33 +02:00
Duncan
bb2c7dbaca
Clang tidy Part 1: Ui Project Function Names ( #15956 )
...
* Add NOLINT around STL using classes and vendor functions
* Apply clang-tidy to ui project function names
* Undo scripting clang-format
* Upper case OpenRCT2 and RCT2
2021-11-23 13:18:07 +00:00
Michał Janiszewski
ce1d3e9c83
Minor fixes ( #15491 )
2021-09-29 21:06:46 +00:00
Hielke Morsink
9dd9b27db4
Make WIDGETS_END constexpr
2021-09-26 11:11:42 +02:00