diff options
author | Kisuka <kisuka@kisuka.com> | 2013-10-25 12:21:39 -0700 |
---|---|---|
committer | Kisuka <kisuka@kisuka.com> | 2013-10-25 12:21:39 -0700 |
commit | f7158456d9f6338b38b16f321c9a229fc6547bc0 (patch) | |
tree | 5a7e85a639423109b6e8cf935f2f4c8ddf1bb595 /src/map/map.h | |
parent | 94b7b25456aa8a9de1e0f2a147d58dba6e5976dd (diff) | |
parent | bf27a9e0cf1bfe9be298c4191010ba6876457d64 (diff) | |
download | hercules-f7158456d9f6338b38b16f321c9a229fc6547bc0.tar.gz hercules-f7158456d9f6338b38b16f321c9a229fc6547bc0.tar.bz2 hercules-f7158456d9f6338b38b16f321c9a229fc6547bc0.tar.xz hercules-f7158456d9f6338b38b16f321c9a229fc6547bc0.zip |
Merge pull request #1 from shennetsind/master
Quest Bubbles Update
Diffstat (limited to 'src/map/map.h')
-rw-r--r-- | src/map/map.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/map/map.h b/src/map/map.h index 83d5aa5a8..053d7ff2e 100644 --- a/src/map/map.h +++ b/src/map/map.h @@ -557,6 +557,17 @@ struct map_drop_list { int drop_per; }; + +struct questinfo { + struct npc_data *nd; + unsigned short icon; + unsigned char color; + int quest_id; + bool hasJob; + unsigned short job;/* perhaps a mapid mask would be most flexible? */ +}; + + struct map_data { char name[MAP_NAME_LENGTH]; uint16 index; // The map index used by the mapindex* functions. @@ -690,6 +701,10 @@ struct map_data { int (*getcellp)(struct map_data* m,int16 x,int16 y,cell_chk cellchk); void (*setcell) (int16 m, int16 x, int16 y, cell_t cell, bool flag); char *cellPos; + + /* ShowEvent Data Cache */ + struct questinfo *qi_data; + unsigned short qi_count; }; /// Stores information about a remote map (for multi-mapserver setups). @@ -1029,6 +1044,8 @@ struct map_interface { void (*addblcell) (struct block_list *bl); void (*delblcell) (struct block_list *bl); int (*get_new_bonus_id) (void); + void (*add_questinfo) (int m, struct questinfo *qi); + bool (*remove_questinfo) (int m, struct npc_data *nd); }; struct map_interface *map; |