Add GUI/client setting to save zoning overlay state
This commit is contained in:
@@ -66,6 +66,7 @@
|
|||||||
#include "strings_func.h"
|
#include "strings_func.h"
|
||||||
#include "string_func.h"
|
#include "string_func.h"
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
|
#include "zoning.h"
|
||||||
|
|
||||||
#include "void_map.h"
|
#include "void_map.h"
|
||||||
#include "station_base.h"
|
#include "station_base.h"
|
||||||
|
@@ -319,5 +319,23 @@ min = ZOOM_LVL_MIN
|
|||||||
max = ZOOM_LVL_OUT_4X
|
max = ZOOM_LVL_OUT_4X
|
||||||
cat = SC_BASIC
|
cat = SC_BASIC
|
||||||
|
|
||||||
|
[SDTG_VAR]
|
||||||
|
name = ""zoning_overlay_inner""
|
||||||
|
type = SLE_UINT8
|
||||||
|
var = _zoning.inner
|
||||||
|
def = 0
|
||||||
|
min = 0
|
||||||
|
max = ZEM_END
|
||||||
|
cat = SC_BASIC
|
||||||
|
|
||||||
|
[SDTG_VAR]
|
||||||
|
name = ""zoning_overlay_outer""
|
||||||
|
type = SLE_UINT8
|
||||||
|
var = _zoning.outer
|
||||||
|
def = 0
|
||||||
|
min = 0
|
||||||
|
max = ZEM_END
|
||||||
|
cat = SC_BASIC
|
||||||
|
|
||||||
[SDTG_END]
|
[SDTG_END]
|
||||||
|
|
||||||
|
@@ -29,6 +29,8 @@ enum ZoningEvaluationMode {
|
|||||||
ZEM_TRACERESTRICT, ///< Check for restricted signals
|
ZEM_TRACERESTRICT, ///< Check for restricted signals
|
||||||
ZEM_2x2_GRID, ///< Show 2x2 town road grid
|
ZEM_2x2_GRID, ///< Show 2x2 town road grid
|
||||||
ZEM_3x3_GRID, ///< Show 3x3 town road grid
|
ZEM_3x3_GRID, ///< Show 3x3 town road grid
|
||||||
|
|
||||||
|
ZEM_END, ///< End marker
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user