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.67 by root, Thu Nov 8 19:43:24 2007 UTC vs.
Revision 1.69 by root, Tue Apr 15 03:16:02 2008 UTC

144extern tick_t pticks; /* used by various function to determine */ 144extern tick_t pticks; /* used by various function to determine */
145 /* how often to save the character */ 145 /* how often to save the character */
146/* 146/*
147 * Misc global variables: 147 * Misc global variables:
148 */ 148 */
149EXTERN FILE *logfile; /* Used by server/daemon.c */
150
151EXTERN archetype *empty_archetype; /* Nice to have fast access to it */ 149EXTERN archetype *empty_archetype; /* Nice to have fast access to it */
152EXTERN archetype *map_archeytpe; 150EXTERN archetype *map_archeytpe;
153EXTERN shstr first_map_path; /* The start-level */ 151EXTERN shstr first_map_path; /* The start-level */
154EXTERN shstr first_map_ext_path; /* Path used for per-race start maps */ 152EXTERN shstr first_map_ext_path; /* Path used for per-race start maps */
155 153
170 */ 168 */
171#define NUM_ANIMATIONS(ob) (animations[ob->animation_id].num_animations) 169#define NUM_ANIMATIONS(ob) (animations[ob->animation_id].num_animations)
172#define NUM_FACINGS(ob) (animations[ob->animation_id].facings) 170#define NUM_FACINGS(ob) (animations[ob->animation_id].facings)
173 171
174extern void emergency_save (); 172extern void emergency_save ();
175extern void cleanup (const char *cause, bool make_core = false);
176 173
177#include "libproto.h" 174#include "libproto.h"
178#include "sockproto.h" 175#include "sockproto.h"
179 176
180#define decrease_ob(xyz) decrease_ob_nr(xyz,1) 177#define decrease_ob(xyz) decrease_ob_nr(xyz,1)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines