chiark / gitweb /
Forgot to add the new 'const' in the unfinished subdirectory. Oops.
authorSimon Tatham <anakin@pobox.com>
Mon, 10 Sep 2012 18:05:54 +0000 (18:05 +0000)
committerSimon Tatham <anakin@pobox.com>
Mon, 10 Sep 2012 18:05:54 +0000 (18:05 +0000)
[originally from svn r9659]

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

index b2c62d6e83755c2a6716530818ca4485255d063f..1c2c02e107d9376dacb9658098ceda078f7ebf17 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 b20cb52b6feeed60ce9860a83d02397abbacf681..ee9c830e2c701c95e98b1526dfcb2d20e8b8179d 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 6fac4697463490c37b929aa262466e9fbda59c79..38ef4d0be1fade3e6732aab2429080c5bd9dea3f 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 53bd3a5bc00bb9818d79321373ae6c3d45bff75a..4b0780c3b62c5fe26df2c53bbcf31e2270df0329 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;