1 | /* |
1 | /* |
2 | * CrossFire, A Multiplayer game for X-windows |
2 | * CrossFire, A Multiplayer game |
3 | * |
3 | * |
4 | * Copyright (C) 2005, 2006, 2007 Marc Lehmann & Crossfire+ Development Team |
4 | * Copyright (C) 2005, 2006, 2007 Marc Lehmann & Crossfire+ Development Team |
5 | * Copyright (C) 2002 Mark Wedel & Crossfire Development Team |
5 | * Copyright (C) 2002 Mark Wedel & Crossfire Development Team |
6 | * Copyright (C) 1992 Frank Tore Johansen |
6 | * Copyright (C) 1992 Frank Tore Johansen |
7 | * |
7 | * |
… | |
… | |
64 | |
64 | |
65 | #include "attack.h" /* needs to be before material.h */ |
65 | #include "attack.h" /* needs to be before material.h */ |
66 | #include "material.h" |
66 | #include "material.h" |
67 | #include "living.h" |
67 | #include "living.h" |
68 | #include "object.h" |
68 | #include "object.h" |
|
|
69 | #include "region.h" |
69 | #include "map.h" |
70 | #include "map.h" |
70 | #include "tod.h" |
71 | #include "tod.h" |
71 | |
72 | |
72 | #include "skills.h" |
73 | #include "skills.h" |
73 | |
74 | |
… | |
… | |
127 | */ |
128 | */ |
128 | |
129 | |
129 | EXTERN bool init_done; /* Ignores signals until init_done is true */ |
130 | EXTERN bool init_done; /* Ignores signals until init_done is true */ |
130 | EXTERN bool in_cleanup; /* True when cleanup() is reached */ |
131 | EXTERN bool in_cleanup; /* True when cleanup() is reached */ |
131 | |
132 | |
132 | extern long pticks; /* used by various function to determine */ |
133 | extern tick_t pticks; /* used by various function to determine */ |
133 | /* how often to save the character */ |
134 | /* how often to save the character */ |
134 | /* |
135 | /* |
135 | * Misc global variables: |
136 | * Misc global variables: |
136 | */ |
137 | */ |
137 | EXTERN FILE *logfile; /* Used by server/daemon.c */ |
138 | EXTERN FILE *logfile; /* Used by server/daemon.c */ |
… | |
… | |
237 | uint8 ACC (RW, create_home_portals); /* If 1, can create portals in personal maps */ |
238 | uint8 ACC (RW, create_home_portals); /* If 1, can create portals in personal maps */ |
238 | }; |
239 | }; |
239 | |
240 | |
240 | extern Settings settings; |
241 | extern Settings settings; |
241 | |
242 | |
|
|
243 | void reset_signals (); |
|
|
244 | |
242 | #include "plugin.h" |
245 | #include "plugin.h" |
243 | #include "cfperl.h" |
246 | #include "cfperl.h" |
244 | |
247 | |
245 | #endif /* GLOBAL_H */ |
248 | #endif /* GLOBAL_H */ |
246 | |
249 | |