Fix and improve mouse input, initialize players correctly
commit72e198aa70054235aab31a61a96c61bf6d10431d
authorThomas Perl <thp@perli.net>
Thu, 7 Feb 2008 10:42:33 +0000 (7 11:42 +0100)
committerThomas Perl <thp@perli.net>
Thu, 7 Feb 2008 10:42:33 +0000 (7 11:42 +0100)
tree4c1991f96e88a5ac898356f30692b6873bbdefc2
parent66ae83793e07554e4dfaed4fb4e7e1666419c62e
Fix and improve mouse input, initialize players correctly

Improve mouse input to work alongside keyboard input
and change the way mouse input works (press and hold
to move the racket, release to swing the racket).

Initialize the "Player" structs in game.c correctly,
so we don't get compile warnings and so that our
variables for each player are initialized sanely.
game.c
game.h
tennix.c