ManaPlus
Enumerations
BlockMask Namespace Reference

Enumerations

enum  BlockMask {
  WALL = 0x80, AIR = 0x04, WATER = 0x08, GROUND = 0x10,
  GROUNDTOP = 0x20, PLAYERWALL = 0x40, MONSTERWALL = 0x02
}
 

Enumeration Type Documentation

◆ BlockMask

Enumerator
WALL 
AIR 
WATER 
GROUND 
GROUNDTOP 
PLAYERWALL 
MONSTERWALL 

Definition at line 28 of file blockmask.h.

29  {
30  WALL = 0x80, // 1000 0000
31  AIR = 0x04, // 0000 0100
32  WATER = 0x08, // 0000 1000
33  GROUND = 0x10, // 0001 0000
34  GROUNDTOP = 0x20, // 0010 0000
35  PLAYERWALL = 0x40, // 0100 0000
36  MONSTERWALL = 0x02 // 0000 0010
37  };
BlockMask::WATER
@ WATER
Definition: blockmask.h:32
BlockMask::GROUND
@ GROUND
Definition: blockmask.h:33
BlockMask::MONSTERWALL
@ MONSTERWALL
Definition: blockmask.h:36
BlockMask::WALL
@ WALL
Definition: blockmask.h:30
BlockMask::PLAYERWALL
@ PLAYERWALL
Definition: blockmask.h:35
BlockMask::AIR
@ AIR
Definition: blockmask.h:31
BlockMask::GROUNDTOP
@ GROUNDTOP
Definition: blockmask.h:34