author | imm <imm> | 2002-09-22 18:30:29 (UTC) |
---|---|---|
committer | imm <imm> | 2002-09-22 18:30:29 (UTC) |
commit | 4904161b6b043e1397db4affd7930fd999ff742e (patch) (side-by-side diff) | |
tree | bb46b289fb71af969cf48810c1795ad023252bf9 | |
parent | f8aeb3c2e6b32600329ebbaeb0b4b7a2f371eca2 (diff) | |
download | opie-4904161b6b043e1397db4affd7930fd999ff742e.zip opie-4904161b6b043e1397db4affd7930fd999ff742e.tar.gz opie-4904161b6b043e1397db4affd7930fd999ff742e.tar.bz2 |
better ?
-rw-r--r-- | noncore/games/kpacman/referee.cpp | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/noncore/games/kpacman/referee.cpp b/noncore/games/kpacman/referee.cpp index 81f331b..6d8f3fb 100644 --- a/noncore/games/kpacman/referee.cpp +++ b/noncore/games/kpacman/referee.cpp @@ -725,25 +725,11 @@ void Referee::setScheme(int Scheme, int Mode, Bitfont *font) void Referee::keyPressEvent( QKeyEvent *k ) { uint key = k->key(); -#ifdef QWS - // "OK" => new game - if ( key == Key_F33 || key == Key_F2 || key == Key_Enter ) - play(); - else if ( !gameState.testBit(Playing) && - ( key == Key_Up || - key == Key_Down || - key == Key_Right || - key == Key_Left )) + + if ( !gameState.testBit(Playing) && ( key == Key_Up || key == Key_Down || key == Key_Left || key == Key_Right ) ) play(); - // "Space" => pause - //else if ( key == Key_Space || key == Key_F3 ) - // pause(); - // "Menu" => hall of fame - //else if ( key == Key_F11 || key == Key_F4 ) - // toggleHallOfFame(); -#endif if (gameState.testBit(Paused) || gameState.testBit(HallOfFame) || gameState.testBit(Demonstration) || gameState.testBit(Dying) || gameState.testBit(Ready) || gameState.testBit(LevelDone) || |