summaryrefslogtreecommitdiff
path: root/src/scripting
diff options
context:
space:
mode:
authorYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2010-11-14 13:18:14 +0100
committerYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2010-11-14 13:18:14 +0100
commit196c1c0bffa8bb594ff0a7442748030f47cc9c58 (patch)
treeb60b3e3eff38907e2d8a94ce6aa7e63cd1a741c8 /src/scripting
parent23a94e7b154726599b9112b91ebedb32af9ff22c (diff)
downloadmanaserv-196c1c0bffa8bb594ff0a7442748030f47cc9c58.tar.gz
manaserv-196c1c0bffa8bb594ff0a7442748030f47cc9c58.tar.bz2
manaserv-196c1c0bffa8bb594ff0a7442748030f47cc9c58.tar.xz
manaserv-196c1c0bffa8bb594ff0a7442748030f47cc9c58.zip
Renamed .hpp files into .h for consistency.
Also added an header to the autoattack.{h,cpp} files. Big but trivial fix.
Diffstat (limited to 'src/scripting')
-rw-r--r--src/scripting/lua.cpp46
-rw-r--r--src/scripting/luascript.cpp4
-rw-r--r--src/scripting/luascript.h (renamed from src/scripting/luascript.hpp)8
-rw-r--r--src/scripting/luautil.cpp6
-rw-r--r--src/scripting/luautil.h (renamed from src/scripting/luautil.hpp)4
-rw-r--r--src/scripting/script.cpp6
-rw-r--r--src/scripting/script.h (renamed from src/scripting/script.hpp)8
7 files changed, 41 insertions, 41 deletions
diff --git a/src/scripting/lua.cpp b/src/scripting/lua.cpp
index 410b1cbf..72d20a66 100644
--- a/src/scripting/lua.cpp
+++ b/src/scripting/lua.cpp
@@ -27,30 +27,30 @@ extern "C" {
#include <lauxlib.h>
}
-#include "common/resourcemanager.hpp"
-#include "game-server/accountconnection.hpp"
-#include "game-server/buysell.hpp"
-#include "game-server/character.hpp"
-#include "game-server/collisiondetection.hpp"
-#include "game-server/effect.hpp"
-#include "game-server/gamehandler.hpp"
-#include "game-server/inventory.hpp"
-#include "game-server/item.hpp"
-#include "game-server/itemmanager.hpp"
-#include "game-server/mapcomposite.hpp"
-#include "game-server/mapmanager.hpp"
-#include "game-server/monster.hpp"
-#include "game-server/monstermanager.hpp"
-#include "game-server/npc.hpp"
-#include "game-server/postman.hpp"
-#include "game-server/quest.hpp"
-#include "game-server/state.hpp"
-#include "game-server/trigger.hpp"
-#include "net/messageout.hpp"
-#include "scripting/luautil.hpp"
-#include "scripting/luascript.hpp"
+#include "common/resourcemanager.h"
+#include "game-server/accountconnection.h"
+#include "game-server/buysell.h"
+#include "game-server/character.h"
+#include "game-server/collisiondetection.h"
+#include "game-server/effect.h"
+#include "game-server/gamehandler.h"
+#include "game-server/inventory.h"
+#include "game-server/item.h"
+#include "game-server/itemmanager.h"
+#include "game-server/mapcomposite.h"
+#include "game-server/mapmanager.h"
+#include "game-server/monster.h"
+#include "game-server/monstermanager.h"
+#include "game-server/npc.h"
+#include "game-server/postman.h"
+#include "game-server/quest.h"
+#include "game-server/state.h"
+#include "game-server/trigger.h"
+#include "net/messageout.h"
+#include "scripting/luautil.h"
+#include "scripting/luascript.h"
#include "utils/logger.h"
-#include "utils/speedconv.hpp"
+#include "utils/speedconv.h"
#include <string.h>
diff --git a/src/scripting/luascript.cpp b/src/scripting/luascript.cpp
index 23e4fdb9..ff993899 100644
--- a/src/scripting/luascript.cpp
+++ b/src/scripting/luascript.cpp
@@ -19,9 +19,9 @@
* along with The Mana Server. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "luascript.hpp"
+#include "luascript.h"
-#include "game-server/being.hpp"
+#include "game-server/being.h"
#include "utils/logger.h"
#include <cassert>
diff --git a/src/scripting/luascript.hpp b/src/scripting/luascript.h
index 292c35ad..cc1675d8 100644
--- a/src/scripting/luascript.hpp
+++ b/src/scripting/luascript.h
@@ -18,15 +18,15 @@
* along with The Mana Server. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef LUASCRIPT_HPP
-#define LUASCRIPT_HPP
+#ifndef LUASCRIPT_H
+#define LUASCRIPT_H
extern "C" {
#include <lualib.h>
#include <lauxlib.h>
}
-#include "scripting/script.hpp"
+#include "scripting/script.h"
/**
* Implementation of the Script class for Lua.
@@ -93,4 +93,4 @@ struct LuaRegister
static LuaRegister dummy;
-#endif // LUASCRIPT_HPP
+#endif // LUASCRIPT_H
diff --git a/src/scripting/luautil.cpp b/src/scripting/luautil.cpp
index 008a5e38..cec3ae76 100644
--- a/src/scripting/luautil.cpp
+++ b/src/scripting/luautil.cpp
@@ -19,10 +19,10 @@
* along with The Mana Server. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "luautil.hpp"
+#include "luautil.h"
-#include "game-server/character.hpp"
-#include "game-server/npc.hpp"
+#include "game-server/character.h"
+#include "game-server/npc.h"
#include "utils/logger.h"
diff --git a/src/scripting/luautil.hpp b/src/scripting/luautil.h
index aec2c5c2..87185155 100644
--- a/src/scripting/luautil.hpp
+++ b/src/scripting/luautil.h
@@ -18,8 +18,8 @@
* along with The Mana Server. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef SCRIPTING_LUAUTIL_HPP
-#define SCRIPTING_LUAUTIL_HPP
+#ifndef SCRIPTING_LUAUTIL_H
+#define SCRIPTING_LUAUTIL_H
extern "C" {
#include <lualib.h>
diff --git a/src/scripting/script.cpp b/src/scripting/script.cpp
index 334895c3..b222b0f7 100644
--- a/src/scripting/script.cpp
+++ b/src/scripting/script.cpp
@@ -18,10 +18,10 @@
* along with The Mana Server. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "scripting/script.hpp"
+#include "scripting/script.h"
-#include "common/resourcemanager.hpp"
-#include "game-server/being.hpp"
+#include "common/resourcemanager.h"
+#include "game-server/being.h"
#include "utils/logger.h"
#include <cstdlib>
diff --git a/src/scripting/script.hpp b/src/scripting/script.h
index 6f5dded6..5d5d1f48 100644
--- a/src/scripting/script.hpp
+++ b/src/scripting/script.h
@@ -18,13 +18,13 @@
* along with The Mana Server. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef SCRIPTING_SCRIPT_HPP
-#define SCRIPTING_SCRIPT_HPP
+#ifndef SCRIPTING_SCRIPT_H
+#define SCRIPTING_SCRIPT_H
#include <string>
-#include "game-server/character.hpp"
-#include "game-server/eventlistener.hpp"
+#include "game-server/character.h"
+#include "game-server/eventlistener.h"
class MapComposite;
class Thing;