annotate LuaVM.h @ 2052:71a814f4482a

Moved implementation to cpp
author Nomad
date Fri, 29 Nov 2013 12:20:07 +0200
parents
children 62a27b2cfcc2
rev   line source
2052
71a814f4482a Moved implementation to cpp
Nomad
parents:
diff changeset
1 #pragma once
71a814f4482a Moved implementation to cpp
Nomad
parents:
diff changeset
2
71a814f4482a Moved implementation to cpp
Nomad
parents:
diff changeset
3 class LuaVM
71a814f4482a Moved implementation to cpp
Nomad
parents:
diff changeset
4 {
71a814f4482a Moved implementation to cpp
Nomad
parents:
diff changeset
5 public:
71a814f4482a Moved implementation to cpp
Nomad
parents:
diff changeset
6 void Initialize();
71a814f4482a Moved implementation to cpp
Nomad
parents:
diff changeset
7 bool DoFile(const char *filename);
71a814f4482a Moved implementation to cpp
Nomad
parents:
diff changeset
8
71a814f4482a Moved implementation to cpp
Nomad
parents:
diff changeset
9 protected:
71a814f4482a Moved implementation to cpp
Nomad
parents:
diff changeset
10 struct lua_State *L;
71a814f4482a Moved implementation to cpp
Nomad
parents:
diff changeset
11
71a814f4482a Moved implementation to cpp
Nomad
parents:
diff changeset
12 const char *GetScriptFileLocation(const char *script_name);
71a814f4482a Moved implementation to cpp
Nomad
parents:
diff changeset
13 };
71a814f4482a Moved implementation to cpp
Nomad
parents:
diff changeset
14 extern LuaVM *lua;