ScummVM API documentation
AGS3::GameSetupStruct Struct Reference
Inheritance diagram for AGS3::GameSetupStruct:
AGS3::GameSetupStructBase

Public Member Functions

int GetColorDepth () const
 
 GameSetupStruct (GameSetupStruct &&gss)=default
 
GameSetupStructoperator= (GameSetupStruct &&gss)=default
 
void Free ()
 
void read_savegame_info (Shared::Stream *in, GameDataVersion data_ver)
 
void read_font_infos (Shared::Stream *in, GameDataVersion data_ver)
 
HGameFileError read_cursors (Shared::Stream *in)
 
void read_interaction_scripts (Shared::Stream *in, GameDataVersion data_ver)
 
void read_words_dictionary (Shared::Stream *in)
 
void ReadInvInfo (Shared::Stream *in)
 
void WriteInvInfo (Shared::Stream *out)
 
void ReadMouseCursors (Shared::Stream *in)
 
void WriteMouseCursors (Shared::Stream *out)
 
void read_characters (Shared::Stream *in)
 
void read_lipsync (Shared::Stream *in, GameDataVersion data_ver)
 
void read_messages (Shared::Stream *in, const std::array< int32_t > &load_messages, GameDataVersion data_ver)
 
void ReadCharacters (Shared::Stream *in)
 
void WriteCharacters (Shared::Stream *out)
 
HGameFileError read_customprops (Shared::Stream *in, GameDataVersion data_ver)
 
HGameFileError read_audio (Shared::Stream *in, GameDataVersion data_ver)
 
void read_room_names (Shared::Stream *in, GameDataVersion data_ver)
 
void ReadAudioClips (Shared::Stream *in, size_t count)
 
void ReadFromSaveGame_v321 (Shared::Stream *in)
 
void ReadFromSavegame (Shared::Stream *in)
 
void WriteForSavegame (Shared::Stream *out)
 
- Public Member Functions inherited from AGS3::GameSetupStructBase
 GameSetupStructBase (GameSetupStructBase &&gss)=default
 
GameSetupStructBaseoperator= (GameSetupStructBase &&gss)=default
 
void Free ()
 
void SetDefaultResolution (GameResolutionType type)
 
void SetDefaultResolution (Size game_res)
 
void SetGameResolution (GameResolutionType type)
 
void SetGameResolution (Size game_res)
 
void ReadFromFile (Shared::Stream *in, GameDataVersion game_ver, SerializeInfo &info)
 
void WriteToFile (Shared::Stream *out, const SerializeInfo &info) const
 
GameResolutionType GetResolutionType () const
 
const SizeGetGameRes () const
 
const SizeGetDefaultRes () const
 
const SizeGetDataRes () const
 
int GetDataUpscaleMult () const
 
int GetRelativeUIMult () const
 
int GetScreenUpscaleMult () const
 
bool AllowRelativeRes () const
 
bool IsLegacyHiRes () const
 
bool IsDataInNativeCoordinates () const
 
bool IsLegacyLetterbox () const
 
const SizeGetLetterboxSize () const
 
bool IsLegacyAudioSystem () const
 
AGS::Shared::String GetAudioVOXName () const
 

Public Attributes

std::vector< FontInfofonts
 
InventoryItemInfo invinfo [MAX_INV] {}
 
std::vector< MouseCursormcurs
 
std::vector< PInteractionintrChar
 
PInteraction intrInv [MAX_INV]
 
std::vector< PInteractionScriptscharScripts
 
std::vector< PInteractionScriptsinvScripts
 
int filever
 
Shared::String compiled_with
 
char lipSyncFrameLetters [MAXLIPSYNCFRAMES][50]
 
AGS::Shared::PropertySchema propSchema
 
std::vector< AGS::Shared::StringIMapcharProps
 
AGS::Shared::StringIMap invProps [MAX_INV]
 
std::vector< Shared::StringviewNames
 
Shared::String invScriptNames [MAX_INV]
 
std::vector< Shared::StringdialogScriptNames
 
char guid [MAX_GUID_LENGTH]
 
char saveGameFileExtension [MAX_SG_EXT_LENGTH]
 
Shared::String saveGameFolderName
 
int roomCount
 
std::vector< int > roomNumbers
 
std::vector< Shared::StringroomNames
 
std::vector< ScriptAudioClipaudioClips
 
std::vector< AudioClipTypeaudioClipTypes
 
int scoreClipID
 
int numGameChannels = 0
 
int numCompatGameChannels = 0
 
std::vector< SpriteInfoSpriteInfos
 
- Public Attributes inherited from AGS3::GameSetupStructBase
Shared::String gamename
 
int32_t options [MAX_OPTIONS]
 
uint8_t paluses [256]
 
RGB defpal [256]
 
int numviews
 
int numcharacters
 
int playercharacter
 
int totalscore
 
int numinvitems
 
int numdialog
 
int numdlgmessage
 
int numfonts
 
int color_depth
 
int target_win
 
int dialog_bullet
 
int hotdot
 
int hotdotouter
 
int uniqueid
 
int numgui
 
int numcursors
 
int default_lipsync_frame
 
int invhotdotsprite
 
int32_t reserved [NUM_INTS_RESERVED]
 
String messages [MAXGLOBALMES]
 
std::unique_ptr< WordsDictionarydict
 
std::vector< CharacterInfochars
 
std::vector< CharacterInfo2chars2
 

Additional Inherited Members

- Static Public Member Functions inherited from AGS3::GameSetupStructBase
static Common::Array< int > GetRestrictedOptions ()
 
- Static Public Attributes inherited from AGS3::GameSetupStructBase
static const int LEGACY_GAME_NAME_LENGTH = 50
 
static const int MAX_OPTIONS = 100
 
static const int NUM_INTS_RESERVED = 16
 

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