src/newgrf_callbacks.h
branchgamebalance
changeset 9895 7bd07f43b0e3
parent 5968 eecf6681445e
child 9896 2473804114de
--- a/src/newgrf_callbacks.h	Mon Mar 19 09:33:17 2007 +0000
+++ b/src/newgrf_callbacks.h	Mon Mar 19 12:38:16 2007 +0000
@@ -11,16 +11,16 @@
  * Names are formatted as CBID_<CLASS>_<CALLBACK>
  */
 enum CallbackID {
-	// 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, if the result is lower as 0x40 then the wagon is powered
+	 * @todo : interpret the rest of the result, aka "visual effects" */
 	CBID_TRAIN_WAGON_POWER          = 0x10,
 
-	// Vehicle length, returns the amount of 1/8's the vehicle is shorter
-	// only for train vehicles
+	/* Vehicle length, returns the amount of 1/8's the vehicle is shorter
+	 * only for train vehicles */
 	CBID_TRAIN_VEHICLE_LENGTH       = 0x11,
 
-	/* Called to determine the amount of cargo to load per unit of time when
-	 * using gradual loading. */
+	/* Called (if appropriate bit in callback mask is set) to determine the
+	 * amount of cargo to load per unit of time when using gradual loading. */
 	CBID_VEHICLE_LOAD_AMOUNT        = 0x12,
 
 	/* Called (if appropriate bit in callback mask is set) to determine if a
@@ -31,8 +31,8 @@
 	 * to choose a sprite layout to draw, instead of the standard 0-7 range */
 	CBID_STATION_SPRITE_LAYOUT      = 0x14,
 
-	// Refit capacity, the passed vehicle needs to have its ->cargo_type set to
-	// the cargo we are refitting to, returns the new cargo capacity
+	/* Refit capacity, the passed vehicle needs to have its ->cargo_type set to
+	 * the cargo we are refitting to, returns the new cargo capacity */
 	CBID_VEHICLE_REFIT_CAPACITY     = 0x15,
 
 	CBID_TRAIN_ARTIC_ENGINE         = 0x16,