src/newgrf_callbacks.h
changeset 8685 fdc27d8e35b3
parent 8287 77eed374cc00
child 8759 dc74629e649f
equal deleted inserted replaced
8684:80dc71578def 8685:fdc27d8e35b3
   208 	/** Customize the input cargo types of a newly build industry. */
   208 	/** Customize the input cargo types of a newly build industry. */
   209 	CBID_INDUSTRY_INPUT_CARGO_TYPES      = 0x14B,
   209 	CBID_INDUSTRY_INPUT_CARGO_TYPES      = 0x14B,
   210 
   210 
   211 	/** Customize the output cargo types of a newly build industry. */
   211 	/** Customize the output cargo types of a newly build industry. */
   212 	CBID_INDUSTRY_OUTPUT_CARGO_TYPES     = 0x14C,
   212 	CBID_INDUSTRY_OUTPUT_CARGO_TYPES     = 0x14C,
       
   213 
       
   214 	/* ATTENTION:
       
   215 	 * When adding new callbacks and their result is 15bit, add them to newgrf_spritegroup.cpp:Is8BitCallback().
       
   216 	 * It does not harm to add them there though they are not implemented. But it does harm if they get forgotton.
       
   217 	 */
   213 };
   218 };
   214 
   219 
   215 /**
   220 /**
   216  * Callback masks for vehicles, indicates which callbacks are used by a vehicle.
   221  * Callback masks for vehicles, indicates which callbacks are used by a vehicle.
   217  * Some callbacks are always used and don't have a mask.
   222  * Some callbacks are always used and don't have a mask.