… | |
… | |
144 | extern tick_t pticks; /* used by various function to determine */ |
144 | extern tick_t pticks; /* used by various function to determine */ |
145 | /* how often to save the character */ |
145 | /* how often to save the character */ |
146 | /* |
146 | /* |
147 | * Misc global variables: |
147 | * Misc global variables: |
148 | */ |
148 | */ |
149 | EXTERN FILE *logfile; /* Used by server/daemon.c */ |
|
|
150 | |
|
|
151 | EXTERN archetype *empty_archetype; /* Nice to have fast access to it */ |
149 | EXTERN archetype *empty_archetype; /* Nice to have fast access to it */ |
152 | EXTERN archetype *map_archeytpe; |
150 | EXTERN archetype *map_archeytpe; |
153 | EXTERN shstr first_map_path; /* The start-level */ |
151 | EXTERN shstr first_map_path; /* The start-level */ |
154 | EXTERN shstr first_map_ext_path; /* Path used for per-race start maps */ |
152 | EXTERN shstr first_map_ext_path; /* Path used for per-race start maps */ |
155 | |
153 | |
… | |
… | |
170 | */ |
168 | */ |
171 | #define NUM_ANIMATIONS(ob) (animations[ob->animation_id].num_animations) |
169 | #define NUM_ANIMATIONS(ob) (animations[ob->animation_id].num_animations) |
172 | #define NUM_FACINGS(ob) (animations[ob->animation_id].facings) |
170 | #define NUM_FACINGS(ob) (animations[ob->animation_id].facings) |
173 | |
171 | |
174 | extern void emergency_save (); |
172 | extern void emergency_save (); |
175 | extern void cleanup (const char *cause, bool make_core = false); |
|
|
176 | |
173 | |
177 | #include "libproto.h" |
174 | #include "libproto.h" |
178 | #include "sockproto.h" |
175 | #include "sockproto.h" |
179 | |
176 | |
180 | #define decrease_ob(xyz) decrease_ob_nr(xyz,1) |
177 | #define decrease_ob(xyz) decrease_ob_nr(xyz,1) |