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

Play.h File Reference

#include "Scene.h"
#include "Level.h"
#include "Player.h"
#include "Weapon.h"
#include "GGlobals.h"
#include "Util/Granade.h"
#include "Util/Projectile.h"
#include "../Math/Vector.h"
#include "../Util/Objects/Sphere.h"
#include "../Util/Objects/Box.h"
#include "../Util/Objects/Cubemap.h"
#include "../Util/Objects/ObjLevel.h"
#include "../Util/OpenGL/OpenGLParticleSystem.h"
#include "../Sound/Sound.h"
#include "../Sound/Music.h"
#include "../Util/Explosion.h"
#include "../Util/MilkShape.h"
#include "../Util/Objects/MilkShapeObject.h"

Include dependency graph for Play.h:

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

Go to the source code of this file.

Classes

struct  PlayExtras
class  Play

Defines

#define MAX_GRANADES   128
#define MAX_EXPLOSIONS   64
#define MAX_PROJECTILES   256
#define MAX_PARTICLESYSTEMS   8
#define PLAY_TEXTURES   11
#define PLAY_TEX_MODEL_0   0
#define PLAY_TEX_GRENADE   1
#define PLAY_TEX_SKIN   2
#define PLAY_TEX_PARTICLE   3
#define PLAY_TEX_SHADOW   4
#define PLAY_TEX_SPAWN_SPHERE   5
#define PLAY_TEX_LIFEBAR_FRAME   6
#define PLAY_TEX_EXTRAS_OTHER   7
#define PLAY_TEX_GAME_OVER   8
#define PLAY_TEX_LIFEBAR_BG   9
#define PLAY_TEX_LIFEBAR_GLOW   10
#define PLAY_OBJECTS   2
#define PLAY_OBJ_GRENADE   0
#define PLAY_OBJ_SPHERE   1
#define PLAY_SOUNDS   14
#define PLAY_SOUND_GRENADE   0
#define PLAY_SOUND_SPAWN   1
#define PLAY_SOUND_GUN   2
#define PLAY_SOUND_DEATH   3
#define PLAY_SOUND_GUN_HIT   4
#define PLAY_SOUND_DROWN   5
#define PLAY_SOUND_EXTRAS_LIFE   6
#define PLAY_SOUND_EXTRAS_AMMO   7
#define PLAY_SOUND_EXTRAS_SLOW   8
#define PLAY_SOUND_EXTRAS_SHAKE   9
#define PLAY_SOUND_EXTRAS_FAST   10
#define PLAY_SOUND_EXTRAS_FLIPVIEW   11
#define PLAY_SOUND_EXTRAS_INVISIBLE   12
#define PLAY_SOUND_EXTRAS_IMMORTAL   13
#define PLAY_ACTION_PLAYER_EXPLODE   0
#define PLAY_ACTION_PLAYER_DROWN   1
#define PLAY_ACTION_PLAYER_SPAWN   2
#define PLAY_ACTION_PLAYER_SPAWNED   3
#define PLAY_EXTRAS_SIMULTANEOUS   16
#define PLAY_EXTRAS   8
#define PLAY_EXTRAS_NONE   (-1)
#define PLAY_EXTRAS_LIFE   7
#define PLAY_EXTRAS_AMMO   6
#define PLAY_EXTRAS_SLOW   5
#define PLAY_EXTRAS_SHAKE   4
#define PLAY_EXTRAS_FAST   3
#define PLAY_EXTRAS_FLIPVIEW   2
#define PLAY_EXTRAS_INVISIBLE   1
#define PLAY_EXTRAS_IMMORTAL   0
#define PLAY_NET_START_GAME   (-1)
#define PLAY_NET_GAME_OVER   (-2)


Define Documentation

#define MAX_EXPLOSIONS   64
 

Definition at line 30 of file Play.h.

Referenced by Play::createExplosion(), and Play::drawExplosions().

#define MAX_GRANADES   128
 

Play.h

Author: Petter Alstermark, petter@alstermark.com

Definition at line 29 of file Play.h.

