ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

game.cpp File Reference

#include "engines/game.h"
#include "common/gui_options.h"
#include "common/translation.h"
Include dependency graph for game.cpp:

Go to the source code of this file.

Functions

const PlainGameDescriptorfindPlainGameDescriptor (const char *gameid, const PlainGameDescriptor *list)
 Given a list of PlainGameDescriptors, returns the first PlainGameDescriptor matching the given gameid.
Common::String generateUnknownGameReport (const DetectedGames &detectedGames, bool translate, bool fullPath, uint32 wordwrapAt)
 Generate a report that we found an unknown game variant, together with the file names, sizes and MD5 sums.
Common::String generateUnknownGameReport (const DetectedGame &detectedGame, bool translate, bool fullPath, uint32 wordwrapAt)

Function Documentation

const PlainGameDescriptor* findPlainGameDescriptor ( const char *  gameid,
const PlainGameDescriptor list 
)

Given a list of PlainGameDescriptors, returns the first PlainGameDescriptor matching the given gameid.

If not match is found return 0. The end of the list must be marked by an entry with gameid 0.

Definition at line 28 of file game.cpp.

Common::String generateUnknownGameReport ( const DetectedGame detectedGame,
bool  translate,
bool  fullPath,
uint32  wordwrapAt 
)

Definition at line 227 of file game.cpp.

Common::String generateUnknownGameReport ( const DetectedGames detectedGames,
bool  translate,
bool  fullPath,
uint32  wordwrapAt = 0 
)

Generate a report that we found an unknown game variant, together with the file names, sizes and MD5 sums.

Parameters:
translate translate the report to the currently active GUI language
fullPath include the full path where the files are located, otherwise only the name of last component of the path is included
wordwrapAt word wrap the text part of the report after a number of characters

Definition at line 163 of file game.cpp.



Generated on Sat Oct 19 2019 05:01:55 for ResidualVM by doxygen 1.7.1
curved edge   curved edge