… | |
… | |
139 | #include "book.h" |
139 | #include "book.h" |
140 | /* |
140 | /* |
141 | * So far only used when dealing with artifacts. |
141 | * So far only used when dealing with artifacts. |
142 | * (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). |
143 | */ |
143 | */ |
144 | typedef struct linked_char { |
144 | struct linked_char |
|
|
145 | { |
145 | shstr name; |
146 | shstr name; |
146 | struct linked_char *next; |
147 | struct linked_char *next; |
147 | } linked_char; |
148 | }; |
148 | |
149 | |
149 | /* Pull in artifacts */ |
150 | /* Pull in artifacts */ |
150 | #include "artifact.h" |
151 | #include "artifact.h" |
151 | |
152 | |
152 | /* Now for gods */ |
153 | /* Now for gods */ |
… | |
… | |
171 | |
172 | |
172 | /* |
173 | /* |
173 | * These are the beginnings of linked lists: |
174 | * These are the beginnings of linked lists: |
174 | */ |
175 | */ |
175 | EXTERN player *first_player; |
176 | EXTERN player *first_player; |
176 | EXTERN mapstruct *first_map; |
177 | EXTERN maptile *first_map; |
177 | EXTERN region *first_region; |
178 | EXTERN region *first_region; |
178 | EXTERN treasurelist *first_treasurelist; |
179 | EXTERN treasurelist *first_treasurelist; |
179 | EXTERN artifactlist *first_artifactlist; |
180 | EXTERN artifactlist *first_artifactlist; |
180 | EXTERN archetype *first_archetype; |
181 | EXTERN archetype *first_archetype; |
181 | EXTERN objectlink *first_friendly_object; /* Objects monsters will go after */ |
182 | EXTERN objectlink *first_friendly_object; /* Objects monsters will go after */ |
… | |
… | |
403 | void free (object *); |
404 | void free (object *); |
404 | void free (archetype *); |
405 | void free (archetype *); |
405 | void free (recipe *); |
406 | void free (recipe *); |
406 | void free (linked_char *); |
407 | void free (linked_char *); |
407 | void free (godlink *); |
408 | void free (godlink *); |
408 | void free (mapstruct *); |
409 | void free (maptile *); |
409 | void free (key_value *); |
410 | void free (key_value *); |
410 | void free (treasure *); |
411 | void free (treasure *); |
411 | void free (materialtype_t *); |
412 | void free (materialtype_t *); |
412 | void free (player *); |
413 | void free (player *); |
413 | void free (New_Face *); |
414 | void free (New_Face *); |