From c92ff8db3385e1586c9758fce2343e213a49b5df Mon Sep 17 00:00:00 2001 From: D G Turner Date: Tue, 9 Oct 2012 09:14:44 +0100 Subject: TEENAGENT: Fix constant naming to comply with Coding Conventions. Adding missing CamelCase k-prefixes. --- engines/teenagent/animation.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'engines/teenagent/animation.cpp') diff --git a/engines/teenagent/animation.cpp b/engines/teenagent/animation.cpp index 12e07a92ca..effafcaac6 100644 --- a/engines/teenagent/animation.cpp +++ b/engines/teenagent/animation.cpp @@ -41,8 +41,8 @@ Surface *Animation::firstFrame() { Surface *r = frames; uint16 pos = READ_LE_UINT16(data + 1); if (pos != 0) { - r->x = pos % screenWidth; - r->y = pos / screenWidth; + r->x = pos % kScreenWidth; + r->y = pos / kScreenWidth; } return r; } @@ -75,8 +75,8 @@ Surface *Animation::currentFrame(int dt) { index %= (dataSize / 3); if (pos != 0) { - x = r->x = pos % screenWidth; - y = r->y = pos / screenWidth; + x = r->x = pos % kScreenWidth; + y = r->y = pos / kScreenWidth; } } else { debugC(2, kDebugAnimation, "index %u", index); -- cgit v1.2.3