Public Member Functions | |
AgiLoader (AgiEngine *vm) | |
virtual void | init () |
virtual int | loadDirs ()=0 |
virtual uint8 * | loadVolumeResource (AgiDir *agid)=0 |
virtual int | loadObjects ()=0 |
virtual int | loadWords ()=0 |
Protected Types | |
typedef Common::HashMap< Common::Path, Common::FSNode, Common::Path::IgnoreCase_Hash, Common::Path::IgnoreCase_EqualTo > | FileMap |
Static Protected Member Functions | |
static void | getPotentialDiskImages (const char *const *imageExtensions, size_t imageExtensionCount, Common::Array< Common::Path > &imageFiles, FileMap &fileMap) |
Protected Attributes | |
AgiEngine * | _vm |
|
inlinevirtual |
Performs one-time initializations, such as locating files with dynamic names.
Reimplemented in Agi::GalLoader_A2, Agi::GalLoader, Agi::AgiLoader_v3, Agi::AgiLoader_v1, and Agi::AgiLoader_A2.
|
pure virtual |
Loads all AGI directory entries from disk and and populates the AgiDir arrays in AgiGame with them.
Implemented in Agi::GalLoader_A2, Agi::GalLoader, Agi::AgiLoader_v3, Agi::AgiLoader_v2, Agi::AgiLoader_v1, and Agi::AgiLoader_A2.
|
pure virtual |
Loads a volume resource from disk.
Implemented in Agi::GalLoader_A2, Agi::GalLoader, Agi::AgiLoader_v3, Agi::AgiLoader_v2, Agi::AgiLoader_v1, and Agi::AgiLoader_A2.
|
pure virtual |
Loads AgiEngine::_objects from disk.
Implemented in Agi::GalLoader_A2, Agi::GalLoader, Agi::AgiLoader_v3, Agi::AgiLoader_v2, Agi::AgiLoader_v1, and Agi::AgiLoader_A2.
|
pure virtual |
Loads AgiBase::_words from disk.
Implemented in Agi::GalLoader_A2, Agi::GalLoader, Agi::AgiLoader_v3, Agi::AgiLoader_v2, Agi::AgiLoader_v1, and Agi::AgiLoader_A2.