ScummVM API documentation
VCruise::Runtime Class Reference

Public Types

enum  CharSet {
  kCharSetLatin, kCharSetGreek, kCharSetCyrillic, kCharSetJapanese,
  kCharSetChineseTraditional, kCharSetChineseSimplified
}
 

Public Member Functions

 Runtime (OSystem *system, Audio::Mixer *mixer, MidiDriver *midiDrv, const Common::FSNode &rootFSNode, VCruiseGameID gameID, Common::Language defaultLanguage)
 
void initSections (const Common::Rect &gameRect, const Common::Rect &menuRect, const Common::Rect &trayRect, const Common::Rect &subtitleRect, const Common::Rect &fullscreenMenuRect, const Graphics::PixelFormat &pixFmt)
 
void loadCursors (const char *exeName)
 
void setDebugMode (bool debugMode)
 
void setFastAnimationMode (bool fastAnimationMode)
 
void setPreloadSounds (bool preloadSounds)
 
void setLowQualityGraphicsMode (bool lowQualityGraphicsMode)
 
bool runFrame ()
 
void drawFrame ()
 
void onLButtonDown (int16 x, int16 y)
 
void onLButtonUp (int16 x, int16 y)
 
void onMouseMove (int16 x, int16 y)
 
void onKeyDown (Common::KeyCode keyCode)
 
void onKeymappedEvent (KeymappedEvent evt)
 
bool canSave (bool onCurrentScreen) const
 
bool canLoad () const
 
void recordSaveGameSnapshot ()
 
void recordSounds (SaveGameSwappableState &state)
 
void restoreSaveGameSnapshot ()
 
Common::SharedPtr< SaveGameSnapshotgenerateNewGameSnapshot () const
 
void saveGame (Common::WriteStream *stream) const
 
LoadGameOutcome loadGame (Common::ReadStream *stream)
 
bool bootGame (bool newGame)
 
void drawLabel (Graphics::ManagedSurface *surface, const Common::String &labelID, const Common::Rect &contentRect)
 
void getLabelDef (const Common::String &labelID, const Graphics::Font *&outFont, const Common::String *&outTextUTF8, uint32 &outColor, uint32 &outShadowColor, uint32 &outShadowOffset)
 
void onMidiTimer ()
 

Static Public Member Functions

static void resolveCodePageForLanguage (Common::Language lang, Common::CodePage &outCodePage, CharSet &outCharSet)
 

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