summaryrefslogtreecommitdiff
path: root/src/char
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2013-12-06 14:15:43 -0800
committerBen Longbons <b.r.longbons@gmail.com>2013-12-06 14:15:49 -0800
commit3eea219548e84efdbc3148ce378fcba865f97a01 (patch)
tree6ece594f60ddff038cf9c1d94b99d8d66a00bc20 /src/char
parent1458563f00deebbbcf3e8049dc90157fb825fae3 (diff)
downloadtmwa-3eea219548e84efdbc3148ce378fcba865f97a01.tar.gz
tmwa-3eea219548e84efdbc3148ce378fcba865f97a01.tar.bz2
tmwa-3eea219548e84efdbc3148ce378fcba865f97a01.tar.xz
tmwa-3eea219548e84efdbc3148ce378fcba865f97a01.zip
Add basic source formatting tools
Diffstat (limited to 'src/char')
-rw-r--r--src/char/char.hpp14
-rw-r--r--src/char/int_party.hpp2
-rw-r--r--src/char/int_storage.hpp2
-rw-r--r--src/char/inter.hpp4
4 files changed, 11 insertions, 11 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
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;