-rw-r--r-- | noncore/games/kpacman/referee.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/noncore/games/kpacman/referee.cpp b/noncore/games/kpacman/referee.cpp index 9edaabd..70916f0 100644 --- a/noncore/games/kpacman/referee.cpp +++ b/noncore/games/kpacman/referee.cpp | |||
@@ -729,9 +729,13 @@ void Referee::keyPressEvent( QKeyEvent *k ) | |||
729 | #ifdef QWS | 729 | #ifdef QWS |
730 | // "OK" => new game | 730 | // "OK" => new game |
731 | if ( key == Key_F33 || key == Key_F2 || key == Key_Enter ) | 731 | if ( key == Key_F33 || key == Key_F2 || key == Key_Enter ) |
732 | play(); | 732 | play(); |
733 | else if ( !gameState.testBit(Playing) && key == Key_Space ) | 733 | else if ( !gameState.testBit(Playing) && |
734 | key == Key_Up || | ||
735 | key == Key_Down || | ||
736 | key == Key_Right || | ||
737 | key == Key_Left ) | ||
734 | play(); | 738 | play(); |
735 | // "Space" => pause | 739 | // "Space" => pause |
736 | //else if ( key == Key_Space || key == Key_F3 ) | 740 | //else if ( key == Key_Space || key == Key_F3 ) |
737 | // pause(); | 741 | // pause(); |
@@ -945,9 +949,10 @@ void Referee::introPaint(int t) | |||
945 | #if defined( KDE2_PORT ) | 949 | #if defined( KDE2_PORT ) |
946 | repaint(pix->draw(30, 58, RoomPix, "© 1998-2002 J.THÖNNISSEN", PINK), FALSE); | 950 | repaint(pix->draw(30, 58, RoomPix, "© 1998-2002 J.THÖNNISSEN", PINK), FALSE); |
947 | #elif defined( QPE_PORT ) | 951 | #elif defined( QPE_PORT ) |
948 | repaint(pix->draw(30, 55, RoomPix, "© 1998-2002 J.THÖNNISSEN", PINK), FALSE); | 952 | repaint(pix->draw(30, 55, RoomPix, "© 1998-2002 J.THÖNNISSEN", PINK), FALSE); |
949 | repaint(pix->draw(29, 60, RoomPix, "Qtopia port: Catalin CLIMOV", GREEN), FALSE); | 953 | repaint(pix->draw(29, 58, RoomPix, tr("QTOPIA PORT: CATALIN CLIMOV"), GREEN), FALSE); |
954 | repaint(pix->draw(29, 61, RoomPix, tr("PRESS CURSOR TO START"), GREEN), FALSE); | ||
950 | #endif | 955 | #endif |
951 | break; | 956 | break; |
952 | } | 957 | } |
953 | } | 958 | } |