|
|
@ -65,6 +65,7 @@ void loadLevel(int lvlnum) |
|
|
|
binX = 12; |
|
|
|
binY = 10; |
|
|
|
break; |
|
|
|
|
|
|
|
case(2): |
|
|
|
case(3): |
|
|
|
case(4): |
|
|
@ -82,21 +83,22 @@ void loadLevel(int lvlnum) |
|
|
|
} |
|
|
|
binX = tmpX; |
|
|
|
binY = tmpY; |
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
case(7): |
|
|
|
binX = 2; |
|
|
|
binY = 7; |
|
|
|
windForce = -2; |
|
|
|
printf("Ein Sturm zieht auf!\n"); |
|
|
|
sleep(3); |
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
case(8): |
|
|
|
binX = 19; |
|
|
|
binY = 7; |
|
|
|
windForce = 1; |
|
|
|
break; |
|
|
|
|
|
|
|
case(9): |
|
|
|
windForce = -1; |
|
|
|
binX = 8; |
|
|
@ -105,6 +107,7 @@ void loadLevel(int lvlnum) |
|
|
|
wallLength = 4; |
|
|
|
wallY = 17; |
|
|
|
break; |
|
|
|
|
|
|
|
case(10): |
|
|
|
windForce = 2; |
|
|
|
binX = 16; |
|
|
@ -112,19 +115,20 @@ void loadLevel(int lvlnum) |
|
|
|
wallX = 11; |
|
|
|
wallLength = 4; |
|
|
|
wallY = 19; |
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
case(11): |
|
|
|
system("clear"); |
|
|
|
Generatefield(); |
|
|
|
addScoreboard(); |
|
|
|
sortScoreboard(); |
|
|
|
exit(0); |
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
default: |
|
|
|
exit(0); |
|
|
|
} |
|
|
|
|
|
|
|
getStartPosition(); |
|
|
|
printf("Der Ball wird geworfen!!!"); |
|
|
|
sleep(1); |
|
|
|