src/newgrf_callbacks.h
changeset 8287 77eed374cc00
parent 7803 55307751965b
child 8685 fdc27d8e35b3
equal deleted inserted replaced
8286:fee3dfea1d99 8287:77eed374cc00
   295 	CBM_INDT_DRAW_FOUNDATIONS         = 5,  ///< decides if default foundations need to be drawn
   295 	CBM_INDT_DRAW_FOUNDATIONS         = 5,  ///< decides if default foundations need to be drawn
   296 	CBM_INDT_AUTOSLOPE                = 6,  ///< decides allowance of autosloping
   296 	CBM_INDT_AUTOSLOPE                = 6,  ///< decides allowance of autosloping
   297 };
   297 };
   298 
   298 
   299 /**
   299 /**
   300  * Result of a failed callback.
   300  * Different values for Callback result evaluations
   301  */
   301  */
   302 enum {
   302 enum {
   303 	CALLBACK_FAILED = 0xFFFF
   303 	CALLBACK_FAILED              = 0xFFFF,  ///< Result of a failed callback.
       
   304 	CALLBACK_HOUSEPRODCARGO_END  = 0x20FF,  ///< Sentinel indicating that the loop for CBID_HOUSE_PRODUCE_CARGO has ended
   304 };
   305 };
   305 
   306 
   306 #endif /* NEWGRF_CALLBACKS_H */
   307 #endif /* NEWGRF_CALLBACKS_H */