… | |
… | |
40 | |
40 | |
41 | #include "includes.h" |
41 | #include "includes.h" |
42 | #include "config.h" |
42 | #include "config.h" |
43 | #include "compiler.h" |
43 | #include "compiler.h" |
44 | #include "define.h" |
44 | #include "define.h" |
|
|
45 | #include "traits.h" |
45 | |
46 | |
46 | #ifndef TRUE |
47 | #ifndef TRUE |
47 | #define TRUE 1 |
48 | #define TRUE 1 |
48 | #endif |
49 | #endif |
49 | |
50 | |
… | |
… | |
54 | extern short freearr_x[SIZEOFFREE], freearr_y[SIZEOFFREE]; |
55 | extern short freearr_x[SIZEOFFREE], freearr_y[SIZEOFFREE]; |
55 | extern int freedir[SIZEOFFREE]; |
56 | extern int freedir[SIZEOFFREE]; |
56 | extern int rightof_x[9], rightof_y[9]; |
57 | extern int rightof_x[9], rightof_y[9]; |
57 | extern int leftof_x[9], leftof_y[9]; |
58 | extern int leftof_x[9], leftof_y[9]; |
58 | |
59 | |
|
|
60 | extern sint64 levels [MAXNUMLEVELS]; |
|
|
61 | |
59 | #include "keyword.h" |
62 | #include "keyword.h" |
60 | #include "traits.h" |
|
|
61 | #include "logger.h" |
63 | #include "logger.h" |
62 | #include "dynbuf.h" |
64 | #include "dynbuf.h" |
63 | #include "util.h" |
65 | #include "util.h" |
|
|
66 | #include "rng.h" |
64 | #include "shstr.h" |
67 | #include "shstr.h" |
65 | #include "cfperl.h" |
68 | #include "cfperl.h" |
66 | |
69 | |
67 | /* This blob, in this order, is needed to actually define maps */ |
70 | /* This blob, in this order, is needed to actually define maps */ |
68 | #include "face.h" |
71 | #include "face.h" |
69 | #include "sounds.h" |
72 | #include "sounds.h" |
70 | |
73 | |
71 | #include "spells.h" |
74 | #include "spells.h" |
72 | |
75 | |
73 | #include "attack.h" /* needs to be before material.h */ |
76 | #include "attack.h" /* needs to be before material.h */ |
74 | #include "material.h" |
77 | #include "material.h" /* needs to be before freezethaw.h */ |
75 | #include "living.h" |
78 | #include "living.h" |
76 | #include "object.h" |
79 | #include "object.h" |
77 | #include "region.h" |
80 | #include "region.h" |
78 | #include "map.h" |
81 | #include "map.h" |
79 | #include "tod.h" |
82 | #include "tod.h" |