ScummVM API documentation
Ultima::Ultima8::GameInfo Struct Reference

GameInfo contains detailed information about the game. More...

#include <game_info.h>

Public Types

enum  GameType { GAME_UNKNOWN = 0, GAME_U8, GAME_REMORSE, GAME_REGRET }
 
enum  GameUsecodeOffsetVariant {
  GAME_UC_DEFAULT, GAME_UC_ORIG, GAME_UC_DEMO, GAME_UC_REM_ES,
  GAME_UC_REM_FR, GAME_UC_REM_JA, GAME_UC_REG_DE
}
 
enum  GameLanguage {
  GAMELANG_UNKNOWN = 0, GAMELANG_ENGLISH, GAMELANG_FRENCH, GAMELANG_GERMAN,
  GAMELANG_SPANISH, GAMELANG_JAPANESE
}
 

Public Member Functions

char getLanguageFileLetter () const
 
char getLanguageUsecodeLetter () const
 
Std::string getLanguage () const
 
Std::string getGameTitle () const
 
Std::string getPrintableVersion () const
 
Std::string getPrintDetails () const
 
Std::string getPrintableMD5 () const
 
bool match (GameInfo &other, bool ignoreMD5=false) const
 
void save (Common::WriteStream *ws)
 
bool load (Common::SeekableReadStream *rs, uint32)
 

Public Attributes

Std::string _name
 
enum Ultima::Ultima8::GameInfo::GameType _type
 
enum Ultima::Ultima8::GameInfo::GameUsecodeOffsetVariant _ucOffVariant
 
int version
 
enum Ultima::Ultima8::GameInfo::GameLanguage _language
 
uint8 _md5 [16]
 

Detailed Description

GameInfo contains detailed information about the game.

Member Data Documentation

◆ version

int Ultima::Ultima8::GameInfo::version

version number, encoded as 100*major + minor so, 2.12 becomes 212 0 = unknown


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