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.81 by root, Sat Nov 7 18:30:05 2009 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" 38#include "logger.h"
39 39
40#ifndef TRUE 40#ifndef TRUE
41#define TRUE 1 41#define TRUE 1
44#ifndef FALSE 44#ifndef FALSE
45#define FALSE 0 45#define FALSE 0
46#endif 46#endif
47 47
48extern short freearr_x[SIZEOFFREE], freearr_y[SIZEOFFREE]; 48extern short freearr_x[SIZEOFFREE], freearr_y[SIZEOFFREE];
49extern int maxfree[SIZEOFFREE], freedir[SIZEOFFREE]; 49extern int freedir[SIZEOFFREE];
50extern int rightof_x[9], rightof_y[9]; 50extern int rightof_x[9], rightof_y[9];
51extern int leftof_x[9], leftof_y[9]; 51extern int leftof_x[9], leftof_y[9];
52 52
53// used only for tagging structure members so scripting languages 53// used only for tagging structure members so scripting languages
54// can easily parse the include files. 54// can easily parse the include files.
55#define INTERFACE_CLASS(name) 55#define INTERFACE_CLASS(name)
56#define ACC(meta,member) member 56#define ACC(meta,member) member
57#define MTH 57#define MTH
58
59#if __GNUC__ >= 3
60# define attribute(attrlist) __attribute__(attrlist)
61#else
62# define attribute(attrlist)
63#endif
64 58
65#include "keyword.h" 59#include "keyword.h"
66#include "traits.h" 60#include "traits.h"
67#include "dynbuf.h" 61#include "dynbuf.h"
68#include "util.h" 62#include "util.h"
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