Skip to content

Commit

Permalink
TEENAGENT: Fix constant naming to comply with Coding Conventions.
Browse files Browse the repository at this point in the history
Adding missing CamelCase k-prefixes.
  • Loading branch information
digitall committed Oct 9, 2012
1 parent e8f9c61 commit c92ff8d
Show file tree
Hide file tree
Showing 10 changed files with 274 additions and 274 deletions.
8 changes: 4 additions & 4 deletions engines/teenagent/animation.cpp
Expand Up @@ -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;
}
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit c92ff8d

Please sign in to comment.