X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Flibgame%2Flibgame.c;h=00d7c13e436da73b53c1379a335f5ba789a6222a;hb=94b124e87edbd2e12d7b83f45254fcbfff8554cd;hp=8c000c209f141379d94fdf59face602de6588b84;hpb=49221e59bff18cdfbef8c877b588280266ae5037;p=rocksndiamonds.git diff --git a/src/libgame/libgame.c b/src/libgame/libgame.c index 8c000c20..00d7c13e 100644 --- a/src/libgame/libgame.c +++ b/src/libgame/libgame.c @@ -12,3 +12,34 @@ ***********************************************************/ #include "libgame.h" + + +/* ========================================================================= */ +/* exported variables */ +/* ========================================================================= */ + +struct ProgramInfo program; +struct OptionInfo options; +struct VideoSystemInfo video; +struct AudioSystemInfo audio; +struct GfxInfo gfx; + +struct LevelDirInfo *leveldir_first = NULL; +struct LevelDirInfo *leveldir_current = NULL; + +Display *display = NULL; +Visual *visual = NULL; +int screen = 0; +Colormap cmap = None; + +DrawWindow window = NULL; +DrawBuffer backbuffer = NULL; +DrawBuffer drawto = NULL; + +int button_status = MB_NOT_PRESSED; +boolean motion_status = FALSE; + +int redraw_mask = REDRAW_NONE; +int redraw_tiles = 0; + +int FrameCounter = 0;