OpenGTA/lua_addon/lua_ini_bridge.h
Anonymous Maarten e20673c2cd 2007-04-16
2015-12-03 01:37:37 +01:00

26 lines
507 B
C++

#ifndef LUA_INI_BRIDGE_H
#define LUA_INI_BRIDGE_H
#include <string>
#include "read_ini.h"
#include "lua.hpp"
namespace OpenGTA {
namespace Script {
class IniScriptBridge : public ScriptParser {
public:
IniScriptBridge(const std::string &file);
~IniScriptBridge();
lua_State *L;
void loadLevel(PHYSFS_uint32 level);
protected:
void reset();
void acceptDefinition(const char*);
void acceptCommand(const char*);
};
}
}
#endif