ScummVM API documentation
Saga::Resource Class Referenceabstract
Inheritance diagram for Saga::Resource:
Saga::Resource_RSC

Public Member Functions

 Resource (SagaEngine *vm)
 
bool createContexts ()
 
void clearContexts ()
 
void loadResource (ResourceContext *context, uint32 resourceId, ByteArray &resourceBuffer)
 
virtual uint32 convertResourceId (uint32 resourceId)=0
 
virtual void loadGlobalResources (int chapter, int actorsEntrance)=0
 
ResourceContextgetContext (uint16 fileType, int serial=0)
 
virtual MetaResourcegetMetaResource ()=0
 

Protected Member Functions

void addContext (const char *fileName, uint16 fileType, bool isCompressed=false, int serial=0)
 
virtual ResourceContextcreateContext ()=0
 

Protected Attributes

SagaEngine_vm
 
ResourceContextList _contexts
 
char _voicesFileName [8][256]
 
char _musicFileName [256]
 
char _soundFileName [256]
 

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