newgrf_callbacks.h
changeset 4656 acffecd6f484
parent 4244 44dcec623504
child 4694 a4d2a3abe75c
equal deleted inserted replaced
4655:0783c829014a 4656:acffecd6f484
    43 	CBID_STATION_TILE_LAYOUT        = 0x24,
    43 	CBID_STATION_TILE_LAYOUT        = 0x24,
    44 
    44 
    45 	/* Called when the player (or AI) tries to start or stop a vehicle. Mainly
    45 	/* Called when the player (or AI) tries to start or stop a vehicle. Mainly
    46 	 * used for preventing a vehicle from leaving the depot. */
    46 	 * used for preventing a vehicle from leaving the depot. */
    47 	CBID_VEHICLE_START_STOP_CHECK   = 0x31,
    47 	CBID_VEHICLE_START_STOP_CHECK   = 0x31,
       
    48 
       
    49 	/* Called to play a special sound effect */
       
    50 	CBID_VEHICLE_SOUND_EFFECT       = 0x33,
    48 };
    51 };
    49 
    52 
    50 /**
    53 /**
    51  * Callback masks for vehicles, indicates which callbacks are used by a vehicle.
    54  * Callback masks for vehicles, indicates which callbacks are used by a vehicle.
    52  * Some callbacks are always used and don't have a mask.
    55  * Some callbacks are always used and don't have a mask.