This pr adds lua scripting to better edit, embedding the c lua interpreter and using the sol framework (C++ lua wrapper).
This pr does not change existing better edit code in any way, scripting feature is fully standalone in src/scripting
the scripts/gd.lua is the intellisense file and the documentation file for lua classes, functions, properties, etc
the .luarc.json file on root is for vscode lua intellisense
Currently scripting should only compile on windows (changed CMakeLists.txt)
Example scripts can be found in the scripts directory, more examples scripts will be added soon
docs will be added soon in src/scripting/README.md aswell
beta state, but basic functionality should be working and the design of the script should not change much from now on.
Mainly want to get this merged so people can try it out and get feedback, since so far I've been the only tester
This pr adds lua scripting to better edit, embedding the c lua interpreter and using the sol framework (C++ lua wrapper). This pr does not change existing better edit code in any way, scripting feature is fully standalone in
src/scripting
scripts/gd.lua
is the intellisense file and the documentation file for lua classes, functions, properties, etcscripts
directory, more examples scripts will be added soon