aboutsummaryrefslogtreecommitdiff
path: root/engines/pegasus/neighborhood/mars/mars.cpp
diff options
context:
space:
mode:
authorMatthew Hoops2011-12-16 23:24:55 -0500
committerMatthew Hoops2011-12-16 23:24:55 -0500
commitf72884cb7bbe594888f6d14a3e03c7839ef2c508 (patch)
tree14df52c836810a427fcfdacfa71e2d54ea301a33 /engines/pegasus/neighborhood/mars/mars.cpp
parent12efb47b536d2f663c9cde2739a1fd40599da669 (diff)
downloadscummvm-rg350-f72884cb7bbe594888f6d14a3e03c7839ef2c508.tar.gz
scummvm-rg350-f72884cb7bbe594888f6d14a3e03c7839ef2c508.tar.bz2
scummvm-rg350-f72884cb7bbe594888f6d14a3e03c7839ef2c508.zip
PEGASUS: Cleanup some constants
Added missing static qualifiers, get rid of some short/long
Diffstat (limited to 'engines/pegasus/neighborhood/mars/mars.cpp')
-rwxr-xr-xengines/pegasus/neighborhood/mars/mars.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/engines/pegasus/neighborhood/mars/mars.cpp b/engines/pegasus/neighborhood/mars/mars.cpp
index 93f99904d7..c950a85897 100755
--- a/engines/pegasus/neighborhood/mars/mars.cpp
+++ b/engines/pegasus/neighborhood/mars/mars.cpp
@@ -40,23 +40,23 @@ namespace Pegasus {
// This should really be 22.5.
// Probably no one will know the difference.
-const int16 kMarsShieldPanelOffsetAngle = 22;
+static const int16 kMarsShieldPanelOffsetAngle = 22;
-const CanMoveForwardReason kCantMoveRobotBlocking = kCantMoveLastReason + 1;
+static const CanMoveForwardReason kCantMoveRobotBlocking = kCantMoveLastReason + 1;
-const NotificationFlags kTimeForCanyonChaseFlag = kLastNeighborhoodNotificationFlag << 1;
-const NotificationFlags kExplosionFinishedFlag = kTimeForCanyonChaseFlag << 1;
-const NotificationFlags kTimeToTransportFlag = kExplosionFinishedFlag << 1;
+static const NotificationFlags kTimeForCanyonChaseFlag = kLastNeighborhoodNotificationFlag << 1;
+static const NotificationFlags kExplosionFinishedFlag = kTimeForCanyonChaseFlag << 1;
+static const NotificationFlags kTimeToTransportFlag = kExplosionFinishedFlag << 1;
-const NotificationFlags kMarsNotificationFlags = kTimeForCanyonChaseFlag |
+static const NotificationFlags kMarsNotificationFlags = kTimeForCanyonChaseFlag |
kExplosionFinishedFlag |
kTimeToTransportFlag;
-const TimeValue kLittleExplosionStart = 0 * 40;
-const TimeValue kLittleExplosionStop = 24 * 40;
+static const TimeValue kLittleExplosionStart = 0 * 40;
+static const TimeValue kLittleExplosionStop = 24 * 40;
-const TimeValue kBigExplosionStart = 24 * 40;
-const TimeValue kBigExplosionStop = 62 * 40;
+static const TimeValue kBigExplosionStart = 24 * 40;
+static const TimeValue kBigExplosionStop = 62 * 40;
enum {
kMaze007RobotLoopingEvent,