Only redraw the referee when its state changes
commit3c75fdba48e9ac4f5873de10831d96f88bbdecac
authorThomas Perl <thp@perli.net>
Mon, 26 Jan 2009 23:08:50 +0000 (27 00:08 +0100)
committerThomas Perl <thp@perli.net>
Mon, 26 Jan 2009 23:08:50 +0000 (27 00:08 +0100)
tree09527acb44919d4b7308f1560750e59b63fb8673
parent59369f27cc8c14e7a191a56e71c2dc015d61ab77
Only redraw the referee when its state changes

Same principle as with the score string - remember the
last "position" of the referee and if it has changed,
redraw the back buffer. This saves a lot of painting.
game.c
game.h
makefile
tennix.h