settings.c
changeset 2006 9d5d7fd428c2
parent 1941 ca268f8837df
child 2008 cdb444f6d43c
equal deleted inserted replaced
2005:2fe1516d45c5 2006:9d5d7fd428c2
   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. */
   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},
   979 	{"npf_road_curve_penalty",      SDT_UINT32, (void*)(1),                     &_patches.npf_road_curve_penalty,       NULL},
       
   980 	/* This is the penalty for level crossings, for both road and rail vehicles */
       
   981  	{"npf_crossing_penalty",        SDT_UINT32, (void*)(3 * NPF_TILE_LENGTH),   &_patches.npf_crossing_penalty,         NULL},
   980 
   982 
   981 	{NULL,                          0,          NULL,                           NULL,                                   NULL}
   983 	{NULL,                          0,          NULL,                           NULL,                                   NULL}
   982 };
   984 };
   983 
   985 
   984 static const SettingDesc currency_settings[] = {
   986 static const SettingDesc currency_settings[] = {