Planeshift
Namespaces | Defines | Enumerations

minigame.h File Reference

Go to the source code of this file.

Namespaces

namespace  psMiniGame
 

Globals for minigames.


Defines

#define GAMEBOARD_MAX_COLS   16
#define GAMEBOARD_MAX_ROWS   16
#define GAMEBOARD_MIN_COLS   1
 Game board limits.
#define GAMEBOARD_MIN_ROWS   1

Enumerations

enum  psMiniGame::GameOptions {
  psMiniGame::MANAGED_GAME = 0x01, psMiniGame::BLACK_PIECES = 0x02, psMiniGame::READ_ONLY = 0x04, psMiniGame::PERSONAL_GAME = 0x08,
  psMiniGame::BLACK_SQUARE = 0x10, psMiniGame::PLAIN_SQUARES = 0x20, psMiniGame::DISALLOWED_MOVE = 0x40, psMiniGame::OBSERVE_ENDGAME = 0x80,
  psMiniGame::OPTION_PLACE_ONLY = 0x8000
}
 

Minigame options.

More...
enum  psMiniGame::TileStates {
  psMiniGame::EMPTY_TILE = 0, psMiniGame::WHITE_1 = 1, psMiniGame::WHITE_2, psMiniGame::WHITE_3,
  psMiniGame::WHITE_4, psMiniGame::WHITE_5, psMiniGame::WHITE_6, psMiniGame::WHITE_7,
  psMiniGame::BLACK_1 = 8, psMiniGame::BLACK_2, psMiniGame::BLACK_3, psMiniGame::BLACK_4,
  psMiniGame::BLACK_5, psMiniGame::BLACK_6, psMiniGame::BLACK_7, psMiniGame::DISABLED_TILE = 15
}
 

Minigame tile state values.

More...

Define Documentation

#define GAMEBOARD_MAX_COLS   16

Definition at line 35 of file minigame.h.

#define GAMEBOARD_MAX_ROWS   16

Definition at line 37 of file minigame.h.

#define GAMEBOARD_MIN_COLS   1

Game board limits.

Definition at line 34 of file minigame.h.

#define GAMEBOARD_MIN_ROWS   1

Definition at line 36 of file minigame.h.