diff options
author | Johannes Schickel | 2009-05-29 13:09:26 +0000 |
---|---|---|
committer | Johannes Schickel | 2009-05-29 13:09:26 +0000 |
commit | c7ee0a7ec86e1c948a4a840726e17003205663a5 (patch) | |
tree | 2f3d0ecd52eb14745ab329a5091ad76fa608f047 /engines/kyra/sprites_lol.cpp | |
parent | 813853ccc246088b26b2cdb0260f06eeb5676131 (diff) | |
download | scummvm-rg350-c7ee0a7ec86e1c948a4a840726e17003205663a5.tar.gz scummvm-rg350-c7ee0a7ec86e1c948a4a840726e17003205663a5.tar.bz2 scummvm-rg350-c7ee0a7ec86e1c948a4a840726e17003205663a5.zip |
More formatting.
svn-id: r40994
Diffstat (limited to 'engines/kyra/sprites_lol.cpp')
-rw-r--r-- | engines/kyra/sprites_lol.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/kyra/sprites_lol.cpp b/engines/kyra/sprites_lol.cpp index 8d6afe3c9b..a68fc003e7 100644 --- a/engines/kyra/sprites_lol.cpp +++ b/engines/kyra/sprites_lol.cpp @@ -79,8 +79,8 @@ void LoLEngine::loadMonsterShapes(const char *file, int monsterIndex, int animTy uint8 *tmpPal1 = new uint8[64]; uint8 *tmpPal2 = new uint8[256]; uint16 *tmpPal3 = new uint16[256]; - memset (tmpPal1, 0, 64); - memset (tmpPal2, 0, 256); + memset(tmpPal1, 0, 64); + memset(tmpPal2, 0, 256); for (int i = 0; i < 64; i++) { tmpPal1[i] = *p; @@ -92,7 +92,7 @@ void LoLEngine::loadMonsterShapes(const char *file, int monsterIndex, int animTy for (int i = 0; i < 16; i++) { int pos = (monsterIndex << 4) + i; memcpy(tmpPal2, _monsterShapes[pos] + 10, 256); - memset (tmpPal3, 0xff, 512); + memset(tmpPal3, 0xff, 512); uint8 numCol = *tmpPal2; for (int ii = 0; ii < numCol; ii++) { @@ -960,7 +960,7 @@ uint8 *LoLEngine::drawItemOrMonster(uint8 *shape, uint8 *table, int x, int y, in r = CLIP(r, 0, 7); ovl = _screen->getLevelOverlay(r); } else { - memset (tmpOvl + 1, tblValue, 15); + memset(tmpOvl + 1, tblValue, 15); tmpOvl[0] = 0; table = tmpOvl; ovl = _screen->getLevelOverlay(7); |