view Engine/LuaVM.h @ 2568:f2f2595fe308

rename Decals[], DecalCount
author Ritor1
date Thu, 21 May 2015 18:32:45 +0600
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;