aboutsummaryrefslogtreecommitdiff
path: root/engines/engine.h
diff options
context:
space:
mode:
authorTarek Soliman2011-04-25 15:26:38 -0500
committerTarek Soliman2011-06-16 13:37:13 -0500
commit4d0bba314d3b584f15d1d50e59d8f1b8c9a39161 (patch)
treeb6daa3b7cc5fff831af5aba08c389748b5871d3d /engines/engine.h
parent71759eab534512e7a4df557f12ffadb0062a56ad (diff)
downloadscummvm-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 'engines/engine.h')
-rw-r--r--engines/engine.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/engine.h b/engines/engine.h
index d7d971ad97..06b7f7dedd 100644
--- a/engines/engine.h
+++ b/engines/engine.h
@@ -252,6 +252,13 @@ public:
void openMainMenuDialog();
/**
+ * Display a warning to the user that the game is not fully supported.
+ *
+ * @return true if the user chose to start anyway, false otherwise
+ */
+ static bool warnUserAboutUnsupportedGame();
+
+ /**
* Get the total play time.
*
* @return How long the player has been playing in ms.