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.78 by root, Thu Oct 15 21:40:42 2009 UTC vs.
Revision 1.82 by root, Sat Jan 16 13:41:37 2010 UTC

30#ifndef EXTERN 30#ifndef EXTERN
31#define EXTERN extern 31#define EXTERN extern
32#endif 32#endif
33 33
34#include "includes.h" 34#include "includes.h"
35
36#include "config.h" 35#include "config.h"
36#include "compiler.h"
37#include "define.h" 37#include "define.h"
38#include "logger.h"
39 38
40#ifndef TRUE 39#ifndef TRUE
41#define TRUE 1 40#define TRUE 1
42#endif 41#endif
43 42
44#ifndef FALSE 43#ifndef FALSE
45#define FALSE 0 44#define FALSE 0
46#endif 45#endif
47 46
48extern short freearr_x[SIZEOFFREE], freearr_y[SIZEOFFREE]; 47extern short freearr_x[SIZEOFFREE], freearr_y[SIZEOFFREE];
49extern int maxfree[SIZEOFFREE], freedir[SIZEOFFREE]; 48extern int freedir[SIZEOFFREE];
50extern int rightof_x[9], rightof_y[9]; 49extern int rightof_x[9], rightof_y[9];
51extern int leftof_x[9], leftof_y[9]; 50extern int leftof_x[9], leftof_y[9];
52 51
53// used only for tagging structure members so scripting languages 52// used only for tagging structure members so scripting languages
54// can easily parse the include files. 53// can easily parse the include files.
55#define INTERFACE_CLASS(name) 54#define INTERFACE_CLASS(name)
56#define ACC(meta,member) member 55#define ACC(meta,member) member
57#define MTH 56#define MTH
58 57
59#if __GNUC__ >= 3
60# define attribute(attrlist) __attribute__(attrlist)
61#else
62# define attribute(attrlist)
63#endif
64
65#include "keyword.h" 58#include "keyword.h"
66#include "traits.h" 59#include "traits.h"
60#include "logger.h"
67#include "dynbuf.h" 61#include "dynbuf.h"
68#include "util.h" 62#include "util.h"
69#include "shstr.h" 63#include "shstr.h"
70#include "cfperl.h" 64#include "cfperl.h"
71 65
146 * Misc global variables: 140 * Misc global variables:
147 */ 141 */
148EXTERN shstr first_map_path; /* The start-level */ 142EXTERN shstr first_map_path; /* The start-level */
149EXTERN 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 */
150 144
151EXTERN char errmsg[HUGE_BUF];
152EXTERN long ob_count; 145EXTERN long ob_count;
153 146
154extern dynbuf_text msg_dynbuf; // a dynbuf for text messages and other temporary data 147extern dynbuf_text msg_dynbuf; // a dynbuf for text messages and other temporary data
155 148
156/* do not use these in new code, see object.h::animation */ 149/* do not use these in new code, see object.h::animation */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines