mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
- Added "lua" project folder to the "Additional Include Directories" for each project - Added "lua51_vs2003.lib" to the "Additional Dependencies" for project "ja2" Project should now compile in VS 2003 without any errors. git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@935 3b4a5df2-a311-0410-b5c6-a8a6f20db521
20 lines
289 B
C
20 lines
289 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( );
|
|
void EvalLua (STR8 buff) ;
|
|
void ShutdownLua( );
|
|
|