Merge PR #351 into jgrpp
This commit is contained in:
@@ -122,6 +122,12 @@ static const SettingDescEnumEntry _train_braking_model[] = {
|
||||
{ 0, STR_NULL }
|
||||
};
|
||||
|
||||
static const SettingDescEnumEntry _station_delivery_mode[] = {
|
||||
{ SD_NEAREST_FIRST, STR_CONFIG_SETTING_ORIGINAL},
|
||||
{ SD_BALANCED, STR_CONFIG_SETTING_DELIVERY_BALANCED},
|
||||
{ 0, STR_NULL }
|
||||
};
|
||||
|
||||
/* Some settings do not need to be synchronised when playing in multiplayer.
|
||||
* These include for example the GUI settings and will not be saved with the
|
||||
* savegame.
|
||||
@@ -1948,6 +1954,15 @@ str = STR_CONFIG_SETTING_SERVE_NEUTRAL_INDUSTRIES
|
||||
strhelp = STR_CONFIG_SETTING_SERVE_NEUTRAL_INDUSTRIES_HELPTEXT
|
||||
post_cb = StationCatchmentChanged
|
||||
|
||||
[SDT_ENUM]
|
||||
var = station.station_delivery_mode
|
||||
type = SLE_UINT8
|
||||
def = SD_NEAREST_FIRST
|
||||
enumlist = _station_delivery_mode
|
||||
str = STR_CONFIG_SETTING_CARGO_DELIVERY_MODE
|
||||
strhelp = STR_CONFIG_SETTING_CARGO_DELIVERY_MODE_HELPTEXT
|
||||
patxname = ""station.station_delivery_mode""
|
||||
|
||||
[SDT_BOOL]
|
||||
var = order.gradual_loading
|
||||
from = SLV_40
|
||||
|
Reference in New Issue
Block a user