Referenced by Play::drawGrenades(), and Play::throwGrenade().

#define MAX_PARTICLESYSTEMS   8
 

Definition at line 32 of file Play.h.

Referenced by Play::drawParticleSystems(), and Play::startParticleSystem().

#define MAX_PROJECTILES   256
 

Definition at line 31 of file Play.h.

Referenced by Play::drawProjectiles(), and Play::fireProjectile().

#define PLAY_ACTION_PLAYER_DROWN   1
 

Definition at line 73 of file Play.h.

Referenced by Play::networkLoop(), and Play::update().

#define PLAY_ACTION_PLAYER_EXPLODE   0
 

Definition at line 72 of file Play.h.

Referenced by Play::networkLoop().

#define PLAY_ACTION_PLAYER_SPAWN   2
 

Definition at line 74 of file Play.h.

Referenced by Play::networkLoop(), and Play::serverLoop().

#define PLAY_ACTION_PLAYER_SPAWNED   3
 

Definition at line 75 of file Play.h.

Referenced by Play::networkLoop(), and Play::serverLoop().

#define PLAY_EXTRAS   8
 

Definition at line 79 of file Play.h.

Referenced by Play::dealExtras(), and Play::update().

#define PLAY_EXTRAS_AMMO   6
 

Definition at line 82 of file Play.h.

Referenced by Play::applyExtras().

#define PLAY_EXTRAS_FAST   3
 

Definition at line 85 of file Play.h.

Referenced by Play::applyExtras(), and Play::update().

#define PLAY_EXTRAS_FLIPVIEW   2
 

Definition at line 86 of file Play.h.

Referenced by Play::applyExtras(), and Play::setPlayerCam().

#define PLAY_EXTRAS_IMMORTAL   0
 

Definition at line 88 of file Play.h.

Referenced by Play::applyExtras(), Play::dealDamage(), Play::drawLifebar(), and Play::drawPlayer().

#define PLAY_EXTRAS_INVISIBLE   1
 

Definition at line 87 of file Play.h.

Referenced by Play::applyExtras(), and Play::drawPlayer().

#define PLAY_EXTRAS_LIFE   7
 

Definition at line 81 of file Play.h.

Referenced by Play::applyExtras().

#define PLAY_EXTRAS_NONE   (-1)
 

Definition at line 80 of file Play.h.

Referenced by Play::drawExtras(), Play::load(), Play::networkLoop(), Play::newExtras(), and Play::update().

#define PLAY_EXTRAS_SHAKE   4
 

Definition at line 84 of file Play.h.

Referenced by Play::applyExtras(), and Play::setPlayerCam().

#define PLAY_EXTRAS_SIMULTANEOUS   16
 

Definition at line 78 of file Play.h.

Referenced by Play::drawExtras(), Play::load(), Play::networkLoop(), Play::newExtras(), and Play::update().

#define PLAY_EXTRAS_SLOW   5
 

Definition at line 83 of file Play.h.

Referenced by Play::applyExtras(), and Play::update().

#define PLAY_NET_GAME_OVER   (-2)
 

Definition at line 91 of file Play.h.

Referenced by Play::handleKeys(), Play::networkLoop(), and Play::serverLoop().

#define PLAY_NET_START_GAME   (-1)
 

Definition at line 90 of file Play.h.

Referenced by Play::networkLoop(), and Play::serverLoop().

#define PLAY_OBJ_GRENADE   0
 

Definition at line 50 of file Play.h.

Referenced by Play::drawGrenades(), Play::drawProjectiles(), and Play::loadObjects().

#define PLAY_OBJ_SPHERE   1
 

Definition at line 51 of file Play.h.

Referenced by Play::drawPlayer(), and Play::loadObjects().

#define PLAY_OBJECTS   2
 

Definition at line 49 of file Play.h.

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

#define PLAY_SOUND_DEATH   3
 

Definition at line 58 of file Play.h.

Referenced by Play::loadSounds(), and Play::networkLoop().

#define PLAY_SOUND_DROWN   5
 

Definition at line 60 of file Play.h.

