12345678910111213 |
- #include <stdio.h> // Needed here to define FILE* L.
- #include <ncurses.h> // Needed for FALSE, used pervasively.
- #ifndef _MAIN_HEADER_
- #define _MAIN_HEADER_
- #define DESTROY(X) free(X); X=NULL;
- #define ARRAY_SIZE(a) (sizeof(a)/sizeof(a[0]))
- #define DOORWAY 'O' /* Symbol to represent the exit point. */
- #define WHITE_BACKGROUND 0
- FILE* L; // Log file
- static const int debug = FALSE;
- #endif
|