OpenArena::Level Class Reference

#include <level.h>

List of all members.

Public Member Functions

 Level ()
 Write brief comment for Level here.
 ~Level ()
 Write brief comment for ~Level here.
bool LoadMap (string mapname)
 Write brief comment for LoadMap here.
bool LoadMap ()
 Write brief comment for LoadMap here.
void SaveMap (string mapname)
 Write brief comment for SaveMap here.
bool LoadConfig (string cfgname)
 Write brief comment for LoadConfig here.
void LoadConfig ()
 Write brief comment for LoadConfig here.
void SaveConfig (string cfgname)
void Execute (string cmd)
 Write brief comment for Execute here.
void LoadGLTextures ()
 Write brief comment for LoadGLTextures here.
void Render ()
 Write brief comment for Render here.
void UnloadMap ()
 Write brief comment for UnloadMap here.
void UpdateConsole (char)
 Write brief comment for UpdateConsole here.
uint32 FPS ()
 Write brief comment for FPS here.
void ParseCmds (const char *)
 Write brief comment for ParseCmds here.
void Print (int x, int y, const char *string, unsigned int set)
void SetWindow (Window *)
 Write brief comment for SetWindow here.
WindowGetWindow ()
 Write brief comment for GetWindow here.
void ConsolePrint (string)
 Write brief comment for ConsolePrint here.

Public Attributes

Screen screen
Font glFont
string nextLevel
PlayerdefaultPlayer
uint32 numTextures
string * textureNames
string bgm
unsigned char bgmCDA
string gamedir
float gravity
bool mlook
bool showFPS
bool showConsole
bool sound
float turnSpeed
float moveSpeed
float mouseSpeed
unsigned char maxFPS
Triangletriangles
uint32 numTriangles
list< Playerplayers
list< Texture * > textures
Texture menuTextures [NUM_MENU_TEXTURES]
Window_window

Private Attributes

string consoleHistory [MAX_CONSOLE_HISTORY_LINES]
string consoleOutput [MAX_CONSOLE_OUTPUT_LINES]
string outputText [MAX_OUTPUT_TEXT_LINES]


Constructor & Destructor Documentation

OpenArena::Level::Level (  ) 

Write brief comment for Level here.

Exceptions:
<exception class> Description of criteria for throwing this exception.
Write detailed description for Level here.

Remarks:
Write remarks for Level here.
See also:
Separate items with the '|' character.

OpenArena::Level::~Level (  ) 

Write brief comment for ~Level here.

Exceptions:
<exception class> Description of criteria for throwing this exception.
Write detailed description for ~Level here.

Remarks:
Write remarks for ~Level here.
See also:
Separate items with the '|' character.


Member Function Documentation

void OpenArena::Level::ConsolePrint ( string   ) 

Write brief comment for ConsolePrint here.

Parameters:
Description of parameter .
Exceptions:
<exception class> Description of criteria for throwing this exception.
Write detailed description for ConsolePrint here.

Remarks:
Write remarks for ConsolePrint here.
See also:
Separate items with the '|' character.

void OpenArena::Level::Execute ( string  cmd  ) 

Write brief comment for Execute here.

Parameters:
cmd Description of parameter cmd.
Exceptions:
<exception class> Description of criteria for throwing this exception.
Write detailed description for Execute here.

Remarks:
Write remarks for Execute here.
See also:
Separate items with the '|' character.

uint32 OpenArena::Level::FPS (  ) 

Write brief comment for FPS here.

Returns:
Write description of return value here.
Exceptions:
<exception class> Description of criteria for throwing this exception.
Write detailed description for FPS here.

Remarks:
Write remarks for FPS here.
See also:
Separate items with the '|' character.

Window * OpenArena::Level::GetWindow (  ) 

Write brief comment for GetWindow here.

Returns:
Write description of return value here.
Exceptions:
<exception class> Description of criteria for throwing this exception.
Write detailed description for GetWindow here.

Remarks:
Write remarks for GetWindow here.
See also:
Separate items with the '|' character.

void OpenArena::Level::LoadConfig (  ) 

Write brief comment for LoadConfig here.

Exceptions:
<exception class> Description of criteria for throwing this exception.
Write detailed description for LoadConfig here.

Remarks:
Write remarks for LoadConfig here.
See also:
Separate items with the '|' character.

bool OpenArena::Level::LoadConfig ( string  cfgname  ) 

Write brief comment for LoadConfig here.

Parameters:
cfgname Description of parameter cfgname.
Returns:
Write description of return value here.
Exceptions:
<exception class> Description of criteria for throwing this exception.
Write detailed description for LoadConfig here.

Remarks:
Write remarks for LoadConfig here.
See also:
Separate items with the '|' character.

