Browse Source

Variablen für Feldgröße angelegt

main
fdai7103 2 years ago
parent
commit
a86ae4744b
  1. 7
      src/Paper-Bin.c

7
src/Paper-Bin.c

@ -1,13 +1,16 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#define fieldWidth 25
#define fieldHeigth 30
int wallX = 0; int wallX = 0;
int wallY = 0; int wallY = 0;
int wallLength = 0; int wallLength = 0;
int BinX; int BinX;
int BinY = 10; int BinY = 10;
char field[23][29];
char field[fieldWidth][fieldHeigth];
int windForce = 0; int windForce = 0;
int ScorePoints = 0; int ScorePoints = 0;
@ -16,8 +19,6 @@ int Ballx = -1;
int Bally = 27; int Bally = 27;
int windIntervall = 0; int windIntervall = 0;
int lvlnumber = 1; int lvlnumber = 1;
int fieldWidth = 25;
int fieldHeigth = 30;
struct Player struct Player
{ {

Loading…
Cancel
Save