22 #ifndef AGI_WAGPARSER_H 23 #define AGI_WAGPARSER_H 55 PC_VOCABWORDDESC = 160,
216 WINAGI_VERSION_LENGTH = 16
274 bool checkAgiVersionProperty(
const WagProperty &version)
const;
281 uint16 convertToAgiVersionNumber(
const WagProperty &version);
312 #endif // AGI_WAGPARSER_H void setPropCode(WagPropertyCode propCode)
Game description (WinAGI 1.1.21 limits these to 4096 bytes)
Definition: wagparser.h:44
bool _readOk
Was the property read ok from the source stream?
Definition: wagparser.h:199
Game executable.
Definition: wagparser.h:51
void deepCopy(const WagProperty &other)
const PropertyList & getProperties() const
Definition: wagparser.h:253
WagPropertyType
Definition: wagparser.h:69
uint16 _propSize
Property's size (Part of the property's header)
Definition: wagparser.h:203
PropertyList _propList
List of loaded properties from the file.
Definition: wagparser.h:306
Last edit date.
Definition: wagparser.h:48
byte _propNum
Property number (Part of the property's header)
Definition: wagparser.h:202
Definition: wagparser.h:37
bool parsedOk() const
Definition: wagparser.h:287
Common::Array< WagProperty > PropertyList
A type definition for an array of *.wag file properties.
Definition: wagparser.h:218
An undefined property code (Added for ScummVM).
Definition: wagparser.h:62
Default syntax.
Definition: wagparser.h:53
char * _propData
The property's data (Plus a trailing zero for C-style string access)
Definition: wagparser.h:204
Game ID.
Definition: wagparser.h:46
bool readOk() const
Definition: wagparser.h:152
enum WagPropertyType getType() const
Definition: wagparser.h:164
WagProperty & operator=(const WagProperty &other)
byte getNumber() const
Definition: wagparser.h:170
WagPropertyCode
Definition: wagparser.h:43
bool read(Common::SeekableReadStream &stream)
enum WagPropertyCode _propCode
Property code (Part of the property's header)
Definition: wagparser.h:200
void setPropDataSize(Common::String str)
Resource directory name.
Definition: wagparser.h:52
About game (WinAGI 1.1.21 limits these to 4096 bytes)
Definition: wagparser.h:50
Game version (WinAGI 1.1.21 limits these to 256 bytes)
Definition: wagparser.h:49
An undefined property type (Added for ScummVM).
Definition: wagparser.h:89
Definition: ini-file.h:58
const char * getData() const
Definition: wagparser.h:183
uint16 getSize() const
Definition: wagparser.h:176
Game author (WinAGI 1.1.21 limits these to 256 bytes)
Definition: wagparser.h:45
Interpreter version (WinAGI 1.1.21 defaults to version 2.917)
Definition: wagparser.h:47
enum WagPropertyType _propType
Property type (Part of the property's header)
Definition: wagparser.h:201
bool _parsedOk
Did the parsing of the file go ok?
Definition: wagparser.h:307
Definition: wagparser.h:212
enum WagPropertyCode getCode() const
Definition: wagparser.h:158