diff options
Diffstat (limited to 'src/map/storage.h')
-rw-r--r-- | src/map/storage.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/src/map/storage.h b/src/map/storage.h index bd8c5fdc6..6764d4956 100644 --- a/src/map/storage.h +++ b/src/map/storage.h @@ -4,7 +4,12 @@ #ifndef _STORAGE_H_ #define _STORAGE_H_ -#include "../common/mmo.h" +//#include "../common/mmo.h" +struct storage; +struct guild_storage; +struct item; +//#include "map.h" +struct map_session_data; int storage_storageopen(struct map_session_data *sd); int storage_storageadd(struct map_session_data *sd,int index,int amount); @@ -15,15 +20,15 @@ int storage_storageclose(struct map_session_data *sd); int do_init_storage(void); void do_final_storage(void); void do_reconnect_storage(void); -struct storage *account2storage(int account_id); -struct storage *account2storage2(int account_id); +struct storage* account2storage(int account_id); +struct storage* account2storage2(int account_id); int storage_delete(int account_id); int storage_storage_quit(struct map_session_data *sd, int flag); int storage_storage_save(int account_id, int final); int storage_storage_saved(int account_id); //Ack from char server that guild store was saved. void storage_storage_dirty(struct map_session_data *sd); -struct guild_storage *guild2storage(int guild_id); +struct guild_storage* guild2storage(int guild_id); int guild_storage_delete(int guild_id); int storage_guild_storageopen(struct map_session_data *sd); int guild_storage_additem(struct map_session_data *sd,struct guild_storage *stor,struct item *item_data,int amount); |