settings.c
changeset 1941 ca268f8837df
parent 1891 862800791170
child 2006 9d5d7fd428c2
equal deleted inserted replaced
1940:f8dc0b0fea2d 1941:ca268f8837df
   973 	{"npf_buoy_penalty",            SDT_UINT32, (void*)(2 * NPF_TILE_LENGTH),   &_patches.npf_buoy_penalty,             NULL},
   973 	{"npf_buoy_penalty",            SDT_UINT32, (void*)(2 * NPF_TILE_LENGTH),   &_patches.npf_buoy_penalty,             NULL},
   974 	/* This penalty is applied when a ship makes a turn. It is bigger than the
   974 	/* This penalty is applied when a ship makes a turn. It is bigger than the
   975 	 * rail curve penalty, since ships (realisticly) have more trouble with
   975 	 * rail curve penalty, since ships (realisticly) have more trouble with
   976 	 * making turns */
   976 	 * making turns */
   977 	{"npf_water_curve_penalty",     SDT_UINT32, (void*)(NPF_TILE_LENGTH / 4),   &_patches.npf_water_curve_penalty,      NULL},
   977 	{"npf_water_curve_penalty",     SDT_UINT32, (void*)(NPF_TILE_LENGTH / 4),   &_patches.npf_water_curve_penalty,      NULL},
       
   978 	/* This is the penalty for road, same as for rail. */
       
   979 	{"npf_road_curve_penalty",      SDT_UINT32, (void*)(1),                     &_patches.npf_road_curve_penalty,       NULL},
   978 
   980 
   979 	{NULL,                          0,          NULL,                           NULL,                                   NULL}
   981 	{NULL,                          0,          NULL,                           NULL,                                   NULL}
   980 };
   982 };
   981 
   983 
   982 static const SettingDesc currency_settings[] = {
   984 static const SettingDesc currency_settings[] = {