forked from dungeons-of-moria/icmoria
-
Notifications
You must be signed in to change notification settings - Fork 0
/
imoria.h
39 lines (32 loc) · 885 Bytes
/
imoria.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/* imoria.h */
/* include flies for all the modlues */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <curses.h>
#include <math.h>
#include <time.h>
#include <unistd.h> /* for ftruncate, usleep */
/*#include <sgtty.h>*/
#include "mtwist/mtwist.h" /* random number generation */
#include "patchlevel.h"
#include "configure.h"
#include "constants.h"
#include "types.h"
#include "pascal.h"
#include "routines.h"
#include "term.h"
#include "debug.h"
// moria.c includes the actual declarations of all the variables,
// everything else just includes the extern stuff
#ifdef __MORIA_C__
#include "values.h"
#else
#include "variables.h"
#endif
#define PSPELL(xx) (magic_spell[py.misc.pclass][(xx)])
#define PCLASS (class[py.misc.pclass])
#define PM (py.misc)
#define PS (py.stat)
#define PF (py.flags)
/* END FILE imoria.h */