X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=modelchecker%2Fsokoban.h;h=7043a74ea1237c59334507e63b291a3d1f30452b;hb=b3851097adbafa74d01e05b25ba550a814a5767d;hp=30466e37b437a93aeb81c678f3716b62b8436cdc;hpb=59b2b66a7c7b6585ebd30e8c530b9f826bcc70e9;p=mc1516pa.git diff --git a/modelchecker/sokoban.h b/modelchecker/sokoban.h index 30466e3..7043a74 100644 --- a/modelchecker/sokoban.h +++ b/modelchecker/sokoban.h @@ -1,5 +1,8 @@ #ifndef SOKOBAN_H #define SOKOBAN_H +#include +#include + #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; -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);