Files
source/lua/Lua Interpreter.h
T
Overhaul 99e45d697e Fix to make soldier continue towards destination if previous path ended with a special move
Re-integrated LUA and console.  Still many things to finish though.


git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@1048 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2007-07-14 04:25:07 +00:00

20 lines
386 B
C

extern "C" {
#include "lua.h"
#include "lauxlib.h"
#include "lualib.h"
}
#include "Types.h"
typedef struct {
STR8 name;
lua_CFunction get;
lua_CFunction set;
lua_CFunction call;
} LuaAttrib;
void InitializeLua( );
int EvalLua (const wchar_t* buff) ; // The return value is whether to clear the input line, not whether the call succeeded.
void ShutdownLua( );