Ted John
e6341f0a42
Get scripting compiling on clang
2020-04-26 14:35:03 +01:00
Ted John
bac91cd563
Allow scripting to be compile-disabled
2020-04-26 14:35:03 +01:00
Ted John
34078124cd
Fix formatting
2020-04-26 14:35:03 +01:00
Ted John
a5c8ff920f
Add game mutable protection
2020-04-26 14:35:03 +01:00
Ted John
dc64d3541d
Transfer server-client scripts over network
2020-04-26 14:35:03 +01:00
Ted John
639faa2085
Fix GCC issues
2020-04-26 14:35:03 +01:00
Ted John
facd557355
Fix formatting
2020-04-26 14:35:02 +01:00
Ted John
412c838a07
Fix warnings
2020-04-26 14:35:02 +01:00
Ted John
0c1ed7b509
Implement APIs for bringToFront, findWidget etc.
2020-04-26 14:35:02 +01:00
Ted John
77262af46d
Use new dependencies that contain duktape
2020-04-26 14:35:02 +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
d8b0b24c43
Implement date API
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
b1cf6fcf63
Implement Widget API
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
d7d880dc23
Restart plugins when starting new game from a game
2020-04-26 14:35:02 +01:00
Ted John
3596480016
Add viewport APIs
2020-04-26 14:35:02 +01:00
Ted John
0ec4475d62
Implement tile x, y coordinates
2020-04-26 14:35:02 +01:00
Ted John
d3af46ad9f
Implement label widget
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
0e8c627324
Add config option for hot reload and refactor
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
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