diff options
author | Paweł Kołodziejski | 2003-03-07 15:38:11 +0000 |
---|---|---|
committer | Paweł Kołodziejski | 2003-03-07 15:38:11 +0000 |
commit | 243c4ffbc0818d51d385052177de1b695c49d795 (patch) | |
tree | 6d4962c17da16133d0c4c9d8c3029618d07e8882 /common/engine.h | |
parent | 1e0b221341c9a0a941286cfbcfeb3129bb223546 (diff) | |
download | scummvm-rg350-243c4ffbc0818d51d385052177de1b695c49d795.tar.gz scummvm-rg350-243c4ffbc0818d51d385052177de1b695c49d795.tar.bz2 scummvm-rg350-243c4ffbc0818d51d385052177de1b695c49d795.zip |
implemented formating string error for each engine
svn-id: r6744
Diffstat (limited to 'common/engine.h')
-rw-r--r-- | common/engine.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/common/engine.h b/common/engine.h index 45b62e2169..3bf5f0b167 100644 --- a/common/engine.h +++ b/common/engine.h @@ -59,8 +59,13 @@ public: // Create a new engine object based on the detector - either // a Scumm or a SimonState object currently. static Engine *createFromDetector(GameDetector *detector, OSystem *syst); + + // Specific for each engine preparare of erroe string + virtual void errorString(const char *buf_input, char *buf_output) = 0; }; +extern Engine *g_engine; + #if defined(__GNUC__) void CDECL error(const char *s, ...) NORETURN; #else |