TEEN: Made some stuff const

svn-id: r43947
This commit is contained in:
Max Horn 2009-09-04 20:10:32 +00:00
parent 4ae8f43be3
commit 340c948133
2 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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}