Move hex.h to util/

This commit is contained in:
Loic Blot 2015-02-21 14:17:36 +01:00
parent c09d026f05
commit 5a5854ea9d
6 changed files with 14 additions and 15 deletions

View File

@ -18,20 +18,20 @@ with this program; if not, write to the Free Software Foundation, Inc.,
*/ */
#include "clientmedia.h" #include "clientmedia.h"
#include "util/serialize.h"
#include "util/sha1.h"
#include "util/string.h"
#include "httpfetch.h" #include "httpfetch.h"
#include "client.h" #include "client.h"
#include "network/networkprotocol.h"
#include "filecache.h" #include "filecache.h"
#include "filesys.h" #include "filesys.h"
#include "hex.h"
#include "debug.h" #include "debug.h"
#include "log.h" #include "log.h"
#include "porting.h" #include "porting.h"
#include "settings.h" #include "settings.h"
#include "main.h" #include "main.h"
#include "network/networkprotocol.h"
#include "util/hex.h"
#include "util/serialize.h"
#include "util/sha1.h"
#include "util/string.h"
static std::string getMediaCacheDir() static std::string getMediaCacheDir()
{ {

View File

@ -39,9 +39,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "log.h" #include "log.h"
#include "tile.h" // ITextureSource #include "tile.h" // ITextureSource
#include "hud.h" // drawItemStack #include "hud.h" // drawItemStack
#include "hex.h"
#include "util/string.h"
#include "util/numeric.h"
#include "filesys.h" #include "filesys.h"
#include "gettime.h" #include "gettime.h"
#include "gettext.h" #include "gettext.h"
@ -50,8 +47,10 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "main.h" #include "main.h"
#include "settings.h" #include "settings.h"
#include "client.h" #include "client.h"
#include "util/string.h" // for parseColorString()
#include "fontengine.h" #include "fontengine.h"
#include "util/hex.h"
#include "util/numeric.h"
#include "util/string.h" // for parseColorString()
#define MY_CHECKPOS(a,b) \ #define MY_CHECKPOS(a,b) \
if (v_pos.size() != 2) { \ if (v_pos.size() != 2) { \

View File

@ -22,8 +22,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "exceptions.h" #include "exceptions.h"
#include "settings.h" #include "settings.h"
#include "log.h" #include "log.h"
#include "hex.h"
#include "debug.h" #include "debug.h"
#include "util/hex.h"
class UnknownKeycode : public BaseException class UnknownKeycode : public BaseException
{ {

View File

@ -51,11 +51,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "content_abm.h" #include "content_abm.h"
#include "content_sao.h" #include "content_sao.h"
#include "mods.h" #include "mods.h"
#include "util/sha1.h"
#include "util/base64.h"
#include "sound.h" // dummySoundManager #include "sound.h" // dummySoundManager
#include "event_manager.h" #include "event_manager.h"
#include "hex.h"
#include "serverlist.h" #include "serverlist.h"
#include "util/string.h" #include "util/string.h"
#include "util/mathconstants.h" #include "util/mathconstants.h"
@ -63,6 +60,9 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "util/serialize.h" #include "util/serialize.h"
#include "util/thread.h" #include "util/thread.h"
#include "defaultsettings.h" #include "defaultsettings.h"
#include "util/base64.h"
#include "util/sha1.h"
#include "util/hex.h"
class ClientNotFoundException : public BaseException class ClientNotFoundException : public BaseException
{ {

View File

@ -22,9 +22,9 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "numeric.h" #include "numeric.h"
#include "log.h" #include "log.h"
#include "sha1.h"
#include "base64.h" #include "base64.h"
#include "../hex.h" #include "hex.h"
#include "sha1.h"
#include "../porting.h" #include "../porting.h"
#include <algorithm> #include <algorithm>