Planeshift
Enumerations

psMiniGame Namespace Reference

Globals for minigames. More...

Enumerations

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

Minigame options.

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

Minigame tile state values.

More...

Detailed Description

Globals for minigames.


Enumeration Type Documentation

Minigame options.

Enumerator:
MANAGED_GAME 

A game managed by the server.

BLACK_PIECES 

Player with black pieces.

READ_ONLY 

The game is read-only (for watchers).

PERSONAL_GAME 

The game is personal & private.

BLACK_SQUARE 

Top left/all squares Black. Else white.

PLAIN_SQUARES 

Board squares all plain. Else checked.

DISALLOWED_MOVE 

Last move disallowed.

OBSERVE_ENDGAME 

observe endgame play

OPTION_PLACE_ONLY 

don't pick up pieces

Definition at line 40 of file minigame.h.

Minigame tile state values.

Enumerator:
EMPTY_TILE 

An empty game tile.

WHITE_1 

White regular game piece.

WHITE_2 
WHITE_3 
WHITE_4 
WHITE_5 
WHITE_6 
WHITE_7 
BLACK_1 

Black regular game piece.

BLACK_2 
BLACK_3 
BLACK_4 
BLACK_5 
BLACK_6 
BLACK_7 
DISABLED_TILE 

Disable game tile.

Definition at line 54 of file minigame.h.