mirror of https://github.com/OpenTTD/OpenTTD
(svn r24209) -Cleanup: Remove now unused SGF_NOCOMMA value.
parent
b5981bca90
commit
8c585e5ad6
|
@ -40,7 +40,6 @@ enum SettingGuiFlagLong {
|
||||||
* Flags directing saving/loading of a variable */
|
* Flags directing saving/loading of a variable */
|
||||||
SGF_NONE = 0,
|
SGF_NONE = 0,
|
||||||
SGF_0ISDISABLED = 1 << 0, ///< a value of zero means the feature is disabled
|
SGF_0ISDISABLED = 1 << 0, ///< a value of zero means the feature is disabled
|
||||||
SGF_NOCOMMA = 1 << 1, ///< number without any thousand seperators (no formatting)
|
|
||||||
SGF_MULTISTRING = 1 << 2, ///< the value represents a limited number of string-options (internally integer)
|
SGF_MULTISTRING = 1 << 2, ///< the value represents a limited number of string-options (internally integer)
|
||||||
SGF_NETWORK_ONLY = 1 << 3, ///< this setting only applies to network games
|
SGF_NETWORK_ONLY = 1 << 3, ///< this setting only applies to network games
|
||||||
SGF_CURRENCY = 1 << 4, ///< the number represents money, so when reading value multiply by exchange rate
|
SGF_CURRENCY = 1 << 4, ///< the number represents money, so when reading value multiply by exchange rate
|
||||||
|
|
|
@ -1084,7 +1084,6 @@ to = 143
|
||||||
base = GameSettings
|
base = GameSettings
|
||||||
var = game_creation.starting_year
|
var = game_creation.starting_year
|
||||||
type = SLE_INT32
|
type = SLE_INT32
|
||||||
guiflags = SGF_NOCOMMA
|
|
||||||
def = DEF_START_YEAR
|
def = DEF_START_YEAR
|
||||||
min = MIN_YEAR
|
min = MIN_YEAR
|
||||||
max = MAX_YEAR
|
max = MAX_YEAR
|
||||||
|
@ -2288,7 +2287,6 @@ proc = CloseSignalGUI
|
||||||
var = gui.coloured_news_year
|
var = gui.coloured_news_year
|
||||||
type = SLE_INT32
|
type = SLE_INT32
|
||||||
flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
|
flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
|
||||||
guiflags = SGF_NOCOMMA
|
|
||||||
def = 2000
|
def = 2000
|
||||||
min = MIN_YEAR
|
min = MIN_YEAR
|
||||||
max = MAX_YEAR
|
max = MAX_YEAR
|
||||||
|
@ -2317,7 +2315,6 @@ str = STR_CONFIG_SETTING_DRAG_SIGNALS_FIXED_DISTANCE
|
||||||
var = gui.semaphore_build_before
|
var = gui.semaphore_build_before
|
||||||
type = SLE_INT32
|
type = SLE_INT32
|
||||||
flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
|
flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
|
||||||
guiflags = SGF_NOCOMMA
|
|
||||||
def = 1950
|
def = 1950
|
||||||
min = MIN_YEAR
|
min = MIN_YEAR
|
||||||
max = MAX_YEAR
|
max = MAX_YEAR
|
||||||
|
@ -2941,7 +2938,7 @@ ifdef = ENABLE_NETWORK
|
||||||
var = network.restart_game_year
|
var = network.restart_game_year
|
||||||
type = SLE_INT32
|
type = SLE_INT32
|
||||||
flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
|
flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
|
||||||
guiflags = SGF_0ISDISABLED | SGF_NETWORK_ONLY | SGF_NOCOMMA
|
guiflags = SGF_0ISDISABLED | SGF_NETWORK_ONLY
|
||||||
def = 0
|
def = 0
|
||||||
min = MIN_YEAR
|
min = MIN_YEAR
|
||||||
max = MAX_YEAR
|
max = MAX_YEAR
|
||||||
|
|
Loading…
Reference in New Issue