Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

Menu.h File Reference

#include "Scene.h"
#include "GGlobals.h"
#include "../Math/Vector.h"
#include "../Util/Objects/Sphere.h"
#include "../Util/Objects/Box.h"
#include "../Util/Objects/Cubemap.h"
#include "../Util/Objects/Tube.h"
#include "../Util/OpenGL/OpenGLParticleSystem.h"
#include "../Sound/Sound.h"

Include dependency graph for Menu.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  SMenuPlanets
struct  SMenuInput
class  Menu

Defines

#define MENUS   5
#define MENU_MAIN   0
#define MENU_CREATE   1
#define MENU_JOIN   2
#define MENU_SETTINGS   3
#define MENU_CREDITS   4
#define MENU_MAIN_SELECTIONS   5
#define MENU_MAIN_CREDITS   0
#define MENU_MAIN_CREATE   1
#define MENU_MAIN_JOIN   2
#define MENU_MAIN_SETTINGS   3
#define MENU_MAIN_EXIT   4
#define MENU_MAIN_TEXTURES   (MENU_MAIN_SELECTIONS*2)
#define MENU_TEXTURES   9
#define MENU_TEX_CUBEMAP   0
#define MENU_TEX_SELECTION   1
#define MENU_TEX_PARTICLE   2
#define MENU_TEX_SERVER_NAME   3
#define MENU_TEX_PLAYER_NAME   4
#define MENU_TEX_PORT_NUMBER   5
#define MENU_TEX_MAX_PLAYERS   6
#define MENU_TEX_SUBMIT   7
#define MENU_TEX_SERVER_IP   8
#define MENU_OBJECTS   5
#define MENU_OBJ_CUBEMAP   0
#define MENU_OBJ_SPHERE   1
#define MENU_OBJ_BOX   2
#define MENU_OBJ_PLANET   3
#define MENU_OBJ_TUBE   4
#define MENU_SOUNDS   2
#define MENU_SOUND_SELECT   0
#define MENU_SOUND_DOSELECT   1
#define MENU_PLANETS   20
#define MENU_LIGHTS   2
#define MENU_SELECTION_NONE   (-1)
#define MENU_INPUT_TYPE_STR   0
#define MENU_INPUT_TYPE_INT   1
#define MENU_INPUT_TYPE_STR_INT   2
#define MENU_INPUT_TYPE_SUBMIT   3
#define MENU_INPUT_TYPE_MODEL   4
#define MENU_INPUTS   11
#define MENU_INPUT_CREATE_INPUT_MIN   0
#define MENU_INPUT_CREATE_INPUT_MAX   5
#define MENU_INPUT_CREATE_SERVER_NAME   0
#define MENU_INPUT_CREATE_PORT   1
#define MENU_INPUT_CREATE_MAX_PLAYERS   2
#define MENU_INPUT_CREATE_PLAYER_NAME   3
#define MENU_INPUT_CREATE_MODEL   4
#define MENU_INPUT_CREATE_SUBMIT   5
#define MENU_INPUT_JOIN_INPUT_MIN   6
#define MENU_INPUT_JOIN_INPUT_MAX   10
#define MENU_INPUT_JOIN_SERVER_IP   6
#define MENU_INPUT_JOIN_PORT   7
#define MENU_INPUT_JOIN_PLAYER_NAME   8
#define MENU_INPUT_JOIN_MODEL   9
#define MENU_INPUT_JOIN_SUBMIT   10


Define Documentation

#define MENU_CREATE   1
 

Definition at line 22 of file Menu.h.

Referenced by Menu::drawCreate(), Menu::handleChar(), Menu::loadCreate(), Menu::menuMainSelect(), and Menu::updateCreate().

#define MENU_CREDITS   4
 

Definition at line 25 of file Menu.h.

Referenced by Menu::drawCredits(), Menu::menuMainSelect(), and Menu::updateCredits().

#define MENU_INPUT_CREATE_INPUT_MAX   5
 

Definition at line 73 of file Menu.h.

Referenced by Menu::updateCreate().

#define MENU_INPUT_CREATE_INPUT_MIN   0
 

Definition at line 72 of file Menu.h.

Referenced by Menu::loadCreate(), and Menu::updateCreate().

#define MENU_INPUT_CREATE_MAX_PLAYERS   2
 

Definition at line 76 of file Menu.h.

Referenced by Menu::drawCreate(), Menu::handleChar(), and Menu::loadCreate().

#define MENU_INPUT_CREATE_MODEL   4
 

Definition at line 78 of file Menu.h.

Referenced by Menu::drawCreate(), and Menu::loadCreate().

