summaryrefslogtreecommitdiff
path: root/src/genworld.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/genworld.h')
-rw-r--r--src/genworld.h4
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