From 3eea219548e84efdbc3148ce378fcba865f97a01 Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Fri, 6 Dec 2013 14:15:43 -0800 Subject: Add basic source formatting tools --- src/char/char.hpp | 14 +++++++------- src/char/int_party.hpp | 2 +- src/char/int_storage.hpp | 2 +- src/char/inter.hpp | 4 ++-- 4 files changed, 11 insertions(+), 11 deletions(-) (limited to 'src/char') 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 diff --git a/src/char/int_party.hpp b/src/char/int_party.hpp index 2793257..e5a3ab9 100644 --- a/src/char/int_party.hpp +++ b/src/char/int_party.hpp @@ -1,7 +1,7 @@ #ifndef INT_PARTY_HPP #define INT_PARTY_HPP -#include "../strings/fwd.hpp" +# include "../strings/fwd.hpp" int inter_party_init(void); int inter_party_save(void); diff --git a/src/char/int_storage.hpp b/src/char/int_storage.hpp index 2585d63..6c13923 100644 --- a/src/char/int_storage.hpp +++ b/src/char/int_storage.hpp @@ -1,7 +1,7 @@ #ifndef INT_STORAGE_HPP #define INT_STORAGE_HPP -#include "../strings/fwd.hpp" +# include "../strings/fwd.hpp" int inter_storage_init(void); int inter_storage_save(void); diff --git a/src/char/inter.hpp b/src/char/inter.hpp index 5216d57..ece340a 100644 --- a/src/char/inter.hpp +++ b/src/char/inter.hpp @@ -1,7 +1,7 @@ #ifndef INTER_HPP #define INTER_HPP -#include "../strings/fwd.hpp" +# include "../strings/fwd.hpp" void inter_init(ZString file); void inter_save(void); @@ -9,7 +9,7 @@ int inter_parse_frommap(int fd); int inter_check_length(int fd, int length); -#define inter_cfgName "conf/inter_athena.conf" +# define inter_cfgName "conf/inter_athena.conf" extern int party_share_level; -- cgit v1.2.3-70-g09d2