File diff r4548:6a33e364fba5 → r4549:76b9213799ac
table/engines.h
Show inline comments
 
@@ -4,25 +4,25 @@
 
#define ENGINES_H
 

	
 
/** @file table/engines.h
 
  * This file contains all the data for vehicles
 
  */
 
 *  This file contains all the data for vehicles
 
 */
 

	
 
#include "../sound.h"
 

	
 
/** Writes the properties of a vehicle into the EngineInfo struct.
 
  * @see EngineInfo
 
  * @param a Introduction date
 
  * @param e Rail Type of the vehicle
 
  * @param f Bitmask of the climates
 
  */
 
 * @see EngineInfo
 
 * @param a Introduction date
 
 * @param e Rail Type of the vehicle
 
 * @param f Bitmask of the climates
 
 */
 
#define MK(a, b, c, d, e, f) { DAYS_TILL_ORIGINAL_BASE_YEAR + a, b, c, d, e, f, 0, 8, 0, 0 }
 
/** Writes the properties of a train carriage into the EngineInfo struct.
 
  * @see EngineInfo
 
  * @param a Introduction date
 
  * @param e Rail Type of the vehicle
 
  * @param f Bitmask of the climates
 
  * @note the 0x80 in parameter b sets the "is carriage bit"
 
  */
 
 * @see EngineInfo
 
 * @param a Introduction date
 
 * @param e Rail Type of the vehicle
 
 * @param f Bitmask of the climates
 
 * @note the 0x80 in parameter b sets the "is carriage bit"
 
 */
 
#define MW(a, b, c, d, e, f) { DAYS_TILL_ORIGINAL_BASE_YEAR + a, b | 0x80, c, d, e, f, 0, 8, 0, 0 }
 

	
 
// Rail types