Daggerfall Mod:DFRemake/Resource - Objects
< Mod / Daggerfall: Daggerfall Mod: DFRemake(Redirected from Daggerfall:DFRemake/Resource - Objects)This page describes the part of the Resource Manager dedicated to loading and caching 3d objects (arch3d.bsa).
General DesignEdit
RMObjects() ListEdit
RMObjects() is a global list containing all the currently cached objects. The list should only be accessed read only for object info (don't manually write data in the list unless you are familiar with things). Use the available functions for adding/removing objects from the cache.
Public FunctionsEdit
The following are the publicly available object resource manager functions can be used.
- RMInitObjects : Initializes the object part of the resource manager.
- RMDestroyObjects : Destroys the object part of the resource manager.
- RMClearObjectCache : Deletes all regular objects currently in the cache.
- RMGetFreeObjectID : Returns the next available object ID.
- RMGetFreeMeshID : Returns the next available mesh ID.
- RMGet3dObject : Access/load an object record.
- RMGet3dObjectInstance : Create an instance of the given object.
- RMGet3dObjectCopy : Create a new copy of the given object.
- RMDumpObjects : Outputs info about all objects in the cache to the log file.
- RMDereferenceObject : Decreases the reference count of the given object.