summaryrefslogtreecommitdiff
path: root/src/char/int_guild.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-11-09 19:57:39 +0300
committerAndrei Karas <akaras@inbox.ru>2014-11-15 11:47:30 +0300
commit0733638ef2e2972029f8363921c12891ec138a09 (patch)
tree879a8263a66b0fcb3fbdc908c3e5ee94263b52ae /src/char/int_guild.h
parent061c578318833919a69c685824277b8ceafe63bb (diff)
downloadhercules-0733638ef2e2972029f8363921c12891ec138a09.tar.gz
hercules-0733638ef2e2972029f8363921c12891ec138a09.tar.bz2
hercules-0733638ef2e2972029f8363921c12891ec138a09.tar.xz
hercules-0733638ef2e2972029f8363921c12891ec138a09.zip
Move global variable into interface in int_guild.c
Diffstat (limited to 'src/char/int_guild.h')
-rw-r--r--src/char/int_guild.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/char/int_guild.h b/src/char/int_guild.h
index 666510482..0b43d45e5 100644
--- a/src/char/int_guild.h
+++ b/src/char/int_guild.h
@@ -25,6 +25,10 @@ enum {
void inter_guild_defaults(void);
struct inter_guild_interface {
+ DBMap* guild_db; // int guild_id -> struct guild*
+ DBMap* castle_db;
+ unsigned int exp[MAX_GUILDLEVEL];
+
int (*save_timer) (int tid, int64 tick, int id, intptr_t data);
int (*removemember_tosql) (int account_id, int char_id);
int (*tosql) (struct guild *g, int flag);