rnd-20001203-4-src
[rocksndiamonds.git] / src / libgame / libgame.c
1 /***********************************************************
2 *  Rocks'n'Diamonds -- McDuffin Strikes Back!              *
3 *----------------------------------------------------------*
4 *  (c) 1995-98 Artsoft Entertainment                       *
5 *              Holger Schemel                              *
6 *              Oststrasse 11a                              *
7 *              33604 Bielefeld                             *
8 *              phone: ++49 +521 290471                     *
9 *              email: aeglos@valinor.owl.de                *
10 *----------------------------------------------------------*
11 *  libgame.c                                               *
12 ***********************************************************/
13
14 #include "libgame.h"
15
16
17 /* ========================================================================= */
18 /* exported variables                                                        */
19 /* ========================================================================= */
20
21 struct ProgramInfo      program;
22 struct OptionInfo       options;
23 struct VideoSystemInfo  video;
24 struct AudioSystemInfo  audio;
25 struct GfxInfo          gfx;
26
27 struct LevelDirInfo    *leveldir_first = NULL;
28 struct LevelDirInfo    *leveldir_current = NULL;
29
30 Display        *display = NULL;
31 Visual         *visual = NULL;
32 int             screen = 0;
33 Colormap        cmap = None;
34
35 DrawWindow      window = NULL;
36 DrawBuffer      backbuffer = NULL;
37 DrawBuffer      drawto = NULL;
38
39 int             button_status = MB_NOT_PRESSED;
40 boolean         motion_status = FALSE;
41
42 int             redraw_mask = REDRAW_NONE;
43 int             redraw_tiles = 0;
44
45 int             FrameCounter = 0;