#define MENU_INPUT_CREATE_PLAYER_NAME   3
 

Definition at line 77 of file Menu.h.

Referenced by Menu::drawCreate(), Menu::handleChar(), and Menu::loadCreate().

#define MENU_INPUT_CREATE_PORT   1
 

Definition at line 75 of file Menu.h.

Referenced by Menu::drawCreate(), Menu::handleChar(), and Menu::loadCreate().

#define MENU_INPUT_CREATE_SERVER_NAME   0
 

Definition at line 74 of file Menu.h.

Referenced by Menu::drawCreate(), Menu::handleChar(), and Menu::loadCreate().

#define MENU_INPUT_CREATE_SUBMIT   5
 

Definition at line 79 of file Menu.h.

Referenced by Menu::drawCreate(), and Menu::loadCreate().

#define MENU_INPUT_JOIN_INPUT_MAX   10
 

Definition at line 82 of file Menu.h.

Referenced by Menu::updateJoin().

#define MENU_INPUT_JOIN_INPUT_MIN   6
 

Definition at line 81 of file Menu.h.

Referenced by Menu::loadJoin(), and Menu::updateJoin().

#define MENU_INPUT_JOIN_MODEL   9
 

Definition at line 86 of file Menu.h.

Referenced by Menu::drawJoin(), and Menu::loadJoin().

#define MENU_INPUT_JOIN_PLAYER_NAME   8
 

Definition at line 85 of file Menu.h.

Referenced by Menu::drawJoin(), Menu::handleChar(), and Menu::loadJoin().

#define MENU_INPUT_JOIN_PORT   7
 

Definition at line 84 of file Menu.h.

Referenced by Menu::drawJoin(), and Menu::loadJoin().

#define MENU_INPUT_JOIN_SERVER_IP   6
 

Definition at line 83 of file Menu.h.

Referenced by Menu::drawJoin(), Menu::handleChar(), and Menu::loadJoin().

#define MENU_INPUT_JOIN_SUBMIT   10
 

Definition at line 87 of file Menu.h.

Referenced by Menu::drawJoin(), and Menu::loadJoin().

#define MENU_INPUT_TYPE_INT   1
 

Definition at line 65 of file Menu.h.

Referenced by Menu::handleChar(), and Menu::loadCreate().

#define MENU_INPUT_TYPE_MODEL   4
 

Definition at line 68 of file Menu.h.

Referenced by Menu::handleChar(), Menu::loadCreate(), and Menu::loadJoin().

#define MENU_INPUT_TYPE_STR   0
 

Definition at line 64 of file Menu.h.

Referenced by Menu::handleChar(), Menu::loadCreate(), and Menu::loadJoin().

#define MENU_INPUT_TYPE_STR_INT   2
 

Definition at line 66 of file Menu.h.

Referenced by Menu::handleChar(), Menu::loadCreate(), and Menu::loadJoin().

#define MENU_INPUT_TYPE_SUBMIT   3
 

Definition at line 67 of file Menu.h.

Referenced by Menu::handleChar(), Menu::loadCreate(), and Menu::loadJoin().

#define MENU_INPUTS   11
 

Definition at line 70 of file Menu.h.

#define MENU_JOIN   2
 

Definition at line 23 of file Menu.h.

Referenced by Menu::drawJoin(), Menu::handleChar(), Menu::loadJoin(), Menu::menuMainSelect(), and Menu::updateJoin().

#define MENU_LIGHTS   2
 

Definition at line 60 of file Menu.h.

Referenced by Menu::drawFrame().

#define MENU_MAIN   0
 

Definition at line 21 of file Menu.h.

Referenced by Menu::drawMain(), Menu::drawSelection(), Menu::load(), Menu::updateCreate(), Menu::updateCredits(), Menu::updateJoin(), Menu::updateMain(), and Menu::updateSettings().

#define MENU_MAIN_CREATE   1
 

Definition at line 29 of file Menu.h.

Referenced by Menu::drawCreate(), Menu::loadMain(), and Menu::menuMainSelect().

#define MENU_MAIN_CREDITS   0
 

Definition at line 28 of file Menu.h.

Referenced by Menu::loadMain(), and Menu::menuMainSelect().

#define MENU_MAIN_EXIT   4
 

Definition at line 32 of file Menu.h.

Referenced by Menu::loadMain(), and Menu::menuMainSelect().

#define MENU_MAIN_JOIN   2
 

Definition at line 30 of file Menu.h.

Referenced by Menu::drawJoin(), Menu::load(), Menu::loadMain(), and Menu::menuMainSelect().

#define MENU_MAIN_SELECTIONS   5
 

Definition at line 27 of file Menu.h.

Referenced by Menu::drawCreate(), Menu::drawJoin(), Menu::drawMain(), Menu::drawSettings(), Menu::loadMain(), and Menu::updateMain().

#define MENU_MAIN_SETTINGS   3
 

Definition at line 31 of file Menu.h.

Referenced by Menu::drawSettings(), Menu::loadMain(), and Menu::menuMainSelect().

#define MENU_MAIN_TEXTURES   (MENU_MAIN_SELECTIONS*2)
 

Definition at line 34 of file Menu.h.

Referenced by Menu::unloadMain().

#define MENU_OBJ_BOX   2
 

Definition at line 50 of file Menu.h.

Referenced by Menu::drawSelection(), and Menu::load().

#define MENU_OBJ_CUBEMAP   0
 

Definition at line 48 of file Menu.h.

Referenced by Menu::drawFrame(), and Menu::load().

#define MENU_OBJ_PLANET   3
 

Definition at line 51 of file Menu.h.

Referenced by Menu::drawFrame(), and Menu::load().

#define MENU_OBJ_SPHERE   1
 

Definition at line 49 of file Menu.h.

Referenced by Menu::drawCreate(), Menu::drawJoin(), Menu::drawMain(), Menu::drawSettings(), and Menu::load().

#define MENU_OBJ_TUBE   4
 

Definition at line 52 of file Menu.h.

Referenced by Menu::drawCreate(), Menu::drawJoin(), Menu::drawMain(), Menu::drawSettings(), and Menu::load().

#define MENU_OBJECTS   5
 

Definition at line 47 of file Menu.h.

Referenced by Menu::Menu(), and Menu::unload().

#define MENU_PLANETS   20
 

Definition at line 58 of file Menu.h.

Referenced by Menu::drawFrame(), and Menu::load().

#define MENU_SELECTION_NONE   (-1)
 

Definition at line 62 of file Menu.h.

Referenced by Menu::drawSelection().

#define MENU_SETTINGS   3
 

Definition at line 24 of file Menu.h.

Referenced by Menu::drawSettings(), Menu::menuMainSelect(), and Menu::updateSettings().

#define MENU_SOUND_DOSELECT   1
 

Definition at line 56 of file Menu.h.

Referenced by Menu::load(), and Menu::updateMain().

#define MENU_SOUND_SELECT   0
 

Definition at line 55 of file Menu.h.

Referenced by Menu::load(), Menu::updateCreate(), Menu::updateJoin(), and Menu::updateMain().

#define MENU_SOUNDS   2
 

Definition at line 54 of file Menu.h.

Referenced by Menu::unload().

#define MENU_TEX_CUBEMAP   0
 

Definition at line 37 of file Menu.h.

Referenced by Menu::drawFrame(), and Menu::load().

#define MENU_TEX_MAX_PLAYERS   6
 

Definition at line 43 of file Menu.h.

Referenced by Menu::drawCreate(), and Menu::load().

#define MENU_TEX_PARTICLE   2
 

Definition at line 39 of file Menu.h.

Referenced by Menu::drawFrame(), and Menu::load().

#define MENU_TEX_PLAYER_NAME   4
 

Definition at line 41 of file Menu.h.

Referenced by Menu::drawCreate(), Menu::drawJoin(), and Menu::load().

#define MENU_TEX_PORT_NUMBER   5
 

Definition at line 42 of file Menu.h.

Referenced by Menu::drawCreate(), Menu::drawJoin(), and Menu::load().

#define MENU_TEX_SELECTION   1
 

Definition at line 38 of file Menu.h.

Referenced by Menu::drawSelect(), Menu::drawSelection(), and Menu::load().

#define MENU_TEX_SERVER_IP   8
 

Definition at line 45 of file Menu.h.

Referenced by Menu::drawJoin(), and Menu::load().

#define MENU_TEX_SERVER_NAME   3
 

Definition at line 40 of file Menu.h.

Referenced by Menu::drawCreate(), and Menu::load().

#define MENU_TEX_SUBMIT   7
 

Definition at line 44 of file Menu.h.

Referenced by Menu::drawCreate(), Menu::drawJoin(), and Menu::load().

#define MENU_TEXTURES   9
 

Definition at line 36 of file Menu.h.

Referenced by Menu::unload().

#define MENUS   5
 

Menu.h

Author: Petter Alstermark, petter@alstermark.com

Definition at line 20 of file Menu.h.


Generated on Sun Jun 5 15:48:01 2005 for Defacto by  doxygen 1.4.3