diff --git a/bin/MySql.Data.dll b/bin/MySql.Data.dll new file mode 100644 index 0000000..0d13bb8 Binary files /dev/null and b/bin/MySql.Data.dll differ diff --git a/bin/System.Web.Helpers.dll b/bin/System.Web.Helpers.dll deleted file mode 100644 index be23db7..0000000 Binary files a/bin/System.Web.Helpers.dll and /dev/null differ diff --git a/bin/bhi.exe b/bin/bhi.exe index 2e70422..a9e5451 100644 Binary files a/bin/bhi.exe and b/bin/bhi.exe differ diff --git a/bin/sqlConfig.cfg b/bin/sqlConfig.cfg new file mode 100644 index 0000000..faa26ec --- /dev/null +++ b/bin/sqlConfig.cfg @@ -0,0 +1,9 @@ +sql11.freemysqlhosting.net +3306 +sql11215077 +EFik49X18z +sql11215077 +highscores +score +username +time \ No newline at end of file diff --git a/breakout.h b/breakout.h index 3884d21..f1eba4f 100644 --- a/breakout.h +++ b/breakout.h @@ -7,28 +7,26 @@ typedef struct ballStruct { Vector Location, Momentum; SDL_Rect TargetRect; -} Ball; + double Size, Rotation, RotationValue; + int TextureIndex; +} Ball; // Objekt für die Eigenschaften des Balls typedef struct paddleStruct { - double XLocation; + double XLocation; // Notice: Locked Y-Coordinate SDL_Rect TargetRect; -} Paddle; + int XSize, TextureIndex; +} Paddle; // Objekt für die Eigenschaften des Paddles typedef struct blockStruct { Vector Location; SDL_Rect TargetRect; -} Block; - -typedef struct powerupStruct { // Maybe implement later - Vector Location; - SDL_Rect TargetRect; -} Powerup; + int XSize, YSize, TextureIndex; +} Block; // Objekt für die Eigenschaften des Paddles // End Structs // Prototypes void BREAKOUT_INITIALIZE(SDL_Renderer * renderer, int width, int height); void BREAKOUT_GAMELOOP(Uint8 * keystate); -void BALL_DRAW(Ball * ball); void BREAKOUT_DEINITIALIZE(SDL_Renderer * renderer, int width, int height); // End Prototypes