Merge branch 'master' of github.com:r0ket/r0ket

This commit is contained in:
Stefan `Sec` Zehl 2011-08-05 03:08:15 +02:00
commit 53b75a1ba8
1 changed files with 4 additions and 1 deletions

View File

@ -79,7 +79,6 @@ void ram(void) {
while(1) { while(1) {
if (!screen_intro()) if (!screen_intro())
return; return;
screen_intro();
game.rokets = 3; game.rokets = 3;
game.level = 1; game.level = 1;
game.score = 0; game.score = 0;
@ -114,7 +113,9 @@ static bool screen_intro() {
char highnick[20]; char highnick[20];
char key=0; char key=0;
bool step = false; bool step = false;
//getInputWaitRelease();
while(key==0) { while(key==0) {
getInputWaitRelease();
lcdFill(0); lcdFill(0);
font = &Font_Invaders; font = &Font_Invaders;
DoString(28,25,step?"ABC":"abc"); DoString(28,25,step?"ABC":"abc");
@ -129,6 +130,7 @@ static bool screen_intro() {
step = !step; step = !step;
key=getInputWaitTimeout(1000); key=getInputWaitTimeout(1000);
} }
//getInputWaitRelease();
return !(key==BTN_LEFT); return !(key==BTN_LEFT);
} }
@ -144,6 +146,7 @@ static bool screen_gameover() {
lcdDisplay(); lcdDisplay();
key=getInputWaitTimeout(5000); key=getInputWaitTimeout(5000);
} }
//getInputWaitRelease();
return !(key==BTN_LEFT); return !(key==BTN_LEFT);
} }