Crossfire Client, Branches  R11627
gtk2proto.h
Go to the documentation of this file.
1 /* about.c */
2 extern void menu_about(GtkMenuItem *menuitem, gpointer user_data);
3 extern void on_about_close_clicked(GtkButton *button, gpointer user_data);
4 /* config.c */
5 extern void load_theme(int reload);
6 extern void load_defaults(void);
7 extern void save_defaults(void);
8 extern void config_init(GtkWidget *window_root);
9 extern void on_config_button_save_clicked(GtkButton *button, gpointer user_data);
10 extern void on_config_button_apply_clicked(GtkButton *button, gpointer user_data);
11 extern void on_config_button_close_clicked(GtkButton *button, gpointer user_data);
12 extern void on_configure_activate(GtkMenuItem *menuitem, gpointer user_data);
13 extern void save_winpos(void);
14 extern void on_save_window_position_activate(GtkMenuItem *menuitem, gpointer user_data);
15 extern void load_window_positions(GtkWidget *window_root);
16 /* image.c */
17 extern int create_and_rescale_image_from_data(Cache_Entry *ce, int pixmap_num, uint8 *rgba_data, int width, int height);
18 extern void addsmooth(uint16 face, uint16 smooth_face);
19 extern int associate_cache_entry(Cache_Entry *ce, int pixnum);
20 extern void reset_image_data(void);
21 extern void image_update_download_status(int start, int end, int total);
22 extern void get_map_image_size(int face, uint8 *w, uint8 *h);
23 extern void init_cache_data(void);
24 /* info.c */
25 extern void set_text_tag_from_style(GtkTextTag *tag, GtkStyle *style, GtkStyle *base_style);
26 extern void info_get_styles(void);
27 extern void info_init(GtkWidget *window_root);
28 extern void draw_info(const char *str, int color);
29 extern void draw_color_info(int colr, const char *buf);
30 extern void menu_clear(void);
31 extern void set_scroll(const char *s);
32 extern void set_autorepeat(const char *s);
33 extern int get_info_width(void);
34 /* inventory.c */
35 extern gboolean list_selection_func(GtkTreeSelection *selection, GtkTreeModel *model, GtkTreePath *path, gboolean path_currently_selected, gpointer userdata);
36 extern void list_row_collapse(GtkTreeView *treeview, GtkTreeIter *iter, GtkTreePath *path, gpointer user_data);
37 extern void inventory_get_styles(void);
38 extern void inventory_init(GtkWidget *window_root);
39 extern void set_show_icon(const char *s);
40 extern void set_show_weight(const char *s);
41 extern void close_container(item *op);
42 extern void open_container(item *op);
43 extern void command_show(const char *params);
44 extern void set_weight_limit(uint32 wlim);
45 extern void item_event_item_deleting(item *it);
46 extern void item_event_container_clearing(item *container);
47 extern void item_event_item_changed(item *it);
48 extern void draw_look_list(void);
49 extern void draw_inv_list(int tab);
50 extern gboolean drawingarea_inventory_table_button_press_event(GtkWidget *widget, GdkEventButton *event, gpointer user_data);
51 extern gboolean drawingarea_inventory_table_expose_event(GtkWidget *widget, GdkEventExpose *event, gpointer user_data);
52 extern void draw_inv_table(int animate);
53 extern void draw_inv(int tab);
54 extern void draw_lists(void);
55 extern void on_notebook_switch_page(GtkNotebook *notebook, GtkNotebookPage *page, guint page_num, gpointer user_data);
56 extern gboolean on_inv_table_expose_event(GtkWidget *widget, GdkEventExpose *event, gpointer user_data);
57 extern void animate_inventory(void);
58 extern void animate_look(void);
59 extern void inventory_tick(void);
60 /* keys.c */
61 extern void keys_init(GtkWidget *window_root);
62 extern void bind_key(char *params);
63 extern void unbind_key(const char *params);
64 extern void keyrelfunc(GtkWidget *widget, GdkEventKey *event, GtkWidget *window);
65 extern void keyfunc(GtkWidget *widget, GdkEventKey *event, GtkWidget *window);
66 extern void draw_keybindings(GtkWidget *keylist);
67 extern void x_set_echo(void);
68 extern void draw_prompt(const char *str);
69 extern void gtk_command_history(int direction);
70 extern void gtk_complete_command(void);
71 extern void on_entry_commands_activate(GtkEntry *entry, gpointer user_data);
72 extern void update_keybinding_list(void);
73 extern void on_keybindings_activate(GtkMenuItem *menuitem, gpointer user_data);
74 extern gboolean on_keybinding_entry_key_key_press_event(GtkWidget *widget, GdkEventKey *event, gpointer user_data);
75 extern void on_keybinding_button_remove_clicked(GtkButton *button, gpointer user_data);
76 extern void on_keybinding_button_bind_clicked(GtkButton *button, gpointer user_data);
77 extern void on_keybinding_button_update_clicked(GtkButton *button, gpointer user_data);
78 extern void on_keybinding_button_close_clicked(GtkButton *button, gpointer user_data);
79 extern gboolean keybinding_selection_func(GtkTreeSelection *selection, GtkTreeModel *model, GtkTreePath *path, gboolean path_currently_selected, gpointer userdata);
80 extern void reset_keybinding_status(void);
81 extern void on_keybinding_button_clear_clicked(GtkButton *button, gpointer user_data);
82 /* main.c */
83 extern int do_timeout(void);
84 extern void client_tick(uint32 tick);
85 extern void cleanup_connection(void);
86 extern void on_window_destroy_event(GtkObject *object, gpointer user_data);
87 extern void do_network(void);
88 extern void event_loop(void);
89 extern int parse_args(int argc, char **argv);
90 extern int main(int argc, char *argv[]);
91 extern void get_window_coord(GtkWidget *win, int *x, int *y, int *wx, int *wy, int *w, int *h);
92 /* map.c */
93 extern void map_init(GtkWidget *window_root);
94 extern void reset_map(void);
95 extern int display_mapscroll(int dx, int dy);
96 extern void drawsmooth(int mx, int my, int layer, int picx, int picy);
97 extern void gtk_draw_map(int redraw);
98 extern void display_map_newmap(void);
99 extern void resize_map_window(int x, int y);
100 extern gboolean on_drawingarea_map_configure_event(GtkWidget *widget, GdkEventConfigure *event, gpointer user_data);
101 extern void draw_splash(void);
102 extern void draw_map(int redraw);
103 extern gboolean on_drawingarea_map_expose_event(GtkWidget *widget, GdkEventExpose *event, gpointer user_data);
104 extern gboolean on_drawingarea_map_button_press_event(GtkWidget *widget, GdkEventButton *event, gpointer user_data);
105 extern void display_map_startupdate(void);
106 extern void display_map_doneupdate(int redraw, int notice);
107 /* magicmap.c */
108 extern void draw_magic_map(void);
109 extern void magic_map_flash_pos(void);
110 extern gboolean on_drawingarea_magic_map_expose_event(GtkWidget *widget, GdkEventExpose *event, gpointer user_data);
111 /* menubar.c */
112 extern void menu_quit_program(GtkMenuItem *menuitem, gpointer user_data);
113 extern void menu_quit_character(GtkMenuItem *menuitem, gpointer user_data);
114 extern void enable_menu_items(int enable);
115 /* metaserver.c */
116 extern gboolean metaserver_selection_func(GtkTreeSelection *selection, GtkTreeModel *model, GtkTreePath *path, gboolean path_currently_selected, gpointer userdata);
117 extern void get_metaserver(void);
118 extern void on_metaserver_select_clicked(GtkButton *button, gpointer user_data);
119 extern void on_treeview_metaserver_row_activated(GtkTreeView *treeview, GtkTreePath *path, GtkTreeViewColumn *column, gpointer user_data);
120 extern void on_metaserver_text_entry_activate(GtkEntry *entry, gpointer user_data);
121 extern void on_button_metaserver_quit_pressed(GtkButton *button, gpointer user_data);
122 extern gboolean on_metaserver_text_entry_key_press_event(GtkWidget *widget, GdkEventKey *event, gpointer user_data);
123 /* opengl.c */
124 extern void init_glx_opengl(GtkWidget *drawingarea);
125 extern void init_opengl(GtkWidget *drawingarea);
126 extern void opengl_gen_map(int redraw);
127 extern void create_opengl_map_image(uint8 *data, PixmapInfo *pi);
128 extern void opengl_free_pixmap(PixmapInfo *pi);
129 extern void create_opengl_question_mark(void);
130 /* pickup.c */
131 extern void on_menu_dont_pickup_activate(GtkMenuItem *menuitem, gpointer user_data);
132 extern void on_menu_stop_before_pickup_activate(GtkMenuItem *menuitem, gpointer user_data);
133 extern void on_menu_body_armor_activate(GtkMenuItem *menuitem, gpointer user_data);
134 extern void on_menu_boots_activate(GtkMenuItem *menuitem, gpointer user_data);
135 extern void on_menu_cloaks_activate(GtkMenuItem *menuitem, gpointer user_data);
136 extern void on_menu_gloves_activate(GtkMenuItem *menuitem, gpointer user_data);
137 extern void on_menu_helmets_activate(GtkMenuItem *menuitem, gpointer user_data);
138 extern void on_menu_shields_activate(GtkMenuItem *menuitem, gpointer user_data);
139 extern void on_menu_skillscrolls_activate(GtkMenuItem *menuitem, gpointer user_data);
140 extern void on_menu_normal_book_scrolls_activate(GtkMenuItem *menuitem, gpointer user_data);
141 extern void on_menu_spellbooks_activate(GtkMenuItem *menuitem, gpointer user_data);
142 extern void on_menu_drinks_activate(GtkMenuItem *menuitem, gpointer user_data);
143 extern void on_menu_food_activate(GtkMenuItem *menuitem, gpointer user_data);
144 extern void on_menu_keys_activate(GtkMenuItem *menuitem, gpointer user_data);
145 extern void on_menu_magical_items_activate(GtkMenuItem *menuitem, gpointer user_data);
146 extern void on_menu_potions_activate(GtkMenuItem *menuitem, gpointer user_data);
147 extern void on_menu_valuables_activate(GtkMenuItem *menuitem, gpointer user_data);
148 extern void on_menu_wands_rods_horns_activate(GtkMenuItem *menuitem, gpointer user_data);
149 extern void on_menu_not_cursed_activate(GtkMenuItem *menuitem, gpointer user_data);
150 extern void on_menu_jewels_activate(GtkMenuItem *menuitem, gpointer user_data);
151 extern void on_menu_flesh_activate(GtkMenuItem *menuitem, gpointer user_data);
152 extern void on_menu_all_weapons_activate(GtkMenuItem *menuitem, gpointer user_data);
153 extern void on_menu_missile_weapons_activate(GtkMenuItem *menuitem, gpointer user_data);
154 extern void on_menu_bows_activate(GtkMenuItem *menuitem, gpointer user_data);
155 extern void on_menu_arrows_activate(GtkMenuItem *menuitem, gpointer user_data);
156 extern void on_menu_ratio_pickup_off_activate(GtkMenuItem *menuitem, gpointer user_data);
157 extern void on_menu_ratio_5_activate(GtkMenuItem *menuitem, gpointer user_data);
158 extern void on_menu_ratio_10_activate(GtkMenuItem *menuitem, gpointer user_data);
159 extern void on_menu_ratio_15_activate(GtkMenuItem *menuitem, gpointer user_data);
160 extern void on_menu_ratio_20_activate(GtkMenuItem *menuitem, gpointer user_data);
161 extern void on_menu_ratio_25_activate(GtkMenuItem *menuitem, gpointer user_data);
162 extern void on_menu_ratio_30_activate(GtkMenuItem *menuitem, gpointer user_data);
163 extern void on_menu_ratio_35_activate(GtkMenuItem *menuitem, gpointer user_data);
164 extern void on_menu_ratio_40_activate(GtkMenuItem *menuitem, gpointer user_data);
165 extern void on_menu_ratio_45_activate(GtkMenuItem *menuitem, gpointer user_data);
166 extern void on_menu_ratio_50_activate(GtkMenuItem *menuitem, gpointer user_data);
167 extern void pickup_init(GtkWidget *window_root);
168 extern void client_pickup(uint32 pickup);
169 /* png.c */
170 extern uint8 *png_to_data(uint8 *data, int len, uint32 *width, uint32 *height);
171 extern uint8 *rescale_rgba_data(uint8 *data, int *width, int *height, int scale);
172 extern int rgba_to_gdkpixmap(GdkWindow *window, uint8 *data, int width, int height, GdkPixmap **pix, GdkBitmap **mask, GdkColormap *colormap);
173 extern int rgba_to_gdkpixbuf(uint8 *data, int width, int height, GdkPixbuf **pix);
174 extern int png_to_gdkpixmap(GdkWindow *window, uint8 *data, int len, GdkPixmap **pix, GdkBitmap **mask, GdkColormap *colormap);
175 /* sdl.c */
176 extern void init_SDL(GtkWidget *sdl_window, int just_lightmap);
177 extern void drawquarterlightmap_sdl(int tl, int tr, int bl, int br, int width, int height, int startx, int starty, int endx, int endy, int destx, int desty);
178 extern void sdl_gen_map(int redraw);
179 extern int sdl_mapscroll(int dx, int dy);
180 /* sound.c */
181 extern int init_sounds(void);
182 extern void SoundCmd(unsigned char *data, int len);
183 extern void Sound2Cmd(unsigned char *data, int len);
184 extern void MusicCmd(const char *data, int len);
185 /* spells.c */
186 extern void spell_get_styles(void);
187 extern void update_spell_information(void);
188 extern void on_spells_activate(GtkMenuItem *menuitem, gpointer user_data);
189 extern void on_spell_treeview_row_activated(GtkTreeView *treeview, GtkTreePath *path, GtkTreeViewColumn *column, gpointer user_data);
190 extern void on_spell_cast_clicked(GtkButton *button, gpointer user_data);
191 extern void on_spell_invoke_clicked(GtkButton *button, gpointer user_data);
192 extern void on_spell_close_clicked(GtkButton *button, gpointer user_data);
193 /* stats.c */
194 extern void stats_get_styles(void);
195 extern void stats_init(GtkWidget *window_root);
196 extern void update_stat(int stat_no, sint64 max_stat, sint64 current_stat, sint64 statbar_max, sint64 statbar_stat, const char *name, int can_alert);
197 extern void draw_message_window(int redraw);
198 extern void draw_stats(int redraw);
199 extern void clear_stat_mapping(void);
gboolean drawingarea_inventory_table_expose_event(GtkWidget *widget, GdkEventExpose *event, gpointer user_data)
Definition: inventory.c:827
gboolean on_inv_table_expose_event(GtkWidget *widget, GdkEventExpose *event, gpointer user_data)
Definition: inventory.c:1086
void on_menu_bows_activate(GtkMenuItem *menuitem, gpointer user_data)
Definition: pickup.c:305
void draw_info(const char *str, int color)
Definition: gx11.c:1773
void update_spell_information(void)
Definition: spells.c:119
void item_event_item_changed(item *it)
Definition: inventory.c:489
void set_text_tag_from_style(GtkTextTag *tag, GtkStyle *style, GtkStyle *base_style)
Definition: info.c:133
int display_mapscroll(int dx, int dy)
Definition: map.c:88
void SoundCmd(unsigned char *data, int len)
Definition: sound.c:130
void on_window_destroy_event(GtkObject *object, gpointer user_data)
Definition: main.c:162
void get_window_coord(GtkWidget *win, int *x, int *y, int *wx, int *wy, int *w, int *h)
Definition: gx11.c:4789
void close_container(item *op)
Definition: inventory.c:1342
static int height
Definition: mapdata.c:104
void info_get_styles(void)
Definition: info.c:165
void on_spell_treeview_row_activated(GtkTreeView *treeview, GtkTreePath *path, GtkTreeViewColumn *column, gpointer user_data)
Definition: spells.c:367
int create_and_rescale_image_from_data(Cache_Entry *ce, int pixmap_num, uint8 *rgba_data, int width, int height)
Definition: image.c:252
void on_menu_boots_activate(GtkMenuItem *menuitem, gpointer user_data)
Definition: pickup.c:153
void spell_get_styles(void)
Definition: spells.c:72
void list_row_collapse(GtkTreeView *treeview, GtkTreeIter *iter, GtkTreePath *path, gpointer user_data)
Definition: inventory.c:282
void on_menu_ratio_25_activate(GtkMenuItem *menuitem, gpointer user_data)
Definition: pickup.c:358
void on_menu_ratio_5_activate(GtkMenuItem *menuitem, gpointer user_data)
Definition: pickup.c:330
int get_info_width(void)
Definition: gx11.c:4453
uint8 * png_to_data(uint8 *data, int len, uint32 *width, uint32 *height)
Definition: png.c:63
void on_config_button_save_clicked(GtkButton *button, gpointer user_data)
Definition: config.c:926
void on_metaserver_select_clicked(GtkButton *button, gpointer user_data)
Definition: metaserver.c:257
gboolean keybinding_selection_func(GtkTreeSelection *selection, GtkTreeModel *model, GtkTreePath *path, gboolean path_currently_selected, gpointer userdata)
Definition: keys.c:2030
void draw_stats(int redraw)
Definition: gx11.c:2015
void inventory_init(GtkWidget *window_root)
Definition: inventory.c:421
void on_entry_commands_activate(GtkEntry *entry, gpointer user_data)
Definition: keys.c:1640
void on_keybindings_activate(GtkMenuItem *menuitem, gpointer user_data)
Definition: keys.c:1752
void open_container(item *op)
Definition: inventory.c:1334
static XEvent event
Definition: x11.c:193
void on_menu_gloves_activate(GtkMenuItem *menuitem, gpointer user_data)
Definition: pickup.c:167
void gtk_command_history(int direction)
Definition: gx11.c:558
void on_keybinding_button_remove_clicked(GtkButton *button, gpointer user_data)
Definition: keys.c:1826
void opengl_free_pixmap(PixmapInfo *pi)
void draw_magic_map(void)
Definition: gx11.c:4571
void on_menu_body_armor_activate(GtkMenuItem *menuitem, gpointer user_data)
Definition: pickup.c:146
void on_keybinding_button_clear_clicked(GtkButton *button, gpointer user_data)
Definition: keys.c:2127
void reset_image_data(void)
Definition: image.c:387
void keyfunc(GtkWidget *widget, GdkEventKey *event, GtkWidget *window)
Definition: keys.c:1008
void sdl_gen_map(int redraw)
void stats_init(GtkWidget *window_root)
Definition: stats.c:176
void enable_menu_items(int enable)
Definition: menubar.c:121
snd_pcm_hw_params_t * params
Definition: alsa9.c:111
int total
Definition: gx11.c:322
void save_winpos(void)
Definition: gx11.c:4804
void clear_stat_mapping(void)
Definition: stats.c:725
gboolean on_drawingarea_map_expose_event(GtkWidget *widget, GdkEventExpose *event, gpointer user_data)
Definition: map.c:678
void update_keybinding_list(void)
Definition: keys.c:1707
gboolean on_keybinding_entry_key_key_press_event(GtkWidget *widget, GdkEventKey *event, gpointer user_data)
Definition: keys.c:1772
void set_show_weight(const char *s)
Definition: inventory.c:1258
gboolean on_metaserver_text_entry_key_press_event(GtkWidget *widget, GdkEventKey *event, gpointer user_data)
Definition: metaserver.c:408
void on_menu_ratio_40_activate(GtkMenuItem *menuitem, gpointer user_data)
Definition: pickup.c:379
void on_configure_activate(GtkMenuItem *menuitem, gpointer user_data)
Definition: config.c:968
void pickup_init(GtkWidget *window_root)
Definition: pickup.c:405
void on_menu_normal_book_scrolls_activate(GtkMenuItem *menuitem, gpointer user_data)
Definition: pickup.c:200
void on_menu_keys_activate(GtkMenuItem *menuitem, gpointer user_data)
Definition: pickup.c:231
void set_autorepeat(const char *s)
Definition: gx11.c:4448
void draw_keybindings(GtkWidget *keylist)
Definition: keys.c:1129
void gtk_draw_map(int redraw)
Definition: map.c:337
void on_notebook_switch_page(GtkNotebook *notebook, GtkNotebookPage *page, guint page_num, gpointer user_data)
Definition: inventory.c:1065
gboolean list_selection_func(GtkTreeSelection *selection, GtkTreeModel *model, GtkTreePath *path, gboolean path_currently_selected, gpointer userdata)
Definition: inventory.c:237
void on_keybinding_button_update_clicked(GtkButton *button, gpointer user_data)
Definition: keys.c:1978
void Sound2Cmd(unsigned char *data, int len)
Definition: sound.c:151
void create_opengl_map_image(uint8 *data, PixmapInfo *pi)
void on_menu_cloaks_activate(GtkMenuItem *menuitem, gpointer user_data)
Definition: pickup.c:160
gboolean on_drawingarea_map_configure_event(GtkWidget *widget, GdkEventConfigure *event, gpointer user_data)
Definition: map.c:586
void on_menu_food_activate(GtkMenuItem *menuitem, gpointer user_data)
Definition: pickup.c:224
void do_network(void)
Definition: main.c:176
void on_menu_skillscrolls_activate(GtkMenuItem *menuitem, gpointer user_data)
Definition: pickup.c:192
void on_menu_all_weapons_activate(GtkMenuItem *menuitem, gpointer user_data)
Definition: pickup.c:291
gboolean metaserver_selection_func(GtkTreeSelection *selection, GtkTreeModel *model, GtkTreePath *path, gboolean path_currently_selected, gpointer userdata)
Definition: metaserver.c:66
void on_menu_potions_activate(GtkMenuItem *menuitem, gpointer user_data)
Definition: pickup.c:245
void on_spell_cast_clicked(GtkButton *button, gpointer user_data)
Definition: spells.c:397
int do_timeout(void)
Definition: gx11.c:4535
void on_menu_ratio_50_activate(GtkMenuItem *menuitem, gpointer user_data)
Definition: pickup.c:393
void on_menu_ratio_30_activate(GtkMenuItem *menuitem, gpointer user_data)
Definition: pickup.c:365
void on_spell_close_clicked(GtkButton *button, gpointer user_data)
Definition: spells.c:456
int associate_cache_entry(Cache_Entry *ce, int pixnum)
Definition: image.c:372
void config_init(GtkWidget *window_root)
Definition: config.c:407
static int width
Definition: mapdata.c:104
void on_menu_ratio_45_activate(GtkMenuItem *menuitem, gpointer user_data)
Definition: pickup.c:386
void on_keybinding_button_bind_clicked(GtkButton *button, gpointer user_data)
Definition: keys.c:1946
void gtk_complete_command(void)
Definition: gx11.c:587
uint32 tick
Definition: client.c:70
int png_to_gdkpixmap(GdkWindow *window, uint8 *data, int len, GdkPixmap **pix, GdkBitmap **mask, GdkColormap *colormap)
Definition: png.c:544
void on_metaserver_text_entry_activate(GtkEntry *entry, gpointer user_data)
Definition: metaserver.c:370
void x_set_echo(void)
Definition: gx11.c:4488
void MusicCmd(const char *data, int len)
Definition: sound.c:199
void menu_quit_character(GtkMenuItem *menuitem, gpointer user_data)
Definition: menubar.c:106
Pixmap mask
Definition: xutil.c:67
uint8 * rescale_rgba_data(uint8 *data, int *width, int *height, int scale)
Definition: png.c:244
GtkWidget * window_root
Definition: main.c:56
void on_menu_shields_activate(GtkMenuItem *menuitem, gpointer user_data)
Definition: pickup.c:181
void update_stat(int stat_no, sint64 max_stat, sint64 current_stat, sint64 statbar_max, sint64 statbar_stat, const char *name, int can_alert)
Definition: stats.c:292
void on_menu_flesh_activate(GtkMenuItem *menuitem, gpointer user_data)
Definition: pickup.c:280
void on_save_window_position_activate(GtkMenuItem *menuitem, gpointer user_data)
Definition: config.c:1048
void init_glx_opengl(GtkWidget *drawingarea)
void on_menu_spellbooks_activate(GtkMenuItem *menuitem, gpointer user_data)
Definition: pickup.c:208
int sdl_mapscroll(int dx, int dy)
void create_opengl_question_mark(void)
void command_show(const char *params)
Definition: inventory.c:1153
void load_theme(int reload)
Definition: config.c:116
void on_menu_not_cursed_activate(GtkMenuItem *menuitem, gpointer user_data)
Definition: pickup.c:266
void cleanup_connection(void)
Definition: gx11.c:329
void drawsmooth(int mx, int my, int layer, int picx, int picy)
Definition: map.c:104
void on_about_close_clicked(GtkButton *button, gpointer user_data)
Definition: about.c:122
void on_config_button_close_clicked(GtkButton *button, gpointer user_data)
Definition: config.c:955
void on_menu_stop_before_pickup_activate(GtkMenuItem *menuitem, gpointer user_data)
Definition: pickup.c:135
void client_pickup(uint32 pickup)
Definition: gx11.c:4524
void draw_lists(void)
Definition: inventory.c:1029
gboolean on_drawingarea_map_button_press_event(GtkWidget *widget, GdkEventButton *event, gpointer user_data)
Definition: map.c:694
void on_menu_dont_pickup_activate(GtkMenuItem *menuitem, gpointer user_data)
Definition: pickup.c:128
void on_menu_helmets_activate(GtkMenuItem *menuitem, gpointer user_data)
Definition: pickup.c:174
int parse_args(int argc, char **argv)
Definition: main.c:350
char * name
Definition: image.c:61
void draw_inv(int tab)
Definition: inventory.c:1013
void menu_clear(void)
Definition: gx11.c:3241
void on_spells_activate(GtkMenuItem *menuitem, gpointer user_data)
Definition: spells.c:198
void info_init(GtkWidget *window_root)
Definition: info.c:413
void on_menu_ratio_20_activate(GtkMenuItem *menuitem, gpointer user_data)
Definition: pickup.c:351
gboolean on_drawingarea_magic_map_expose_event(GtkWidget *widget, GdkEventExpose *event, gpointer user_data)
Definition: magicmap.c:154
void on_treeview_metaserver_row_activated(GtkTreeView *treeview, GtkTreePath *path, GtkTreeViewColumn *column, gpointer user_data)
Definition: metaserver.c:346
void draw_message_window(int redraw)
Definition: gx11.c:2458
void on_menu_jewels_activate(GtkMenuItem *menuitem, gpointer user_data)
Definition: pickup.c:273
void on_config_button_apply_clicked(GtkButton *button, gpointer user_data)
Definition: config.c:941
void event_loop(void)
Definition: main.c:234
void menu_about(GtkMenuItem *menuitem, gpointer user_data)
Definition: about.c:55
void set_weight_limit(uint32 wlim)
Definition: inventory.c:1245
unsigned short uint16
Definition: client-types.h:79
void image_update_download_status(int start, int end, int total)
Definition: image.c:419
void keys_init(GtkWidget *window_root)
Definition: keys.c:399
int rgba_to_gdkpixmap(GdkWindow *window, uint8 *data, int width, int height, GdkPixmap **pix, GdkBitmap **mask, GdkColormap *colormap)
Definition: png.c:407
void set_show_icon(const char *s)
Definition: inventory.c:1303
void on_menu_ratio_10_activate(GtkMenuItem *menuitem, gpointer user_data)
Definition: pickup.c:337
gboolean drawingarea_inventory_table_button_press_event(GtkWidget *widget, GdkEventButton *event, gpointer user_data)
Definition: inventory.c:811
void save_defaults(void)
Definition: config.c:848
void reset_map(void)
Definition: map.c:76
void stats_get_styles(void)
Definition: stats.c:139
void drawquarterlightmap_sdl(int tl, int tr, int bl, int br, int width, int height, int startx, int starty, int endx, int endy, int destx, int desty)
GtkWidget * drawingarea
Definition: gx11.c:256
void get_map_image_size(int face, uint8 *w, uint8 *h)
Definition: image.c:459
void display_map_doneupdate(int redraw, int notice)
Definition: gx11.c:5300
int init_sounds(void)
Definition: sound.c:60
void init_cache_data(void)
Definition: image.c:542
void map_init(GtkWidget *window_root)
Definition: map.c:103
int main(int argc, char *argv[])
Definition: gx11.c:5546
void client_tick(uint32 tick)
Definition: gx11.c:4510
void load_defaults(void)
Definition: config.c:710
void draw_color_info(int colr, const char *buf)
Definition: gx11.c:1851
void on_button_metaserver_quit_pressed(GtkButton *button, gpointer user_data)
Definition: metaserver.c:388
void init_opengl(GtkWidget *drawingarea)
void on_menu_missile_weapons_activate(GtkMenuItem *menuitem, gpointer user_data)
Definition: pickup.c:298
unsigned int uint32
Definition: client-types.h:77
void on_menu_ratio_35_activate(GtkMenuItem *menuitem, gpointer user_data)
Definition: pickup.c:372
void on_spell_invoke_clicked(GtkButton *button, gpointer user_data)
Definition: spells.c:427
void animate_inventory(void)
Definition: inventory.c:1097
void item_event_item_deleting(item *it)
Definition: inventory.c:596
void draw_look_list(void)
Definition: inventory.c:718
void set_scroll(const char *s)
Definition: gx11.c:4443
int rgba_to_gdkpixbuf(uint8 *data, int width, int height, GdkPixbuf **pix)
Definition: png.c:500
void item_event_container_clearing(item *container)
Definition: inventory.c:525
void on_menu_ratio_pickup_off_activate(GtkMenuItem *menuitem, gpointer user_data)
Definition: pickup.c:323
void animate_look(void)
Definition: inventory.c:1165
Definition: client.h:480
void on_keybinding_button_close_clicked(GtkButton *button, gpointer user_data)
Definition: keys.c:2012
void opengl_gen_map(int redraw)
void on_menu_valuables_activate(GtkMenuItem *menuitem, gpointer user_data)
Definition: pickup.c:252
void draw_splash(void)
Definition: map.c:620
void addsmooth(uint16 face, uint16 smooth_face)
Definition: image.c:360
void on_menu_magical_items_activate(GtkMenuItem *menuitem, gpointer user_data)
Definition: pickup.c:238
void magic_map_flash_pos(void)
Definition: gx11.c:4766
void on_menu_ratio_15_activate(GtkMenuItem *menuitem, gpointer user_data)
Definition: pickup.c:344
void load_window_positions(GtkWidget *window_root)
Definition: config.c:1064
void init_SDL(GtkWidget *sdl_window, int just_lightmap)
void display_map_newmap(void)
Definition: gx11.c:5319
void inventory_get_styles(void)
Definition: inventory.c:394
void draw_inv_table(int animate)
Definition: inventory.c:857
unsigned char uint8
Definition: client-types.h:81
void on_menu_wands_rods_horns_activate(GtkMenuItem *menuitem, gpointer user_data)
Definition: pickup.c:259
Colormap colormap
Definition: x11.c:190
void display_map_startupdate(void)
Definition: gx11.c:5428
void bind_key(char *params)
Definition: keys.c:879
void unbind_key(const char *params)
Definition: keys.c:918
void on_menu_drinks_activate(GtkMenuItem *menuitem, gpointer user_data)
Definition: pickup.c:217
void on_menu_arrows_activate(GtkMenuItem *menuitem, gpointer user_data)
Definition: pickup.c:312
void reset_keybinding_status(void)
Definition: keys.c:2100
void draw_prompt(const char *str)
Definition: gx11.c:1310
void draw_inv_list(int tab)
Definition: inventory.c:754
void draw_map(int redraw)
Definition: map.c:654
void menu_quit_program(GtkMenuItem *menuitem, gpointer user_data)
Definition: menubar.c:86
void keyrelfunc(GtkWidget *widget, GdkEventKey *event, GtkWidget *window)
Definition: keys.c:994
void resize_map_window(int x, int y)
Definition: gx11.c:5324
void get_metaserver(void)
Definition: gx11.c:5432
void inventory_tick(void)
Definition: inventory.c:1374