Only redraw game score strings when necessary
commit59369f27cc8c14e7a191a56e71c2dc015d61ab77
authorThomas Perl <thp@perli.net>
Mon, 26 Jan 2009 23:04:45 +0000 (27 00:04 +0100)
committerThomas Perl <thp@perli.net>
Mon, 26 Jan 2009 23:04:45 +0000 (27 00:04 +0100)
tree9c92fdf09b9917641758d29342a9d09c5e5607e6
parent312dfc15bbc58a058d97468a86af938c8e28f98b
Only redraw game score strings when necessary

Do not redraw the score strings every time the
render() method is called, but only when the text
really changes (using a flag in the GameState).
game.c
game.h