diff options
Diffstat (limited to 'src/map/battleground.h')
-rw-r--r-- | src/map/battleground.h | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/src/map/battleground.h b/src/map/battleground.h index 87d56516a..dcf92d6d8 100644 --- a/src/map/battleground.h +++ b/src/map/battleground.h @@ -5,9 +5,14 @@ #ifndef MAP_BATTLEGROUND_H #define MAP_BATTLEGROUND_H -#include "clif.h" -#include "guild.h" -#include "../common/mmo.h" // struct party +#include "map/map.h" // EVENT_NAME_LENGTH +#include "common/hercules.h" +#include "common/db.h" +#include "common/mmo.h" // struct party + +struct hplugin_data_store; +struct block_list; +struct map_session_data; /** * Defines @@ -48,9 +53,7 @@ struct battleground_data { // Logout Event char logout_event[EVENT_NAME_LENGTH]; char die_event[EVENT_NAME_LENGTH]; - /* HPM Custom Struct */ - struct HPluginData **hdata; - unsigned int hdatac; + struct hplugin_data_store *hdata; ///< HPM Plugin Data Store }; struct bg_arena { @@ -122,10 +125,10 @@ struct battleground_interface { void (*config_read) (void); }; -struct battleground_interface *bg; - #ifdef HERCULES_CORE void battleground_defaults(void); #endif // HERCULES_CORE +HPShared struct battleground_interface *bg; + #endif /* MAP_BATTLEGROUND_H */ |