diff options
author | Tarek Soliman | 2011-04-25 15:26:38 -0500 |
---|---|---|
committer | Tarek Soliman | 2011-06-16 13:37:13 -0500 |
commit | 4d0bba314d3b584f15d1d50e59d8f1b8c9a39161 (patch) | |
tree | b6daa3b7cc5fff831af5aba08c389748b5871d3d /common | |
parent | 71759eab534512e7a4df557f12ffadb0062a56ad (diff) | |
download | scummvm-rg350-4d0bba314d3b584f15d1d50e59d8f1b8c9a39161.tar.gz scummvm-rg350-4d0bba314d3b584f15d1d50e59d8f1b8c9a39161.tar.bz2 scummvm-rg350-4d0bba314d3b584f15d1d50e59d8f1b8c9a39161.zip |
ENGINES: Warn user about games marked with ADGF_UNSTABLE flags
ADGF_UNSTABLE is always warned about.
ADGF_TESTING is only warned about when running
configure with --enable-relase.
Both warnings are subject to the enable_wip_game_warning
config option.
Diffstat (limited to 'common')
-rw-r--r-- | common/error.cpp | 3 | ||||
-rw-r--r-- | common/error.h | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/common/error.cpp b/common/error.cpp index a6c52a0ce9..78178f8e27 100644 --- a/common/error.cpp +++ b/common/error.cpp @@ -67,6 +67,9 @@ static String errorToString(ErrorCode errorCode) { case kEnginePluginNotSupportSaves: return _s("Engine plugin does not support save states"); + case kUserCanceled: + return _s("User canceled"); + case kUnknownError: default: return _s("Unknown error"); diff --git a/common/error.h b/common/error.h index 23c12b67e4..7043862eea 100644 --- a/common/error.h +++ b/common/error.h @@ -62,6 +62,8 @@ enum ErrorCode { kEnginePluginNotFound, ///< Failed to find plugin to handle target kEnginePluginNotSupportSaves, ///< Failed if plugin does not support listing save states + kUserCanceled, ///< User has canceled the launching of the game + kUnknownError ///< Catch-all error, used if no other error code matches }; |