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
2e62078c30
Exclude node_modules directory
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
4109b2c55a
Fix build errors
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
Ted John
5bd58118b5
Get the plugin branch building again
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
Hielke Morsink
bec9c4da65
Expose surface element properties
2020-04-26 14:35:00 +01:00
Hielke Morsink
e8bdb95f13
format new files
...
Since many of the changes were made before the clang-format changes went live, the new source files used a different format still. This PR applies the new style to all the new source files.
2020-04-26 14:35:00 +01:00
Hielke Morsink
c37d7d859e
Use C++ types
2020-04-26 14:35:00 +01:00
Hielke Morsink
c064614280
Use new copyright/license notice
2020-04-26 14:35:00 +01:00
Hielke Morsink
d6b4064794
Use variant argument type for console.log
2020-04-26 14:35:00 +01:00
Hielke Morsink
34b5aab6c0
Add new tile element classes for each type
...
This introduces some template code to get around the problem of properties not being available for child-elements. I've tried to make clear what it's for by adding a comment.
So far only the Track element has an extra property (rideIndex), but it's fairly easy to add new ones.
2020-04-26 14:35:00 +01:00
Hielke Morsink
5befd39063
Construct ScWindow properly
2020-04-26 14:35:00 +01:00
Ted John
24eafb0a86
Do not crash if plugins directory is missing
2020-04-26 14:35:00 +01:00
Ted John
5ba96a34ac
Fix FileWatcher for Windows
2020-04-26 14:35:00 +01:00
Ted John
26eb91016e
Remove old hot reload code
2020-04-26 14:35:00 +01:00
Ted John
1fd33dd86a
Use new FileWatcher class
2020-04-26 14:35:00 +01:00
Ted John
834cfad502
Create new FileWatcher class
2020-04-26 14:34:59 +01:00
Ted John
7047dec1d9
Get custom drop downs working
...
Co-authored-by: Hielke Morsink <hielke.morsink@gmail.com>
2020-04-26 14:34:59 +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
b47bcabaf1
Move ui scripting API to libopenrct2ui
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
c340c2abec
Fix segfault on exit
...
By ensuring duk_context is disposed last in ScriptEngine
2020-04-26 14:34:59 +01:00
Ted John
d445cfc125
Refactor plugin scope
2020-04-26 14:34:59 +01:00
Ted John
f54b3efe9e
Use shared_ptr for Plugin
2020-04-26 14:34:59 +01:00
Ted John
a6bb9a9b64
Add tile element support
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
3556dead74
Add hot reloading support
2020-04-26 14:34:59 +01:00
Ted John
de527b3ff7
Add load and start plugin scripts
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
1acf1e870a
Add park API
2020-04-26 14:34:59 +01:00
Ted John
839dd6842b
Add console API using dukglue
2020-04-26 14:34:59 +01:00
Ted John
f0de6533a0
Add dukglue
2020-04-26 14:34:58 +01:00
Ted John
43508e0402
Add script engine and connect to std console
2020-04-26 14:34:58 +01:00
Ted John
27a8597214
Add scripting API definition file
2020-04-26 14:34:58 +01:00
Ted John
a1ebcdea5c
Add duktape library
2020-04-26 14:34:58 +01:00
Fred-1044276
a3e7f0958c
Allow Air Powered Vertical Coaster without complete circuit
...
This changes the Air Powered Vertical Coaster so that it can be tested and opened without the need for a complete circuit (mirroring RCT1 and RCT3 behaviour). There appears to be no technical reason for RCT2's requirement for having a complete circuit.
2020-04-26 11:25:08 +02:00
Duncan
8936ce60f6
Merge pull request #11464 from brenoguim/set_format_arg_3
...
Replay set_format_arg calls in favor of using Formatter
2020-04-26 07:27:00 +01:00
OpenRCT2 git bot
6d0e29543b
Merge Localisation/master into OpenRCT2/develop.
2020-04-26 04:01:48 +00:00