Crossfire Client, Trunk
|
#include "client.h"
#include <ctype.h>
#include <gtk/gtk.h>
#include "image.h"
#include "main.h"
#include "metaserver.h"
#include "gtk2proto.h"
#include "script.h"
Go to the source code of this file.
Macros | |
#define | CHAR_NUM_COLUMNS 8 |
#define | TEXTVIEW_MOTD 0 |
#define | TEXTVIEW_NEWS 1 |
#define | TEXTVIEW_RULES_ACCOUNT 2 |
#define | TEXTVIEW_RULES_CHAR 3 |
Enumerations | |
enum | { CHAR_IMAGE, CHAR_NAME, CHAR_CLASS, CHAR_RACE, CHAR_LEVEL, CHAR_PARTY, CHAR_MAP, CHAR_ICON } |
Functions | |
void | account_add_character_failure (char *message) |
void | account_change_password_failure (char *message) |
void | account_creation_failure (char *message) |
void | account_login_failure (char *message) |
void | account_show_login () |
static void | add_character_to_account (const char *name, const char *password, int force) |
void | choose_char_window_show () |
void | choose_character_init () |
static void | create_new_character () |
void | create_new_character_failure (char *message) |
static void | do_account_change (const char *old, const char *p1, const char *p2) |
static void | do_account_create (const char *name, const char *p1, const char *p2) |
static void | do_account_login (const char *name, const char *password) |
void | hide_all_login_windows () |
static void | init_account_password_window () |
static void | init_add_character_window () |
static void | init_choose_char_window () |
static void | init_create_account_window () |
static void | init_login_window () |
static void | init_new_character_window () |
void | on_button_account_password_cancel_clicked (GtkButton *button, gpointer user_data) |
void | on_button_account_password_clicked (GtkButton *button, gpointer user_data) |
void | on_button_account_password_confirm_clicked (GtkButton *button, gpointer user_data) |
void | on_button_add_character_clicked (GtkButton *button, gpointer user_data) |
void | on_button_create_account_clicked (GtkButton *button, gpointer user_data) |
void | on_button_create_character_clicked (GtkButton *button, gpointer user_data) |
void | on_button_create_new_char_clicked (GtkButton *button, gpointer user_data) |
void | on_button_do_add_character_clicked (GtkButton *button, gpointer user_data) |
void | on_button_exit_client_clicked (GtkButton *button, gpointer user_data) |
void | on_button_go_metaserver_clicked (GtkButton *button, gpointer user_data) |
void | on_button_login_clicked (GtkButton *button, gpointer user_data) |
void | on_button_new_cancel_clicked (GtkButton *button, gpointer user_data) |
void | on_button_new_char_cancel_clicked (GtkButton *button, gpointer user_data) |
void | on_button_new_create_account_clicked (GtkButton *button, gpointer user_data) |
void | on_button_play_character_clicked (GtkButton *button, gpointer user_data) |
void | on_button_return_character_select_clicked (GtkButton *button, gpointer user_data) |
void | on_button_return_login_clicked (GtkButton *button, gpointer user_data) |
void | on_entry_account_name_activate (GtkEntry *entry, gpointer user_data) |
void | on_entry_account_password (GtkEntry *entry, gpointer user_data) |
void | on_entry_character (GtkEntry *entry, gpointer user_data) |
void | on_entry_new_account (GtkEntry *entry, gpointer user_data) |
void | on_entry_new_character_name (GtkEntry *entry, gpointer user_data) |
gboolean | on_window_delete_event (GtkWidget *window, gpointer *user_data) |
static void | play_character (const char *name) |
void | start_login (int method) |
void | update_character_choose (const char *name, const char *class, const char *race, const char *face, const char *party, const char *map, int level, int faceno) |
void | update_login_info (int type) |
Handle account creation, login, and character selection
Definition in file account.c.
anonymous enum |
void account_add_character_failure | ( | char * | message | ) |
Handles a failure from the server - pretty basic - just throw up the message and let the user try again. This is a response to the 'failure accountaddplayer' command. Calling this account_add_character_failure may be a little bit of a misnomer, but all the other routines in this area refer to character, not player.
message | Message to display. Unlike other messages, the first word of this message should be an integer, which denotes if using the 'force' option would allow the user to override this. |
Definition at line 282 of file account.c.
References add_character_to_account(), entry_character_name, entry_character_password, and label_add_status.
Referenced by FailureCmd().
void account_change_password_failure | ( | char * | message | ) |
Definition at line 1123 of file account.c.
References label_account_password_status.
Referenced by FailureCmd().
void account_creation_failure | ( | char * | message | ) |
Handles a failure from the server - pretty basic - just throw up the message and let the user try again.
message |
Definition at line 692 of file account.c.
References label_create_account_status.
Referenced by FailureCmd().
void account_login_failure | ( | char * | message | ) |
Handles a failure from the server - pretty basic - just throw up the message and let the user try again.
message |
Definition at line 868 of file account.c.
References label_account_login_status.
Referenced by FailureCmd().
void account_show_login | ( | ) |
Definition at line 1302 of file account.c.
References button_login, entry_account_name, and main_notebook.
Referenced by main().
|
static |
Sends a request to the server add add the character to this account.
name | |
password | |
force |
Definition at line 249 of file account.c.
References csocket, ClientSocket::fd, label_add_status, MAX_BUF, SockList_AddChar(), SockList_AddString(), SockList_Init(), and SockList_Send().
Referenced by account_add_character_failure(), on_button_do_add_character_clicked(), and on_entry_character().
void choose_char_window_show | ( | ) |
Basic little function - this is used because we make the choose_char_window widget private to this file, but the create_char.c file will need to show this if the user decides to abandon creation of a new character.
Definition at line 436 of file account.c.
References main_notebook.
Referenced by choose_character_init(), on_button_cc_cancel(), and on_button_new_char_cancel_clicked().
void choose_character_init | ( | ) |
Called when we get the accountplayers command from the server (indirectly via AccountPlayersCmd). This tells us to wipe any data from the treeview, but also hide any other windows and make the choose_character_window visible.
Definition at line 421 of file account.c.
References character_store, choose_char_window_show(), and hide_main_client().
Referenced by AccountPlayersCmd().
|
static |
Definition at line 153 of file account.c.
References account_password, csocket, entry_new_character_name, ClientSocket::fd, label_new_char_status, MAX_BUF, SockList_AddChar(), SockList_AddString(), SockList_Init(), and SockList_Send().
Referenced by on_button_create_new_char_clicked(), and on_entry_new_character_name().
void create_new_character_failure | ( | char * | message | ) |
Pop up a dialog window with the error from the server. Since both v1 and v2 character creation are supported, either the new_character_window or the create_character_window may be up, so we can not easily display an in window message - a pop up is probably better, but it will also work no matter what window is up.
message | message - this comes from the server. |
Definition at line 142 of file account.c.
References hide_main_client().
Referenced by FailureCmd().
|
static |
This does sanity checking of the passed in data, and if all is good, sends the request to the server to change an account password. If all the data isn't good, it puts up an error message. In this routine, none of the entries should be NULL - the caller should verify that before callin do_account_change();
old | Current password. |
p1 | First password - must not be NULL |
p2 | Second (confirmed) password. This routine checks that p1 & p2 are the same, and if not, puts up an error. p2 must not be NULL |
Definition at line 1033 of file account.c.
References account_password, csocket, ClientSocket::fd, label_account_password_status, MAX_BUF, SockList_AddChar(), SockList_AddString(), SockList_Init(), and SockList_Send().
Referenced by on_button_account_password_confirm_clicked(), and on_entry_account_password().
|
static |
This does sanity checking of the passed in data, and if all is good, sends the request to the server to create an account. If all the data isn't good, it puts up an error message. In this routine, none of the entries should be NULL - the caller should verify that before callin do_account_create();
name | Desired account name - must not be NULL. |
p1 | First password - must not be NULL |
p2 | Second (confirmed) password. This routine checks that p1 & p2 are the same, and if not, puts up an error. p2 must not be NULL |
Definition at line 708 of file account.c.
References account_password, csocket, ClientSocket::fd, label_create_account_status, MAX_BUF, SockList_AddChar(), SockList_AddString(), SockList_Init(), and SockList_Send().
Referenced by on_button_new_create_account_clicked(), and on_entry_new_account().
|
static |
This does the work of doing the login - mostly it just sends the request to the server. However, this might be called from either hitting the login button or entering data in name/password and hitting return.
name | |
password |
Definition at line 916 of file account.c.
References account_password, csocket, ClientSocket::fd, label_account_login_status, MAX_BUF, SockList_AddChar(), SockList_AddString(), SockList_Init(), and SockList_Send().
Referenced by on_button_login_clicked().
void hide_all_login_windows | ( | ) |
Hides all the login related windows. This is needed in case the client loses the connection to the server (either through player going to client/disconnect or network failure). get_metaserver() calls this, as well as AddMeSuccess
Definition at line 96 of file account.c.
References connect_window, create_character_window_hide(), has_init, new_character_window, and treeview_look.
Referenced by AddMeSuccess(), and show_main_client().
|
static |
This initializes the change account password window and sets up the various callbacks.
Definition at line 1131 of file account.c.
References button_account_password_cancel, button_account_password_confirm, dialog_xml, entry_account_password_confirm, entry_account_password_current, entry_account_password_new, label_account_password_status, on_button_account_password_cancel_clicked(), on_button_account_password_confirm_clicked(), and on_entry_account_password().
Referenced by start_login().
|
static |
Definition at line 388 of file account.c.
References button_do_add_character, button_return_character_select, dialog_xml, entry_character_name, entry_character_password, label_add_status, on_button_do_add_character_clicked(), on_button_return_character_select_clicked(), and on_entry_character().
Referenced by start_login().
|
static |
Definition at line 583 of file account.c.
References add_style_to_textbuffer(), add_tags_to_textbuffer(), button_account_password, button_add_character, button_create_character, button_play_character, button_return_login, CHAR_CLASS, CHAR_ICON, CHAR_LEVEL, CHAR_MAP, CHAR_NAME, CHAR_NUM_COLUMNS, CHAR_PARTY, CHAR_RACE, character_store, dialog_xml, image_size, login_pane, on_button_account_password_clicked(), on_button_add_character_clicked(), on_button_create_character_clicked(), on_button_play_character_clicked(), on_button_return_login_clicked(), textbuf_rules_char, Info_Pane::textmark, Info_Pane::textview, TEXTVIEW_RULES_CHAR, and treeview_choose_character.
Referenced by start_login().
|
static |
This initializes the create account window and sets up the various callbacks.
Definition at line 815 of file account.c.
References add_style_to_textbuffer(), add_tags_to_textbuffer(), button_new_cancel, button_new_create_account, dialog_xml, entry_new_account_name, entry_new_account_password, entry_new_confirm_password, label_create_account_status, login_pane, on_button_new_cancel_clicked(), on_button_new_create_account_clicked(), on_entry_new_account(), textbuf_rules_account, Info_Pane::textmark, Info_Pane::textview, and TEXTVIEW_RULES_ACCOUNT.
Referenced by start_login().
|
static |
Sets up all the widget pointers, as well as setting up the callbacks for the login windows widgets.
Definition at line 962 of file account.c.
References add_style_to_textbuffer(), add_tags_to_textbuffer(), button_create_account, button_go_metaserver, button_login, dialog_xml, entry_account_name, entry_account_password, label_account_login_status, login_pane, on_button_create_account_clicked(), on_button_go_metaserver_clicked(), on_button_login_clicked(), on_entry_account_name_activate(), textbuf_motd, textbuf_news, Info_Pane::textmark, Info_Pane::textview, TEXTVIEW_MOTD, and TEXTVIEW_NEWS.
Referenced by start_login().
|
static |
Initializes the new character window.
Definition at line 213 of file account.c.
References button_create_new_char, button_new_char_cancel, dialog_xml, entry_new_character_name, label_new_char_status, new_character_window, on_button_create_new_char_clicked(), on_button_new_char_cancel_clicked(), on_entry_new_character_name(), on_window_delete_event(), and window_root.
Referenced by start_login().
void on_button_account_password_cancel_clicked | ( | GtkButton * | button, |
gpointer | user_data | ||
) |
User has hit the cancel account password, so hide this window, show the account main window.
button | |
user_data |
Definition at line 1062 of file account.c.
References main_notebook.
Referenced by init_account_password_window().
void on_button_account_password_clicked | ( | GtkButton * | button, |
gpointer | user_data | ||
) |
User has hit the change account password, so hide this window, show the account password change dialog.
button | |
user_data |
Definition at line 525 of file account.c.
References entry_account_password_confirm, entry_account_password_current, entry_account_password_new, and main_notebook.
Referenced by init_choose_char_window().
void on_button_account_password_confirm_clicked | ( | GtkButton * | button, |
gpointer | user_data | ||
) |
User has hit the validate account password, so handle that.
button | |
user_data |
Definition at line 1073 of file account.c.
References do_account_change(), entry_account_password_confirm, entry_account_password_current, and entry_account_password_new.
Referenced by init_account_password_window().
void on_button_add_character_clicked | ( | GtkButton * | button, |
gpointer | user_data | ||
) |
User has hit the add character button, so hide this window, show the add character window.
button | |
user_data |
Definition at line 500 of file account.c.
References entry_character_name, entry_character_password, and main_notebook.
Referenced by init_choose_char_window().
void on_button_create_account_clicked | ( | GtkButton * | button, |
gpointer | user_data | ||
) |
User hit the create account button. So we need to hide the login window and bring up the create login window.
button | |
user_data |
Definition at line 879 of file account.c.
References entry_new_account_name, entry_new_account_password, entry_new_confirm_password, label_create_account_status, and main_notebook.
Referenced by init_login_window().
void on_button_create_character_clicked | ( | GtkButton * | button, |
gpointer | user_data | ||
) |
button | |
user_data |
Definition at line 484 of file account.c.
References create_character_window_show(), entry_new_character_name, new_character_window, and serverloginmethod.
Referenced by init_choose_char_window().
void on_button_create_new_char_clicked | ( | GtkButton * | button, |
gpointer | user_data | ||
) |
User hit the create character button. Get data, send to server.
button | |
user_data |
Definition at line 184 of file account.c.
References create_new_character().
Referenced by init_new_character_window().
void on_button_do_add_character_clicked | ( | GtkButton * | button, |
gpointer | user_data | ||
) |
User has hit the add character button. Let add_character_to_account() do all the work.
button | |
user_data |
Definition at line 334 of file account.c.
References add_character_to_account(), entry_character_name, and entry_character_password.
Referenced by init_add_character_window().
void on_button_exit_client_clicked | ( | GtkButton * | button, |
gpointer | user_data | ||
) |
User hit the exit client button. Pretty simple in this case.
button | |
user_data |
Definition at line 904 of file account.c.
References script_killall().
void on_button_go_metaserver_clicked | ( | GtkButton * | button, |
gpointer | user_data | ||
) |
User hit the go to metaserver button. Need to disconnect from The server, and by clearing the csocket_fd, the main loop routine will bring up the metaserver window.
button | |
user_data |
Definition at line 895 of file account.c.
References client_disconnect().
Referenced by init_login_window().
void on_button_login_clicked | ( | GtkButton * | button, |
gpointer | user_data | ||
) |
User hit the login button - just call do_account_login()
button | |
user_data |
Definition at line 944 of file account.c.
References do_account_login(), entry_account_name, and entry_account_password.
Referenced by init_login_window().
void on_button_new_cancel_clicked | ( | GtkButton * | button, |
gpointer | user_data | ||
) |
button | |
user_data |
Definition at line 759 of file account.c.
References main_notebook.
Referenced by init_create_account_window().
void on_button_new_char_cancel_clicked | ( | GtkButton * | button, |
gpointer | user_data | ||
) |
User his hit the cancel button in the new character window, so hide the new character window, show the choose character window.
button | |
user_data |
Definition at line 205 of file account.c.
References choose_char_window_show(), and new_character_window.
Referenced by init_new_character_window().
void on_button_new_create_account_clicked | ( | GtkButton * | button, |
gpointer | user_data | ||
) |
User clicked on the create account button. In this case, we just process the data and call do_account_create();
button | |
user_data |
Definition at line 738 of file account.c.
References do_account_create(), entry_new_account_name, entry_new_account_password, entry_new_confirm_password, and label_create_account_status.
Referenced by init_create_account_window().
void on_button_play_character_clicked | ( | GtkButton * | button, |
gpointer | user_data | ||
) |
User has hit the play character button. Grab the selected entry, if there is one.
button | |
user_data |
Definition at line 462 of file account.c.
References CHAR_NAME, play_character(), show_main_client(), and treeview_choose_character.
Referenced by init_choose_char_window().
void on_button_return_character_select_clicked | ( | GtkButton * | button, |
gpointer | user_data | ||
) |
User has hit the return to character selection button. Pretty simple - just hide this window, activate the other window.
button | |
user_data |
Definition at line 348 of file account.c.
References main_notebook.
Referenced by init_add_character_window().
void on_button_return_login_clicked | ( | GtkButton * | button, |
gpointer | user_data | ||
) |
User has hit the return to login window, so hide this window, show the account login window.
button | |
user_data |
Definition at line 514 of file account.c.
References main_notebook.
Referenced by init_choose_char_window().
void on_entry_account_name_activate | ( | GtkEntry * | entry, |
gpointer | user_data | ||
) |
User hit return in the name entry box.
entry | |
user_data |
Definition at line 954 of file account.c.
References entry_account_password.
Referenced by init_login_window().
void on_entry_account_password | ( | GtkEntry * | entry, |
gpointer | user_data | ||
) |
This handles cases where the user hits return in one of the entry boxes. We use the same callback for all 3 entry boxes, since the processing is basically the same - if there is valid data in all of them, we try to create an account - otherwise, we move to the next box.
entry | Entry box used to figure out what the next box is. |
user_data | Not used. |
Definition at line 1090 of file account.c.
References do_account_change(), entry_account_password_confirm, entry_account_password_current, and entry_account_password_new.
Referenced by init_account_password_window().
void on_entry_character | ( | GtkEntry * | entry, |
gpointer | user_data | ||
) |
User has hit return in either name or password box. If both boxes have non empty data, process request. Otherwise, either stay in same box if this box is empty, or move to the other box.
entry | Entry widget which generated this callback. |
user_data |
Definition at line 361 of file account.c.
References add_character_to_account(), entry_character_name, and entry_character_password.
Referenced by init_add_character_window().
void on_entry_new_account | ( | GtkEntry * | entry, |
gpointer | user_data | ||
) |
This handles cases where the user hits return in one of the entry boxes. We use the same callback for all 3 entry boxes, since the processing is basically the same - if there is valid data in all of them, we try to create an account - otherwise, we move to the next box.
entry | Entry box used to figure out what the next box is. |
user_data | Not used. |
Definition at line 773 of file account.c.
References do_account_create(), entry_new_account_name, entry_new_account_password, and entry_new_confirm_password.
Referenced by init_create_account_window().
void on_entry_new_character_name | ( | GtkEntry * | entry, |
gpointer | user_data | ||
) |
User hit return in the new character name box. Like above, get data and send to server.
entry | |
user_data |
Definition at line 194 of file account.c.
References create_new_character().
Referenced by init_new_character_window().
gboolean on_window_delete_event | ( | GtkWidget * | window, |
gpointer * | user_data | ||
) |
Prevent delete_event closure and/or hiding of account windows. All account system windows ignore delete events and remain visible unless the user clicks an appropriate button.
window | Pointer to an account window that received a delete_event. |
user_data | Unused. |
Definition at line 123 of file account.c.
Referenced by init_new_character_window().
|
static |
User has done necessary steps to play a character.
name |
Definition at line 445 of file account.c.
References csocket, ClientSocket::fd, MAX_BUF, SockList_AddString(), SockList_Init(), and SockList_Send().
Referenced by on_button_play_character_clicked().
void start_login | ( | int | method | ) |
Starts the login process. If not already done, gets widgets, sets up callboacks, etc. This is at the end of the file so all the callbacks are defined before this function - in that way, we do not need forward declarations. This is called from SetupCmd in common/commands.c
method | Login method that the server suppots. |
Definition at line 1263 of file account.c.
References entry_account_name, entry_account_password, has_init, INFO_MOTD, INFO_NEWS, INFO_RULES, init_account_password_window(), init_add_character_window(), init_choose_char_window(), init_create_account_window(), init_login_window(), init_new_character_window(), serverloginmethod, and update_login_info().
Referenced by SetupCmd().
void update_character_choose | ( | const char * | name, |
const char * | class, | ||
const char * | race, | ||
const char * | face, | ||
const char * | party, | ||
const char * | map, | ||
int | level, | ||
int | faceno | ||
) |
This gets data and adds it to the list store. This is called from AccountPlayersCmd and data is from the accountplayers protocol command. The parameters are data to add to the list store.
name | |
class | |
race | |
face | |
party | |
map | |
level | |
faceno |
Definition at line 547 of file account.c.
References CHAR_CLASS, CHAR_ICON, CHAR_IMAGE, CHAR_LEVEL, CHAR_MAP, CHAR_NAME, CHAR_PARTY, CHAR_RACE, character_store, map, and pixmaps.
Referenced by AccountPlayersCmd().
void update_login_info | ( | int | type | ) |
This is called from ReplyInfoCmd when it gets a response from news/motd/rules. It is very possible that the window will get displayed before we got a reply response, so this tells the client to update it.
type | What data just got updated - text string of motd/news/rules |
Definition at line 1174 of file account.c.
References add_marked_text_to_pane(), BIG_BUF, has_init, INFO_MOTD, INFO_NEWS, INFO_RULES, login_pane, motd, news, rules, textbuf_motd, textbuf_news, textbuf_rules_account, textbuf_rules_char, TEXTVIEW_MOTD, TEXTVIEW_NEWS, TEXTVIEW_RULES_ACCOUNT, and TEXTVIEW_RULES_CHAR.
Referenced by ReplyInfoCmd(), and start_login().
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().
|
static |
Definition at line 42 of file account.c.
Referenced by init_choose_char_window().
|
static |
Definition at line 53 of file account.c.
Referenced by init_account_password_window().
|
static |
Definition at line 52 of file account.c.
Referenced by init_account_password_window().
|
static |
Definition at line 42 of file account.c.
Referenced by init_choose_char_window().
|
static |
Definition at line 31 of file account.c.
Referenced by init_login_window().
|
static |
Definition at line 41 of file account.c.
Referenced by init_choose_char_window().
|
static |
Definition at line 47 of file account.c.
Referenced by init_new_character_window().
|
static |
Definition at line 68 of file account.c.
Referenced by init_add_character_window().
|
static |
Definition at line 31 of file account.c.
Referenced by init_login_window().
|
static |
Definition at line 31 of file account.c.
Referenced by account_show_login(), and init_login_window().
|
static |
Definition at line 35 of file account.c.
Referenced by init_create_account_window().
|
static |
Definition at line 48 of file account.c.
Referenced by init_new_character_window().
|
static |
Definition at line 35 of file account.c.
Referenced by init_create_account_window().
|
static |
Definition at line 41 of file account.c.
Referenced by init_choose_char_window().
|
static |
Definition at line 69 of file account.c.
Referenced by init_add_character_window().
|
static |
Definition at line 42 of file account.c.
Referenced by init_choose_char_window().
GtkListStore* character_store |
Definition at line 55 of file account.c.
Referenced by choose_character_init(), init_choose_char_window(), and update_character_choose().
|
static |
Definition at line 32 of file account.c.
Referenced by account_show_login(), init_login_window(), on_button_login_clicked(), and start_login().
|
static |
Definition at line 32 of file account.c.
Referenced by init_login_window(), on_button_login_clicked(), on_entry_account_name_activate(), and start_login().
|
static |
Definition at line 52 of file account.c.
Referenced by init_account_password_window(), on_button_account_password_clicked(), on_button_account_password_confirm_clicked(), and on_entry_account_password().
|
static |
Definition at line 51 of file account.c.
Referenced by init_account_password_window(), on_button_account_password_clicked(), on_button_account_password_confirm_clicked(), and on_entry_account_password().
|
static |
Definition at line 51 of file account.c.
Referenced by init_account_password_window(), on_button_account_password_clicked(), on_button_account_password_confirm_clicked(), and on_entry_account_password().
|
static |
Definition at line 69 of file account.c.
Referenced by account_add_character_failure(), init_add_character_window(), on_button_add_character_clicked(), on_button_do_add_character_clicked(), and on_entry_character().
|
static |
Definition at line 70 of file account.c.
Referenced by account_add_character_failure(), init_add_character_window(), on_button_add_character_clicked(), on_button_do_add_character_clicked(), and on_entry_character().
|
static |
Definition at line 36 of file account.c.
Referenced by init_create_account_window(), on_button_create_account_clicked(), on_button_new_create_account_clicked(), and on_entry_new_account().
|
static |
Definition at line 37 of file account.c.
Referenced by init_create_account_window(), on_button_create_account_clicked(), on_button_new_create_account_clicked(), and on_entry_new_account().
|
static |
Definition at line 46 of file account.c.
Referenced by create_new_character(), init_new_character_window(), and on_button_create_character_clicked().
|
static |
Definition at line 37 of file account.c.
Referenced by init_create_account_window(), on_button_create_account_clicked(), on_button_new_create_account_clicked(), and on_entry_new_account().
|
static |
Definition at line 88 of file account.c.
Referenced by hide_all_login_windows(), info_get_styles(), inventory_get_styles(), pickup_init(), start_login(), stats_get_styles(), and update_login_info().
|
static |
Definition at line 32 of file account.c.
Referenced by account_login_failure(), do_account_login(), and init_login_window().
|
static |
Definition at line 53 of file account.c.
Referenced by account_change_password_failure(), do_account_change(), and init_account_password_window().
|
static |
Definition at line 70 of file account.c.
Referenced by account_add_character_failure(), add_character_to_account(), and init_add_character_window().
|
static |
Definition at line 38 of file account.c.
Referenced by account_creation_failure(), do_account_create(), init_create_account_window(), on_button_create_account_clicked(), and on_button_new_create_account_clicked().
|
static |
Definition at line 47 of file account.c.
Referenced by create_new_character(), and init_new_character_window().
Info_Pane login_pane[4] |
Definition at line 84 of file account.c.
Referenced by init_choose_char_window(), init_create_account_window(), init_login_window(), and update_login_info().
|
static |
Definition at line 46 of file account.c.
Referenced by hide_all_login_windows(), init_new_character_window(), on_button_create_character_clicked(), and on_button_new_char_cancel_clicked().
int num_text_views |
GtkTextBuffer* textbuf_motd |
Definition at line 72 of file account.c.
Referenced by init_login_window(), and update_login_info().
GtkTextBuffer * textbuf_news |
Definition at line 72 of file account.c.
Referenced by init_login_window(), and update_login_info().
GtkTextBuffer * textbuf_rules_account |
Definition at line 72 of file account.c.
Referenced by init_create_account_window(), and update_login_info().
GtkTextBuffer * textbuf_rules_char |
Definition at line 73 of file account.c.
Referenced by init_choose_char_window(), and update_login_info().
|
static |
Definition at line 43 of file account.c.
Referenced by init_choose_char_window(), and on_button_play_character_clicked().