~mdw
/
sgt
/
puzzles
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't rush move animation to a conclusion on a subsequent keypress
[sgt/puzzles]
/
nullgame.c
diff --git
a/nullgame.c
b/nullgame.c
index
bc0c386
..
b4b94fe
100644
(file)
--- a/
nullgame.c
+++ b/
nullgame.c
@@
-76,7
+76,7
@@
char *validate_params(game_params *params)
return NULL;
}
return NULL;
}
-char *new_game_seed(game_params *params)
+char *new_game_seed(game_params *params
, random_state *rs
)
{
return dupstr("FIXME");
}
{
return dupstr("FIXME");
}
@@
-109,7
+109,16
@@
void free_game(game_state *state)
sfree(state);
}
sfree(state);
}
-game_state *make_move(game_state *from, int x, int y, int button)
+game_ui *new_ui(game_state *state)
+{
+ return NULL;
+}
+
+void free_ui(game_ui *ui)
+{
+}
+
+game_state *make_move(game_state *from, game_ui *ui, int x, int y, int button)
{
return NULL;
}
{
return NULL;
}
@@
-152,7
+161,8
@@
void game_free_drawstate(game_drawstate *ds)
}
void game_redraw(frontend *fe, game_drawstate *ds, game_state *oldstate,
}
void game_redraw(frontend *fe, game_drawstate *ds, game_state *oldstate,
- game_state *state, float animtime, float flashtime)
+ game_state *state, game_ui *ui,
+ float animtime, float flashtime)
{
}
{
}