dao::world::groups

The collision groups a ray can be tested against.

Declared in dao/World.h.

Variables

kCreatureBodies

constexpr std::uint32_t kCreatureBodies = 0x10

A creature’s body. The game counts a hit on it as neither an object nor the ground.

kCursor

constexpr std::uint32_t kCursor = 0x2607

The mask the cursor uses to find what is under it.

kGround

constexpr std::uint32_t kGround = 0x8 | 0x20

The area’s ground: walkmesh and terrain.

kNotWalkable

constexpr std::uint32_t kNotWalkable = 0x01000000

Ground that cannot be walked on. Explore mode refuses to move the party there.

kObjects

constexpr std::uint32_t kObjects = 0x1 | 0x2 | 0x4 | 0x20000

Objects: creatures, placeables and the like.

kPlaceables

constexpr std::uint32_t kPlaceables = 0x4

Placeables.

kSelection

constexpr std::uint32_t kSelection = 0x20000

The larger volume around an object that the cursor selects it by, in addition to its body.

kSight

constexpr std::uint32_t kSight = 0x24

The mask of the game’s line-of-sight test: placeables and one of the ground bits (0x20).