|
@ -19,6 +19,8 @@ int Ballx = -1; |
|
|
int Bally = 27; |
|
|
int Bally = 27; |
|
|
int windIntervall = 0; |
|
|
int windIntervall = 0; |
|
|
int lvlnumber = 1; |
|
|
int lvlnumber = 1; |
|
|
|
|
|
|
|
|
|
|
|
#pragma region FunctionDeclaration |
|
|
void addScoreboard(); |
|
|
void addScoreboard(); |
|
|
void clearField(); |
|
|
void clearField(); |
|
|
void Generatefield(); |
|
|
void Generatefield(); |
|
@ -26,7 +28,7 @@ void sortScoreboard(); |
|
|
void buildBin(int width, int height); |
|
|
void buildBin(int width, int height); |
|
|
void getStartPosition(); |
|
|
void getStartPosition(); |
|
|
int checkBallPosition(); |
|
|
int checkBallPosition(); |
|
|
|
|
|
|
|
|
|
|
|
#pragma endregion |
|
|
|
|
|
|
|
|
struct Player |
|
|
struct Player |
|
|
{ |
|
|
{ |
|
|