| 1 | #ifndef CURRENT_H_ |
| 2 | #define CURRENT_H_ |
| 3 | /*----------------------------------------------------------------------*\ |
| 4 | |
| 5 | current |
| 6 | |
| 7 | \*----------------------------------------------------------------------*/ |
| 8 | |
| 9 | /* IMPORTS */ |
| 10 | #include "types.h" |
| 11 | |
| 12 | /* CONSTANTS */ |
| 13 | |
| 14 | |
| 15 | /* TYPES */ |
| 16 | typedef struct CurVars { |
| 17 | int syntax, |
| 18 | verb, |
| 19 | location, |
| 20 | actor, |
| 21 | instance, |
| 22 | tick, |
| 23 | score, |
| 24 | visits, |
| 25 | sourceLine, |
| 26 | sourceFile; |
| 27 | bool meta; |
| 28 | } CurVars; |
| 29 | |
| 30 | |
| 31 | /* DATA */ |
| 32 | extern CurVars current; |
| 33 | extern bool gameStateChanged; |
| 34 | |
| 35 | |
| 36 | /* FUNCTIONS */ |
| 37 | |
| 38 | #endif /* CURRENT_H_ */ |