… | |
… | |
124 | |
124 | |
125 | /* |
125 | /* |
126 | * Variables set by different flags (see init.c): |
126 | * Variables set by different flags (see init.c): |
127 | */ |
127 | */ |
128 | |
128 | |
129 | EXTERN bool warn_archetypes; /* If true, write warnings when failing */ |
|
|
130 | /* to find archetypes when loading from file */ |
|
|
131 | EXTERN bool init_done; /* Ignores signals until init_done is true */ |
129 | EXTERN bool init_done; /* Ignores signals until init_done is true */ |
132 | EXTERN bool in_cleanup; /* True when cleanup() is reached */ |
130 | EXTERN bool in_cleanup; /* True when cleanup() is reached */ |
133 | |
131 | |
134 | extern long pticks; /* used by various function to determine */ |
132 | extern long pticks; /* used by various function to determine */ |
135 | /* how often to save the character */ |
133 | /* how often to save the character */ |
136 | /* |
134 | /* |
137 | * Misc global variables: |
135 | * Misc global variables: |
138 | */ |
136 | */ |
139 | EXTERN FILE *logfile; /* Used by server/daemon.c */ |
137 | EXTERN FILE *logfile; /* Used by server/daemon.c */ |
140 | EXTERN int exiting; /* True if the game is about to exit */ |
|
|
141 | EXTERN long nroftreasures; /* Only used in malloc_info() */ |
|
|
142 | EXTERN long nrofartifacts; /* Only used in malloc_info() */ |
|
|
143 | EXTERN long nrofallowedstr; /* Only used in malloc_info() */ |
|
|
144 | |
138 | |
145 | EXTERN archetype *empty_archetype; /* Nice to have fast access to it */ |
139 | EXTERN archetype *empty_archetype; /* Nice to have fast access to it */ |
146 | EXTERN archetype *map_archeytpe; |
140 | EXTERN archetype *map_archeytpe; |
147 | EXTERN shstr first_map_path; /* The start-level */ |
141 | EXTERN shstr first_map_path; /* The start-level */ |
148 | EXTERN shstr first_map_ext_path; /* Path used for per-race start maps */ |
142 | EXTERN shstr first_map_ext_path; /* Path used for per-race start maps */ |