#include <state.h>
|
|
static Direction | findDirection (uint16 state) |
| |
|
static StateTalk | findTalk (uint16 state) |
| |
|
static StateGrab | findGrab (uint16 state) |
| |
|
static StateOn | findOn (uint16 state) |
| |
|
static Verb | findDefaultVerb (uint16 state) |
| |
|
static StateUse | findUse (uint16 state) |
| |
|
static void | alterOn (uint16 *objState, StateOn state) |
| |
|
static void | alterDefaultVerb (uint16 *objState, Verb v) |
| |
Each object/item in game has a state field. (refer to ObjectData and ItemData).
| Name | Bits | Description |
| USE | 10 | Use |
| TALK | 9 | Talk |
| ON | 8 | On/Off |
| DEF | 7,6,5,4 | Default verb command |
| DIR | 3,2 | Direction to face for the object |
| GRAB | 1,0 | Grab Direction |
The documentation for this struct was generated from the following file: