5
#include "client-types.h"
13
extern PlayerPosition pl_pos;
15
extern int fog_of_war;
17
extern int map_image_size, map_image_half_size;
18
extern int per_pixel_lighting;
19
extern int per_tile_lighting;
21
extern uint8 sdlimage,split_windows,map_did_scroll,keepcache;
22
extern uint8 nopopups,updatekeycodes;;
23
extern int map_scale, icon_scale, updatelock;
25
/* Pixmap data. This is abstracted in the sense that the
26
* code here does not care what the data points to (hence the
27
* void). The module using this data should know whether it
28
* is these point to png data or image data of whatever form.
29
* The module is not required to use all these fileds -
30
* as png data includes transperancy, it will generally not
31
* use the mask fields and instead just put its data into the
32
* appropiate image fields.
34
* As images can now be of variable size (and potentially re-sized),
35
* the size information is stored here.
37
#define MAXPIXMAPNUM 10000
43
uint16 map_width, map_height;
44
GdkPixmap *icon_image;
48
extern PixmapInfo pixmaps[MAXPIXMAPNUM];
50
extern GtkWidget *drawable;
52
extern GdkBitmap *dark1, *dark2, *dark3;
53
extern GdkPixmap *dark;
56
/* Some global widgetws */
57
extern GtkWidget *gtkwin_root,*drawingarea,*run_label,*fire_label;
58
extern GtkWidget *gtkwin_info;
59
extern GtkWidget *entrytext, *counttext;
60
extern GdkPixmap *mapwindow,*dark;
62
extern GtkWidget *ckentrytext, *ckeyentrytext, *cmodentrytext,*cnumentrytext, *cclist;