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

Main.cpp File Reference

#include "Main.h"

Include dependency graph for DeFacto/Main.cpp:

Go to the source code of this file.

Variables

Applicationapp = new MainApp()
unsigned int g_selectedScene
SPlayer g_players [SPLAYER_MAX_PLAYERS]
int g_numPlayers = 2
MilkShape g_models [SPLAYER_MAX_PLAYERS]
OpenGLConsole console
int g_myPlayerID = 0
Gnegne = NULL
SGameInfo g_gameInfo
SGalaxyInfo g_galaxies [JOIN_GALAXIES]
SModelInfo g_allModels [MODELS]
Music g_music


Variable Documentation

Application* app = new MainApp()
 

Main.cpp

Author: Petter Alstermark, petter@alstermark.com

Definition at line 9 of file DeFacto/Main.cpp.

Referenced by MS_Material::activate(), MS_Material::clear(), Explosion::drawAndUpdate(), Console::process(), MS_Material::reloadTexture(), WinMain(), and WndProc().

OpenGLConsole console
 

Definition at line 15 of file DeFacto/Main.cpp.

Referenced by Menu::handleChar(), Play::load(), Join::networkLoop(), Play::networkLoop(), and Scores::update().

SModelInfo g_allModels[MODELS]
 

Definition at line 20 of file DeFacto/Main.cpp.

Referenced by Join::load(), Play::loadObjects(), Play::loadTextures(), and Menu::setModel().

SGalaxyInfo g_galaxies[JOIN_GALAXIES]
 

Definition at line 19 of file DeFacto/Main.cpp.

Referenced by Join::addLevel(), Join::drawFrame(), Join::drawGalaxies(), Join::drawLevels(), Join::loadGalaxies(), Play::loadObjects(), Join::setGalaxy(), Join::setLvl(), Join::unloadGalaxies(), and Join::update().

SGameInfo g_gameInfo
 

Definition at line 18 of file DeFacto/Main.cpp.

Referenced by Join::addLevel(), Join::drawFrame(), Play::drawFrame(), Menu::handleChar(), Join::load(), Play::load(), Play::loadObjects(), Join::networkLoop(), Play::networkLoop(), Join::removeLevel(), Play::serverLoop(), Join::update(), Play::update(), and Scores::update().

MilkShape g_models[SPLAYER_MAX_PLAYERS]
 

Definition at line 14 of file DeFacto/Main.cpp.

Referenced by Play::bot(), Play::drawPlayer(), Play::handleKeys(), Play::loadObjects(), Play::unload(), and Play::update().

Music g_music
 

Definition at line 21 of file DeFacto/Main.cpp.

Referenced by Join::load(), Menu::load(), and Join::networkLoop().

int g_myPlayerID = 0
 

Definition at line 16 of file DeFacto/Main.cpp.

int g_numPlayers = 2
 

Definition at line 13 of file DeFacto/Main.cpp.

SPlayer g_players[SPLAYER_MAX_PLAYERS]
 

Console.h

Author: Petter Alstermark, petter@alstermark.com

Definition at line 12 of file DeFacto/Main.cpp.

unsigned int g_selectedScene
 

Definition at line 11 of file DeFacto/Main.cpp.

Referenced by Menu::handleChar(), Demo::load(), MainApp::MainApp(), Join::networkLoop(), Demo::update(), Join::update(), MainApp::update(), Play::update(), and Scores::update().

Gne* gne = NULL
 

Definition at line 17 of file DeFacto/Main.cpp.


Generated on Sun Jun 5 15:47:49 2005 for Defacto by  doxygen 1.4.3