pingus-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pingus-CVS] CVS: Games/Pingus/src/editor editor_event.cxx,1.24,1.25


From: grumbel
Subject: [Pingus-CVS] CVS: Games/Pingus/src/editor editor_event.cxx,1.24,1.25
Date: 2 Aug 2002 11:25:49 -0000

Update of /usr/local/cvsroot/Games/Pingus/src/editor
In directory dark:/tmp/cvs-serv29308/editor

Modified Files:
        editor_event.cxx 
Log Message:
even more gui/input cleanup, client still broken, but already half working

Index: editor_event.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/editor/editor_event.cxx,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- editor_event.cxx    2 Jul 2002 16:06:51 -0000       1.24
+++ editor_event.cxx    2 Aug 2002 11:25:47 -0000       1.25
@@ -44,6 +44,7 @@
 #include "action_window.hxx"
 #include "property_window.hxx"
 #include "level_property_window.hxx"
+#include "../screen_manager.hxx"
 
 EditorEvent::EditorEvent()
   : is_enabled (1)
@@ -509,11 +510,7 @@
 
   try {
     std::string levelfile = editor->save_tmp_level();
-    PingusGameSession game (levelfile);
-    /*
-      game.start_game(levelfile + ".plf",
-      levelfile + ".psm");*/
-    game.start ();
+    ScreenManager::instance()->push_screen(new PingusGameSession (levelfile));
   }
   
   catch(PingusError err) {




reply via email to

[Prev in Thread] Current Thread [Next in Thread]