aboutsummaryrefslogtreecommitdiff
path: root/nullgame.c
diff options
context:
space:
mode:
Diffstat (limited to 'nullgame.c')
-rw-r--r--nullgame.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/nullgame.c b/nullgame.c
index bc3f64a..46f903f 100644
--- a/nullgame.c
+++ b/nullgame.c
@@ -142,6 +142,15 @@ static void free_ui(game_ui *ui)
{
}
+char *encode_ui(game_ui *ui)
+{
+ return NULL;
+}
+
+void decode_ui(game_ui *ui, char *encoding)
+{
+}
+
static void game_changed_state(game_ui *ui, game_state *oldstate,
game_state *newstate)
{
@@ -255,6 +264,8 @@ const struct game thegame = {
FALSE, game_text_format,
new_ui,
free_ui,
+ encode_ui,
+ decode_ui,
game_changed_state,
interpret_move,
execute_move,