annotate LuaVM.h @ 2203:4bfee77e900d

DoInteractionWithTopmostZObject cleaned
author Ritor1
date Tue, 04 Feb 2014 17:29:04 +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;