ScummVM API documentation
Ultima::Ultima8::ObjectManager Class Reference

Public Member Functions

void reset ()
 
uint16 assignObjId (Object *obj, ObjId id=0xFFFF)
 
uint16 assignActorObjId (Actor *obj, ObjId id=0xFFFF)
 
bool reserveObjId (ObjId objid)
 
void clearObjId (ObjId objid)
 
ObjectgetObject (ObjId objid) const
 
void allow64kObjects ()
 
void objectStats ()
 
void objectTypes ()
 
void save (Common::WriteStream *ws)
 
bool load (Common::ReadStream *rs, uint32 version)
 
void saveObject (Common::WriteStream *ws, Object *obj) const
 
ObjectloadObject (Common::ReadStream *rs, uint32 version)
 

Static Public Member Functions

static ObjectManagerget_instance ()
 

Public Attributes

Std::vector< Object * > _objects
 
idMan_objIDs
 
idMan_actorIDs
 

Member Function Documentation

◆ allow64kObjects()

void Ultima::Ultima8::ObjectManager::allow64kObjects ( )

increase the maximum allowed object ID Note: this shouldn't be used in normal circumstances. It exists for dumpMap currently. If that is rewritten not to need more than 32768 object IDs, this function should be deleted.


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