ignore this

This commit is contained in:
niczkx
2012-07-19 15:55:10 +02:00
parent f289db3a9e
commit f74b013da2
10 changed files with 67 additions and 47 deletions

View File

@@ -30,6 +30,7 @@
#include <iomanip>
#include <vector>
#include <boost/algorithm/string.hpp>
#include <otclient/position.h>
#include "types.h"
#include "cast.h"
@@ -180,6 +181,11 @@ inline std::string ip_to_string(uint32 ip) {
return std::string(host);
}
inline std::string pos_to_string(const Position& p)
{
return format("{x = %h, y = %h, z = %hh}", p.x, p.y, p.z);
}
/// Convert utf8 characters to latin1
inline char utf8CharToLatin1(uchar *utf8, int *read) {
char c = '?';