view Engine/LuaVM.h @ 2566:30eb6dcac768

big spell fx overhaul
author a.parshin
date Wed, 20 May 2015 21:05:07 +0200
parents 68cdef6879a0
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;