ScummVM API documentation
Hugo::FileManager Class Referenceabstract
Inheritance diagram for Hugo::FileManager:
Hugo::FileManager_v1d Hugo::FileManager_v2d Hugo::FileManager_v2w Hugo::FileManager_v3d Hugo::FileManager_v1w

Classes

struct  PCCHeader
 
struct  SceneBlock
 

Public Member Functions

 FileManager (HugoEngine *vm)
 
SoundPtr getSound (const int16 sound, uint16 *size)
 
void readBootFile ()
 
void readImage (const int objNum, Object *objPtr)
 
void readUIFImages ()
 
void readUIFItem (const int16 id, byte *buf)
 
bool restoreGame (const int16 slot)
 
bool saveGame (const int16 slot, const Common::String &descrip)
 
const char * getBootFilename () const
 
const char * getObjectFilename () const
 
const char * getSceneryFilename () const
 
const char * getSoundFilename () const
 
const char * getStringFilename () const
 
const char * getUifFilename () const
 
virtual void openDatabaseFiles ()=0
 
virtual void closeDatabaseFiles ()=0
 
virtual void instructions () const =0
 
virtual void readBackground (const int screenIndex)=0
 
virtual void readOverlay (const int screenNum, ImagePtr image, OvlType overlayType)=0
 
virtual const char * fetchString (const int index)=0
 

Protected Member Functions

SeqreadPCX (Common::SeekableReadStream &f, Seq *seqPtr, byte *imagePtr, const bool firstFl, const char *name)
 

Protected Attributes

HugoEngine_vm
 
bool _firstUIFFl
 
UifHdr _UIFHeader [kMaxUifs]
 
Common::File _stringArchive
 
Common::File _sceneryArchive1
 
Common::File _objectsArchive
 
bool _hasReadHeader
 
SoundHdr _soundHdr [kMaxSounds]
 

Static Protected Attributes

static const int kMaxUifs = 32
 
static const int kMaxSounds = 64
 
static const int kRepeatMask = 0xC0
 
static const int kLengthMask = 0x3F
 
static const int kNumColors = 16
 

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