Commit Graph

18672 Commits

Author SHA1 Message Date
Ted John 32d72471b8 Add more tile APIs 2020-04-26 14:35:04 +01:00
Ted John a4be43eaa9 Fix clients starting remote scripts 2020-04-26 14:35:04 +01:00
Ted John cf9478eb76 Fix build 2020-04-26 14:35:04 +01:00
Ted John 7628289eb3 Implement reverse of string processing 2020-04-26 14:35:04 +01:00
Ted John 4d221341da Improve string handling and allow window update 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 00293d20e8 Fix compile 2020-04-26 14:35:04 +01:00
Ted John e6011c891d Add more questions to scripting readme 2020-04-26 14:35:04 +01:00
Ted John 0cf0121f30 Fix API definitions 2020-04-26 14:35:04 +01:00
Ted John e6ca727b4b Improve dumping of expressions 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 dfd45651dc Improve stringify of expressions 2020-04-26 14:35:04 +01:00
Ted John ae0c2638e3 Distribute openrct2.d.ts and scripting.md 2020-04-26 14:35:03 +01:00
Ted John 177c1a16a7 Always allow game state to be mutated in single player 2020-04-26 14:35:03 +01:00
Ted John 2890faee0a Change plugin type to just local and remote 2020-04-26 14:35:03 +01:00
Ted John 08cdb831af Improve readme 2020-04-26 14:35:03 +01:00
Ted John 03e861945a Add scripting readme 2020-04-26 14:35:03 +01:00
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