Crossfire Client, Trunk
|
#include "info.h"
Go to the source code of this file.
Macros | |
#define | DEFAULT_IMAGE_SIZE 32 |
#define | DEFAULT_UI CF_DATADIR "/ui/gtk-v2.ui" |
#define | DIALOG_FILENAME CF_DATADIR "/ui/dialogs.ui" |
#define | MAGIC_MAP_PAGE 1 |
#define | NUM_COLORS 13 |
Functions | |
void | hide_main_client (void) |
Variables | |
char | account_password [256] |
GtkWidget * | connect_window |
GtkBuilder * | dialog_xml |
int | image_size |
GtkWidget * | magic_map |
GtkNotebook * | main_notebook |
int | map_image_size |
GtkWidget * | map_notebook |
GdkColor | root_color [NUM_COLORS] |
GtkWidget * | spinbutton_count |
GtkWidget * | window_root |
GtkBuilder * | window_xml |
char | window_xml_file [MAX_BUF] |
Contains various global definitions and XML file name and path defaults.
Definition in file main.h.
void hide_main_client | ( | ) |
Called if event_loop() exits, or whenever the character selection window comes up (before logging in, or after having applied a bed).
Definition at line 477 of file main.c.
References cf_play_music(), connect_window, cpl, locate_item(), Player_Struct::ob, remove_item_inventory(), and window_root.
Referenced by choose_character_init(), create_new_character_failure(), and main().
char account_password[256] |
Definition at line 58 of file account.c.
Referenced by create_new_character(), do_account_change(), do_account_create(), do_account_login(), and send_create_player_to_server().
GtkWidget* connect_window |
Definition at line 103 of file main.c.
Referenced by hide_all_login_windows(), hide_main_client(), init_create_character_window(), init_ui(), and main().
GtkBuilder* dialog_xml |
Definition at line 102 of file main.c.
Referenced by config_init(), init_account_password_window(), init_add_character_window(), init_choose_char_window(), init_create_account_window(), init_create_character_window(), init_login_window(), init_new_character_window(), init_ui(), keys_init(), menu_about(), metaserver_ui_init(), msgctrl_init(), on_skills_activate(), on_spells_activate(), and update_skill_information().
GtkWidget* magic_map |
Definition at line 103 of file main.c.
Referenced by draw_magic_map(), init_ui(), and magic_map_flash_pos().
GtkNotebook* main_notebook |
Definition at line 104 of file main.c.
Referenced by account_show_login(), choose_char_window_show(), init_ui(), metaserver_show_prompt(), on_button_account_password_cancel_clicked(), on_button_account_password_clicked(), on_button_add_character_clicked(), on_button_create_account_clicked(), on_button_new_cancel_clicked(), on_button_return_character_select_clicked(), and on_button_return_login_clicked().
int map_image_size |
Definition at line 34 of file map.c.
Referenced by coord_to_tile(), draw_darkness(), draw_pixmap(), draw_smooth_pixmap(), get_map_image_size(), gtk_map_redraw(), init_image_cache_data(), map_check_resize(), map_init(), and update_global_offset().
GtkWidget* map_notebook |
Definition at line 37 of file map.c.
Referenced by client_tick(), draw_magic_map(), and map_init().
GdkColor root_color[NUM_COLORS] |
Definition at line 100 of file main.c.
Referenced by draw_magic_map(), init_ui(), and magic_map_flash_pos().
GtkWidget* window_root |
In main.c
Definition at line 103 of file main.c.
Referenced by auto_afk(), hide_main_client(), init_ui(), and show_main_client().
char window_xml_file[MAX_BUF] |
Path to the current UI file.
Definition at line 98 of file main.c.
Referenced by config_load(), config_load_legacy(), init_ui(), init_ui_layout(), main(), read_config_dialog(), save_defaults(), setup_config_dialog(), and ui_name().