summaryrefslogtreecommitdiff
path: root/src/common/mapindex.h
diff options
context:
space:
mode:
authorValaris <Valaris@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-01-29 16:10:48 +0000
committerValaris <Valaris@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-01-29 16:10:48 +0000
commit620e60eebce2c1f35c5c9a82f6ca365b316587f5 (patch)
tree38a39e0415f419d9a49ae456ed0e26654c23d559 /src/common/mapindex.h
parenta2675f07d7da22a7c6ae11f545bf8f671e785a82 (diff)
downloadhercules-620e60eebce2c1f35c5c9a82f6ca365b316587f5.tar.gz
hercules-620e60eebce2c1f35c5c9a82f6ca365b316587f5.tar.bz2
hercules-620e60eebce2c1f35c5c9a82f6ca365b316587f5.tar.xz
hercules-620e60eebce2c1f35c5c9a82f6ca365b316587f5.zip
AS OF SVN REV. 5901, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK.
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK. EVERYTHING ELSE GOES INTO TRUNK AND WILL BE MERGED INTO STABLE BY VALARIS AND WIZPUTER. -- VALARIS git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5094 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/common/mapindex.h')
-rw-r--r--src/common/mapindex.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/src/common/mapindex.h b/src/common/mapindex.h
new file mode 100644
index 000000000..7e2bbe289
--- /dev/null
+++ b/src/common/mapindex.h
@@ -0,0 +1,37 @@
+#ifndef _MAX_INDEX_H
+#define _MAX_INDEX_H
+//File in charge of assigning a numberic ID to each map in existance for space saving when passing map info between servers.
+extern char mapindex_cfgfile[80];
+
+//whether to enable auto-adding of maps during run. Not so secure as the map indexes will vary!
+#define MAPINDEX_AUTOADD
+
+//Some definitions for the mayor city maps.
+#define MAP_PRONTERA "prontera.gat"
+#define MAP_GEFFEN "geffen.gat"
+#define MAP_MORROC "morocc.gat"
+#define MAP_ALBERTA "alberta.gat"
+#define MAP_PAYON "payon.gat"
+#define MAP_IZLUDE "izlude.gat"
+#define MAP_ALDEBARAN "aldebaran.gat"
+#define MAP_LUTIE "xmas.gat"
+#define MAP_COMODO "comodo.gat"
+#define MAP_YUNO "yuno.gat"
+#define MAP_AMATSU "amatsu.gat"
+#define MAP_GONRYUN "gonryun.gat"
+#define MAP_UMBALA "umbala.gat"
+#define MAP_NIFLHEIM "niflheim.gat"
+#define MAP_LOUYANG "louyang.gat"
+#define MAP_JAWAII "jawaii.gat"
+#define MAP_AYOTHAYA "ayothaya.gat"
+#define MAP_EINBROCH "einbroch.gat"
+#define MAP_LIGHTHALZEN "lighthalzen.gat"
+#define MAP_EINBECH "einbech.gat"
+#define MAP_HUGEL "hugel.gat"
+#define MAP_JAIL "sec_pri.gat"
+unsigned short mapindex_name2id(char*);
+const char* mapindex_id2name(unsigned short);
+void mapindex_init(void);
+void mapindex_final(void);
+
+#endif