src/newgrf_callbacks.h
changeset 9181 b65dd02939dd
parent 8783 9ae8c79c7708
child 9255 22da20a012ba
equal deleted inserted replaced
9180:f39e3460f0ab 9181:b65dd02939dd
   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.