1 | /* |
|
|
2 | * static char *rcsid_global_h = |
|
|
3 | * "$Id: global.h,v 1.15 2006/09/08 16:51:44 root Exp $"; |
|
|
4 | */ |
|
|
5 | |
|
|
6 | /* |
1 | /* |
7 | CrossFire, A Multiplayer game for X-windows |
2 | CrossFire, A Multiplayer game for X-windows |
8 | |
3 | |
9 | Copyright (C) 2002 Mark Wedel & Crossfire Development Team |
4 | Copyright (C) 2002 Mark Wedel & Crossfire Development Team |
10 | Copyright (C) 1992 Frank Tore Johansen |
5 | Copyright (C) 1992 Frank Tore Johansen |
… | |
… | |
144 | #include "book.h" |
139 | #include "book.h" |
145 | /* |
140 | /* |
146 | * So far only used when dealing with artifacts. |
141 | * So far only used when dealing with artifacts. |
147 | * (now used by alchemy and other code too. Nov 95 b.t). |
142 | * (now used by alchemy and other code too. Nov 95 b.t). |
148 | */ |
143 | */ |
149 | typedef struct linked_char { |
144 | struct linked_char |
|
|
145 | { |
150 | shstr name; |
146 | shstr name; |
151 | struct linked_char *next; |
147 | struct linked_char *next; |
152 | } linked_char; |
148 | }; |
153 | |
149 | |
154 | /* Pull in artifacts */ |
150 | /* Pull in artifacts */ |
155 | #include "artifact.h" |
151 | #include "artifact.h" |
156 | |
152 | |
157 | /* Now for gods */ |
153 | /* Now for gods */ |
… | |
… | |
176 | |
172 | |
177 | /* |
173 | /* |
178 | * These are the beginnings of linked lists: |
174 | * These are the beginnings of linked lists: |
179 | */ |
175 | */ |
180 | EXTERN player *first_player; |
176 | EXTERN player *first_player; |
181 | EXTERN mapstruct *first_map; |
177 | EXTERN maptile *first_map; |
182 | EXTERN region *first_region; |
178 | EXTERN region *first_region; |
183 | EXTERN treasurelist *first_treasurelist; |
179 | EXTERN treasurelist *first_treasurelist; |
184 | EXTERN artifactlist *first_artifactlist; |
180 | EXTERN artifactlist *first_artifactlist; |
185 | EXTERN archetype *first_archetype; |
181 | EXTERN archetype *first_archetype; |
186 | EXTERN objectlink *first_friendly_object; /* Objects monsters will go after */ |
182 | EXTERN objectlink *first_friendly_object; /* Objects monsters will go after */ |
… | |
… | |
408 | void free (object *); |
404 | void free (object *); |
409 | void free (archetype *); |
405 | void free (archetype *); |
410 | void free (recipe *); |
406 | void free (recipe *); |
411 | void free (linked_char *); |
407 | void free (linked_char *); |
412 | void free (godlink *); |
408 | void free (godlink *); |
413 | void free (mapstruct *); |
409 | void free (maptile *); |
414 | void free (key_value *); |
410 | void free (key_value *); |
415 | void free (treasure *); |
411 | void free (treasure *); |
416 | void free (materialtype_t *); |
412 | void free (materialtype_t *); |
417 | void free (player *); |
413 | void free (player *); |
418 | void free (New_Face *); |
414 | void free (New_Face *); |
|
|
415 | void free (racelink *); |
419 | |
416 | |
420 | #endif /* GLOBAL_H */ |
417 | #endif /* GLOBAL_H */ |
421 | |
418 | |