diff options
Diffstat (limited to 'src/genworld.h')
-rw-r--r-- | src/genworld.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/genworld.h b/src/genworld.h index a4399097e..a32cf2115 100644 --- a/src/genworld.h +++ b/src/genworld.h @@ -15,17 +15,16 @@ #include "company_type.h" /** Constants related to world generation */ -enum { +enum LandscapeGenerator { /* Order of these enums has to be the same as in lang/english.txt * Otherwise you will get inconsistent behaviour. */ LG_ORIGINAL = 0, ///< The original landscape generator LG_TERRAGENESIS = 1, ///< TerraGenesis Perlin landscape generator - - GENERATE_NEW_SEED = UINT_MAX, ///< Create a new random seed - - GENWORLD_REDRAW_TIMEOUT = 200, ///< Timeout between redraws }; +static const uint GENERATE_NEW_SEED = UINT_MAX; ///< Create a new random seed +static const uint GENWORLD_REDRAW_TIMEOUT = 200; ///< Timeout between redraws + /** Modes for GenerateWorld */ enum GenWorldMode { GWM_NEWGAME = 0, ///< Generate a map for a new game |