ScummVM API documentation
Engine

Description

API for managing various functions of the engine.

Classes

class  PauseToken
 
class  Engine
 
class  ChainedGamesManager
 

Functions

void GUIErrorMessage (const Common::U32String &msg, const char *url=nullptr)
 
void GUIErrorMessage (const Common::String &msg, const char *url=nullptr)
 
void GUIErrorMessageWithURL (const Common::U32String &msg, const char *url)
 
void GUIErrorMessageWithURL (const Common::String &msg, const char *url)
 
void GUIErrorMessageFormat (Common::U32String fmt,...)
 
void GUIErrorMessageFormat (const char *fmt,...) GCC_PRINTF(1
 

Variables

Engineg_engine
 

Chained games

#define ChainedGamesMan   ChainedGamesManager::instance()
 

Macro Definition Documentation

◆ ChainedGamesMan

#define ChainedGamesMan   ChainedGamesManager::instance()

Convenience shortcut for accessing the chained games manager.

Function Documentation

◆ GUIErrorMessage() [1/2]

void GUIErrorMessage ( const Common::U32String &  msg,
const char *  url = nullptr 
)

Initialize graphics and show an error message. Redirects to GUIErrorMessage with U32Strings.

◆ GUIErrorMessage() [2/2]

void GUIErrorMessage ( const Common::String &  msg,
const char *  url = nullptr 
)

Initialize graphics and show an error message. Redirects to GUIErrorMessage with U32Strings.

◆ GUIErrorMessageWithURL() [1/2]

void GUIErrorMessageWithURL ( const Common::U32String &  msg,
const char *  url 
)

Initialize graphics and show an error message. Redirects to GUIErrorMessageWithURL with U32Strings.

◆ GUIErrorMessageWithURL() [2/2]

void GUIErrorMessageWithURL ( const Common::String &  msg,
const char *  url 
)

Initialize graphics and show an error message. Redirects to GUIErrorMessageWithURL with U32Strings.

◆ GUIErrorMessageFormat() [1/2]

void GUIErrorMessageFormat ( Common::U32String  fmt,
  ... 
)

Initialize graphics and show an error message. Redirects to GUIErrorMessageFormat with U32Strings.

◆ GUIErrorMessageFormat() [2/2]

void GUIErrorMessageFormat ( const char *  fmt,
  ... 
)

Initialize graphics and show an error message. Redirects to GUIErrorMessageFormat with U32Strings.

Variable Documentation

◆ g_engine

Engine* g_engine

Current workaround for MidiEmu & error().