Collaboration diagram for Menu States:
|
Files | |
| file | menustate.c |
| The implementation for STATE_CODES::STATE_MENUROOT. | |
| file | menustate.h |
| Defines the functions used for STATE_CODES::STATE_MENUROOT. | |
Data Structures | |
| struct | MenuSettings_t |
| A collection of information entered by the user at the menu that is moved to other data structures for gameplay. More... | |
Typedefs | |
| typedef MenuSettings_t | MenuSettings |
Functions | |
| int | MenuRootInit () |
| Initializes the menu items used to make the Root Menu. | |
| int | MenuRootUninit () |
| Removes the root menu. | |
Variables | |
| static MenuItem * | menu |
| The internal list of menu items used in the current menu. | |
| MenuSettings * | menuSettings |
| The settings enetered by the user that are maintained until the game state begins but not during the game state. | |
| typedef struct MenuSettings_t MenuSettings |
Definition at line 70 of file menustate.h.
| int MenuRootInit | ( | ) |
Initializes the menu items used to make the Root Menu.
Definition at line 42 of file menustate.c.
References COLOR_BLACK, COLOR_TEXT, colorFmtInd, LAYER_MAX, layers, menu, menuSettings, NetStatInit(), SetupMenu(), STATE_ERROR, STATE_OK, TeamSelInit(), and TextSetupStateMenu().
Here is the call graph for this function:

| int MenuRootUninit | ( | ) |
Removes the root menu.
Definition at line 68 of file menustate.c.
References menu, NetStatUninit(), RemoveMenu(), STATE_OK, TeamSelUninit(), and TextUnsetState().
Here is the call graph for this function:

The internal list of menu items used in the current menu.
For internal use only.
Definition at line 40 of file menustate.c.
Referenced by MenuRootInit(), MenuRootUninit(), and SetupMenu().
The settings enetered by the user that are maintained until the game state begins but not during the game state.
The pointer must be NULL when deallocated.
Definition at line 33 of file menustate.c.
Referenced by GameInit(), GetLocalPlayerName(), main(), MenuRootInit(), SetLocalPlayerName(), SetUsername(), TeamSelInit(), TeamSelInput(), TeamSelUninit(), and TeamSelUpdate().
1.5.2