#ifndef JEFF_SCRIPT_H #define JEFF_SCRIPT_H #include "state.h" #include "graph.h" typedef enum { GO_LEFT, GO_UP, GO_DOWN, GO_RIGHT } command_t; typedef struct { command_t *sequence; unsigned int seq_len; unsigned int index; edge_t *last_edge; } script_t; script_t script_load(char *path); int script_advance(script_t *sc, game_state_t *gs); #endif /* JEFF_SCRIPT_H */