22 #ifndef ULTIMA8_KERNEL_OBJECTMANAGER_H 23 #define ULTIMA8_KERNEL_OBJECTMANAGER_H 25 #include "ultima/shared/std/string.h" 26 #include "ultima/shared/std/containers.h" 27 #include "ultima/ultima8/misc/common_types.h" 44 return _objectManager;
49 uint16 assignObjId(
Object *obj, ObjId
id = 0xFFFF);
50 uint16 assignActorObjId(
Actor *obj, ObjId
id = 0xFFFF);
51 bool reserveObjId(ObjId objid);
52 void clearObjId(ObjId objid);
53 Object *getObject(ObjId objid)
const;
81 void addObjectLoader(
Std::string classname, ObjectLoadFunc func) {
82 _objectLoaders[classname] = func;
Definition: object_manager.h:38
Definition: detection.h:27
Definition: containers.h:38