mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-20 08:53:51 +00:00
TEEN: Made some stuff const
svn-id: r43947
This commit is contained in:
parent
4ae8f43be3
commit
340c948133
@ -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;
|
||||
|
||||
|
@ -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}
|
||||
|
Loading…
x
Reference in New Issue
Block a user