|
|
@ -38,7 +38,7 @@ const int PADDLE_SPEED = 8;
|
|
|
|
const int CIRC_RAD = 10;
|
|
|
|
const int CIRC_RAD = 10;
|
|
|
|
const float BASE_BOUNCE_DEG = 45;
|
|
|
|
const float BASE_BOUNCE_DEG = 45;
|
|
|
|
const float BASE_BOUNCE_RAD = (BASE_BOUNCE_DEG / 180.0) * M_PI;
|
|
|
|
const float BASE_BOUNCE_RAD = (BASE_BOUNCE_DEG / 180.0) * M_PI;
|
|
|
|
const float BASE_SPEED_COMPONENTS = 18;
|
|
|
|
const float BASE_SPEED_COMPONENTS = 15;
|
|
|
|
const float BASE_SPEED = sqrt(powf(BASE_SPEED_COMPONENTS, 2) * 2);
|
|
|
|
const float BASE_SPEED = sqrt(powf(BASE_SPEED_COMPONENTS, 2) * 2);
|
|
|
|
|
|
|
|
|
|
|
|
typedef enum {M_SINGLE, M_CLIENT, M_SERVER} Mode;
|
|
|
|
typedef enum {M_SINGLE, M_CLIENT, M_SERVER} Mode;
|
|
|
|