|
| ObjectHandler (HugoEngine *vm) |
|
byte | getBoundaryOverlay (uint16 index) const |
|
byte | getObjectBoundary (uint16 index) const |
|
byte | getBaseBoundary (uint16 index) const |
|
byte | getFirstOverlay (uint16 index) const |
|
int | deltaX (const int x1, const int x2, const int vx, int y) const |
|
int | deltaY (const int x1, const int x2, const int vy, const int y) const |
|
void | boundaryCollision (Object *obj) |
|
void | clearBoundary (const int x1, const int x2, const int y) |
|
void | clearScreenBoundary (const int x1, const int x2, const int y) |
|
void | storeBoundary (const int x1, const int x2, const int y) |
|
virtual void | homeIn (const int objIndex1, const int objIndex2, const int8 objDx, const int8 objDy)=0 |
|
virtual void | moveObjects ()=0 |
|
virtual void | updateImages ()=0 |
|
virtual void | swapImages (int objIndex1, int objIndex2)=0 |
|
bool | isCarrying (uint16 wordIndex) |
|
bool | findObjectSpace (Object *obj, int16 *destx, int16 *desty) |
|
int | calcMaxScore () |
|
int16 | findObject (uint16 x, uint16 y) |
|
void | freeObjects () |
|
void | loadObjectArr (Common::ReadStream &in) |
|
void | loadObjectUses (Common::ReadStream &in) |
|
void | loadNumObj (Common::ReadStream &in) |
|
void | lookObject (Object *obj) |
|
void | readObjectImages () |
|
void | readObject (Common::ReadStream &in, Object &curObject) |
|
void | readUse (Common::ReadStream &in, Uses &curUse) |
|
void | restoreAllSeq () |
|
void | restoreObjects (Common::SeekableReadStream *in) |
|
void | saveObjects (Common::WriteStream *out) |
|
void | saveSeq (Object *obj) |
|
void | setCarriedScreen (int screenNum) |
|
void | showTakeables () |
|
void | useObject (int16 objId) |
|
bool | isCarried (int objIndex) const |
|
void | setCarry (int objIndex, bool val) |
|
void | setVelocity (int objIndex, int8 vx, int8 vy) |
|
void | setPath (int objIndex, Path pathType, int16 vxPath, int16 vyPath) |
|