Hosting courtesy of Sourceforge

SourceForge Logo
Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

Game Namespace Reference

Namespace for all things related directly to the concept of the game, and that have little hope to be used in other programs. More...


Compounds

class  Game::AbstractPlayer
class  Game::AbstractTile
class  Game::Bomb
class  Game::ConveyorTile
class  Game::ExplodableTile
class  Game::Flame
class  Game::FlameImageManager
class  Game::GameMap
class  Game::IncreaseBombCount
class  Game::IncreaseBombRadius
class  Game::IndestructibleTile
class  Game::JoyPortOpener
class  Game::JoystickController
class  Game::KeyboardController
class  Game::LocalPlayer
class  Game::MapLocAt
class  Game::MapLocation
class  Game::MoveableItem
class  Game::MovementEffect
class  Game::PassableTile
class  Game::PlaceableItem
class  Game::AbstractPlayer::PlayerAfterParseValidator
class  Game::PlayerController
class  Game::Powerup
class  Game::Powerup_impl
class  Game::PowerupFactory
class  Game::ReadKey
class  Game::SingleImageTile
class  Game::SlipperyTile
class  Game::SpeedUp
class  Game::TileSetReader

Functions

int getNearestHorizTile (Sint16 xPixel)


Typedef Documentation

typedef int Game::PlayerAction
 

Definition at line 20 of file Constants.h.


Enumeration Type Documentation

enum Game::Direction
 

Enumeration values:
LEFT 
RIGHT 
UP 
DOWN 
NO_DIRECTION 

Definition at line 32 of file Moveable.h.

enum Game::FlameType
 

Enumeration values:
FLAME_HORIZ_CONNECTOR 
FLAME_VERT_CONNECTOR 
FLAME_MIDDLE_CONNECTOR 
FLAME_LEFT_END 
FLAME_RIGHT_END 
FLAME_UP_END 
FLAME_DOWN_END 

Definition at line 29 of file Flame.h.


Function Documentation

Direction Game::getDirectionFromMovement PlayerAction    pa
 

Definition at line 27 of file Player.cpp.

int Game::getDownSlack Sint16    y
 

Definition at line 40 of file MapLocation.cpp.

int Game::getDownSlack const SDL_Rect &    picPosition
 

Definition at line 36 of file MapLocation.cpp.

int Game::getDownTile Sint16    y,
int    offset = 0
 

Definition at line 68 of file MapLocation.cpp.

int Game::getLeftSlack Sint16    x
 

Definition at line 48 of file MapLocation.cpp.

int Game::getLeftSlack const SDL_Rect &    picPosition
 

Definition at line 28 of file MapLocation.cpp.

int Game::getLeftTile Sint16    x,
int    offset = 0
 

Definition at line 60 of file MapLocation.cpp.

MapLocation Game::getLocation const SDL_Rect &    rect
 

Definition at line 93 of file MapLocation.cpp.

PlayerAction Game::getMovementFromDirection Direction    d
 

Definition at line 37 of file Player.cpp.

int Game::getNearestHorizTile Sint16    xPixel
 

Used in transforming screen coords to map coords

Parameters:
xPixel  the x location of the pixel
Returns:
the nearest map location to the pixel. No guarentee is made about the if the tile left of and right of the pixel are equidistant, other than one of is returned

Definition at line 81 of file MapLocation.cpp.

int Game::getNearestVertTile Sint16    yPixel
 

Definition at line 87 of file MapLocation.cpp.

int Game::getRightSlack Sint16    x
 

Definition at line 52 of file MapLocation.cpp.

int Game::getRightSlack const SDL_Rect &    picPosition
 

Definition at line 24 of file MapLocation.cpp.

int Game::getRightTile Sint16    x,
int    offset = 0
 

Definition at line 56 of file MapLocation.cpp.

int Game::getUpSlack Sint16    y
 

Definition at line 44 of file MapLocation.cpp.

int Game::getUpSlack const SDL_Rect &    picPosition
 

Definition at line 32 of file MapLocation.cpp.

int Game::getUpTile Sint16    y,
int    offset = 0
 

Definition at line 64 of file MapLocation.cpp.


Generated on Tue May 21 07:26:51 2002 for BomberLAN by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001