1 | /* |
1 | /* |
2 | * static char *rcsid_global_h = |
2 | * static char *rcsid_global_h = |
3 | * "$Id: global.h,v 1.10 2006/09/03 00:18:41 root Exp $"; |
3 | * "$Id: global.h,v 1.13 2006/09/03 23:33:00 root Exp $"; |
4 | */ |
4 | */ |
5 | |
5 | |
6 | /* |
6 | /* |
7 | CrossFire, A Multiplayer game for X-windows |
7 | CrossFire, A Multiplayer game for X-windows |
8 | |
8 | |
… | |
… | |
110 | #include <vector> |
110 | #include <vector> |
111 | |
111 | |
112 | #include "keyword.h" |
112 | #include "keyword.h" |
113 | #include "traits.h" |
113 | #include "traits.h" |
114 | #include "dynbuf.h" |
114 | #include "dynbuf.h" |
|
|
115 | #include "util.h" |
115 | #include "shstr.h" |
116 | #include "shstr.h" |
116 | #include "util.h" |
|
|
117 | |
117 | |
118 | /* This blob, in this order, is needed to actually define maps */ |
118 | /* This blob, in this order, is needed to actually define maps */ |
119 | #include "face.h" |
119 | #include "face.h" |
120 | /* Include the basic defines from spells.h */ |
120 | /* Include the basic defines from spells.h */ |
121 | #include "attack.h" /* needs to be before material.h */ |
121 | #include "attack.h" /* needs to be before material.h */ |
… | |
… | |
399 | #define GETTIMEOFDAY(last_time) gettimeofday(last_time, (struct timezone *) NULL); |
399 | #define GETTIMEOFDAY(last_time) gettimeofday(last_time, (struct timezone *) NULL); |
400 | #else |
400 | #else |
401 | #define GETTIMEOFDAY(last_time) gettimeofday(last_time); |
401 | #define GETTIMEOFDAY(last_time) gettimeofday(last_time); |
402 | #endif |
402 | #endif |
403 | |
403 | |
404 | /* GROS: Those are used by plugin events (argument fixthem) */ |
|
|
405 | #define SCRIPT_FIX_ACTIVATOR 2 |
|
|
406 | #define SCRIPT_FIX_ALL 1 |
|
|
407 | #define SCRIPT_FIX_NOTHING 0 |
|
|
408 | |
|
|
409 | #include "plugin.h" |
404 | #include "plugin.h" |
410 | #include "cfperl.h" |
405 | #include "cfperl.h" |
411 | |
406 | |
|
|
407 | //TODO: various TEMPORARY link guards to avoid doing the wrong thing |
|
|
408 | void free (archetype *); |
|
|
409 | void free (recipe *); |
|
|
410 | void free (linked_char *); |
|
|
411 | void free (godlink *); |
|
|
412 | void free (mapstruct *); |
|
|
413 | void free (key_value *); |
|
|
414 | void free (treasure *); |
|
|
415 | void free (materialtype_t *); |
|
|
416 | void free (player *); |
|
|
417 | |
412 | #endif /* GLOBAL_H */ |
418 | #endif /* GLOBAL_H */ |
|
|
419 | |