repositories
/
mc1516pa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
yet another tiny update
[mc1516pa.git]
/
modelchecker
/
sokoban.h
diff --git
a/modelchecker/sokoban.h
b/modelchecker/sokoban.h
index
30466e3
..
7043a74
100644
(file)
--- a/
modelchecker/sokoban.h
+++ b/
modelchecker/sokoban.h
@@
-1,5
+1,8
@@
#ifndef SOKOBAN_H
#define SOKOBAN_H
#ifndef SOKOBAN_H
#define SOKOBAN_H
+#include <stdio.h>
+#include <stdbool.h>
+
#include "uthash.h"
typedef enum {FREE, WALL, BOX, TARGET, AGENT, TARGAGENT, TARGBOX} sokoban_tile;
#include "uthash.h"
typedef enum {FREE, WALL, BOX, TARGET, AGENT, TARGAGENT, TARGBOX} sokoban_tile;
@@
-15,7
+18,7
@@
typedef struct {
UT_hash_handle hh;
} sokoban_screen;
UT_hash_handle hh;
} sokoban_screen;
-sokoban_screen *parse_screen(FILE *stream);
+sokoban_screen *parse_screen(FILE *stream
, bool safe
);
sokoban_screen *get_coord(int x, int y, sokoban_screen *screen);
sokoban_screen *get_coord(int x, int y, sokoban_screen *screen);