boolean network;
boolean verbose;
boolean debug;
- boolean debug_x11_sync;
};
struct ScreenModeInfo
int draw_deactivation_mask;
int draw_background_mask;
+ boolean drawing_area_changed;
+
Bitmap *field_save_buffer;
Bitmap *background_bitmap;
struct TextPosInfo
{
int x, y;
+ int xoffset; /* special case for tape date and time */
+ int xoffset2; /* special case for tape date */
int width, height;
int align, valign;
- int size;
+ int size; /* also used for suffix ".digits" */
int font, font_alt;
boolean draw_masked;
boolean draw_player; /* special case for network player buttons */
- int sort_priority;
+ int sort_priority; /* also used for suffix ".draw_order" */
int id;
};
extern struct LevelStats level_stats[];
-extern Display *display;
-extern Visual *visual;
-extern int screen;
-extern Colormap cmap;
-
extern DrawWindow *window;
extern DrawBuffer *backbuffer;
extern DrawBuffer *drawto;
void FillRectangle(Bitmap *, int, int, int, int, Pixel);
void ClearRectangle(Bitmap *, int, int, int, int);
void ClearRectangleOnBackground(Bitmap *, int, int, int, int);
-void SetClipMask(Bitmap *, GC, Pixmap);
-void SetClipOrigin(Bitmap *, GC, int, int);
void BlitBitmapMasked(Bitmap *, Bitmap *, int, int, int, int, int, int);
boolean DrawingOnBackground(int, int);
+boolean DrawingAreaChanged();
void BlitBitmapOnBackground(Bitmap *, Bitmap *, int, int, int, int, int, int);
void DrawSimpleBlackLine(Bitmap *, int, int, int, int);
void DrawSimpleWhiteLine(Bitmap *, int, int, int, int);
Pixel GetPixelFromRGB(Bitmap *, unsigned int,unsigned int,unsigned int);
Pixel GetPixelFromRGBcompact(Bitmap *, unsigned int);
-void FlushDisplay(void);
-void SyncDisplay(void);
void KeyboardAutoRepeatOn(void);
void KeyboardAutoRepeatOff(void);
boolean PointerInWindow(DrawWindow *);
void ReloadCustomImage(Bitmap *, char *);
Bitmap *ZoomBitmap(Bitmap *, int, int);
-void CreateBitmapWithSmallBitmaps(Bitmap *, int, int);
-void ScaleBitmap(Bitmap *, int);
+void ReCreateGameTileSizeBitmap(Bitmap **);
+void CreateBitmapWithSmallBitmaps(Bitmap **, int, int);
+void ScaleBitmap(Bitmap **, int);
void SetMouseCursor(int);