summaryrefslogtreecommitdiffstats
path: root/src/utils
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/utils
parent23a94e7b154726599b9112b91ebedb32af9ff22c (diff)
downloadmanaserv-196c1c0bffa8bb594ff0a7442748030f47cc9c58.tar.gz
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/utils')
-rw-r--r--src/utils/logger.cpp4
-rw-r--r--src/utils/processorutils.cpp2
-rw-r--r--src/utils/processorutils.h (renamed from src/utils/processorutils.hpp)6
-rw-r--r--src/utils/speedconv.cpp2
-rw-r--r--src/utils/speedconv.h (renamed from src/utils/speedconv.hpp)6
-rw-r--r--src/utils/string.cpp2
-rw-r--r--src/utils/string.h (renamed from src/utils/string.hpp)0
-rw-r--r--src/utils/stringfilter.cpp2
-rw-r--r--src/utils/tokencollector.cpp2
-rw-r--r--src/utils/tokencollector.h (renamed from src/utils/tokencollector.hpp)6
-rw-r--r--src/utils/tokendispenser.cpp2
-rw-r--r--src/utils/tokendispenser.h (renamed from src/utils/tokendispenser.hpp)6
-rw-r--r--src/utils/xml.cpp6
-rw-r--r--src/utils/xml.h (renamed from src/utils/xml.hpp)0
-rw-r--r--src/utils/zlib.cpp2
-rw-r--r--src/utils/zlib.h (renamed from src/utils/zlib.hpp)4
16 files changed, 26 insertions, 26 deletions
diff --git a/src/utils/logger.cpp b/src/utils/logger.cpp
index 2053c9a..958d2e5 100644
--- a/src/utils/logger.cpp
+++ b/src/utils/logger.cpp
@@ -20,8 +20,8 @@
*/
#include "logger.h"
-#include "common/resourcemanager.hpp"
-#include "utils/string.hpp"
+#include "common/resourcemanager.h"
+#include "utils/string.h"
#include <ctime>
#include <fstream>
diff --git a/src/utils/processorutils.cpp b/src/utils/processorutils.cpp
index 37db06a..06ef017 100644
--- a/src/utils/processorutils.cpp
+++ b/src/utils/processorutils.cpp
@@ -18,7 +18,7 @@
* along with The Mana Server. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "utils/processorutils.hpp"
+#include "utils/processorutils.h"
bool utils::processor::isLittleEndian;
diff --git a/src/utils/processorutils.hpp b/src/utils/processorutils.h
index 05bb7c8..6fc0139 100644
--- a/src/utils/processorutils.hpp
+++ b/src/utils/processorutils.h
@@ -18,8 +18,8 @@
* along with The Mana Server. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef PROCESSORUTILS_HPP
-#define PROCESSORUTILS_HPP
+#ifndef PROCESSORUTILS_H
+#define PROCESSORUTILS_H
namespace utils
{
@@ -47,4 +47,4 @@ namespace utils
} // namespace processor
} // namespace utils
-#endif // TOKENDISPENSER_HPP
+#endif // PROCESSORUTILS_H
diff --git a/src/utils/speedconv.cpp b/src/utils/speedconv.cpp
index 18602ab..f6be2e7 100644
--- a/src/utils/speedconv.cpp
+++ b/src/utils/speedconv.cpp
@@ -18,7 +18,7 @@
* along with The Mana Server. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "utils/speedconv.hpp"
+#include "utils/speedconv.h"
double utils::tpsToSpeed(double tps)
{
diff --git a/src/utils/speedconv.hpp b/src/utils/speedconv.h
index 6a29d0f..33e1a94 100644
--- a/src/utils/speedconv.hpp
+++ b/src/utils/speedconv.h
@@ -18,8 +18,8 @@
* along with The Mana Server. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef SPEEDCONV_HPP
-#define SPEEDCONV_HPP
+#ifndef SPEEDCONV_H
+#define SPEEDCONV_H
// Simple helper functions for converting between tiles per
// second and the internal speed representation
@@ -41,4 +41,4 @@ namespace utils {
double speedToTps(double);
}
-#endif // SPEEDCONV_HPP
+#endif // SPEEDCONV_H
diff --git a/src/utils/string.cpp b/src/utils/string.cpp
index 785a092..089a537 100644
--- a/src/utils/string.cpp
+++ b/src/utils/string.cpp
@@ -18,7 +18,7 @@
* along with The Mana Server. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "utils/string.hpp"
+#include "utils/string.h"
#include <cctype>
#include <algorithm>
diff --git a/src/utils/string.hpp b/src/utils/string.h
index 6127bfe..6127bfe 100644
--- a/src/utils/string.hpp
+++ b/src/utils/string.h
diff --git a/src/utils/stringfilter.cpp b/src/utils/stringfilter.cpp
index 4a9d19c..617da90 100644
--- a/src/utils/stringfilter.cpp
+++ b/src/utils/stringfilter.cpp
@@ -22,7 +22,7 @@
#include "utils/stringfilter.h"
-#include "common/configuration.hpp"
+#include "common/configuration.h"
#include "utils/logger.h"
namespace utils
diff --git a/src/utils/tokencollector.cpp b/src/utils/tokencollector.cpp
index f82dcd1..e41d228 100644
--- a/src/utils/tokencollector.cpp
+++ b/src/utils/tokencollector.cpp
@@ -18,7 +18,7 @@
* along with The Mana Server. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "utils/tokencollector.hpp"
+#include "utils/tokencollector.h"
/* We are optimistic and we assume that clients connect as soon as possible.
It means that pending data are mainly outdated ones, except for the newer
diff --git a/src/utils/tokencollector.hpp b/src/utils/tokencollector.h
index 5e4c3f2..3d2b653 100644
--- a/src/utils/tokencollector.hpp
+++ b/src/utils/tokencollector.h
@@ -18,8 +18,8 @@
* along with The Mana Server. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef TOKENCOLLECTOR_HPP
-#define TOKENCOLLECTOR_HPP
+#ifndef TOKENCOLLECTOR_H
+#define TOKENCOLLECTOR_H
#include <string>
#include <list>
@@ -135,4 +135,4 @@ class TokenCollector: private TokenCollectorBase
Handler *mHandler;
};
-#endif // TOKENCOLLECTOR_HPP
+#endif // TOKENCOLLECTOR_H
diff --git a/src/utils/tokendispenser.cpp b/src/utils/tokendispenser.cpp
index 9aff9e4..2cbf16d 100644
--- a/src/utils/tokendispenser.cpp
+++ b/src/utils/tokendispenser.cpp
@@ -18,7 +18,7 @@
* along with The Mana Server. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "utils/tokendispenser.hpp"
+#include "utils/tokendispenser.h"
#include <cstdlib>
diff --git a/src/utils/tokendispenser.hpp b/src/utils/tokendispenser.h
index dc3173c..d04d17b 100644
--- a/src/utils/tokendispenser.hpp
+++ b/src/utils/tokendispenser.h
@@ -18,8 +18,8 @@
* along with The Mana Server. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef TOKENDISPENSER_HPP
-#define TOKENDISPENSER_HPP
+#ifndef TOKENDISPENSER_H
+#define TOKENDISPENSER_H
#define MAGIC_TOKEN_LENGTH 32
@@ -42,4 +42,4 @@ namespace utils
} // namespace utils
-#endif // TOKENDISPENSER_HPP
+#endif // TOKENDISPENSER_H
diff --git a/src/utils/xml.cpp b/src/utils/xml.cpp
index 2920227..a4a5360 100644
--- a/src/utils/xml.cpp
+++ b/src/utils/xml.cpp
@@ -19,11 +19,11 @@
* along with The Mana Server. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "utils/xml.hpp"
+#include "utils/xml.h"
-#include "common/resourcemanager.hpp"
+#include "common/resourcemanager.h"
#include "utils/logger.h"
-#include "utils/string.hpp"
+#include "utils/string.h"
#include <iostream>
#include <fstream>
diff --git a/src/utils/xml.hpp b/src/utils/xml.h
index eba88e5..eba88e5 100644
--- a/src/utils/xml.hpp
+++ b/src/utils/xml.h
diff --git a/src/utils/zlib.cpp b/src/utils/zlib.cpp
index e3d3c60..3c5e8f3 100644
--- a/src/utils/zlib.cpp
+++ b/src/utils/zlib.cpp
@@ -21,7 +21,7 @@
#include <cstdlib>
#include <zlib.h>
-#include "utils/zlib.hpp"
+#include "utils/zlib.h"
#include "utils/logger.h"
diff --git a/src/utils/zlib.hpp b/src/utils/zlib.h
index 6d5347f..f78aa26 100644
--- a/src/utils/zlib.hpp
+++ b/src/utils/zlib.h
@@ -18,8 +18,8 @@
* along with The Mana Server. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef ZLIB_HPP
-#define ZLIB_HPP
+#ifndef ZLIB_H
+#define ZLIB_H
/**
* Inflates either zlib or gzip deflated memory. The inflated memory is