1 /* $Header: /home/yav/catty/fkiss/RCS/work.h,v 1.30 2000/09/28 07:54:00 yav Exp $
2  * fkiss global variables
3  * written by yav <yav@bigfoot.com>
4  *
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation; either version 2 of the License, or
8  * (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program; if not, write to the Free Software
17  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18  */
19 
20 extern char str_fullname[];
21 extern char str_version[];
22 extern char str_author[];
23 extern char *coptions[];
24 extern char kiss_magic_number[];
25 extern int oargc;
26 extern char **oargv;
27 extern Display *dsp;
28 extern int scr;
29 extern int screen_depth;
30 extern Visual *vis;
31 extern Window rootwin;
32 extern unsigned long spx[];
33 extern GC sysgc[];
34 extern int debug_mode;
35 extern int test_mode;
36 extern char *extract_dir;
37 extern char *conf_dir;
38 extern char *conf_file;
39 extern char *str_font;
40 extern char *str_font8;
41 extern char *str_font16;
42 extern Pixmap iconp;
43 extern int iconw, iconh;
44 extern Window topwin;
45 extern int topw, toph;
46 extern XFontStruct *fsp;
47 extern XFontStruct *fsp8;
48 extern XFontStruct *fsp16;
49 extern int font_ascent;
50 extern int font_descent;
51 extern int font8_ascent;
52 extern int font8_descent;
53 extern int font16_ascent;
54 extern int font16_descent;
55 extern Window mnwin;
56 extern Window viewwin;
57 extern int vieww, viewh;
58 extern int mnx, mny, mnw, mnh, mnbw;
59 extern int setcnt;
60 extern int palcnt;
61 extern Bool quit_flag;
62 extern int cset;
63 extern int cpal;
64 extern char *str_geometry;
65 extern int imgw0;
66 extern int imgh0;
67 extern int imgx, imgy, imgw, imgh, imgbw;
68 extern int scrdx, scrdy;
69 extern int celcnt;
70 extern int objcnt;
71 extern int objcnt2;
72 extern int motion_compress;
73 extern unsigned char hatch_ptrn[];
74 extern int arcfilecnt;
75 extern char **arcfilelist;
76 extern int verbose_mode;
77 extern int sound_mode;
78 extern char active_set[];
79 extern int border_color;
80 extern int max_fix;
81 extern CELL *cell;
82 extern OBJECT *object;
83 extern int colorfilecnt;
84 extern COLOR *kcflist;
85 extern SETINFO kset[];
86 
87 extern char *midi_player;
88 
89 extern Colormap cmap;
90 extern int gray_mode;
91 extern int colcnt;
92 extern XColor *xcol[MAXPAL];
93 extern KISSCOLOR *kcol[MAXPAL];
94 extern short *colindex;
95 extern char *str_curs_fore;
96 extern char *str_curs_back;
97 extern int cursor_mode;
98 extern int event_mode;
99 extern Bool event_detect;
100 extern int sleep_tick;
101 extern int private_color_mode;
102 extern int private_colormap_mode;
103 extern char infostr0[];
104 extern char infostr[];
105 extern int cnf_comment_cnt;
106 extern char **cnf_comment;
107 extern int coding_type;
108 extern int objpos_first_align;
109 extern int oldcnf_comaptible;
110 extern char *hes_keyword;
111 extern Window infowin;
112 extern int evn;
113 extern int enable_event_shell;
114 extern char *evid;
115 extern int randseed;
116 extern char *str_sound_cache_limit;
117 extern long sound_cache_limit;
118 extern int wkiss_bug_emulation;
119 extern int transparency_mode;
120 extern Window comwin;
121 extern int combw;
122 extern int comment_mode;
123 extern int comment_linenum;
124 extern int auto_adjust;
125 
126 /* End of file */
127