summaryrefslogtreecommitdiff
path: root/src/newgrf_callbacks.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-11-18 14:01:20 +0000
committerrubidium <rubidium@openttd.org>2010-11-18 14:01:20 +0000
commit5a503d505b8e1df6dea8ad78da6003c269ec397c (patch)
tree947338803e4ba9e32a4368462e92fe4779f563e1 /src/newgrf_callbacks.h
parent31c0ba9d291e08de226489453e547b88a2928a98 (diff)
downloadopenttd-5a503d505b8e1df6dea8ad78da6003c269ec397c.tar.xz
(svn r21231) -Codechange: Generalize the naming of some settings and variables related to visual effects (Hirundo)
Diffstat (limited to 'src/newgrf_callbacks.h')
-rw-r--r--src/newgrf_callbacks.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/newgrf_callbacks.h b/src/newgrf_callbacks.h
index 8cc5f9359..22daba598 100644
--- a/src/newgrf_callbacks.h
+++ b/src/newgrf_callbacks.h
@@ -28,8 +28,8 @@ enum CallbackID {
/* There are no callbacks 0x02 - 0x0F. */
- /** Powered wagons and visual effects. */
- CBID_TRAIN_WAGON_POWER = 0x10, // 8 bit callback
+ /** Visual effects and wagon power. */
+ CBID_VEHICLE_VISUAL_EFFECT = 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,
@@ -279,7 +279,7 @@ enum CallbackID {
* Some callbacks are always used and don't have a mask.
*/
enum VehicleCallbackMask {
- CBM_TRAIN_WAGON_POWER = 0, ///< Powered wagons (trains only)
+ CBM_VEHICLE_VISUAL_EFFECT = 0, ///< Visual effects and wagon power (trains only)
CBM_VEHICLE_LENGTH = 1, ///< Vehicle length (trains and road vehicles)
CBM_VEHICLE_LOAD_AMOUNT = 2, ///< Load amount
CBM_VEHICLE_REFIT_CAPACITY = 3, ///< Cargo capacity after refit