Compile-time debug mode, get_move_y gameplay fixes
commit9cf76ce1916b7b8fc5a928e2999c52a02f10a16a
authorThomas Perl <thp@perli.net>
Sun, 10 Jun 2007 20:19:40 +0000 (10 22:19 +0200)
committerThomas Perl <thp@perli.net>
Sun, 10 Jun 2007 20:19:40 +0000 (10 22:19 +0200)
treef96629d713230892c15c4674c2c7f30a6fe74edf
parent3077ccc348b7bb7c6ca51a65cbe0b5d66b64ddd0
Compile-time debug mode, get_move_y gameplay fixes

Added compile-time DEBUG variable to enable or disable
debugging code (currently position visualisation) and
added dest1/dest2 variables to the Ball struct.

Fix return value and handling in get_move_y() to have
smoother gameplay and better ball movement control.
README
game.c
game.h
makefile