annotate LuaVM.h @ 2454:16f0278279a5

removed CShow.cpp/.h files
author Ritor1
date Fri, 25 Jul 2014 15:47:11 +0600
parents 62a27b2cfcc2
children
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:
2054
62a27b2cfcc2 Player.swig
Nomad
parents: 2052
diff changeset
6 inline LuaVM(): L(nullptr) {}
62a27b2cfcc2 Player.swig
Nomad
parents: 2052
diff changeset
7
2052
71a814f4482a Moved implementation to cpp
Nomad
parents:
diff changeset
8 void Initialize();
71a814f4482a Moved implementation to cpp
Nomad
parents:
diff changeset
9 bool DoFile(const char *filename);
71a814f4482a Moved implementation to cpp
Nomad
parents:
diff changeset
10
71a814f4482a Moved implementation to cpp
Nomad
parents:
diff changeset
11 protected:
71a814f4482a Moved implementation to cpp
Nomad
parents:
diff changeset
12 struct lua_State *L;
71a814f4482a Moved implementation to cpp
Nomad
parents:
diff changeset
13
71a814f4482a Moved implementation to cpp
Nomad
parents:
diff changeset
14 const char *GetScriptFileLocation(const char *script_name);
71a814f4482a Moved implementation to cpp
Nomad
parents:
diff changeset
15 };
71a814f4482a Moved implementation to cpp
Nomad
parents:
diff changeset
16 extern LuaVM *lua;