mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2025-12-23 12:20:05 +00:00
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:
3
scripts/test.lua
Normal file
3
scripts/test.lua
Normal file
@@ -0,0 +1,3 @@
|
||||
print("Hello world!")
|
||||
wait(2)
|
||||
print("Hello world ~2 seconds later!")
|
||||
Reference in New Issue
Block a user