2015-01-30 20:37:14 +01:00
|
|
|
/*
|
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
|
|
|
|
|
2017-11-05 19:35:06 +01:00
|
|
|
typedef enum {
|
2011-03-07 08:02:35 +01:00
|
|
|
T_OCEAN = 0,
|
2015-03-29 14:03:56 +02:00
|
|
|
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,
|
2017-11-06 21:04:30 +01:00
|
|
|
MAXTERRAINS,
|
2017-11-05 19:35:06 +01:00
|
|
|
NOTERRAIN = - 1
|
|
|
|
} terrain_t;
|
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
|