C4 Engine
C4 Engine API Documentation

class GenericResourceCatalog

Defined in:  C4Resources.h
Represents a generic resource repository.

class GenericResourceCatalog : public ResourceCatalog

Member Functions
GenericResourceCatalog::GetResourcePath Returns the path to a resource file.

GenericResourceCatalog(const char *root);

root The path to the root of the directory tree.
The GenericResourceCatalog class represents a resource repository consisting of all the individual files inside the root directory given by the root parameter. The names of resources inside a generic resource catalog are the complete path inside this directory, beginning with the first directory name beneath the root directory.
Base Classes
ResourceCatalog A GenericResourceCatalog is a specialized ResourceCatalog.
See Also