Daggerfall Mod:DFRemake/Resource - Objects
The UESPWiki – Your source for The Elder Scrolls since 1995
< 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 Design[edit]
RMObjects() List[edit]
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 Functions[edit]
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.