ScummVM API documentation
Agi::AgiLoader Class Referenceabstract
Inheritance diagram for Agi::AgiLoader:
Agi::AgiLoader_A2 Agi::AgiLoader_v1 Agi::AgiLoader_v2 Agi::AgiLoader_v3

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 Attributes

AgiEngine_vm
 

Member Function Documentation

◆ init()

virtual void Agi::AgiLoader::init ( )
inlinevirtual

Performs one-time initializations, such as locating files with dynamic names.

Reimplemented in Agi::AgiLoader_v3, Agi::AgiLoader_v1, and Agi::AgiLoader_A2.

◆ loadDirs()

virtual int Agi::AgiLoader::loadDirs ( )
pure virtual

Loads all AGI directory entries from disk and and populates the AgiDir arrays in AgiGame with them.

Implemented in Agi::AgiLoader_v3, Agi::AgiLoader_v2, Agi::AgiLoader_v1, and Agi::AgiLoader_A2.

◆ loadVolumeResource()

virtual uint8* Agi::AgiLoader::loadVolumeResource ( AgiDir agid)
pure virtual

Loads a volume resource from disk.

Implemented in Agi::AgiLoader_v3, Agi::AgiLoader_v2, Agi::AgiLoader_v1, and Agi::AgiLoader_A2.

◆ loadObjects()

virtual int Agi::AgiLoader::loadObjects ( )
pure virtual

Loads AgiEngine::_objects from disk.

Implemented in Agi::AgiLoader_v3, Agi::AgiLoader_v2, Agi::AgiLoader_v1, and Agi::AgiLoader_A2.

◆ loadWords()

virtual int Agi::AgiLoader::loadWords ( )
pure virtual

Loads AgiBase::_words from disk.

Implemented in Agi::AgiLoader_v3, Agi::AgiLoader_v2, Agi::AgiLoader_v1, and Agi::AgiLoader_A2.


The documentation for this class was generated from the following file: