ScummVM API documentation
Hugo::ObjectHandler_v1d Class Reference
Inheritance diagram for Hugo::ObjectHandler_v1d:
Hugo::ObjectHandler Hugo::ObjectHandler_v2d Hugo::ObjectHandler_v3d Hugo::ObjectHandler_v1w

Public Member Functions

 ObjectHandler_v1d (HugoEngine *vm)
 
void homeIn (const int objIndex1, const int objIndex2, const int8 objDx, const int8 objDy) override
 
void moveObjects () override
 
void updateImages () override
 
void swapImages (int objIndex1, int objIndex2) override
 
- Public Member Functions inherited from Hugo::ObjectHandler
 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)
 
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)
 

Additional Inherited Members

- Static Public Member Functions inherited from Hugo::ObjectHandler
static int y2comp (const void *a, const void *b)
 
- Public Attributes inherited from Hugo::ObjectHandler
Overlay _objBound
 
Overlay _boundary
 
Overlay _overlay
 
Overlay _ovlBase
 
Object_objects
 
uint16 _numObj
 
- Protected Member Functions inherited from Hugo::ObjectHandler
void restoreSeq (Object *obj)
 
bool checkBoundary (int16 x, int16 y)
 
template<typename T >
int sign (T a)
 
- Protected Attributes inherited from Hugo::ObjectHandler
HugoEngine_vm
 
uint16 _objCount
 
Uses_uses
 
uint16 _usesSize
 
- Static Protected Attributes inherited from Hugo::ObjectHandler
static const int kEdge = 10
 
static const int kEdge2 = kEdge * 2
 
static const int kMaxObjNumb = 128
 

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