Skip to content

Commit

Permalink
Move hex.h to util/
Browse files Browse the repository at this point in the history
  • Loading branch information
nerzhul committed Feb 21, 2015
1 parent c09d026 commit 5a5854e
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 15 deletions.
10 changes: 5 additions & 5 deletions src/clientmedia.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,20 @@ with this program; if not, write to the Free Software Foundation, Inc.,
*/

#include "clientmedia.h"
#include "util/serialize.h"
#include "util/sha1.h"
#include "util/string.h"
#include "httpfetch.h"
#include "client.h"
#include "network/networkprotocol.h"
#include "filecache.h"
#include "filesys.h"
#include "hex.h"
#include "debug.h"
#include "log.h"
#include "porting.h"
#include "settings.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()
{
Expand Down
7 changes: 3 additions & 4 deletions src/guiFormSpecMenu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "log.h"
#include "tile.h" // ITextureSource
#include "hud.h" // drawItemStack
#include "hex.h"
#include "util/string.h"
#include "util/numeric.h"
#include "filesys.h"
#include "gettime.h"
#include "gettext.h"
Expand All @@ -50,8 +47,10 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "main.h"
#include "settings.h"
#include "client.h"
#include "util/string.h" // for parseColorString()
#include "fontengine.h"
#include "util/hex.h"
#include "util/numeric.h"
#include "util/string.h" // for parseColorString()

#define MY_CHECKPOS(a,b) \
if (v_pos.size() != 2) { \
Expand Down
2 changes: 1 addition & 1 deletion src/keycode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "exceptions.h"
#include "settings.h"
#include "log.h"
#include "hex.h"
#include "debug.h"
#include "util/hex.h"

class UnknownKeycode : public BaseException
{
Expand Down
6 changes: 3 additions & 3 deletions src/server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,18 +51,18 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "content_abm.h"
#include "content_sao.h"
#include "mods.h"
#include "util/sha1.h"
#include "util/base64.h"
#include "sound.h" // dummySoundManager
#include "event_manager.h"
#include "hex.h"
#include "serverlist.h"
#include "util/string.h"
#include "util/mathconstants.h"
#include "rollback.h"
#include "util/serialize.h"
#include "util/thread.h"
#include "defaultsettings.h"
#include "util/base64.h"
#include "util/sha1.h"
#include "util/hex.h"

class ClientNotFoundException : public BaseException
{
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions src/util/string.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "numeric.h"
#include "log.h"

#include "sha1.h"
#include "base64.h"
#include "../hex.h"
#include "hex.h"
#include "sha1.h"
#include "../porting.h"

#include <algorithm>
Expand Down

0 comments on commit 5a5854e

Please sign in to comment.