File: data.h

package info (click to toggle)
xgalaga 2.1.1.0-7
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 1,700 kB
  • sloc: ansic: 16,119; sh: 1,548; perl: 816; makefile: 179
file content (94 lines) | stat: -rw-r--r-- 1,832 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
#ifndef _data_h_
#define _data_h_

#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <X11/Xmu/CurUtil.h>
#include <X11/cursorfont.h>
#include <X11/keysym.h>

#include <assert.h>
#include <string.h>

#ifdef XPM
#ifdef HACKED_XPMLIB
#include "xpmlib-3.4b/xpm.h"
#else 
#include <X11/xpm.h>
#endif /*HACKED_XPMLIB*/
#endif /*XPM [BDyess]*/

#include "Wlib.h"
#include "defs.h"
#include "struct.h"

extern int	nplanes;
extern int	xpmORplanes ;
extern unsigned long	base;
extern unsigned long planes[MAXPLANES];
extern XColor	allocated_colors[1<<MAXPLANES];
extern int	nallocated_colors ;

extern char *_nfonts[];
extern char *_bfonts[];
extern char *_ifonts[];
extern char *_bgfonts[];

extern int zero ;
extern int one ;
extern int two ;
extern int three ;

extern GC maskGC; /* JJJ */

/* GC used for drawing the borders [BDyess] */
extern GC borderGC;
extern int     controlkey ;
extern int     altkey ;
extern int     W_FastClear ;
extern int     buttonDown ;
extern Display *W_Display;
extern Window  W_Root;
extern Colormap W_Colormap;
extern int     W_Screen;
extern Visual *W_Visual;

extern int     W_in_message ;	/* jfy -- for Jerry's warp message hack */

#ifdef RJC
extern W_Window baseWin;
extern XClassHint class_hint;

extern XWMHints wm_hint;

extern XSizeHints wm_size_hint;
#endif				/* RJC */

extern W_Event W_myevent;
extern int W_isEvent ;

extern struct colors colortable[8];

extern struct windowlist *hashtable[HASHSIZE];
extern struct fontInfo fonts[FONTS];

extern struct window myroot;

extern unsigned char gray[];

extern unsigned char striped[];

extern unsigned char solid[];

extern int forceMono;
extern int xpm, useOR, useClipMask;
extern int backColor;

extern char *imagedir;
extern int verbose_image_loading;

extern int useBuffered;

extern unsigned BillsScrewyAltMask;

#endif /* _data_h_ */