summaryrefslogtreecommitdiff
authorzecke <zecke>2003-05-14 08:33:57 (UTC)
committer zecke <zecke>2003-05-14 08:33:57 (UTC)
commit79e34e9dc4870885c58f80c29a723d0227f7b788 (patch) (unidiff)
tree1e91a0e6d698c782ef975e023288d4b9817e82c6
parent81a58bae78d693b67679d94d2f7fcdb300e12d4f (diff)
downloadopie-79e34e9dc4870885c58f80c29a723d0227f7b788.zip
opie-79e34e9dc4870885c58f80c29a723d0227f7b788.tar.gz
opie-79e34e9dc4870885c58f80c29a723d0227f7b788.tar.bz2
patch by Scott Bronson.
Add a little game description in the about messagebox
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/games/bounce/kbounce.cpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/noncore/games/bounce/kbounce.cpp b/noncore/games/bounce/kbounce.cpp
index f703f74..5d8aba3 100644
--- a/noncore/games/bounce/kbounce.cpp
+++ b/noncore/games/bounce/kbounce.cpp
@@ -104,25 +104,34 @@ void KJezzball::newGame()
104 ScoreLabel->setText( tr( "Score: %1" ).arg(m_game.score) ); 104 ScoreLabel->setText( tr( "Score: %1" ).arg(m_game.score) );
105 105
106 // start new game 106 // start new game
107 m_state = Running; 107 m_state = Running;
108 108
109 createLevel( m_game.level ); 109 createLevel( m_game.level );
110 startLevel(); 110 startLevel();
111 } 111 }
112} 112}
113 113
114void KJezzball::about() 114void KJezzball::about()
115{ 115{
116 QMessageBox::information( this, "About", "Written by: Stefan Schimanski\nPorted by: Martin Imobersteg\n\nThis program is distributed under\nthe terms of the GPL v2." ); 116 QMessageBox::information( this, "About",
117 "Written by: Stefan Schimanski\n"
118 "Ported by: Martin Imobersteg\n"
119 "\n"
120 "Click to form walls.\n"
121 "Hit space to switch wall direction.\n"
122 "Try to reduce total space by 75%.\n"
123 "\n"
124 "This program is distributed under\n"
125 "the terms of the GPL v2." );
117} 126}
118 127
119void KJezzball::closeGame() 128void KJezzball::closeGame()
120{ 129{
121 if ( m_state!=Idle ) 130 if ( m_state!=Idle )
122 { 131 {
123 stopLevel(); 132 stopLevel();
124 m_state = Idle; 133 m_state = Idle;
125 } 134 }
126} 135}
127 136
128void KJezzball::pauseGame() 137void KJezzball::pauseGame()