1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-16 11:33:03 +01:00
Commit Graph

18578 Commits

Author SHA1 Message Date
Ted John
83fe0cf5c5 Implement strings for GameAction errors 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
4e4379e6ef Start work on custom 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
f8394953aa Get thing inhertiance working 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
63b10166ac Add more surface 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
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