From 6024c80f147ce275413332323c2de8db6095c82b Mon Sep 17 00:00:00 2001 From: Max Horn Date: Fri, 27 Sep 2002 23:27:14 +0000 Subject: added (currently completly useless) launcher dialog svn-id: r5024 --- common/main.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'common/main.cpp') diff --git a/common/main.cpp b/common/main.cpp index 54e24564c9..207269500a 100644 --- a/common/main.cpp +++ b/common/main.cpp @@ -25,6 +25,7 @@ #include "gameDetector.h" #include "config-file.h" #include "gui/newgui.h" +#include "gui/launcher.h" #include "gui/message.h" GameDetector detector; @@ -186,10 +187,16 @@ int main(int argc, char *argv[]) system->set_palette(dummy_palette, 0, 16); +#if 1 + extern OSystem *g_system; + g_system = system; + Dialog *dlg = new LauncherDialog(g_gui); +#else const char *message = "This dialog is shown before the\n" "Engine obejct is even created.\n" "Wow! Ain't we cool?\n"; Dialog *dlg = new MessageDialog(g_gui, message); +#endif dlg->open(); g_gui->runLoop(); delete dlg; -- cgit v1.2.3