diff options
Diffstat (limited to 'engines/teenagent')
-rw-r--r-- | engines/teenagent/actor.cpp | 6 | ||||
-rw-r--r-- | engines/teenagent/music.cpp | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/engines/teenagent/actor.cpp b/engines/teenagent/actor.cpp index 1a325e3028..d2d628b072 100644 --- a/engines/teenagent/actor.cpp +++ b/engines/teenagent/actor.cpp @@ -28,9 +28,9 @@ namespace TeenAgent { void Actor::render(Graphics::Surface * surface, const Common::Point & position, uint8 orientation, int delta_frame) { - uint8 frames_left_right[] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9}; - uint8 frames_up[] = {18, 19, 20, 21, 22, 23, 24, 25, }; - uint8 frames_down[] = {10, 11, 12, 13, 14, 15, 16, 17, }; + const uint8 frames_left_right[] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9}; + const uint8 frames_up[] = {18, 19, 20, 21, 22, 23, 24, 25, }; + const uint8 frames_down[] = {10, 11, 12, 13, 14, 15, 16, 17, }; Surface * s = NULL; diff --git a/engines/teenagent/music.cpp b/engines/teenagent/music.cpp index 61c469838e..45df21b6f0 100644 --- a/engines/teenagent/music.cpp +++ b/engines/teenagent/music.cpp @@ -28,7 +28,7 @@ namespace TeenAgent { -static uint32 noteToPeriod[3][12] = { +static const uint32 noteToPeriod[3][12] = { {855, 807, 761, 720, 678, 640, 604, 569, 537, 508, 480, 453}, {428, 404, 381, 360, 338, 320, 301, 285, 269, 254, 239, 226}, {214, 201, 189, 179, 170, 160, 151, 143, 135, 127, 120, 113} |