Adds a Lua scripting component to the engine, allowing users to attach Lua scripts to entities. Includes necessary Lua headers and library files. Also integrates the Lua scripting component into the editor, allowing it to be added via ImGui.
10 lines
191 B
C++
10 lines
191 B
C++
// lua.hpp
|
|
// Lua header files for C++
|
|
// <<extern "C">> not supplied automatically because Lua also compiles as C++
|
|
|
|
extern "C" {
|
|
#include "lua.h"
|
|
#include "lualib.h"
|
|
#include "lauxlib.h"
|
|
}
|