TorqueScript Reference
|
Functions | |
void | addResPath (path, [ignoreZips=false]?) |
void | dumpResources (onlyLoaded?) |
String | getModPaths () |
Boolean | isUsingVFS () |
void | purgeResources () |
void | removeResPath (pathExpression) |
void | setModPaths (path) |
void addResPath | ( | path | , |
[ignoreZips=false] ? | |||
) |
Add a path to the resource manager
void dumpResources | ( | onlyLoaded? | ) |
Use the dumpLoadedResources function to dump a listing of the currently in-use resources to the console. This will include such things as sound files, font files, etc. For this to work, the engine must have been compiled with TORQUE_DEBUG defined.
String getModPaths | ( | ) |
Use the getModPaths function to get the current mod path information.
Boolean isUsingVFS | ( | ) |
void purgeResources | ( | ) |
Use the purgeResources function to purge all game resources.
void removeResPath | ( | pathExpression | ) |
Remove a path from the resource manager. Path is an expression as in findFirstFile()
void setModPaths | ( | path | ) |
Use the setModPaths function to set the current mod path to the value specified in path.
path | A string containing a semi-colon (;) separated list of game and mod paths. |