2 extern void menu_about(GtkMenuItem *menuitem, gpointer user_data);
28 extern void draw_info(
const char *str,
int color);
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);
55 extern void on_notebook_switch_page(GtkNotebook *notebook, GtkNotebookPage *page, guint page_num, gpointer user_data);
64 extern void keyrelfunc(GtkWidget *widget, GdkEventKey *
event, GtkWidget *window);
65 extern void keyfunc(GtkWidget *widget, GdkEventKey *
event, GtkWidget *window);
79 extern gboolean
keybinding_selection_func(GtkTreeSelection *selection, GtkTreeModel *model, GtkTreePath *path, gboolean path_currently_selected, gpointer userdata);
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);
96 extern void drawsmooth(
int mx,
int my,
int layer,
int picx,
int picy);
116 extern gboolean
metaserver_selection_func(GtkTreeSelection *selection, GtkTreeModel *model, GtkTreePath *path, gboolean path_currently_selected, gpointer userdata);
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);
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);
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);
gboolean drawingarea_inventory_table_expose_event(GtkWidget *widget, GdkEventExpose *event, gpointer user_data)
gboolean on_inv_table_expose_event(GtkWidget *widget, GdkEventExpose *event, gpointer user_data)
void on_menu_bows_activate(GtkMenuItem *menuitem, gpointer user_data)
void draw_info(const char *str, int color)
void update_spell_information(void)
void item_event_item_changed(item *it)
void set_text_tag_from_style(GtkTextTag *tag, GtkStyle *style, GtkStyle *base_style)
int display_mapscroll(int dx, int dy)
void SoundCmd(unsigned char *data, int len)
void on_window_destroy_event(GtkObject *object, gpointer user_data)
void get_window_coord(GtkWidget *win, int *x, int *y, int *wx, int *wy, int *w, int *h)
void close_container(item *op)
void info_get_styles(void)
void on_spell_treeview_row_activated(GtkTreeView *treeview, GtkTreePath *path, GtkTreeViewColumn *column, gpointer user_data)
int create_and_rescale_image_from_data(Cache_Entry *ce, int pixmap_num, uint8 *rgba_data, int width, int height)
void on_menu_boots_activate(GtkMenuItem *menuitem, gpointer user_data)
void spell_get_styles(void)
void list_row_collapse(GtkTreeView *treeview, GtkTreeIter *iter, GtkTreePath *path, gpointer user_data)
void on_menu_ratio_25_activate(GtkMenuItem *menuitem, gpointer user_data)
void on_menu_ratio_5_activate(GtkMenuItem *menuitem, gpointer user_data)
uint8 * png_to_data(uint8 *data, int len, uint32 *width, uint32 *height)
void on_config_button_save_clicked(GtkButton *button, gpointer user_data)
void on_metaserver_select_clicked(GtkButton *button, gpointer user_data)
gboolean keybinding_selection_func(GtkTreeSelection *selection, GtkTreeModel *model, GtkTreePath *path, gboolean path_currently_selected, gpointer userdata)
void draw_stats(int redraw)
void inventory_init(GtkWidget *window_root)
void on_entry_commands_activate(GtkEntry *entry, gpointer user_data)
void on_keybindings_activate(GtkMenuItem *menuitem, gpointer user_data)
void open_container(item *op)
void on_menu_gloves_activate(GtkMenuItem *menuitem, gpointer user_data)
void gtk_command_history(int direction)
void on_keybinding_button_remove_clicked(GtkButton *button, gpointer user_data)
void opengl_free_pixmap(PixmapInfo *pi)
void draw_magic_map(void)
void on_menu_body_armor_activate(GtkMenuItem *menuitem, gpointer user_data)
void on_keybinding_button_clear_clicked(GtkButton *button, gpointer user_data)
void reset_image_data(void)
void keyfunc(GtkWidget *widget, GdkEventKey *event, GtkWidget *window)
void sdl_gen_map(int redraw)
void stats_init(GtkWidget *window_root)
void enable_menu_items(int enable)
snd_pcm_hw_params_t * params
void clear_stat_mapping(void)
gboolean on_drawingarea_map_expose_event(GtkWidget *widget, GdkEventExpose *event, gpointer user_data)
void update_keybinding_list(void)
gboolean on_keybinding_entry_key_key_press_event(GtkWidget *widget, GdkEventKey *event, gpointer user_data)
void set_show_weight(const char *s)
gboolean on_metaserver_text_entry_key_press_event(GtkWidget *widget, GdkEventKey *event, gpointer user_data)
void on_menu_ratio_40_activate(GtkMenuItem *menuitem, gpointer user_data)
void on_configure_activate(GtkMenuItem *menuitem, gpointer user_data)
void pickup_init(GtkWidget *window_root)
void on_menu_normal_book_scrolls_activate(GtkMenuItem *menuitem, gpointer user_data)
void on_menu_keys_activate(GtkMenuItem *menuitem, gpointer user_data)
void set_autorepeat(const char *s)
void draw_keybindings(GtkWidget *keylist)
void gtk_draw_map(int redraw)
void on_notebook_switch_page(GtkNotebook *notebook, GtkNotebookPage *page, guint page_num, gpointer user_data)
gboolean list_selection_func(GtkTreeSelection *selection, GtkTreeModel *model, GtkTreePath *path, gboolean path_currently_selected, gpointer userdata)
void on_keybinding_button_update_clicked(GtkButton *button, gpointer user_data)
void Sound2Cmd(unsigned char *data, int len)
void create_opengl_map_image(uint8 *data, PixmapInfo *pi)
void on_menu_cloaks_activate(GtkMenuItem *menuitem, gpointer user_data)
gboolean on_drawingarea_map_configure_event(GtkWidget *widget, GdkEventConfigure *event, gpointer user_data)
void on_menu_food_activate(GtkMenuItem *menuitem, gpointer user_data)
void on_menu_skillscrolls_activate(GtkMenuItem *menuitem, gpointer user_data)
void on_menu_all_weapons_activate(GtkMenuItem *menuitem, gpointer user_data)
gboolean metaserver_selection_func(GtkTreeSelection *selection, GtkTreeModel *model, GtkTreePath *path, gboolean path_currently_selected, gpointer userdata)
void on_menu_potions_activate(GtkMenuItem *menuitem, gpointer user_data)
void on_spell_cast_clicked(GtkButton *button, gpointer user_data)
void on_menu_ratio_50_activate(GtkMenuItem *menuitem, gpointer user_data)
void on_menu_ratio_30_activate(GtkMenuItem *menuitem, gpointer user_data)
void on_spell_close_clicked(GtkButton *button, gpointer user_data)
int associate_cache_entry(Cache_Entry *ce, int pixnum)
void config_init(GtkWidget *window_root)
void on_menu_ratio_45_activate(GtkMenuItem *menuitem, gpointer user_data)
void on_keybinding_button_bind_clicked(GtkButton *button, gpointer user_data)
void gtk_complete_command(void)
int png_to_gdkpixmap(GdkWindow *window, uint8 *data, int len, GdkPixmap **pix, GdkBitmap **mask, GdkColormap *colormap)
void on_metaserver_text_entry_activate(GtkEntry *entry, gpointer user_data)
void MusicCmd(const char *data, int len)
void menu_quit_character(GtkMenuItem *menuitem, gpointer user_data)
uint8 * rescale_rgba_data(uint8 *data, int *width, int *height, int scale)
void on_menu_shields_activate(GtkMenuItem *menuitem, gpointer user_data)
void update_stat(int stat_no, sint64 max_stat, sint64 current_stat, sint64 statbar_max, sint64 statbar_stat, const char *name, int can_alert)
void on_menu_flesh_activate(GtkMenuItem *menuitem, gpointer user_data)
void on_save_window_position_activate(GtkMenuItem *menuitem, gpointer user_data)
void init_glx_opengl(GtkWidget *drawingarea)
void on_menu_spellbooks_activate(GtkMenuItem *menuitem, gpointer user_data)
int sdl_mapscroll(int dx, int dy)
void create_opengl_question_mark(void)
void command_show(const char *params)
void load_theme(int reload)
void on_menu_not_cursed_activate(GtkMenuItem *menuitem, gpointer user_data)
void cleanup_connection(void)
void drawsmooth(int mx, int my, int layer, int picx, int picy)
void on_about_close_clicked(GtkButton *button, gpointer user_data)
void on_config_button_close_clicked(GtkButton *button, gpointer user_data)
void on_menu_stop_before_pickup_activate(GtkMenuItem *menuitem, gpointer user_data)
void client_pickup(uint32 pickup)
gboolean on_drawingarea_map_button_press_event(GtkWidget *widget, GdkEventButton *event, gpointer user_data)
void on_menu_dont_pickup_activate(GtkMenuItem *menuitem, gpointer user_data)
void on_menu_helmets_activate(GtkMenuItem *menuitem, gpointer user_data)
int parse_args(int argc, char **argv)
void on_spells_activate(GtkMenuItem *menuitem, gpointer user_data)
void info_init(GtkWidget *window_root)
void on_menu_ratio_20_activate(GtkMenuItem *menuitem, gpointer user_data)
gboolean on_drawingarea_magic_map_expose_event(GtkWidget *widget, GdkEventExpose *event, gpointer user_data)
void on_treeview_metaserver_row_activated(GtkTreeView *treeview, GtkTreePath *path, GtkTreeViewColumn *column, gpointer user_data)
void draw_message_window(int redraw)
void on_menu_jewels_activate(GtkMenuItem *menuitem, gpointer user_data)
void on_config_button_apply_clicked(GtkButton *button, gpointer user_data)
void menu_about(GtkMenuItem *menuitem, gpointer user_data)
void set_weight_limit(uint32 wlim)
void image_update_download_status(int start, int end, int total)
void keys_init(GtkWidget *window_root)
int rgba_to_gdkpixmap(GdkWindow *window, uint8 *data, int width, int height, GdkPixmap **pix, GdkBitmap **mask, GdkColormap *colormap)
void set_show_icon(const char *s)
void on_menu_ratio_10_activate(GtkMenuItem *menuitem, gpointer user_data)
gboolean drawingarea_inventory_table_button_press_event(GtkWidget *widget, GdkEventButton *event, gpointer user_data)
void stats_get_styles(void)
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)
void get_map_image_size(int face, uint8 *w, uint8 *h)
void display_map_doneupdate(int redraw, int notice)
void init_cache_data(void)
void map_init(GtkWidget *window_root)
int main(int argc, char *argv[])
void client_tick(uint32 tick)
void draw_color_info(int colr, const char *buf)
void on_button_metaserver_quit_pressed(GtkButton *button, gpointer user_data)
void init_opengl(GtkWidget *drawingarea)
void on_menu_missile_weapons_activate(GtkMenuItem *menuitem, gpointer user_data)
void on_menu_ratio_35_activate(GtkMenuItem *menuitem, gpointer user_data)
void on_spell_invoke_clicked(GtkButton *button, gpointer user_data)
void animate_inventory(void)
void item_event_item_deleting(item *it)
void draw_look_list(void)
void set_scroll(const char *s)
int rgba_to_gdkpixbuf(uint8 *data, int width, int height, GdkPixbuf **pix)
void item_event_container_clearing(item *container)
void on_menu_ratio_pickup_off_activate(GtkMenuItem *menuitem, gpointer user_data)
void on_keybinding_button_close_clicked(GtkButton *button, gpointer user_data)
void opengl_gen_map(int redraw)
void on_menu_valuables_activate(GtkMenuItem *menuitem, gpointer user_data)
void addsmooth(uint16 face, uint16 smooth_face)
void on_menu_magical_items_activate(GtkMenuItem *menuitem, gpointer user_data)
void magic_map_flash_pos(void)
void on_menu_ratio_15_activate(GtkMenuItem *menuitem, gpointer user_data)
void load_window_positions(GtkWidget *window_root)
void init_SDL(GtkWidget *sdl_window, int just_lightmap)
void display_map_newmap(void)
void inventory_get_styles(void)
void draw_inv_table(int animate)
void on_menu_wands_rods_horns_activate(GtkMenuItem *menuitem, gpointer user_data)
void display_map_startupdate(void)
void bind_key(char *params)
void unbind_key(const char *params)
void on_menu_drinks_activate(GtkMenuItem *menuitem, gpointer user_data)
void on_menu_arrows_activate(GtkMenuItem *menuitem, gpointer user_data)
void reset_keybinding_status(void)
void draw_prompt(const char *str)
void draw_inv_list(int tab)
void draw_map(int redraw)
void menu_quit_program(GtkMenuItem *menuitem, gpointer user_data)
void keyrelfunc(GtkWidget *widget, GdkEventKey *event, GtkWidget *window)
void resize_map_window(int x, int y)
void get_metaserver(void)
void inventory_tick(void)