File diff r15609:02b794721f9c → r15610:623a23fb6560
src/cargotype.h
Show inline comments
 
@@ -133,13 +133,14 @@ CargoID GetCargoIDByBitnum(uint8 bitnum)
 

	
 
void InitializeSortedCargoSpecs();
 
extern const CargoSpec *_sorted_cargo_specs[NUM_CARGO];
 
extern uint8 _sorted_cargo_specs_size;
 
extern uint8 _sorted_standard_cargo_specs_size;
 

	
 
/** Does cargo \a c have cargo class \a cc?
 
/**
 
 * Does cargo \a c have cargo class \a cc?
 
 * @param c  Cargo type.
 
 * @param cc Cargo class.
 
 * @return The type fits in the class.
 
 */
 
static inline bool IsCargoInClass(CargoID c, CargoClass cc)
 
{