summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-08 11:44:02 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-08 13:04:49 +0300
commitb13beb3c1d965dd1a2a8dd3bdbea3d66242c3298 (patch)
tree09e94834279ae54b19403805e7f77766cf38bcce /src/resources
parent57c8ddb516edcf88de31a6bcd7724d4329839c0a (diff)
downloadmanaverse-b13beb3c1d965dd1a2a8dd3bdbea3d66242c3298.tar.gz
manaverse-b13beb3c1d965dd1a2a8dd3bdbea3d66242c3298.tar.bz2
manaverse-b13beb3c1d965dd1a2a8dd3bdbea3d66242c3298.tar.xz
manaverse-b13beb3c1d965dd1a2a8dd3bdbea3d66242c3298.zip
remove unused system headers.
also remplace legacy headers.
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/db/npcdb.h2
-rw-r--r--src/resources/dye.cpp2
-rw-r--r--src/resources/wallpaper.cpp2
3 files changed, 2 insertions, 4 deletions
diff --git a/src/resources/db/npcdb.h b/src/resources/db/npcdb.h
index 75215e0dd..ac4b0d417 100644
--- a/src/resources/db/npcdb.h
+++ b/src/resources/db/npcdb.h
@@ -23,8 +23,6 @@
#ifndef RESOURCES_DB_NPCDB_H
#define RESOURCES_DB_NPCDB_H
-#include <stdint.h>
-
#include <string>
#include "localconsts.h"
diff --git a/src/resources/dye.cpp b/src/resources/dye.cpp
index 873c2a8fe..aebb8f009 100644
--- a/src/resources/dye.cpp
+++ b/src/resources/dye.cpp
@@ -26,7 +26,7 @@
#include "resources/db/palettedb.h"
-#include <math.h>
+#include <cmath>
#include <sstream>
#include <SDL_endian.h>
diff --git a/src/resources/wallpaper.cpp b/src/resources/wallpaper.cpp
index 513e1c8fc..17449f898 100644
--- a/src/resources/wallpaper.cpp
+++ b/src/resources/wallpaper.cpp
@@ -30,7 +30,7 @@
#include <algorithm>
#include <cstring>
-#include <time.h>
+#include <ctime>
#include "debug.h"