bugfix %)

This commit is contained in:
iggy 2011-08-05 02:36:04 +02:00
parent 1ec147a663
commit 61f36a8a23
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);
} }