Support for ball service; AI improved; gameplay fading
commit0cb5597fdd83c0dc35529f15398821232ee2a33f
authorThomas Perl <thp@perli.net>
Mon, 25 Jun 2007 20:03:28 +0000 (25 22:03 +0200)
committerThomas Perl <thp@perli.net>
Mon, 25 Jun 2007 20:03:28 +0000 (25 22:03 +0200)
tree794603753ba3a093bc7b961bfccf6c323324ccb2
parent7465e728041f6fef4eb04f313018a8ec95a5c23f
Support for ball service; AI improved; gameplay fading

Add support for doing serving the ball (using a stopped,
non-moving ball that the player has to hit to start the
game) and re-factor ball-resetting code into a seperate
function.

Improve AI player movement to make the game livelier :)

Fade between two scores and block input (both human and
AI input) while the scene is being faded to add a smooth
crossfade between scores. Don't wait for keypresses as
before.

Fade out audience sound when returning to main menu.
game.c
game.h
graphics.c
graphics.h
tennix.c