ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/include/global.h
(Generate patch)

Comparing deliantra/server/include/global.h (file contents):
Revision 1.52 by root, Mon Apr 16 06:23:41 2007 UTC vs.
Revision 1.57 by root, Sat Apr 28 05:55:55 2007 UTC

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
124 125
125/* 126/*
126 * Variables set by different flags (see init.c): 127 * Variables set by different flags (see init.c):
127 */ 128 */
128 129
129EXTERN bool warn_archetypes; /* If true, write warnings when failing */
130 /* to find archetypes when loading from file */
131EXTERN bool init_done; /* Ignores signals until init_done is true */ 130EXTERN bool init_done; /* Ignores signals until init_done is true */
132EXTERN bool in_cleanup; /* True when cleanup() is reached */ 131EXTERN bool in_cleanup; /* True when cleanup() is reached */
133 132
134extern long pticks; /* used by various function to determine */ 133extern tick_t pticks; /* used by various function to determine */
135 /* how often to save the character */ 134 /* how often to save the character */
136/* 135/*
137 * Misc global variables: 136 * Misc global variables:
138 */ 137 */
139EXTERN FILE *logfile; /* Used by server/daemon.c */ 138EXTERN FILE *logfile; /* Used by server/daemon.c */
140EXTERN int exiting; /* True if the game is about to exit */
141EXTERN long nroftreasures; /* Only used in malloc_info() */
142EXTERN long nrofartifacts; /* Only used in malloc_info() */
143EXTERN long nrofallowedstr; /* Only used in malloc_info() */
144 139
145EXTERN archetype *empty_archetype; /* Nice to have fast access to it */ 140EXTERN archetype *empty_archetype; /* Nice to have fast access to it */
146EXTERN archetype *map_archeytpe; 141EXTERN archetype *map_archeytpe;
147EXTERN shstr first_map_path; /* The start-level */ 142EXTERN shstr first_map_path; /* The start-level */
148EXTERN shstr first_map_ext_path; /* Path used for per-race start maps */ 143EXTERN shstr first_map_ext_path; /* Path used for per-race start maps */
243 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 */
244}; 239};
245 240
246extern Settings settings; 241extern Settings settings;
247 242
243void reset_signals ();
244
248#include "plugin.h" 245#include "plugin.h"
249#include "cfperl.h" 246#include "cfperl.h"
250 247
251#endif /* GLOBAL_H */ 248#endif /* GLOBAL_H */
252 249

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines