main.h 402 B

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