Changeset - r10941:b4d2d42ae2eb
[Not reviewed]
master
0 1 0
peter1138 - 15 years ago 2009-01-26 23:41:45
peter1138@openttd.org
(svn r15280) -Cleanup: ancient and vastly out of date comment...
1 file changed with 1 insertions and 2 deletions:
0 comments (0 inline, 0 general)
src/newgrf_callbacks.h
Show inline comments
 
@@ -15,26 +15,25 @@
 
 * @note Do not forget to add 15 bits callbacks to the switch in
 
 *       newgrf_spritegroup.cpp (search for "15 bits callback").
 
 */
 
enum CallbackID {
 
	/** Set when using the callback resolve system, but not to resolve a callback. */
 
	CBID_NO_CALLBACK                     = 0x00,
 

	
 
	/** Set when calling a randomizing trigger (almost undocumented). */
 
	CBID_RANDOM_TRIGGER                  = 0x01,
 

	
 
	/* There are no callbacks 0x02 - 0x0F. */
 

	
 
	/** Powered wagons, if the result is lower as 0x40 then the wagon is powered
 
	 * @todo : interpret the rest of the result, aka "visual effects". */
 
	/** Powered wagons and visual effects. */
 
	CBID_TRAIN_WAGON_POWER               = 0x10, // 8 bit callback
 

	
 
	/** Vehicle length, returns the amount of 1/8's the vehicle is shorter for trains and RVs. */
 
	CBID_VEHICLE_LENGTH                  = 0x11,
 

	
 
	/** Determine the amount of cargo to load per unit of time when using gradual loading. */
 
	CBID_VEHICLE_LOAD_AMOUNT             = 0x12, // 8 bit callback
 

	
 
	/** Determine whether a newstation should be made available to build. */
 
	CBID_STATION_AVAILABILITY            = 0x13, // 8 bit callback
 

	
 
	/** Choose a sprite layout to draw, instead of the standard 0-7 range. */
0 comments (0 inline, 0 general)