Add setting for map edge behaviour, and how to display area outside map
This commit is contained in:
@@ -13,8 +13,10 @@
|
||||
static bool CheckMaxHeightLevel(int32_t &new_value);
|
||||
static bool CheckFreeformEdges(int32_t &new_value);
|
||||
static void UpdateFreeformEdges(int32_t new_value);
|
||||
static bool CheckMapEdgeMode(int32_t &new_value);
|
||||
static void ClimateThresholdModeChanged(int32 new_value);
|
||||
static void PublicRoadsSettingChange(int32 new_value);
|
||||
static void MarkAllViewportsDirty(int32 new_value);
|
||||
|
||||
static bool AllowRoadStopsUnderBridgesSettingGUI(SettingOnGuiCtrlData &data);
|
||||
static bool TreePlacerSettingGUI(SettingOnGuiCtrlData &data);
|
||||
@@ -929,6 +931,20 @@ strhelp = STR_CONFIG_SETTING_FLOOD_FROM_EDGES_HELPTEXT
|
||||
cat = SC_ADVANCED
|
||||
patxname = ""construction.flood_from_edges""
|
||||
|
||||
[SDT_VAR]
|
||||
var = construction.map_edge_mode
|
||||
type = SLE_UINT8
|
||||
flags = SF_GUI_DROPDOWN | SF_PATCH
|
||||
def = 0
|
||||
min = 0
|
||||
max = 2
|
||||
str = STR_CONFIG_SETTING_MAP_EDGE_MODE
|
||||
strhelp = STR_CONFIG_SETTING_MAP_EDGE_MODE_HELPTEXT
|
||||
strval = STR_CONFIG_SETTING_MAP_EDGE_MODE_DEFAULT
|
||||
pre_cb = CheckMapEdgeMode
|
||||
post_cb = MarkAllViewportsDirty
|
||||
cat = SC_ADVANCED
|
||||
|
||||
[SDT_VAR]
|
||||
var = construction.extra_tree_placement
|
||||
type = SLE_UINT8
|
||||
|
Reference in New Issue
Block a user