Global Struct Reference

Structure to accomondate gloabl variables accessable throughout the application. More...

#include <common.h>

Collaboration diagram for Global:

Collaboration graph
[legend]
List of all members.

Public Attributes

Playerplayer
 The player's current main tank.
int fpsRef
 wanted FPS.
float trueFps
 Actuall FPS achieved.
Cameracamera
 The camera used.
Hudhud
 Head-Up-Display to convay info to the user.
Terrainterrain
 The terrain used.
std::vector< Player * > playerList
 List of all players in the current game.
std::list< Sprite * > sprites
 List of "all" sprites that should be updated and drawn.
std::list< Sprite * > transparentSprites
 List of "all" sprites that contains transparancy that should be updated and drawn.
std::list< Sprite * > updateSprites
 List of all solid sprites the needs to be updated.
std::list< Sprite * > updateTransSprites
bool fullScreen
 Is the game in fullscreen.
ResourceHandler resourceHandler
SoundHandlersh
GLText glText
ActionMenu actionMenu

Detailed Description

Structure to accomondate gloabl variables accessable throughout the application.


Member Data Documentation

ActionMenu Global::actionMenu

Camera* Global::camera

The camera used.

int Global::fpsRef

wanted FPS.

bool Global::fullScreen

Is the game in fullscreen.

GLText Global::glText

Hud* Global::hud

Head-Up-Display to convay info to the user.

Player* Global::player

The player's current main tank.

std::vector< Player* > Global::playerList

List of all players in the current game.

ResourceHandler Global::resourceHandler

SoundHandler* Global::sh

std::list< Sprite* > Global::sprites

List of "all" sprites that should be updated and drawn.

Terrain* Global::terrain

The terrain used.

std::list< Sprite* > Global::transparentSprites

List of "all" sprites that contains transparancy that should be updated and drawn.

These sprites are drawn last with depth buffer writes disabled.

float Global::trueFps

Actuall FPS achieved.

std::list<Sprite*> Global::updateSprites

List of all solid sprites the needs to be updated.

std::list<Sprite*> Global::updateTransSprites


The documentation for this struct was generated from the following file:
Generated on Sun Mar 11 15:33:26 2007 for MetalWarriors by  doxygen 1.4.7