newgrf_callbacks.h
changeset 4656 9c1d8c4d3e60
parent 4244 d40c73c55357
child 4694 c917a3ad0dd2
equal deleted inserted replaced
4655:2af9a0c4cec2 4656:9c1d8c4d3e60
    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.