summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-08-09 15:15:56 +0200
committermadmaxoft <github@xoft.cz>2013-08-10 08:22:52 +0200
commitc85acd4ece4c35bd58de21f2faf0522a7fa4925d (patch)
treef3d1e38b3fe211e31464e817f2d9e99374fd72d9 /source
parentMerge pull request #55 from mc-server/falldamage-teleport (diff)
downloadcuberite-c85acd4ece4c35bd58de21f2faf0522a7fa4925d.tar
cuberite-c85acd4ece4c35bd58de21f2faf0522a7fa4925d.tar.gz
cuberite-c85acd4ece4c35bd58de21f2faf0522a7fa4925d.tar.bz2
cuberite-c85acd4ece4c35bd58de21f2faf0522a7fa4925d.tar.lz
cuberite-c85acd4ece4c35bd58de21f2faf0522a7fa4925d.tar.xz
cuberite-c85acd4ece4c35bd58de21f2faf0522a7fa4925d.tar.zst
cuberite-c85acd4ece4c35bd58de21f2faf0522a7fa4925d.zip
Diffstat (limited to 'source')
-rw-r--r--source/AllToLua.pkg2
-rw-r--r--source/Bindings.cpp2
-rw-r--r--source/LuaWindow.cpp2
-rw-r--r--source/ManualBindings.cpp3
-rw-r--r--source/PluginLua.cpp (renamed from source/Plugin_NewLua.cpp)6
-rw-r--r--source/PluginLua.h (renamed from source/Plugin_NewLua.h)8
-rw-r--r--source/PluginManager.cpp2
7 files changed, 18 insertions, 7 deletions
diff --git a/source/AllToLua.pkg b/source/AllToLua.pkg
index 360901ecb..41cbab0f7 100644
--- a/source/AllToLua.pkg
+++ b/source/AllToLua.pkg
@@ -29,7 +29,7 @@ $cfile "Pawn.h"
$cfile "Player.h"
$cfile "PluginManager.h"
$cfile "Plugin.h"
-$cfile "Plugin_NewLua.h"
+$cfile "PluginLua.h"
$cfile "Server.h"
$cfile "World.h"
$cfile "Inventory.h"
diff --git a/source/Bindings.cpp b/source/Bindings.cpp
index ca159ab2b..4271b5541 100644
--- a/source/Bindings.cpp
+++ b/source/Bindings.cpp
@@ -29,7 +29,7 @@ TOLUA_API int tolua_AllToLua_open (lua_State* tolua_S);
#include "Player.h"
#include "PluginManager.h"
#include "Plugin.h"
-#include "Plugin_NewLua.h"
+#include "PluginLua.h"
#include "Server.h"
#include "World.h"
#include "Inventory.h"
diff --git a/source/LuaWindow.cpp b/source/LuaWindow.cpp
index c36fabd3c..18cc7650e 100644
--- a/source/LuaWindow.cpp
+++ b/source/LuaWindow.cpp
@@ -6,7 +6,7 @@
#include "Globals.h"
#include "LuaWindow.h"
#include "UI/SlotArea.h"
-#include "Plugin_NewLua.h"
+#include "PluginLua.h"
#include "Player.h"
#include "lauxlib.h" // Needed for LUA_REFNIL
diff --git a/source/ManualBindings.cpp b/source/ManualBindings.cpp
index 3c52d35f7..e4d94d2b8 100644
--- a/source/ManualBindings.cpp
+++ b/source/ManualBindings.cpp
@@ -7,7 +7,7 @@
#include "Root.h"
#include "World.h"
#include "Plugin.h"
-#include "Plugin_NewLua.h"
+#include "PluginLua.h"
#include "PluginManager.h"
#include "Player.h"
#include "WebAdmin.h"
@@ -19,7 +19,6 @@
#include "BlockEntities/FurnaceEntity.h"
#include "md5/md5.h"
#include "LuaWindow.h"
-#include "LuaState.h"
#include "LineBlockTracer.h"
diff --git a/source/Plugin_NewLua.cpp b/source/PluginLua.cpp
index 051e868cf..8adfdbd81 100644
--- a/source/Plugin_NewLua.cpp
+++ b/source/PluginLua.cpp
@@ -1,8 +1,12 @@
+// PluginLua.cpp
+
+// Implements the cPluginLua class representing a plugin written in Lua
+
#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
#define LUA_USE_POSIX
-#include "Plugin_NewLua.h"
+#include "PluginLua.h"
#include "CommandOutput.h"
extern "C"
diff --git a/source/Plugin_NewLua.h b/source/PluginLua.h
index dc9546c8b..5c0ff3f0d 100644
--- a/source/Plugin_NewLua.h
+++ b/source/PluginLua.h
@@ -1,4 +1,12 @@
+// PluginLua.h
+
+// Declares the cPluginLua class representing a plugin written in Lua
+
+
+
+
+
#pragma once
#include "Plugin.h"
diff --git a/source/PluginManager.cpp b/source/PluginManager.cpp
index 44e47733c..27ace86b9 100644
--- a/source/PluginManager.cpp
+++ b/source/PluginManager.cpp
@@ -3,7 +3,7 @@
#include "PluginManager.h"
#include "Plugin.h"
-#include "Plugin_NewLua.h"
+#include "PluginLua.h"
#include "WebAdmin.h"
#include "Item.h"
#include "Root.h"