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) |
Object * | getObject (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 |
Object * | loadObject (Common::ReadStream *rs, uint32 version) |
Static Public Member Functions | |
static ObjectManager * | get_instance () |
Public Attributes | |
Std::vector< Object * > | _objects |
idMan * | _objIDs |
idMan * | _actorIDs |
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.