24 #ifndef SAGA_OBJECTMAP_H 25 #define SAGA_OBJECTMAP_H 37 int getIndex()
const {
40 int getNameIndex()
const {
43 int getSceneNumber()
const {
46 int getActorsEntrance()
const {
49 int getScriptNumber()
const {
52 int getRightButtonVerb()
const {
53 return _rightButtonVerb;
55 int getFlags()
const {
58 void setFlag(HitZoneFlags flag) {
61 void clearFlag(HitZoneFlags flag) {
64 int getDirection()
const {
65 return ((_flags >> 4) & 0xF);
67 uint16 getHitZoneId()
const {
68 return objectIndexToId(kGameObjectHitZone, _index);
70 uint16 getStepZoneId()
const {
71 return objectIndexToId(kGameObjectStepZone, _index);
73 bool getSpecialPoint(
Point &specialPoint)
const;
77 bool hitTest(
const Point &testPoint);
86 ClickAreas _clickAreas;
98 void draw(
const Point& testPoint,
int color,
int color2);
100 int hitTest(
const Point& testPoint);
101 HitZone *getHitZone(int16 index) {
102 if (uint(index) >= _hitZoneList.size()) {
105 return &_hitZoneList[index];
113 HitZoneArray _hitZoneList;
Definition: objectmap.h:30
Definition: memstream.h:103
Definition: objectmap.h:91