Added base lua manager

- CMakeLists.txt, Makefile, and appveyor now use luajit
- lua/LuaManager.[ch]pp has been added which includes a basic script loader & thread scheduler
- SCRIPTSDIR has been added to settings.[ch]pp, this specifies what directory lua scripts should be loaded from
- Makefile has been updated to include lua/LuaManager.[ch]pp
This commit is contained in:
2021-04-10 18:41:55 -05:00
committed by gsemaj
parent 6f59001be1
commit 43aa4eaeb8
9 changed files with 197 additions and 2 deletions

3
scripts/test.lua Normal file
View File

@@ -0,0 +1,3 @@
print("Hello world!")
wait(2)
print("Hello world ~2 seconds later!")