table/elrail_data.h
changeset 4470 8e66f345f66d
parent 4344 5d0e40cd67b9
child 4549 60410aa1aa88
equal deleted inserted replaced
4469:224ea00d73af 4470:8e66f345f66d
   328 
   328 
   329 	{ SPR_WIRE_EW_W,          8,  0,  8,  8,  1, ELRAIL_ELEVATION }, //!28: UPPER trackbit wire, pylon on both ends
   329 	{ SPR_WIRE_EW_W,          8,  0,  8,  8,  1, ELRAIL_ELEVATION }, //!28: UPPER trackbit wire, pylon on both ends
   330 	{ SPR_WIRE_EW_W,         16,  8,  8,  8,  1, ELRAIL_ELEVATION }, //!29: LOWER trackbit wire, pylon on both ends
   330 	{ SPR_WIRE_EW_W,         16,  8,  8,  8,  1, ELRAIL_ELEVATION }, //!29: LOWER trackbit wire, pylon on both ends
   331 
   331 
   332 	{ SPR_WIRE_EW_E,          8,  0,  8,  8,  1, ELRAIL_ELEVATION }, //!32: UPPER trackbit wire, pylon on both ends
   332 	{ SPR_WIRE_EW_E,          8,  0,  8,  8,  1, ELRAIL_ELEVATION }, //!32: UPPER trackbit wire, pylon on both ends
   333 	{ SPR_WIRE_EW_E,         16,  8,  8,  8,  1, ELRAIL_ELEVATION }, //!33: LOWER trackbit wire, pylon on both ends
   333 	{ SPR_WIRE_EW_E,         16,  8,  8,  8,  1, ELRAIL_ELEVATION }  //!33: LOWER trackbit wire, pylon on both ends
   334 
   334 };
   335 /* Depots */
   335 
   336 	{ SPR_WIRE_DEPOT_SW,      0,  8,  8,  1,  1, ELRAIL_ELEVATION }, //!36: Wire for SW depot exit
   336 static const SortableSpriteStruct CatenarySpriteData_Depot[] = {
   337 	{ SPR_WIRE_DEPOT_NW,      8,  0,  1,  8,  1, ELRAIL_ELEVATION }, //!37: Wire for NW depot exit
   337 	{ SPR_WIRE_DEPOT_NE,      0,  8,  8,  1,  1, ELRAIL_ELEVATION }, //! Wire for NE depot exit
   338 	{ SPR_WIRE_DEPOT_NE,      0,  8,  8,  1,  1, ELRAIL_ELEVATION }, //!38: Wire for NE depot exit
   338 	{ SPR_WIRE_DEPOT_SE,      8,  0,  1,  8,  1, ELRAIL_ELEVATION }, //! Wire for SE depot exit
   339 	{ SPR_WIRE_DEPOT_SE,      8,  0,  1,  8,  1, ELRAIL_ELEVATION }, //!39: Wire for SE depot exit
   339 	{ SPR_WIRE_DEPOT_SW,      0,  8,  8,  1,  1, ELRAIL_ELEVATION }, //! Wire for SW depot exit
       
   340 	{ SPR_WIRE_DEPOT_NW,      8,  0,  1,  8,  1, ELRAIL_ELEVATION }  //! Wire for NW depot exit
   340 };
   341 };
   341 
   342 
   342 /** Refers to a certain element of the catenary.
   343 /** Refers to a certain element of the catenary.
   343   * Identifiers for Wires:
   344   * Identifiers for Wires:
   344   * <ol><li>Direction of the wire</li>
   345   * <ol><li>Direction of the wire</li>
   390 	WIRE_EW_N_W,
   391 	WIRE_EW_N_W,
   391 	WIRE_EW_S_W,
   392 	WIRE_EW_S_W,
   392 
   393 
   393 	WIRE_EW_N_E,
   394 	WIRE_EW_N_E,
   394 	WIRE_EW_S_E,
   395 	WIRE_EW_S_E,
   395 
       
   396 	WIRE_DEPOT_SW,
       
   397 	WIRE_DEPOT_NW,
       
   398 	WIRE_DEPOT_NE,
       
   399 	WIRE_DEPOT_SE,
       
   400 
   396 
   401 	INVALID_CATENARY = 0xFF
   397 	INVALID_CATENARY = 0xFF
   402 } CatenarySprite;
   398 } CatenarySprite;
   403 
   399 
   404 /* Selects a Wire (with white and grey ends) depending on whether:
   400 /* Selects a Wire (with white and grey ends) depending on whether: