summaryrefslogtreecommitdiff
authorimm <imm>2002-09-20 21:17:49 (UTC)
committer imm <imm>2002-09-20 21:17:49 (UTC)
commit20c93734a4eada53d056f13558cbf60d6eff5bac (patch) (side-by-side diff)
tree6ee73a9d1e5f9f5426ada0cb58ff60ad74bc876b
parent7027b4c29de455d457b7d62f52511216a8b76b9c (diff)
downloadopie-20c93734a4eada53d056f13558cbf60d6eff5bac.zip
opie-20c93734a4eada53d056f13558cbf60d6eff5bac.tar.gz
opie-20c93734a4eada53d056f13558cbf60d6eff5bac.tar.bz2
changed keys
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/games/kpacman/referee.cpp9
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
@@ -727,13 +727,17 @@ 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_Space )
+ else if ( !gameState.testBit(Playing) &&
+ key == Key_Up ||
+ key == Key_Down ||
+ key == Key_Right ||
+ key == Key_Left )
play();
// "Space" => pause
//else if ( key == Key_Space || key == Key_F3 )
// pause();
// "Menu" => hall of fame
//else if ( key == Key_F11 || key == Key_F4 )
@@ -943,13 +947,14 @@ void Referee::introPaint(int t)
break;
case 14 : // "@ 1980 MIDWAY MFG.CO."
#if defined( KDE2_PORT )
repaint(pix->draw(30, 58, RoomPix, "© 1998-2002 J.THÖNNISSEN", PINK), FALSE);
#elif defined( QPE_PORT )
repaint(pix->draw(30, 55, RoomPix, "© 1998-2002 J.THÖNNISSEN", PINK), FALSE);
- repaint(pix->draw(29, 60, RoomPix, "Qtopia port: Catalin CLIMOV", GREEN), FALSE);
+ repaint(pix->draw(29, 58, RoomPix, tr("QTOPIA PORT: CATALIN CLIMOV"), GREEN), FALSE);
+ repaint(pix->draw(29, 61, RoomPix, tr("PRESS CURSOR TO START"), GREEN), FALSE);
#endif
break;
}
}
void Referee::introPlay()