aboutsummaryrefslogtreecommitdiff
path: root/engines/pegasus/neighborhood/mars/tractorbeam.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/pegasus/neighborhood/mars/tractorbeam.cpp')
-rwxr-xr-xengines/pegasus/neighborhood/mars/tractorbeam.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/engines/pegasus/neighborhood/mars/tractorbeam.cpp b/engines/pegasus/neighborhood/mars/tractorbeam.cpp
index 5ea63a0934..81c96299cf 100755
--- a/engines/pegasus/neighborhood/mars/tractorbeam.cpp
+++ b/engines/pegasus/neighborhood/mars/tractorbeam.cpp
@@ -36,19 +36,19 @@ TractorBeam::TractorBeam() : DisplayElement(kNoDisplayElement) {
}
-const int kHalfWidth = kShuttleTractorWidth >> 1;
-const int kHalfHeight = kShuttleTractorHeight >> 1;
+static const int kHalfWidth = kShuttleTractorWidth >> 1;
+static const int kHalfHeight = kShuttleTractorHeight >> 1;
-const int kW3Vert = kHalfHeight * kHalfHeight * kHalfHeight;
-const int kW3Div2Vert = kW3Vert >> 1;
+static const int kW3Vert = kHalfHeight * kHalfHeight * kHalfHeight;
+static const int kW3Div2Vert = kW3Vert >> 1;
-const int kW3Horiz = kHalfWidth * kHalfWidth * kHalfWidth;
-const int kW3Div2Horiz = kW3Horiz >> 1;
+static const int kW3Horiz = kHalfWidth * kHalfWidth * kHalfWidth;
+static const int kW3Div2Horiz = kW3Horiz >> 1;
-const int kMaxLevel = 50;
+static const int kMaxLevel = 50;
-const int kAVert = -2 * kMaxLevel;
-const int kBVert = 3 * kMaxLevel * kHalfHeight;
+static const int kAVert = -2 * kMaxLevel;
+static const int kBVert = 3 * kMaxLevel * kHalfHeight;
#define READ_PIXEL(ptr) \
if (screen->format.bytesPerPixel == 2) \