Ted John
0ca52e58fd
Implement tile selection API
2020-05-02 11:08:43 +01:00
Ted John
76e7e61f73
Correct openrct2.d.ts, tabs is optional ( #11582 )
2020-05-01 18:31:37 -03:00
Ted John
00f78cc8fa
Use ScreenCoordsXY for tab image offset
2020-05-01 13:53:28 +01:00
Ted John
98249c777d
Implement string tooltips for plugins
2020-05-01 00:06:58 +01:00
Ted John
4501173c0d
Implement custom window tabs
2020-04-30 23:42:28 +01:00
Ted John
8798811561
Fix #11526 : Plugin: Crash when using sprite type in park.postMessage ( #11533 )
2020-04-30 19:51:47 +02:00
Michael Steenbeek
76f41285b4
Merge pull request #11511 from IntelOrca/plugin/improve-network-apis
...
Improve network plugin APIs
2020-04-30 18:50:05 +02:00
Ted John
bbe7ff0d80
Refactor game action binding for plugins ( #11528 )
...
* Refactor game action binding for plugins
Adds parameter visiting for game actions to reduce code needed for binding game actions to JavaScript objects
* Apply suggestions from code review
Co-Authored-By: Tulio Leao <tupaschoal@gmail.com>
Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
2020-04-30 06:56:57 -03:00
Ted John
d0154d08e9
Implement network join / leave hooks
2020-04-28 19:33:30 +01:00
Ted John
2c731273c1
Fix #11494 : Old console commands don't work at headless console since plugin system ( #11508 )
2020-04-27 23:02:38 +02:00
Ted John
ecce4da6e8
Add ipAddress and publicHashKey properties to player API
2020-04-27 20:50:56 +01:00
Ted John
7b9fa972b6
Add addGroup, removeGroup, groups, players API
2020-04-27 18:39:42 +01:00
Ted John
06bbf5ddda
Implement SmallSceneryObject for getObject plugin API ( #11489 )
2020-04-27 18:41:49 +02:00
Ted John
af625f95c3
Fix two property names in peep plugin documentation ( #11487 )
2020-04-27 02:23:02 +02:00
Ted John
4162ad0eb6
Remove unused getWindow parameter
2020-04-26 14:35:08 +01:00
Ted John
6cbea2fd37
Change baseZ / clearanceZ to baseHeight / clearanceHeight
2020-04-26 14:35:07 +01:00
Ted John
efbb385bf7
Remove TabbedWindow API
...
This doesn't exist yet.
2020-04-26 14:35:07 +01:00
Ted John
ea632a8eed
Rename thing to entity
2020-04-26 14:35:07 +01:00
Ted John
940cd6db73
Fix type for isChecked in d.ts
2020-04-26 14:35:06 +01:00
Ted John
b9f3886ca8
Implement more footpath APIs
2020-04-26 14:35:06 +01:00
Ted John
76ebef10e3
Add APIs for getting info about loaded objects
2020-04-26 14:35:06 +01:00
Ted John
7a62d55c5f
Clean up and remove unused APIs
2020-04-26 14:35:06 +01:00
Ted John
ea8890aaaa
Improve shared storage read / write
2020-04-26 14:35:06 +01:00
Ted John
0c71886941
Implement shared storage
2020-04-26 14:35:06 +01:00
Ted John
61da82c711
Add random number generator
2020-04-26 14:35:05 +01:00
Ted John
efcf9fd22a
Implement hooking game actions
2020-04-26 14:35:05 +01:00
Ted John
2ad37db817
Implement registering game actions
2020-04-26 14:35:05 +01:00
Ted John
07ed0f5c0e
Implement query and execute of game actions
2020-04-26 14:35:05 +01:00
Ted John
971c6e201d
Improve some of the map APIs
2020-04-26 14:35:05 +01:00
Ted John
4e12c9541e
Implement more tile element APIs
2020-04-26 14:35:05 +01:00
Ted John
82639bae1b
Implement more tile element APIs
2020-04-26 14:35:04 +01:00
Ted John
4d5e7f19ca
Implement surface style API and improve plugin calling
2020-04-26 14:35:04 +01:00
Ted John
32d72471b8
Add more tile APIs
2020-04-26 14:35:04 +01:00
Ted John
09c8c6d508
Implement window colours API
2020-04-26 14:35:04 +01:00
Ted John
5c1fabec56
Implement API for spinners
2020-04-26 14:35:04 +01:00
Ted John
9dd9e600b5
Implement API for image buttons
2020-04-26 14:35:04 +01:00
Ted John
0cf0121f30
Fix API definitions
2020-04-26 14:35:04 +01:00
Ted John
c73bb63f0e
Implement window classification and number
2020-04-26 14:35:04 +01:00
Ted John
d670c656ae
Add more window APIs
2020-04-26 14:35:02 +01:00
Ted John
057155e5ab
Use a function to register plugin rather than return value
2020-04-26 14:35:02 +01:00
Ted John
b93e5b3456
Fix d.ts so it works correctly in TypeScript and GameDate
2020-04-26 14:35:02 +01:00
Ted John
e0f66fe3cd
Implement viewport widgets
2020-04-26 14:35:02 +01:00
Ted John
da98ef63d3
Implement checkboxes and disabling widgets
2020-04-26 14:35:02 +01:00
Ted John
a9a67a7a7e
Implement group boxes
2020-04-26 14:35:02 +01:00
Ted John
7274e45c93
Implement main viewport API
2020-04-26 14:35:02 +01:00
Ted John
3596480016
Add viewport APIs
2020-04-26 14:35:02 +01:00
Ted John
560be19cdf
Implement Ride and RideObject API
2020-04-26 14:35:02 +01:00
Ted John
91043cec51
Add RideObject API
2020-04-26 14:35:01 +01:00
Ted John
ab5bfffde0
Fix tile element scripting
2020-04-26 14:35:01 +01:00
Ted John
4b95a3a9d0
Implement custom menu items
2020-04-26 14:35:01 +01:00
Ted John
a915cb0998
Add more APIs relevant to game actions
2020-04-26 14:35:01 +01:00
Ted John
c8fbc2e529
Improve chat subscription
2020-04-26 14:35:01 +01:00
Ted John
3ac22476c6
Implement basic send message
2020-04-26 14:35:01 +01:00
Ted John
3f58a0d9f8
Implement network mode
2020-04-26 14:35:01 +01:00
Ted John
0a81cabd6d
Add more APIs to the plugin schema
2020-04-26 14:35:01 +01:00
Ted John
e6915e8799
Do not load plugins on title screen
2020-04-26 14:35:01 +01:00
Ted John
f9d7237e92
Split peep stuff out of Thing
2020-04-26 14:35:01 +01:00
Ted John
f29e4f3263
Add storage APIs
2020-04-26 14:35:01 +01:00
Ted John
098348d3c3
Add hooking for chat message
2020-04-26 14:35:01 +01:00
Ted John
082eaf7c9c
Add more network API
2020-04-26 14:35:00 +01:00
Ted John
5d78a1f2bf
Add initial network API
2020-04-26 14:35:00 +01:00
Hielke Morsink
e8468e71bb
Update typescript definition
2020-04-26 14:35:00 +01:00
Hielke Morsink
d7123834df
Expose more footpath and footpath-adition properties
2020-04-26 14:35:00 +01:00
Hielke Morsink
9b2ed0d641
Expose properties for path scenery
2020-04-26 14:35:00 +01:00
Hielke Morsink
6e45c23833
Update TrueScript definition file to match the properties
2020-04-26 14:35:00 +01:00
Ted John
918022da3e
Get custom buttons working
2020-04-26 14:34:59 +01:00
Ted John
291143c3cd
Add opening of a custom window
2020-04-26 14:34:59 +01:00
Ted John
237e0be7ef
Add basic window API
2020-04-26 14:34:59 +01:00
Ted John
5697bcf0bd
Add basic map and thing support
2020-04-26 14:34:59 +01:00
Ted John
4a575975f6
Add hook system
2020-04-26 14:34:59 +01:00
Ted John
1ae9e531ce
Update plugin definition file
2020-04-26 14:34:59 +01:00
Ted John
27a8597214
Add scripting API definition file
2020-04-26 14:34:58 +01:00