mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-21 16:05:44 -07:00
nullgame: Don't bother blanking the puzzle window
This is now centralised in the mid-end.
This commit is contained in:
@ -220,14 +220,6 @@ static void game_redraw(drawing *dr, game_drawstate *ds,
|
|||||||
int dir, const game_ui *ui,
|
int dir, const game_ui *ui,
|
||||||
float animtime, float flashtime)
|
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(dr, 0, 0, 10*ds->tilesize, 10*ds->tilesize, COL_BACKGROUND);
|
|
||||||
draw_update(dr, 0, 0, 10*ds->tilesize, 10*ds->tilesize);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static float game_anim_length(const game_state *oldstate,
|
static float game_anim_length(const game_state *oldstate,
|
||||||
|
Reference in New Issue
Block a user