src/newgrf_callbacks.h
changeset 7600 f885804de706
parent 7582 80c8517b08d1
child 7615 8ffd309681c2
equal deleted inserted replaced
7599:0d6d44f403c5 7600:f885804de706
    11  * List of implemented NewGRF callbacks.
    11  * List of implemented NewGRF callbacks.
    12  * Most of these callbacks are only triggered when the corresponding
    12  * Most of these callbacks are only triggered when the corresponding
    13  * bit is set in the callback flags/trigger for a vehicle, house,
    13  * bit is set in the callback flags/trigger for a vehicle, house,
    14  * industry, etc.
    14  * industry, etc.
    15  * Names are formatted as CBID_<CLASS>_<CALLBACK>
    15  * Names are formatted as CBID_<CLASS>_<CALLBACK>
       
    16  *
       
    17  * @note Do not forget to add 15 bits callbacks to the switch in
       
    18  *       newgrf_spritegroup.cpp (search for "15 bits callback").
    16  */
    19  */
    17 enum CallbackID {
    20 enum CallbackID {
    18 	/** Set when using the callback resolve system, but not to resolve a callback. */
    21 	/** Set when using the callback resolve system, but not to resolve a callback. */
    19 	CBID_NO_CALLBACK                     = 0x00,
    22 	CBID_NO_CALLBACK                     = 0x00,
    20 
    23