COptions.h File Reference

Header file for the game options. More...

#include "CDisplay.h"
#include "CItem.h"
#include "../third-party/tinyxml/tinyxml.h"

Include dependency graph for COptions.h:


Classes

class  COptions
 Contains every option in the game and manages the configuration file. More...

Defines

#define MAX_PLAYER_INPUT   10
#define NUM_CONTROLS   6
#define CONTROL_UP   0
#define CONTROL_DOWN   1
#define CONTROL_LEFT   2
#define CONTROL_RIGHT   3
#define CONTROL_ACTION1   4
#define CONTROL_ACTION2   5

Enumerations

enum  EBomberType { BOMBERTYPE_OFF, BOMBERTYPE_MAN, BOMBERTYPE_COM, BOMBERTYPE_NET }
 Describes the type of a bomber. More...
enum  EBlockType {
  BLOCKTYPE_HARDWALL, BLOCKTYPE_RANDOM, BLOCKTYPE_FREE, BLOCKTYPE_WHITEBOMBER,
  BLOCKTYPE_BLACKBOMBER, BLOCKTYPE_REDBOMBER, BLOCKTYPE_BLUEBOMBER, BLOCKTYPE_GREENBOMBER,
  BLOCKTYPE_MOVEBOMB_RIGHT, BLOCKTYPE_MOVEBOMB_DOWN, BLOCKTYPE_MOVEBOMB_LEFT, BLOCKTYPE_MOVEBOMB_UP
}
enum  EBomberSkills {
  BOMBERSKILL_DUMMYFIRST, BOMBERSKILL_FLAME, BOMBERSKILL_BOMBS, BOMBERSKILL_BOMBITEMS,
  BOMBERSKILL_FLAMEITEMS, BOMBERSKILL_ROLLERITEMS, BOMBERSKILL_KICKITEMS, BOMBERSKILL_THROWITEMS,
  BOMBERSKILL_PUNCHITEMS, BOMBERSKILL_REMOTEITEMS, NUMBER_OF_BOMBERSKILLS
}

Detailed Description

Header file for the game options.


Define Documentation

#define CONTROL_ACTION1   4

#define CONTROL_ACTION2   5

#define CONTROL_DOWN   1

#define CONTROL_LEFT   2

#define CONTROL_RIGHT   3

#define CONTROL_UP   0

#define MAX_PLAYER_INPUT   10

#define NUM_CONTROLS   6


Enumeration Type Documentation

enum EBlockType

Enumerator:
BLOCKTYPE_HARDWALL  There must be a hard wall here.
BLOCKTYPE_RANDOM  There must be either a soft wall, or a free place here (random).
BLOCKTYPE_FREE  There must be a free place here.
BLOCKTYPE_WHITEBOMBER  The white bomber must start here.
BLOCKTYPE_BLACKBOMBER  The black bomber must start here.
BLOCKTYPE_REDBOMBER  The red bomber must start here.
BLOCKTYPE_BLUEBOMBER  The blue bomber must start here.
BLOCKTYPE_GREENBOMBER  The green bomber must start here.
BLOCKTYPE_MOVEBOMB_RIGHT  A bomb starts moving right if placed here.
BLOCKTYPE_MOVEBOMB_DOWN  A bomb starts moving down if placed here.
BLOCKTYPE_MOVEBOMB_LEFT  A bomb starts moving left if placed here.
BLOCKTYPE_MOVEBOMB_UP  A bomb starts moving up if placed here.

Enumerator:
BOMBERSKILL_DUMMYFIRST 
BOMBERSKILL_FLAME 
BOMBERSKILL_BOMBS 
BOMBERSKILL_BOMBITEMS 
BOMBERSKILL_FLAMEITEMS 
BOMBERSKILL_ROLLERITEMS 
BOMBERSKILL_KICKITEMS 
BOMBERSKILL_THROWITEMS 
BOMBERSKILL_PUNCHITEMS 
BOMBERSKILL_REMOTEITEMS 
NUMBER_OF_BOMBERSKILLS 

Describes the type of a bomber.

Enumerator:
BOMBERTYPE_OFF  The bomber is not playing.
BOMBERTYPE_MAN  The bomber is controlled by a local human player.
BOMBERTYPE_COM  The bomber is controlled by the computer.
BOMBERTYPE_NET  The bomber is controlled by a human player on the network.


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