view LuaVM.h @ 2256:27f2a2c2fd8f

_46A89E_immolation_effect moved into Party
author Grumpy7
date Thu, 27 Feb 2014 00:30:03 +0100
parents 62a27b2cfcc2
children
line wrap: on
line source

#pragma once

class LuaVM
{
  public:
    inline LuaVM(): L(nullptr) {}

    void Initialize();
    bool DoFile(const char *filename);

  protected:
    struct lua_State *L;
    
    const char *GetScriptFileLocation(const char *script_name);
};
extern LuaVM *lua;