Forgot to add the new 'const' in the unfinished subdirectory. Oops.
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Mon, 10 Sep 2012 18:05:54 +0000 (18:05 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Mon, 10 Sep 2012 18:05:54 +0000 (18:05 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/puzzles@9659 cda61777-01e9-0310-a592-d414129be87e

unfinished/group.c
unfinished/separate.c
unfinished/slide.c
unfinished/sokoban.c

index b2c62d6..1c2c02e 100644 (file)
@@ -1213,8 +1213,8 @@ static int find_in_sequence(digit *seq, int len, digit n)
     return -1;
 }
 
-static char *interpret_move(game_state *state, game_ui *ui, game_drawstate *ds,
-                           int x, int y, int button)
+static char *interpret_move(game_state *state, game_ui *ui,
+                            const game_drawstate *ds, int x, int y, int button)
 {
     int w = state->par.w;
     int tx, ty;
index b20cb52..ee9c830 100644 (file)
@@ -718,8 +718,8 @@ struct game_drawstate {
     int FIXME;
 };
 
-static char *interpret_move(game_state *state, game_ui *ui, game_drawstate *ds,
-                           int x, int y, int button)
+static char *interpret_move(game_state *state, game_ui *ui,
+                            const game_drawstate *ds, int x, int y, int button)
 {
     return NULL;
 }
index 6fac469..38ef4d0 100644 (file)
@@ -1242,8 +1242,8 @@ struct game_drawstate {
     int started;
 };
 
-static char *interpret_move(game_state *state, game_ui *ui, game_drawstate *ds,
-                           int x, int y, int button)
+static char *interpret_move(game_state *state, game_ui *ui,
+                            const game_drawstate *ds, int x, int y, int button)
 {
     int w = state->w, h = state->h, wh = w*h;
     int tx, ty, i, j;
index 53bd3a5..4b0780c 100644 (file)
@@ -1041,8 +1041,8 @@ int move_type(game_state *state, int dx, int dy)
     }
 }
 
-static char *interpret_move(game_state *state, game_ui *ui, game_drawstate *ds,
-                           int x, int y, int button)
+static char *interpret_move(game_state *state, game_ui *ui,
+                            const game_drawstate *ds, int x, int y, int button)
 {
     int dx=0, dy=0;
     char *move;