Logo Search packages:      
Sourcecode: scummvm version File versions  Download package

Public Types | Public Member Functions | Protected Member Functions | Protected Attributes

Agi::WagFileParser Class Reference

#include <wagparser.h>

Collaboration diagram for Agi::WagFileParser:
Collaboration graph
[legend]

List of all members.

Public Types

enum  { WINAGI_VERSION_LENGTH = 16 }
typedef Common::Array
< WagProperty
PropertyList
 A type definition for an array of *.wag file properties.

Public Member Functions

bool checkAgiVersionProperty (const WagProperty &version) const
uint16 convertToAgiVersionNumber (const WagProperty &version)
const PropertyListgetProperties () const
const WagPropertygetProperty (const WagProperty::WagPropertyCode code) const
bool parse (const Common::FSNode &node)
bool parsedOk () const
 WagFileParser ()
 ~WagFileParser ()

Protected Member Functions

bool checkWagVersion (Common::SeekableReadStream &stream)
bool endOfProperties (const Common::SeekableReadStream &stream) const

Protected Attributes

bool _parsedOk
 Did the parsing of the file go ok?
PropertyList _propList
 List of loaded properties from the file.

Detailed Description

Class for parsing *.wag files created by WinAGI. Using this class you can get information about fanmade AGI games if they have provided a *.wag file with them.

Definition at line 201 of file wagparser.h.


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

Generated by  Doxygen 1.6.0   Back to index