1
0
Fork 0
breakout/src/breakout.hpp

21 lines
388 B
C++

#import <iostream>
#define SCREEN_X 300
#define SCREEN_Y 100
#define SCREEN_WIDTH 407
#define SCREEN_HEIGHT 600
#define BALL_RADIUS 8
#define PAD_WIDTH 100
#define PAD_HEIGHT 10
#define KEY_MOVE_STEP 5
#define BRICK_ROWS 7
#define BRICK_COLS 8
#define NUM_BRICKS BRICK_ROWS*BRICK_COLS
#define BRICK_WIDTH 50
#define BRICK_HEIGHT 15
#define DEBUG(str) (std::cerr << str << std::endl)