… | |
… | |
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" |
64 | #include "shstr.h" |
66 | #include "shstr.h" |
65 | #include "cfperl.h" |
67 | #include "cfperl.h" |
… | |
… | |
69 | #include "sounds.h" |
71 | #include "sounds.h" |
70 | |
72 | |
71 | #include "spells.h" |
73 | #include "spells.h" |
72 | |
74 | |
73 | #include "attack.h" /* needs to be before material.h */ |
75 | #include "attack.h" /* needs to be before material.h */ |
74 | #include "material.h" |
76 | #include "material.h" /* needs to be before freezethaw.h */ |
75 | #include "living.h" |
77 | #include "living.h" |
76 | #include "object.h" |
78 | #include "object.h" |
77 | #include "region.h" |
79 | #include "region.h" |
78 | #include "map.h" |
80 | #include "map.h" |
79 | #include "tod.h" |
81 | #include "tod.h" |
… | |
… | |
87 | /* Pull in the player structure */ |
89 | /* Pull in the player structure */ |
88 | #include "player.h" |
90 | #include "player.h" |
89 | |
91 | |
90 | /* pull in treasure structure */ |
92 | /* pull in treasure structure */ |
91 | #include "treasure.h" |
93 | #include "treasure.h" |
92 | |
|
|
93 | #include "commands.h" |
|
|
94 | |
94 | |
95 | /* pull in book structures */ |
95 | /* pull in book structures */ |
96 | #include "book.h" |
96 | #include "book.h" |
97 | /* |
97 | /* |
98 | * So far only used when dealing with artifacts. |
98 | * So far only used when dealing with artifacts. |