Added interface for online score system.
This commit is contained in:
parent
ff3c1a5333
commit
7f36f6dd14
BIN
bin/MySql.Data.dll
Normal file
BIN
bin/MySql.Data.dll
Normal file
Binary file not shown.
Binary file not shown.
BIN
bin/bhi.exe
BIN
bin/bhi.exe
Binary file not shown.
9
bin/sqlConfig.cfg
Normal file
9
bin/sqlConfig.cfg
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
sql11.freemysqlhosting.net
|
||||||
|
3306
|
||||||
|
sql11215077
|
||||||
|
EFik49X18z
|
||||||
|
sql11215077
|
||||||
|
highscores
|
||||||
|
score
|
||||||
|
username
|
||||||
|
time
|
18
breakout.h
18
breakout.h
@ -7,28 +7,26 @@
|
|||||||
typedef struct ballStruct {
|
typedef struct ballStruct {
|
||||||
Vector Location, Momentum;
|
Vector Location, Momentum;
|
||||||
SDL_Rect TargetRect;
|
SDL_Rect TargetRect;
|
||||||
} Ball;
|
double Size, Rotation, RotationValue;
|
||||||
|
int TextureIndex;
|
||||||
|
} Ball; // Objekt für die Eigenschaften des Balls
|
||||||
|
|
||||||
typedef struct paddleStruct {
|
typedef struct paddleStruct {
|
||||||
double XLocation;
|
double XLocation; // Notice: Locked Y-Coordinate
|
||||||
SDL_Rect TargetRect;
|
SDL_Rect TargetRect;
|
||||||
} Paddle;
|
int XSize, TextureIndex;
|
||||||
|
} Paddle; // Objekt für die Eigenschaften des Paddles
|
||||||
|
|
||||||
typedef struct blockStruct {
|
typedef struct blockStruct {
|
||||||
Vector Location;
|
Vector Location;
|
||||||
SDL_Rect TargetRect;
|
SDL_Rect TargetRect;
|
||||||
} Block;
|
int XSize, YSize, TextureIndex;
|
||||||
|
} Block; // Objekt für die Eigenschaften des Paddles
|
||||||
typedef struct powerupStruct { // Maybe implement later
|
|
||||||
Vector Location;
|
|
||||||
SDL_Rect TargetRect;
|
|
||||||
} Powerup;
|
|
||||||
// End Structs
|
// End Structs
|
||||||
|
|
||||||
// Prototypes
|
// Prototypes
|
||||||
void BREAKOUT_INITIALIZE(SDL_Renderer * renderer, int width, int height);
|
void BREAKOUT_INITIALIZE(SDL_Renderer * renderer, int width, int height);
|
||||||
void BREAKOUT_GAMELOOP(Uint8 * keystate);
|
void BREAKOUT_GAMELOOP(Uint8 * keystate);
|
||||||
void BALL_DRAW(Ball * ball);
|
|
||||||
void BREAKOUT_DEINITIALIZE(SDL_Renderer * renderer, int width, int height);
|
void BREAKOUT_DEINITIALIZE(SDL_Renderer * renderer, int width, int height);
|
||||||
// End Prototypes
|
// End Prototypes
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user