Add grotty casts to prevent negative -> large positive conversion of cursor
[sgt/puzzles] / nullgame.c
index 67982b9..e704de9 100644 (file)
@@ -21,6 +21,7 @@
 #include "puzzles.h"
 
 const char *const game_name = "Null Game";
+const char *const game_winhelp_topic = NULL;
 const int game_can_configure = FALSE;
 
 enum {
@@ -176,7 +177,7 @@ void game_free_drawstate(game_drawstate *ds)
 }
 
 void game_redraw(frontend *fe, game_drawstate *ds, game_state *oldstate,
-                 game_state *state, game_ui *ui,
+                 game_state *state, int dir, game_ui *ui,
                  float animtime, float flashtime)
 {
     /*
@@ -188,12 +189,12 @@ void game_redraw(frontend *fe, game_drawstate *ds, game_state *oldstate,
     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, int dir)
 {
     return 0.0F;
 }
 
-float game_flash_length(game_state *oldstate, game_state *newstate)
+float game_flash_length(game_state *oldstate, game_state *newstate, int dir)
 {
     return 0.0F;
 }