cl_menu.c File Reference

Client menu functions. More...

#include "client.h"
#include "cl_menu.h"
#include "ui/ui_main.h"
#include "ui/ui_nodes.h"
#include "ui/ui_popup.h"
#include "ui/node/ui_node_abstractnode.h"
Include dependency graph for cl_menu.c:

Go to the source code of this file.

Functions

static void CLMN_AddBindings (linkedList_t **list, char **bindings)
static void CLMN_InitKeyList_f (void)
 Prints a list of tab and newline separated string to keylist char array that hold the key and the command desc.
void CLMN_InitStartup (void)
 Initialize the menu data hunk, add cvars and commands.

Detailed Description

Client menu functions.

Definition in file cl_menu.c.


Function Documentation

static void CLMN_AddBindings ( linkedList_t **  list,
char **  bindings 
) [inline, static]

Definition at line 33 of file cl_menu.c.

References Cmd_GetCommandDesc(), i, K_FIRST_KEY, K_LAST_KEY, Key_KeynumToString(), LIST_AddString(), and va().

Referenced by CLMN_InitKeyList_f().

static void CLMN_InitKeyList_f ( void   )  [static]

Prints a list of tab and newline separated string to keylist char array that hold the key and the command desc.

Definition at line 44 of file cl_menu.c.

References battleKeyBindings, CLMN_AddBindings(), keyBindings, menuKeyBindings, TEXT_LIST, and UI_RegisterLinkedListText().

Referenced by CLMN_InitStartup().

void CLMN_InitStartup ( void   ) 

Initialize the menu data hunk, add cvars and commands.

Note:
This function is called once
See also:
MN_Shutdown
CL_InitLocal

Definition at line 61 of file cl_menu.c.

References CLMN_InitKeyList_f(), Cmd_AddCommand(), and UI_Init().

Referenced by CL_InitLocal().


Generated by  doxygen 1.6.2