diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2013-12-06 14:15:43 -0800 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2013-12-06 14:15:49 -0800 |
commit | 3eea219548e84efdbc3148ce378fcba865f97a01 (patch) | |
tree | 6ece594f60ddff038cf9c1d94b99d8d66a00bc20 /src/char/char.hpp | |
parent | 1458563f00deebbbcf3e8049dc90157fb825fae3 (diff) | |
download | tmwa-3eea219548e84efdbc3148ce378fcba865f97a01.tar.gz tmwa-3eea219548e84efdbc3148ce378fcba865f97a01.tar.bz2 tmwa-3eea219548e84efdbc3148ce378fcba865f97a01.tar.xz tmwa-3eea219548e84efdbc3148ce378fcba865f97a01.zip |
Add basic source formatting tools
Diffstat (limited to 'src/char/char.hpp')
-rw-r--r-- | src/char/char.hpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/char/char.hpp b/src/char/char.hpp index 78c68cb..f24acbc 100644 --- a/src/char/char.hpp +++ b/src/char/char.hpp @@ -1,17 +1,17 @@ #ifndef CHAR_HPP #define CHAR_HPP -#include "../strings/fwd.hpp" +# include "../strings/fwd.hpp" -#include "../common/const_array.hpp" -#include "../common/ip.hpp" -#include "../common/mmo.hpp" +# include "../common/const_array.hpp" +# include "../common/ip.hpp" +# include "../common/mmo.hpp" constexpr int MAX_MAP_SERVERS = 30; -#define CHAR_CONF_NAME "conf/char_athena.conf" +# define CHAR_CONF_NAME "conf/char_athena.conf" -#define LOGIN_LAN_CONF_NAME "conf/lan_support.conf" +# define LOGIN_LAN_CONF_NAME "conf/lan_support.conf" struct mmo_map_server { @@ -29,7 +29,7 @@ int mapif_send(int fd, const uint8_t *buf, unsigned int len); void char_log(XString line); -#define CHAR_LOG(fmt, ...) \ +# define CHAR_LOG(fmt, ...) \ char_log(STRPRINTF(fmt, ## __VA_ARGS__)) #endif // CHAR_HPP |