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 {
|
||||
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user