MenuSettings_t Struct Reference
[Menu States]

A collection of information entered by the user at the menu that is moved to other data structures for gameplay. More...

#include <menustate.h>

Collaboration diagram for MenuSettings_t:

Collaboration graph
[legend]

Data Fields

int deselColor [TEAM_MAX]
 The deselected color for each team.
rtsa_char localPlayerName [32]
 An opaque field containing the name the user will have in the game.
int selColor [TEAM_MAX]
 The selected color for each team.
int team
 The team ID the user is currently selecting to join.
Player teams [TEAM_MAX]
 The tank icons used to denote the teams for selection in the Team Selection Menu Item.

Detailed Description

A collection of information entered by the user at the menu that is moved to other data structures for gameplay.

None of the values are finalized until the user decides to start playing.

Definition at line 41 of file menustate.h.


Field Documentation

int MenuSettings_t::deselColor[TEAM_MAX]

The deselected color for each team.

This should make the tank and text visible against the background color, COLOR_REGBACK, and provide a ghostly appearance.

Definition at line 57 of file menustate.h.

Referenced by TeamSelInit(), and TeamSelInput().

rtsa_char MenuSettings_t::localPlayerName[32]

An opaque field containing the name the user will have in the game.

Instead of accessing this field directly, use GetLocalPlayerName() and SetLocalPlayerName().

Definition at line 67 of file menustate.h.

Referenced by GetLocalPlayerName(), SetLocalPlayerName(), and SetUsername().

int MenuSettings_t::selColor[TEAM_MAX]

The selected color for each team.

This should be the regular team color used during gameplay.

Definition at line 51 of file menustate.h.

Referenced by TeamSelInit(), TeamSelInput(), and TeamSelUninit().

int MenuSettings_t::team

The team ID the user is currently selecting to join.

Definition at line 61 of file menustate.h.

Referenced by GameInit(), TeamSelInit(), and TeamSelInput().

Player MenuSettings_t::teams[TEAM_MAX]

The tank icons used to denote the teams for selection in the Team Selection Menu Item.

Definition at line 46 of file menustate.h.

Referenced by TeamSelInit(), TeamSelInput(), TeamSelUninit(), and TeamSelUpdate().


The documentation for this struct was generated from the following file:
Generated on Mon May 28 04:41:44 2007 for Retro Tank Super Attack by  doxygen 1.5.2