Diffstat (limited to 'noncore/games/kpacman/pacman.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/games/kpacman/pacman.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/noncore/games/kpacman/pacman.cpp b/noncore/games/kpacman/pacman.cpp index 40f60a8..82524b4 100644 --- a/noncore/games/kpacman/pacman.cpp +++ b/noncore/games/kpacman/pacman.cpp @@ -1,26 +1,25 @@ #include "pacman.h" -#include "board.h" Pacman::Pacman(Board *b) { board = b; setDemo(FALSE); setAlive(0); actualPosition = lastPosition = OUT; mouthPosition = 0; lastPix = 0; maxPixmaps = 0; } void Pacman::setMaxPixmaps(int max) { if (actualDirection == X && lastPix >= 0) { actualDirection = lastPix / (maxPixmaps/4); if (max < maxPixmaps) mouthPosition = 0; else mouthPosition = lastPix % (maxPixmaps/4); maxPixmaps = max; lastPix = pix(); |