Files
CnC_Remastered_Collection/code/REDALERT/MapScript.h
T
2020-06-12 08:15:26 -07:00

21 lines
323 B
C++

// MapScript.h
//
// Lua is written in C, so compiler needs to know how to link its libraries
extern "C" {
# include "lua.h"
# include "lauxlib.h"
# include "lualib.h"
}
//
// MapScript
//
class MapScript {
public:
bool Init(const char* mapName);
void CallFunction(const char* functionName);
private:
lua_State* L;
};