summaryrefslogtreecommitdiff
path: root/src/char/inter.hpp
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2015-01-10 17:21:56 -0800
committerBen Longbons <b.r.longbons@gmail.com>2015-01-23 01:44:26 -0800
commitc482e420bcf447073ffe3ff8a106a0561e0baadd (patch)
treefe338f43ad3cb6fb292d50b06a58958c894a806f /src/char/inter.hpp
parent35b95e24ea1915acf0ef13047209f76bce6d9b7b (diff)
downloadtmwa-c482e420bcf447073ffe3ff8a106a0561e0baadd.tar.gz
tmwa-c482e420bcf447073ffe3ff8a106a0561e0baadd.tar.bz2
tmwa-c482e420bcf447073ffe3ff8a106a0561e0baadd.tar.xz
tmwa-c482e420bcf447073ffe3ff8a106a0561e0baadd.zip
Use generated config for char
Diffstat (limited to 'src/char/inter.hpp')
-rw-r--r--src/char/inter.hpp20
1 files changed, 17 insertions, 3 deletions
diff --git a/src/char/inter.hpp b/src/char/inter.hpp
index 741bc8d..c641254 100644
--- a/src/char/inter.hpp
+++ b/src/char/inter.hpp
@@ -22,13 +22,27 @@
#include "fwd.hpp"
+#include "../generic/array.hpp"
+
+#include "../mmo/consts.hpp"
+#include "../mmo/ids.hpp"
+
+#include "../proto2/net-GlobalReg.hpp"
+
namespace tmwa
{
-bool inter_config(io::Spanned<XString> key, io::Spanned<ZString> value);
+namespace char_
+{
+struct accreg
+{
+ AccountId account_id;
+ int reg_num;
+ Array<GlobalReg, ACCOUNT_REG_NUM> reg;
+};
+
void inter_init2();
void inter_save(void);
RecvResult inter_parse_frommap(Session *ms, uint16_t packet_id);
-
-extern int party_share_level;
+} // namespace char_
} // namespace tmwa