From 1141ff1ac2f0c125fa4d18cbd64dcd9cc71bf383 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Mon, 9 Feb 2004 01:27:27 +0000 Subject: Modified version of patch #892795 (Let scumvm -v show supported libs) svn-id: r12780 --- base/main.cpp | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'base/main.cpp') diff --git a/base/main.cpp b/base/main.cpp index bf33c75084..a5575ea5a8 100644 --- a/base/main.cpp +++ b/base/main.cpp @@ -32,6 +32,7 @@ #include "base/engine.h" #include "base/gameDetector.h" #include "base/plugins.h" +#include "base/version.h" #include "common/config-manager.h" #include "common/scaler.h" // For GFX_NORMAL #include "common/timer.h" @@ -85,7 +86,31 @@ const char *gScummVMVersion = "0.5.7cvs"; const char *gScummVMBuildDate = __DATE__ " " __TIME__; const char *gScummVMFullVersion = "ScummVM 0.5.7cvs (" __DATE__ " " __TIME__ ")"; +const char *gScummVMFeatures = +#ifdef USE_VORBIS + "Vorbis " +#endif + +#ifdef USE_FLAC + "FLAC " +#endif + +#ifdef USE_MAD + "MP3 " +#endif +#ifdef USE_ALSA + "ALSA " +#endif + +#ifdef USE_ZLIB + "zLib " +#endif + +#ifdef USE_MPEG2 + "MPEG2 " +#endif + ; #if defined(WIN32) && defined(NO_CONSOLE) #include -- cgit v1.2.3