Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

TLevelData Class Reference

Defines a level. More...

#include <TLevelData.h>

List of all members.

Public Attributes

const TInt16 * iMapData
 Map data processed by CMap::ProcessMapLine. More...

const TUint16 * iBackgrounds
 Background sprites. More...

const TUint16 * iSprites
 Foreground moving sprites. More...

const TInt16 * iPaths
 Data for path following bad guys. More...

const TUint16 * iStatus
 Data to describe status area. More...

TInt16 iShipSprite
 Sprite number of healthy ship sprite. More...

TInt16 iShipDeathStartSprite
 First frame of players explosion. More...

TInt16 iShipDeathEndSprite
 Last frame of players explosion (inclusive). More...

TInt16 iBadGuyDeathStartSprite
 First frame of badguys explosion. More...

TInt16 iBadGuyDeathEndSprite
 Last frame of badguys explosion (inclusive). More...

TInt16 iBulletPower1_StartSprite
 first set of eight players bullet sprites. More...

TInt16 iBulletPower2_StartSprite
 second set of eight players bullet sprites. More...

TInt16 iBulletPower3_StartSprite
 third set of eight players bullet sprites. More...

TInt16 iBulletPower4_StartSprite
 fourth set of eight players bullet sprites. More...

TInt16 iShipStartXPos
 X Start position of players ship. More...

TInt16 iShipStartYPos
 Y Start position of players ship. More...

TInt16 iShipStartHealth
 Starting health of players ship. More...

TInt16 iShipPowerups
 Number of weapon powerups at start of level. More...


Detailed Description

Defines a level.

This contains pointers into level data, and the sprites to use as the players ship, explosions, and bullets. The class does not own the pointers.

Definition at line 27 of file TLevelData.h.


Member Data Documentation

const TInt16* TLevelData::iMapData
 

Map data processed by CMap::ProcessMapLine.

Definition at line 29 of file TLevelData.h.

Referenced by CGame::ConstructL(), and CGameFramework::LoadLevelL().

const TUint16* TLevelData::iBackgrounds
 

Background sprites.

Definition at line 30 of file TLevelData.h.

Referenced by CGame::ConstructL(), and CGameFramework::LoadLevelL().

const TUint16* TLevelData::iSprites
 

Foreground moving sprites.

Definition at line 31 of file TLevelData.h.

Referenced by CGame::DrawEveryThing(), and CGameFramework::LoadLevelL().

const TInt16* TLevelData::iPaths
 

Data for path following bad guys.

Definition at line 32 of file TLevelData.h.

Referenced by CGameFramework::LoadLevelL(), and CGame::MoveThings().

const TUint16* TLevelData::iStatus
 

Data to describe status area.

Definition at line 33 of file TLevelData.h.

Referenced by CGame::ConstructL(), and CGameFramework::LoadLevelL().

TInt16 TLevelData::iShipSprite
 

Sprite number of healthy ship sprite.

Definition at line 34 of file TLevelData.h.

Referenced by CGame::ConstructL(), and CGameFramework::LoadLevelL().

TInt16 TLevelData::iShipDeathStartSprite
 

First frame of players explosion.

Definition at line 35 of file TLevelData.h.

Referenced by CGame::ConstructL(), and CGameFramework::LoadLevelL().

TInt16 TLevelData::iShipDeathEndSprite
 

Last frame of players explosion (inclusive).

Definition at line 36 of file TLevelData.h.

Referenced by CGame::ConstructL(), and CGameFramework::LoadLevelL().

TInt16 TLevelData::iBadGuyDeathStartSprite
 

First frame of badguys explosion.

Definition at line 37 of file TLevelData.h.

Referenced by CGame::FirstExplosionSprite(), and CGameFramework::LoadLevelL().

TInt16 TLevelData::iBadGuyDeathEndSprite
 

Last frame of badguys explosion (inclusive).

Definition at line 38 of file TLevelData.h.

Referenced by CGame::LastExplosionSprite(), and CGameFramework::LoadLevelL().

TInt16 TLevelData::iBulletPower1_StartSprite
 

first set of eight players bullet sprites.

Definition at line 39 of file TLevelData.h.

Referenced by CGame::Bonus(), CGame::ConstructL(), and CGameFramework::LoadLevelL().

TInt16 TLevelData::iBulletPower2_StartSprite
 

second set of eight players bullet sprites.

Definition at line 40 of file TLevelData.h.

Referenced by CGame::Bonus(), and CGameFramework::LoadLevelL().

TInt16 TLevelData::iBulletPower3_StartSprite
 

third set of eight players bullet sprites.

Definition at line 41 of file TLevelData.h.

Referenced by CGame::Bonus(), and CGameFramework::LoadLevelL().

TInt16 TLevelData::iBulletPower4_StartSprite
 

fourth set of eight players bullet sprites.

Definition at line 42 of file TLevelData.h.

Referenced by CGame::Bonus(), and CGameFramework::LoadLevelL().

TInt16 TLevelData::iShipStartXPos
 

X Start position of players ship.

Definition at line 43 of file TLevelData.h.

Referenced by CGame::ConstructL(), and CGameFramework::LoadLevelL().

TInt16 TLevelData::iShipStartYPos
 

Y Start position of players ship.

Definition at line 44 of file TLevelData.h.

Referenced by CGame::ConstructL(), and CGameFramework::LoadLevelL().

TInt16 TLevelData::iShipStartHealth
 

Starting health of players ship.

Definition at line 45 of file TLevelData.h.

Referenced by CGame::ConstructL(), CGameFramework::LoadLevelL(), and CGame::Play().

TInt16 TLevelData::iShipPowerups
 

Number of weapon powerups at start of level.

Definition at line 46 of file TLevelData.h.

Referenced by CGame::ConstructL(), CGameFramework::LoadLevelL(), and CGame::Play().


The documentation for this class was generated from the following file:
Documentation for Game (Beta) version 1.44.