Commit Graph

18672 Commits

Author SHA1 Message Date
Ted John 4ebd8da630 Revert change to RemoveCustomGameActions 2020-04-26 14:35:08 +01:00
Ted John 4162ad0eb6 Remove unused getWindow parameter 2020-04-26 14:35:08 +01:00
Ted John ad75cb0754 Update src/openrct2/scripting/ScriptEngine.cpp
Co-Authored-By: Breno Rodrigues Guimarães <brenorg@gmail.com>
2020-04-26 14:35:08 +01:00
Ted John 4e1fa6a944 Update src/openrct2/scripting/ScriptEngine.h
Co-Authored-By: Breno Rodrigues Guimarães <brenorg@gmail.com>
2020-04-26 14:35:08 +01:00
Ted John 3fe49ca2a3 Apply suggestions from code review
Co-Authored-By: Michał Janiszewski <janisozaur@users.noreply.github.com>
Co-Authored-By: Aaron van Geffen <aaron@aaronweb.net>
Co-Authored-By: Tulio Leao <tupaschoal@gmail.com>
2020-04-26 14:35:08 +01:00
Aaron van Geffen 161985259a Xcode: change deployment target to 10.14.
This is really unfortunate, but appears to be unavoidable.
2020-04-26 14:35:08 +01:00
Ted John 127dd1543e Disable FileWatcher for macOS 2020-04-26 14:35:08 +01:00
Aaron van Geffen 3c28861122 Xcode: add FileWatcher, scripting/ 2020-04-26 14:35:08 +01:00
Ted John c1ab8b0b31 Apply suggestions from code review
Co-Authored-By: Breno Rodrigues Guimarães <brenorg@gmail.com>
2020-04-26 14:35:07 +01:00
Ted John 4c45e0ceb0 Remove use of .value() 2020-04-26 14:35:07 +01:00
Aaron van Geffen c17f898931 Xcode: add __ENABLE_SCRIPTING__ preprocessor macro. 2020-04-26 14:35:07 +01:00
Ted John 6cbea2fd37 Change baseZ / clearanceZ to baseHeight / clearanceHeight 2020-04-26 14:35:07 +01:00
Ted John 2f525e0539 Apply more code review comments 2020-04-26 14:35:07 +01:00
Ted John d480fb8daa Apply suggestions from code review
Co-Authored-By: Tulio Leao <tupaschoal@gmail.com>
Co-Authored-By: Michael Steenbeek <m.o.steenbeek@gmail.com>
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 d9cbdf29ad Ensure all paths return a value regardless of duk_error 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 62d15e44db Fix mingw build 2020-04-26 14:35:07 +01:00
Aaron van Geffen aefc49440a Xcode: add new thirdparty location to header search paths. 2020-04-26 14:35:07 +01:00
Ted John 7f9ff121b1 Fix rebase 2020-04-26 14:35:07 +01:00
Ted John e1c08defc8 Remove use of std::variant 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 3c424be180 Use correct thing type for getThing 2020-04-26 14:35:06 +01:00
Aaron van Geffen 9ea056a83f Change Xcode dependencies bundle to download to v23. 2020-04-26 14:35:06 +01:00
Aaron van Geffen 4a21c7df92 Add duktape library to the Xcode project. 2020-04-26 14:35:06 +01:00
Michael Steenbeek a8bb0e59ec Update Xcode project 2020-04-26 14:35:06 +01:00
Ted John f12f439309 Fix errors after rebase 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 b7b1920a79 Fix build 2020-04-26 14:35:06 +01:00
Ted John 119b24a6ff Show selected index on custom dropdowns 2020-04-26 14:35:06 +01:00
Ted John 098e6839e2 Fix build after rebase 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 fa997006ba Allow console.log to take variable args 2020-04-26 14:35:05 +01:00
Ted John a16cacff3a Add special properties for ride action 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 49b155d178 Fix Linux build 2020-04-26 14:35:05 +01:00
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