Revert "Added ANGLE_MIN_OFFSET and ANGLE_MAX_OFFSET"
This reverts commit 30fc668684
.
This commit is contained in:
parent
20a2065f47
commit
5ced7d7ade
@ -11,8 +11,6 @@ typedef struct Ball {
|
|||||||
const int BALL_HEIGHT;
|
const int BALL_HEIGHT;
|
||||||
const int BALL_VELOCITY;
|
const int BALL_VELOCITY;
|
||||||
const int BALL_POSX_START;
|
const int BALL_POSX_START;
|
||||||
const int BALL_ANGLE_MIN_OFFSET;
|
|
||||||
const int BALL_ANGLE_MAX_OFFSET;
|
|
||||||
const int SCREEN_WIDTH;
|
const int SCREEN_WIDTH;
|
||||||
const int SCREEN_HEIGHT;
|
const int SCREEN_HEIGHT;
|
||||||
int posX;
|
int posX;
|
||||||
|
@ -109,7 +109,7 @@ Pong_run(Pong *p) {
|
|||||||
Racket_move(p->racketL);
|
Racket_move(p->racketL);
|
||||||
Racket_move(p->racketR);
|
Racket_move(p->racketR);
|
||||||
Pong_render(p);
|
Pong_render(p);
|
||||||
//Pong_score_run(p);
|
Pong_score_run(p);
|
||||||
}
|
}
|
||||||
Pong_score_end(p);
|
Pong_score_end(p);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user