void OpenArena::Level::LoadGLTextures (  ) 

Write brief comment for LoadGLTextures here.

Exceptions:
<exception class> Description of criteria for throwing this exception.
Write detailed description for LoadGLTextures here.

Remarks:
Write remarks for LoadGLTextures here.
See also:
Separate items with the '|' character.

bool OpenArena::Level::LoadMap (  ) 

Write brief comment for LoadMap here.

Returns:
Write description of return value here.
Exceptions:
<exception class> Description of criteria for throwing this exception.
Write detailed description for LoadMap here.

Remarks:
Write remarks for LoadMap here.
See also:
Separate items with the '|' character.

bool OpenArena::Level::LoadMap ( string  mapname  ) 

Write brief comment for LoadMap here.

Parameters:
mapname Description of parameter mapname.
Returns:
Write description of return value here.
Exceptions:
<exception class> Description of criteria for throwing this exception.
Write detailed description for LoadMap here.

Remarks:
Write remarks for LoadMap here.
See also:
Separate items with the '|' character.

void OpenArena::Level::ParseCmds ( const char *   ) 

Write brief comment for ParseCmds here.

Parameters:
Description of parameter .
Exceptions:
<exception class> Description of criteria for throwing this exception.
Write detailed description for ParseCmds here.

Remarks:
Write remarks for ParseCmds here.
See also:
Separate items with the '|' character.

void OpenArena::Level::Print ( int  x,
int  y,
const char *  string,
unsigned int  set 
)

void OpenArena::Level::Render (  ) 

Write brief comment for Render here.

Exceptions:
<exception class> Description of criteria for throwing this exception.
Write detailed description for Render here.

Remarks:
Write remarks for Render here.
See also:
Separate items with the '|' character.

void OpenArena::Level::SaveConfig ( string  cfgname  ) 

void OpenArena::Level::SaveMap ( string  mapname  ) 

Write brief comment for SaveMap here.

Parameters:
mapname Description of parameter mapname.
Exceptions:
<exception class> Description of criteria for throwing this exception.
Write detailed description for SaveMap here.

Remarks:
Write remarks for SaveMap here.
See also:
Separate items with the '|' character.

void OpenArena::Level::SetWindow ( Window  ) 

Write brief comment for SetWindow here.

Parameters:
Description of parameter .
Exceptions:
<exception class> Description of criteria for throwing this exception.
Write detailed description for SetWindow here.

Remarks:
Write remarks for SetWindow here.
See also:
Separate items with the '|' character.

void OpenArena::Level::UnloadMap (  ) 

Write brief comment for UnloadMap here.

Exceptions:
<exception class> Description of criteria for throwing this exception.
Write detailed description for UnloadMap here.

Remarks:
Write remarks for UnloadMap here.
See also:
Separate items with the '|' character.

void OpenArena::Level::UpdateConsole ( char   ) 

Write brief comment for UpdateConsole here.

Parameters:
Description of parameter .
Exceptions:
<exception class> Description of criteria for throwing this exception.
Write detailed description for UpdateConsole here.

Remarks:
Write remarks for UpdateConsole here.
See also:
Separate items with the '|' character.


Member Data Documentation

Window* OpenArena::Level::_window

string OpenArena::Level::bgm

unsigned char OpenArena::Level::bgmCDA

string OpenArena::Level::consoleHistory[MAX_CONSOLE_HISTORY_LINES] [private]

string OpenArena::Level::consoleOutput[MAX_CONSOLE_OUTPUT_LINES] [private]

Player* OpenArena::Level::defaultPlayer

string OpenArena::Level::gamedir

Font OpenArena::Level::glFont

float OpenArena::Level::gravity

unsigned char OpenArena::Level::maxFPS

Texture OpenArena::Level::menuTextures[NUM_MENU_TEXTURES]

bool OpenArena::Level::mlook

float OpenArena::Level::mouseSpeed

float OpenArena::Level::moveSpeed

string OpenArena::Level::nextLevel

uint32 OpenArena::Level::numTextures

uint32 OpenArena::Level::numTriangles

string OpenArena::Level::outputText[MAX_OUTPUT_TEXT_LINES] [private]

list<Player> OpenArena::Level::players

Screen OpenArena::Level::screen

bool OpenArena::Level::showConsole

bool OpenArena::Level::showFPS

bool OpenArena::Level::sound

string* OpenArena::Level::textureNames

list<Texture*> OpenArena::Level::textures

Triangle* OpenArena::Level::triangles

float OpenArena::Level::turnSpeed


The documentation for this class was generated from the following files:
Generated on Tue Jul 11 00:17:54 2006 for OpenArena by  doxygen 1.4.7