summaryrefslogtreecommitdiff
path: root/src/common/mapindex.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-11-26 00:12:05 +0300
committerAndrei Karas <akaras@inbox.ru>2014-12-06 16:22:40 +0300
commit0147ed8a48a7f01d0619dec3eb2813b879f1dee7 (patch)
treeaf90f12ec9e9c64070fb8eae9d5b2fc35ed2912a /src/common/mapindex.h
parent867ca32885a67fa69a00a3814ba33208274e81ba (diff)
downloadhercules-0147ed8a48a7f01d0619dec3eb2813b879f1dee7.tar.gz
hercules-0147ed8a48a7f01d0619dec3eb2813b879f1dee7.tar.bz2
hercules-0147ed8a48a7f01d0619dec3eb2813b879f1dee7.tar.xz
hercules-0147ed8a48a7f01d0619dec3eb2813b879f1dee7.zip
into mapindex add variable with default map and position.
Diffstat (limited to 'src/common/mapindex.h')
-rw-r--r--src/common/mapindex.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/common/mapindex.h b/src/common/mapindex.h
index 53d08f8e6..91bf4562e 100644
--- a/src/common/mapindex.h
+++ b/src/common/mapindex.h
@@ -67,6 +67,12 @@ struct mapindex_interface {
DBMap *db;
/* number of entries in the index table */
int num;
+ /* default map name */
+ char *default_map;
+ /* default x on map */
+ int default_x;
+ /* default y on map */
+ int default_y;
/* index list -- since map server map count is *unlimited* this should be too */
struct {
char name[MAP_NAME_LENGTH];