Crossfire Client, Trunk  R21245
main.h
Go to the documentation of this file.
1 /*
2  * Crossfire -- cooperative multi-player graphical RPG and adventure game
3  *
4  * Copyright (c) 1999-2013 Mark Wedel and the Crossfire Development Team
5  * Copyright (c) 1992 Frank Tore Johansen
6  *
7  * Crossfire is free software and comes with ABSOLUTELY NO WARRANTY. You are
8  * welcome to redistribute it under certain conditions. For details, please
9  * see COPYING and LICENSE.
10  *
11  * The authors can be reached via e-mail at <crossfire@metalforge.org>.
12  */
13 
19 #define NUM_COLORS 13
20 extern GdkColor root_color[NUM_COLORS];
21 extern GtkWidget *window_root, *spinbutton_count;
22 extern GtkBuilder *dialog_xml, *window_xml;
23 
24 extern GtkNotebook *main_notebook;
25 
26 extern GtkWidget *magic_map;
27 extern GtkWidget *map_notebook;
28 extern GtkWidget *connect_window;
29 
30 #define DEFAULT_IMAGE_SIZE 32
32 
33 #define DEFAULT_UI CF_DATADIR "/ui/gtk-v2.ui"
34 #define DIALOG_FILENAME CF_DATADIR "/ui/dialogs.ui"
35 
38 
39 #define MAGIC_MAP_PAGE 1
41 extern char account_password[256];
42 /* gtk2proto.h depends on this - so may as well just include it here */
43 #include "info.h"
44 
45 extern void hide_main_client(void);
void hide_main_client(void)
Definition: main.c:423
GtkWidget * connect_window
Definition: main.c:97
GtkBuilder * dialog_xml
Definition: main.c:96
GtkBuilder * window_xml
Definition: main.c:96
int map_image_size
Definition: map.c:39
GtkNotebook * main_notebook
Definition: main.c:98
GtkWidget * window_root
Definition: main.c:97
GtkWidget * spinbutton_count
Definition: keys.c:63
int image_size
Definition: image.c:35
GdkColor root_color[NUM_COLORS]
Definition: main.c:94
GtkWidget * map_notebook
Definition: map.c:44
#define MAX_BUF
Definition: client.h:40
#define NUM_COLORS
Definition: main.h:19
char window_xml_file[MAX_BUF]
Definition: main.h:37
GtkWidget * magic_map
Definition: main.c:97
int map_image_half_size
Definition: map.c:40