diff options
author | madmaxoft <github@xoft.cz> | 2013-08-09 15:15:56 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2013-08-09 15:15:56 +0200 |
commit | 7d70a064613e98ea25c1445c8fe68e16c94b6813 (patch) | |
tree | a4729e3512cf8883c482d525cbd3fd8451e84c62 /source | |
parent | Added OnExploding() and OnExploded() hooks. (diff) | |
download | cuberite-7d70a064613e98ea25c1445c8fe68e16c94b6813.tar cuberite-7d70a064613e98ea25c1445c8fe68e16c94b6813.tar.gz cuberite-7d70a064613e98ea25c1445c8fe68e16c94b6813.tar.bz2 cuberite-7d70a064613e98ea25c1445c8fe68e16c94b6813.tar.lz cuberite-7d70a064613e98ea25c1445c8fe68e16c94b6813.tar.xz cuberite-7d70a064613e98ea25c1445c8fe68e16c94b6813.tar.zst cuberite-7d70a064613e98ea25c1445c8fe68e16c94b6813.zip |
Diffstat (limited to 'source')
-rw-r--r-- | source/AllToLua.pkg | 2 | ||||
-rw-r--r-- | source/Bindings.cpp | 2 | ||||
-rw-r--r-- | source/LuaWindow.cpp | 2 | ||||
-rw-r--r-- | source/ManualBindings.cpp | 3 | ||||
-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.cpp | 2 |
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" |