#include "ui_local.h"
Include dependency graph for ui_signup.c:

Go to the source code of this file.
Data Structures | |
| struct | signup_t |
Defines | |
| #define | ID_AGAIN 104 |
| #define | ID_AGAIN_BOX 105 |
| #define | ID_CANCEL 109 |
| #define | ID_EMAIL 106 |
| #define | ID_EMAIL_BOX 107 |
| #define | ID_NAME 100 |
| #define | ID_NAME_BOX 101 |
| #define | ID_PASSWORD 102 |
| #define | ID_PASSWORD_BOX 103 |
| #define | ID_SIGNUP 108 |
| #define | SIGNUP_FRAME "menu/art/cut_frame" |
Functions | |
| void | Signup_Cache (void) |
| void | Signup_MenuEvent (void *ptr, int event) |
| void | Signup_MenuInit (void) |
| void | UI_SignupMenu (void) |
Variables | |
| signup_t | s_signup |
| menuaction_s | s_signup_cancel |
| vec4_t | s_signup_color_prompt = {1.00, 0.43, 0.00, 1.00} |
| menuframework_s | s_signup_menu |
| menuaction_s | s_signup_signup |
|
|
Definition at line 36 of file ui_signup.c. |
|
|
Definition at line 37 of file ui_signup.c. |
|
|
Definition at line 41 of file ui_signup.c. |
|
|
Definition at line 38 of file ui_signup.c. |
|
|
Definition at line 39 of file ui_signup.c. |
|
|
Definition at line 32 of file ui_signup.c. |
|
|
Definition at line 33 of file ui_signup.c. |
|
|
Definition at line 34 of file ui_signup.c. |
|
|
Definition at line 35 of file ui_signup.c. |
|
|
Definition at line 40 of file ui_signup.c. Referenced by Signup_MenuEvent(). |
|
|
Definition at line 30 of file ui_signup.c. Referenced by Signup_Cache(). |
|
|
Definition at line 271 of file ui_signup.c. References SIGNUP_FRAME, and trap_R_RegisterShaderNoMip(). 00271 {
00272 trap_R_RegisterShaderNoMip( SIGNUP_FRAME );
00273 }
|
Here is the call graph for this function:

|
||||||||||||
|
Definition at line 73 of file ui_signup.c. References signup_t::again_box, mfield_t::buffer, signup_t::email_box, menufield_s::field, ID_CANCEL, ID_SIGNUP, signup_t::name_box, signup_t::password_box, s_signup, strcmp(), UI_ForceMenuOff(), and UI_PopMenu(). 00073 {
00074 //char cmd[1024];
00075
00076 if( event != QM_ACTIVATED ) {
00077 return;
00078 }
00079
00080 switch( ((menucommon_s*)ptr)->id ) {
00081 case ID_SIGNUP:
00082 if( strcmp(s_signup.password_box.field.buffer,
00083 s_signup.again_box.field.buffer) != 0 )
00084 {
00085 // GRANK_FIXME - password mismatch
00086 break;
00087 }
00088 // set name
00089 //trap_Cvar_Set( "name", s_signup.name_box.field.buffer );
00090 /*
00091 trap_Cvar_Set( "rank_name", s_signup.name_box.field.buffer );
00092 trap_Cvar_Set( "rank_pwd", s_signup.password_box.field.buffer );
00093 */
00094
00095 // create account
00096 /*
00097 sprintf( cmd, "cmd rank_create \"%s\" \"%s\" \"%s\"\n",
00098 s_signup.name_box.field.buffer,
00099 s_signup.password_box.field.buffer,
00100 s_signup.email_box.field.buffer );
00101 trap_Cmd_ExecuteText( EXEC_APPEND, cmd );
00102 */
00103 trap_CL_UI_RankUserCreate(
00104 s_signup.name_box.field.buffer,
00105 s_signup.password_box.field.buffer,
00106 s_signup.email_box.field.buffer );
00107
00108 UI_ForceMenuOff();
00109 break;
00110
00111 case ID_CANCEL:
00112 UI_PopMenu();
00113 break;
00114 }
00115 }
|
Here is the call graph for this function:

|
Here is the call graph for this function:

|
|
Definition at line 281 of file ui_signup.c. References signup_t::menu, s_signup, Signup_MenuInit(), and UI_PushMenu(). 00281 {
00282 Signup_MenuInit();
00283 UI_PushMenu ( &s_signup.menu );
00284 }
|
Here is the call graph for this function:

|
|
Definition at line 60 of file ui_signup.c. Referenced by Signup_MenuEvent(), Signup_MenuInit(), and UI_SignupMenu(). |
|
|
Definition at line 64 of file ui_signup.c. |
|
|
Definition at line 66 of file ui_signup.c. |
|
|
Definition at line 62 of file ui_signup.c. |
|
|
Definition at line 63 of file ui_signup.c. |
1.3.9.1