diff --git a/src/Paper-Bin.c b/src/Paper-Bin.c index d661bec..48e500d 100644 --- a/src/Paper-Bin.c +++ b/src/Paper-Bin.c @@ -27,7 +27,7 @@ int lvlnumber = 1; #pragma region FunctionDeclaration void addScoreboard(); void clearField(); -void Generatefield(); +void generateField(); void sortScoreboard(); void buildBin(int width, int height); void getStartPosition(); @@ -119,7 +119,7 @@ void loadLevel(int lvlnum) case(11): system("clear"); - Generatefield(); + generateField(); addScoreboard(); sortScoreboard(); exit(0); @@ -142,7 +142,7 @@ int main() { clearField(); field[ballX][ballY -= 1] = 'O'; - Generatefield(); + generateField(); int Ball_In_Bin = checkBallPosition(); @@ -192,7 +192,7 @@ void getStartPosition() { field[i][ballY] = j + '0'; } - Generatefield(); + generateField(); //printf("W\x84\hle die position des Balls (0-9):\n"); printf("Wähle die position des Balls (0-9):\n"); @@ -220,7 +220,7 @@ void clearField() } } -void Generatefield() +void generateField() { system("clear"); buildBin(binX, binY);