Increase maximum value of ticks per minute setting
This commit is contained in:
@@ -147,7 +147,7 @@ struct GUISettings {
|
|||||||
bool timetable_leftover_ticks; ///< whether to show leftover ticks after converting to minutes/days, in the timetable
|
bool timetable_leftover_ticks; ///< whether to show leftover ticks after converting to minutes/days, in the timetable
|
||||||
bool time_in_minutes; ///< whether to use the hh:mm conversion when printing dates
|
bool time_in_minutes; ///< whether to use the hh:mm conversion when printing dates
|
||||||
bool timetable_start_text_entry; ///< whether to enter timetable start times as text (hhmm format)
|
bool timetable_start_text_entry; ///< whether to enter timetable start times as text (hhmm format)
|
||||||
uint8 ticks_per_minute; ///< how many ticks per minute
|
uint16 ticks_per_minute; ///< how many ticks per minute
|
||||||
uint8 date_with_time; ///< whether to show the month and year with the time
|
uint8 date_with_time; ///< whether to show the month and year with the time
|
||||||
uint16 clock_offset; ///< clock offset in minutes
|
uint16 clock_offset; ///< clock offset in minutes
|
||||||
bool quick_goto; ///< Allow quick access to 'goto button' in vehicle orders window
|
bool quick_goto; ///< Allow quick access to 'goto button' in vehicle orders window
|
||||||
|
@@ -3561,12 +3561,12 @@ strhelp = STR_CONFIG_SETTING_TIMETABLE_START_TEXT_ENTRY_HELPTEXT
|
|||||||
|
|
||||||
[SDTC_VAR]
|
[SDTC_VAR]
|
||||||
var = gui.ticks_per_minute
|
var = gui.ticks_per_minute
|
||||||
type = SLE_UINT8
|
type = SLE_UINT16
|
||||||
flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
|
flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
|
||||||
strval = STR_JUST_INT
|
strval = STR_JUST_INT
|
||||||
def = 74
|
def = 74
|
||||||
min = 1
|
min = 1
|
||||||
max = 255
|
max = 8192
|
||||||
str = STR_CONFIG_SETTING_TICKS_PER_MINUTE
|
str = STR_CONFIG_SETTING_TICKS_PER_MINUTE
|
||||||
strhelp = STR_CONFIG_SETTING_TICKS_PER_MINUTE_HELPTEXT
|
strhelp = STR_CONFIG_SETTING_TICKS_PER_MINUTE_HELPTEXT
|
||||||
proc = RedrawScreen
|
proc = RedrawScreen
|
||||||
|
Reference in New Issue
Block a user