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

Scores Class Reference

#include <Scores.h>

Inherits Scene.

Inheritance diagram for Scores:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 Scores ()
virtual ~Scores ()
bool load (Application *parent)
bool unload ()
bool update ()
bool drawFrame ()

Detailed Description

Definition at line 21 of file Scores.h.


Constructor & Destructor Documentation

Scores::Scores  ) 
 

Scores.cpp

Author: Petter Alstermark, petter@alstermark.com

Definition at line 12 of file Scores.cpp.

Scores::~Scores  )  [virtual]
 

Definition at line 19 of file Scores.cpp.

References unload().

Here is the call graph for this function:


Member Function Documentation

bool Scores::drawFrame  )  [virtual]
 

Reimplemented from Scene.

Definition at line 199 of file Scores.cpp.

References SPlayer::deaths, Application::defaultFont, OpenGLFont::endTextMode(), SPlayer::frags, g_myPlayerID, g_players, g_width, SPlayer::kills, Scene::m_loaded, Scene::m_parent, SPlayer::name, PLAYER_STATE_OFFLINE, PLAYER_STATE_WAITING, OpenGLFont::print(), OpenGLFont::setColor(), SPLAYER_MAX_PLAYERS, and OpenGLFont::startTextMode().

Here is the call graph for this function:

bool Scores::load Application parent  )  [virtual]
 

Reimplemented from Scene.

Definition at line 26 of file Scores.cpp.

References g_myPlayerID, g_players, gne, Gne::isRunning(), LOG_SUCCESS, Scene::m_loaded, Scene::m_parent, PLAYER_STATE_WAITING, Gne::setPlayerState(), and SPlayer::state.

Here is the call graph for this function:

bool Scores::unload  )  [virtual]
 

Reimplemented from Scene.

Definition at line 44 of file Scores.cpp.

References LOG_SUCCESS, and Scene::m_loaded.

Referenced by ~Scores().

bool Scores::update  )  [virtual]
 

Reimplemented from Scene.

Definition at line 56 of file Scores.cpp.

References Console::addEx(), console, SGameInfo::currLvl, Gne::disconnect(), E_PLAYER_DISCONNECTED, E_PLAYER_EXTRAS, E_PLAYER_STATE, g_gameInfo, g_myPlayerID, g_players, g_selectedScene, GAME_STATE_END, GAME_STATE_GAME_OVER, GAME_STATE_WAITING, SGameInfo::gameState, GE_PlayerExtras::getExtras(), GE::getId(), Gne::getNextEvent(), GE_State::getState(), GE_PlayerExtras::getValue(), gne, Gne::isRunning(), Gne::isServer(), Application::keys, LOG_MISC, SGameInfo::lvlList, Scene::m_loaded, Scene::m_parent, Gne::nextEventPending(), SGameInfo::nLvls, PLAYER_STATE_LOADING, PLAYER_STATE_OFFLINE, PLAYER_STATE_READY, PLAYER_STATE_WAITING, SCENE_MENU, SCENE_PLAY, SCORES_NET_END, SCORES_NET_START, Gne::setPlayerExtras(), Gne::setPlayerState(), SPLAYER_MAX_PLAYERS, SPlayer::state, and SGameInfo::thisLevel.

Here is the call graph for this function:


Generated on Sun Jun 5 15:51:02 2005 for Defacto by  doxygen 1.4.3