summaryrefslogtreecommitdiff
path: root/src/common/mapindex.h
blob: 7a0286adfeb8b524c563aa202dfb70e4439aa177 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#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!
// disabled - since mapindex.h wasn't included in mapindex.c it never got enabled anyway... [FlavioJS]
//#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_RACHEL "rachel.gat"
#define MAP_VEINS "veins.gat"
#define MAP_JAIL "sec_pri.gat"
#define MAP_NOVICE "new_zone01.gat"
unsigned short mapindex_name2id(char*);
const char* mapindex_id2name(unsigned short);
void mapindex_init(void);
void mapindex_final(void);

#endif