CArena.h File Reference

Header file of the arena. More...

#include "CArenaCloser.h"
#include "CBomber.h"
#include "CExplosion.h"
#include "CBomb.h"
#include "CItem.h"
#include "CWall.h"
#include "CFloor.h"
#include "COptions.h"

Include dependency graph for CArena.h:

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


Classes

class  CArena

Defines

#define BLOCKHAS_NONE   (1 << 0)
 The block has nothing in it.
#define BLOCKHAS_FLOOR   (1 << 1)
 The block has a floor.
#define BLOCKHAS_WALL   (1 << 2)
 The block has a wall of any kind.
#define BLOCKHAS_WALLSOFT   (1 << 3)
 The block has a soft wall.
#define BLOCKHAS_WALLHARD   (1 << 4)
 The block has a hard wall.
#define BLOCKHAS_WALLFALLING   (1 << 5)
 The block has a falling wall.
#define BLOCKHAS_WALLBURNING   (1 << 6)
 The block has a burning wall.
#define BLOCKHAS_ITEM   (1 << 7)
 The block has an item of any kind.
#define BLOCKHAS_ITEMBOMB   (1 << 8)
 The block has a bomb item.
#define BLOCKHAS_ITEMFLAME   (1 << 9)
 The block has a flame item.
#define BLOCKHAS_ITEMROLLER   (1 << 10)
 The block has a roller item.
#define BLOCKHAS_ITEMSKULL   (1 << 11)
 The block has a skull item.
#define BLOCKHAS_ITEMKICK   (1 << 12)
 The block has a kick item.
#define BLOCKHAS_ITEMBURNING   (1 << 13)
 The block has a burning item.
#define BLOCKHAS_BOMB   (1 << 14)
 The block has a bomb.
#define BLOCKHAS_FLAME   (1 << 15)
 The block has a flame.
#define BLOCKHAS_EXPLOSION   (1 << 16)
 The block has a center of explosion.
#define BLOCKHAS_BOMBER   (1 << 17)
 The block has at least one bomber.
#define BLOCKHAS_BOMBERALIVE   (1 << 18)
 The block has at least one alive bomber.
#define BLOCKHAS_BOMBERDYING   (1 << 19)
 The block has at least one dying bomber.
#define BLOCKHAS_FLOORWITHMOVEEFFECT   (1 << 20)
 The block makes a bomb move.
#define BLOCKHAS_ITEMTHROW   (1 << 21)
 The block has a throw glove item (blue glove).
#define BLOCKHAS_ITEMPUNCH   (1 << 22)
 The block has a punch glove item (red glove).
#define BLOCKHAS_ITEMREMOTE   (1 << 23)
 The block has a remote fuse bomb item.
#define MAX_FLOORS   (ARENA_WIDTH * ARENA_HEIGHT)
#define MAX_WALLS   (2 * ARENA_WIDTH * ARENA_HEIGHT)
#define MAX_BOMBS   50
#define MAX_ITEMS   50
#define MAX_EXPLOSIONS   50
#define MAX_BOMBERS   MAX_PLAYERS

Typedefs

typedef int TBlockHas

Detailed Description

Header file of the arena.


Define Documentation

#define BLOCKHAS_BOMB   (1 << 14)

The block has a bomb.

#define BLOCKHAS_BOMBER   (1 << 17)

The block has at least one bomber.

#define BLOCKHAS_BOMBERALIVE   (1 << 18)

The block has at least one alive bomber.

#define BLOCKHAS_BOMBERDYING   (1 << 19)

The block has at least one dying bomber.

#define BLOCKHAS_EXPLOSION   (1 << 16)

The block has a center of explosion.

#define BLOCKHAS_FLAME   (1 << 15)

The block has a flame.

#define BLOCKHAS_FLOOR   (1 << 1)

The block has a floor.

#define BLOCKHAS_FLOORWITHMOVEEFFECT   (1 << 20)

The block makes a bomb move.

#define BLOCKHAS_ITEM   (1 << 7)

The block has an item of any kind.

#define BLOCKHAS_ITEMBOMB   (1 << 8)

The block has a bomb item.

#define BLOCKHAS_ITEMBURNING   (1 << 13)

The block has a burning item.

#define BLOCKHAS_ITEMFLAME   (1 << 9)

The block has a flame item.

#define BLOCKHAS_ITEMKICK   (1 << 12)

The block has a kick item.

#define BLOCKHAS_ITEMPUNCH   (1 << 22)

The block has a punch glove item (red glove).

#define BLOCKHAS_ITEMREMOTE   (1 << 23)

The block has a remote fuse bomb item.

#define BLOCKHAS_ITEMROLLER   (1 << 10)

The block has a roller item.

#define BLOCKHAS_ITEMSKULL   (1 << 11)

The block has a skull item.

#define BLOCKHAS_ITEMTHROW   (1 << 21)

The block has a throw glove item (blue glove).

#define BLOCKHAS_NONE   (1 << 0)

The block has nothing in it.

#define BLOCKHAS_WALL   (1 << 2)

The block has a wall of any kind.

#define BLOCKHAS_WALLBURNING   (1 << 6)

The block has a burning wall.

#define BLOCKHAS_WALLFALLING   (1 << 5)

The block has a falling wall.

#define BLOCKHAS_WALLHARD   (1 << 4)

The block has a hard wall.

#define BLOCKHAS_WALLSOFT   (1 << 3)

The block has a soft wall.

#define MAX_BOMBERS   MAX_PLAYERS

#define MAX_BOMBS   50

#define MAX_EXPLOSIONS   50

#define MAX_FLOORS   (ARENA_WIDTH * ARENA_HEIGHT)

#define MAX_ITEMS   50

#define MAX_WALLS   (2 * ARENA_WIDTH * ARENA_HEIGHT)


Typedef Documentation

typedef int TBlockHas


Generated on Sat Oct 18 12:26:38 2008 for Bombermaaan by  doxygen 1.5.5
Visit the Bombermaaan project page
SourceForge.net Logo