16 lines
248 B
C++
16 lines
248 B
C++
|
#include <iostream>
|
|||
|
#include <string>
|
|||
|
#include "LuaEngine.h"
|
|||
|
using namespace std;
|
|||
|
|
|||
|
int main()
|
|||
|
{
|
|||
|
LuaVM L;
|
|||
|
InitEngine(L);
|
|||
|
if (luaL_dofile(L, "code/game.lua"))
|
|||
|
{
|
|||
|
cout << lua_tostring(L, -1) << endl;
|
|||
|
}
|
|||
|
cout << "<ENGINE> Stopped." << endl;
|
|||
|
}
|