diff options
author | terkhen <terkhen@openttd.org> | 2010-09-20 18:56:35 +0000 |
---|---|---|
committer | terkhen <terkhen@openttd.org> | 2010-09-20 18:56:35 +0000 |
commit | e90930e5722a43741deef77de9c562283549faf1 (patch) | |
tree | 113c2207950441246ceea53c85e7d3a1aacfc0f7 /src/genworld.h | |
parent | b916c5d8c177526690489da4b758187184dff464 (diff) | |
download | openttd-e90930e5722a43741deef77de9c562283549faf1.tar.xz |
(svn r20832) -Feature: Allow to select a custom percentage of water in the map generation window (based on patch by CommanderZ).
Diffstat (limited to 'src/genworld.h')
-rw-r--r-- | src/genworld.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/genworld.h b/src/genworld.h index 2b701ad45..0fd6b4231 100644 --- a/src/genworld.h +++ b/src/genworld.h @@ -33,6 +33,10 @@ enum GenWorldMode { GWM_HEIGHTMAP = 3, ///< Generate a newgame from a heightmap }; +static const int CUSTOM_SEA_LEVEL_NUMBER_DIFFICULTY = 4; ///< Value for custom sea level in difficulty settings. +static const int CUSTOM_SEA_LEVEL_MIN_PERCENTAGE = 1; ///< Minimum percentage a user can specify for custom sea level. +static const int CUSTOM_SEA_LEVEL_MAX_PERCENTAGE = 90; ///< Maximum percentage a user can specify for custom sea level. + typedef void GWDoneProc(); ///< Procedure called when the genworld process finishes typedef void GWAbortProc(); ///< Called when genworld is aborted |