newgrf_callbacks.h
changeset 3650 4dd8517bdcf6
parent 3505 091f0285df7d
child 3727 3a3ebb0bde7e
equal deleted inserted replaced
3649:56d941304eef 3650:4dd8517bdcf6
    22 	// Refit capacity, the passed vehicle needs to have its ->cargo_type set to
    22 	// Refit capacity, the passed vehicle needs to have its ->cargo_type set to
    23 	// the cargo we are refitting to, returns the new cargo capacity
    23 	// the cargo we are refitting to, returns the new cargo capacity
    24 	CBID_VEHICLE_REFIT_CAPACITY     = 0x15,
    24 	CBID_VEHICLE_REFIT_CAPACITY     = 0x15,
    25 
    25 
    26 	CBID_TRAIN_ARTIC_ENGINE         = 0x16,
    26 	CBID_TRAIN_ARTIC_ENGINE         = 0x16,
       
    27 
       
    28 	/* This callback is called from vehicle purchase lists. It returns a value to be
       
    29 	 * used as a custom string ID in the 0xD000 range. */
       
    30 	CBID_VEHICLE_ADDITIONAL_TEXT    = 0x23,
    27 };
    31 };
    28 
    32 
    29 /**
    33 /**
    30  * Callback masks for vehicles, indicates which callbacks are used by a vehicle.
    34  * Callback masks for vehicles, indicates which callbacks are used by a vehicle.
    31  * Some callbacks are always used and don't have a mask.
    35  * Some callbacks are always used and don't have a mask.