server/src/kernel/terrainid.h

42 lines
923 B
C
Raw Normal View History

/*
2010-08-08 10:06:34 +02:00
* +-------------------+ Christian Schlittchen <corwin@amber.kn-bremen.de>
* | | Enno Rehling <enno@eressea.de>
* | Eressea PBEM host | Katja Zedel <katze@felidae.kn-bremen.de>
* | (c) 1998 - 2005 |
* | | This program may not be used, modified or distributed
* +-------------------+ without prior permission by the authors of Eressea.
*/
#ifndef H_KRNL_TERRAINID_H
#define H_KRNL_TERRAINID_H
#ifdef __cplusplus
extern "C" {
#endif
2011-03-07 08:02:35 +01:00
enum {
T_OCEAN = 0,
T_PLAIN,
T_SWAMP,
T_DESERT,
T_HIGHLAND,
T_MOUNTAIN,
T_GLACIER,
T_FIREWALL,
T_ASTRAL,
T_ASTRALB,
T_VOLCANO,
T_VOLCANO_SMOKING,
T_ICEBERG_SLEEP,
T_ICEBERG,
2011-03-07 08:02:35 +01:00
NOTERRAIN = (terrain_t) - 1
};
2010-08-08 10:06:34 +02:00
2011-03-07 08:02:35 +01:00
extern const struct terrain_type *newterrain(terrain_t t);
extern terrain_t oldterrain(const struct terrain_type *terrain);
2010-08-08 10:06:34 +02:00
#ifdef __cplusplus
}
#endif
#endif