… | |
… | |
39 | #define MTH |
39 | #define MTH |
40 | #define GENCONST_IV(patterns) |
40 | #define GENCONST_IV(patterns) |
41 | |
41 | |
42 | #include "includes.h" |
42 | #include "includes.h" |
43 | #include "config.h" |
43 | #include "config.h" |
|
|
44 | #include "ecb.h" |
44 | #include "compiler.h" |
45 | #include "compiler.h" |
45 | #include "define.h" |
46 | #include "define.h" |
46 | #include "traits.h" |
47 | #include "traits.h" |
47 | |
48 | |
48 | #ifndef TRUE |
49 | #ifndef TRUE |
… | |
… | |
150 | EXTERN shstr first_map_ext_path; /* Path used for per-race start maps */ |
151 | EXTERN shstr first_map_ext_path; /* Path used for per-race start maps */ |
151 | |
152 | |
152 | EXTERN long ob_count; |
153 | EXTERN long ob_count; |
153 | |
154 | |
154 | extern dynbuf_text msg_dynbuf; // a dynbuf for text messages and other temporary data |
155 | extern dynbuf_text msg_dynbuf; // a dynbuf for text messages and other temporary data |
155 | |
|
|
156 | /* do not use these in new code, see object.h::animation */ |
|
|
157 | #define SET_ANIMATION(ob,frame) ob->set_anim_frame (frame) |
|
|
158 | #define NUM_ANIMATIONS(ob) (ob)->anim_frames () |
|
|
159 | #define NUM_FACINGS(ob) (ob)->anim_facings () |
|
|
160 | |
|
|
161 | // used only by treasure.C, does not handle null arch ptrs |
|
|
162 | #define IS_ARCH(arch,name) ((arch)->archname == shstr_ ## name) |
|
|
163 | |
156 | |
164 | extern void emergency_save (); |
157 | extern void emergency_save (); |
165 | |
158 | |
166 | #include "libproto.h" |
159 | #include "libproto.h" |
167 | #include "sockproto.h" |
160 | #include "sockproto.h" |