diff options
author | D G Turner | 2012-10-09 09:14:44 +0100 |
---|---|---|
committer | D G Turner | 2012-10-09 09:14:44 +0100 |
commit | c92ff8db3385e1586c9758fce2343e213a49b5df (patch) | |
tree | b5668210b2cb070ef721a1068c8ba9bf5ca3b10b /engines/teenagent/animation.cpp | |
parent | e8f9c61065d868f43f276d2dfa39619fc75b2715 (diff) | |
download | scummvm-rg350-c92ff8db3385e1586c9758fce2343e213a49b5df.tar.gz scummvm-rg350-c92ff8db3385e1586c9758fce2343e213a49b5df.tar.bz2 scummvm-rg350-c92ff8db3385e1586c9758fce2343e213a49b5df.zip |
TEENAGENT: Fix constant naming to comply with Coding Conventions.
Adding missing CamelCase k-prefixes.
Diffstat (limited to 'engines/teenagent/animation.cpp')
-rw-r--r-- | engines/teenagent/animation.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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); |