QcMapMarker Struct
A player or an item frame shown on a map (decisions E-803, E-808): where, in half pixels from the map's middle (-128 at the west or north edge, 127 at the east or south edge), and which way the player looks or the frame faces, in sixteenths of a full turn clockwise from north. More...
| Header: | #include <common/maps/QcMapMarker.h> |
Public Variables
Static Public Members
| const int | maxCount |
Detailed Description
A player off the map stands at the edge as a dot (onMap false) like in the reference, so the holder sees where the map lies.
Member Variable Documentation
bool QcMapMarker::frame
An item frame that shows this map (drawn green; the only markers a framed map shows).
const int QcMapMarker::maxCount
How many markers one map shows at most; more players are left out.
bool QcMapMarker::onMap
False for a player off the map, shown at the edge as a dot.
bool QcMapMarker::own
The marker of the player who receives it.
quint8 QcMapMarker::rotation
Which way it looks or faces, in sixteenths of a turn clockwise from north.
qint8 QcMapMarker::x
East-west place in half pixels from the map's middle.
qint8 QcMapMarker::z
North-south place in half pixels from the map's middle.