![]() TGE Version 1.5.2 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ResManager Class Reference#include <resManager.h>
Detailed DescriptionA virtual file system for the storage and retrieval of ResourceObjects.Basic resource manager behavior:
All classes which wish to be handled by the resource manager need:
Constructor & Destructor Documentation
Member Function Documentation
Scan a zip file for resources.
Create a ResourceObject from the given file.
Create a ResourceObject from the given file in a zip file.
Called when a file is missing.
Load the excluded directories from the resource manager pref and stuff it into the platform layer.
Sets whether or not to echo filenames that have been accessed by means of openStream.
Sets the path for the current game mod.
Gets the path for the current game mod.
Should we log missing files?
Gets which files are missing.
Clears the missing file list.
Tells the resource manager what to do with a resource that it loads.
Gets the size of the file.
Gets the full path of the file.
Gets the path of the file local to the mod.
Gets the path of the file from the base directory.
Gets the base path.
loads an instance of an object
Opens a stream for an object.
Opens a stream for an object.
Decrements the lock count of an object. If the lock count is zero post-decrement, the object is added to the timeoutList for deletion upon call of flush.
Add a new resource instance.
Searches the hash list for the filename and returns it's object if found, otherwise NULL.
Loads a new instance of an object by means of a filename.
Loads a new instance of an object by means of a resource object.
Searches the hash list for the filename and returns it's object if found, otherwise NULL.
Finds a resource object with given expression.
Finds a resource object with given expressions, seperated by " ".
Goes through the timeoutList and deletes it all. BURN!!!
Deletes one resource object.
Frees a resource!
Checks to see if a file exists.
Computes the CRC of a file. By passing a different crcInitialVal, you can take the CRC of multiple files.
Sets the writable path for a file to the one given.
Checks to see if the given path is valid for writing.
Opens a file for writing!
Dumps all loaded resources to the console.
Field Documentation
Path to which we will write data. This is used when, for instance, we download files from a server.
Primary path from which we load data.
List of secondary paths to search.
List of missing files.
Are there any missing files?
|