Referenced by Play::loadSounds(), and Play::networkLoop().

#define PLAY_SOUND_EXTRAS_AMMO   7
 

Definition at line 63 of file Play.h.

Referenced by Play::loadSounds().

#define PLAY_SOUND_EXTRAS_FAST   10
 

Definition at line 66 of file Play.h.

Referenced by Play::loadSounds().

#define PLAY_SOUND_EXTRAS_FLIPVIEW   11
 

Definition at line 67 of file Play.h.

Referenced by Play::loadSounds().

#define PLAY_SOUND_EXTRAS_IMMORTAL   13
 

Definition at line 69 of file Play.h.

Referenced by Play::loadSounds().

#define PLAY_SOUND_EXTRAS_INVISIBLE   12
 

Definition at line 68 of file Play.h.

Referenced by Play::loadSounds().

#define PLAY_SOUND_EXTRAS_LIFE   6
 

Definition at line 62 of file Play.h.

Referenced by Play::loadSounds().

#define PLAY_SOUND_EXTRAS_SHAKE   9
 

Definition at line 65 of file Play.h.

Referenced by Play::loadSounds().

#define PLAY_SOUND_EXTRAS_SLOW   8
 

Definition at line 64 of file Play.h.

Referenced by Play::loadSounds().

#define PLAY_SOUND_GRENADE   0
 

Definition at line 55 of file Play.h.

Referenced by Play::grenadeExplode(), and Play::loadSounds().

#define PLAY_SOUND_GUN   2
 

Definition at line 57 of file Play.h.

Referenced by Play::handleKeys(), and Play::loadSounds().

#define PLAY_SOUND_GUN_HIT   4
 

Definition at line 59 of file Play.h.

Referenced by Play::drawProjectiles(), and Play::loadSounds().

#define PLAY_SOUND_SPAWN   1
 

Definition at line 56 of file Play.h.

Referenced by Play::loadSounds(), and Play::networkLoop().

#define PLAY_SOUNDS   14
 

Definition at line 54 of file Play.h.

Referenced by Play::unload().

#define PLAY_TEX_EXTRAS_OTHER   7
 

Definition at line 43 of file Play.h.

Referenced by Play::drawExtras(), and Play::loadTextures().

#define PLAY_TEX_GAME_OVER   8
 

Definition at line 44 of file Play.h.

Referenced by Play::drawFrame(), and Play::loadTextures().

#define PLAY_TEX_GRENADE   1
 

Definition at line 37 of file Play.h.

Referenced by Play::drawGrenades(), Play::drawProjectiles(), and Play::loadTextures().

#define PLAY_TEX_LIFEBAR_BG   9
 

Definition at line 45 of file Play.h.

Referenced by Play::drawLifebar(), and Play::loadTextures().

#define PLAY_TEX_LIFEBAR_FRAME   6
 

Definition at line 42 of file Play.h.

Referenced by Play::drawLifebar(), and Play::loadTextures().

#define PLAY_TEX_LIFEBAR_GLOW   10
 

Definition at line 46 of file Play.h.

Referenced by Play::drawLifebar(), and Play::loadTextures().

#define PLAY_TEX_MODEL_0   0
 

Definition at line 36 of file Play.h.

Referenced by Play::loadTextures().

#define PLAY_TEX_PARTICLE   3
 

Definition at line 39 of file Play.h.

Referenced by Play::drawExplosions(), Play::drawParticleSystems(), and Play::loadTextures().

#define PLAY_TEX_SHADOW   4
 

Definition at line 40 of file Play.h.

Referenced by Play::drawShadow(), and Play::loadTextures().

#define PLAY_TEX_SKIN   2
 

Definition at line 38 of file Play.h.

Referenced by Play::loadTextures().

#define PLAY_TEX_SPAWN_SPHERE   5
 

Definition at line 41 of file Play.h.

Referenced by Play::drawPlayer(), and Play::loadTextures().

#define PLAY_TEXTURES   11
 

Definition at line 35 of file Play.h.

Referenced by Play::unload().


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