ScummVM API documentation
Ultima::Ultima8::PositionInfo Struct Reference

#include <position_info.h>

Public Attributes

bool valid
 
bool supported
 
const Itemland
 
const Itemroof
 
const Itemblocker
 

Detailed Description

Position information for a desired target box for an item. The position is valid when the target box does not collide with any solid items.

Land is set to the item with the highest z coordinate under the target box, or null if there is no land below box.

Roof is set to the item with the lowest z coordinate over the target box, or null if there is no roof above box.

Blocker is set to an item blocking the target box, or null if there is no such item.

Supported is true if the land is appropriate to support the item when at the target.


The documentation for this struct was generated from the following file: