display of a new game, so I'll add it to nullgame.c and hope that
makes me remember it next time!
git-svn-id: svn://svn.tartarus.org/sgt/puzzles@4213
cda61777-01e9-0310-a592-
d414129be87e
game_state *state, game_ui *ui,
float animtime, float flashtime)
{
game_state *state, game_ui *ui,
float animtime, float flashtime)
{
+ /*
+ * The initial contents of the window are not guaranteed and
+ * can vary with front ends. To be on the safe side, all games
+ * should start by drawing a big background-colour rectangle
+ * covering the whole window.
+ */
+ draw_rect(fe, 0, 0, 200, 200, COL_BACKGROUND);
}
float game_anim_length(game_state *oldstate, game_state *newstate)
}
float game_anim_length(game_state *oldstate, game_state *newstate)