pingus-cvs
[Top][All Lists]
Advanced

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

[Pingus-CVS] CVS: Games/Pingus/src/worldmap manager.cxx,1.32,1.33


From: grumbel
Subject: [Pingus-CVS] CVS: Games/Pingus/src/worldmap manager.cxx,1.32,1.33
Date: 5 Apr 2003 20:24:18 -0000

Update of /var/lib/cvs/Games/Pingus/src/worldmap
In directory dark:/tmp/cvs-serv4626/worldmap

Modified Files:
        manager.cxx 
Log Message:
seperated intro and extro

Index: manager.cxx
===================================================================
RCS file: /var/lib/cvs/Games/Pingus/src/worldmap/manager.cxx,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -d -r1.32 -r1.33
--- manager.cxx 5 Apr 2003 18:36:51 -0000       1.32
+++ manager.cxx 5 Apr 2003 20:24:16 -0000       1.33
@@ -29,6 +29,7 @@
 #include "worldmap.hxx"
 #include "pingus.hxx"
 #include "manager.hxx"
+#include "../story.hxx"
 #include "../story_screen.hxx"
 
 namespace WorldMapNS {
@@ -104,7 +105,7 @@
 void
 WorldMapManagerCreditsButton::on_click()
 {
-  ScreenManager::instance()->replace_screen(new StoryScreen(), true);
+  ScreenManager::instance()->replace_screen(new StoryScreen(Story::credits), 
true);
 }
 
 WorldMapManagerStoryButton::WorldMapManagerStoryButton()
@@ -134,7 +135,7 @@
 void
 WorldMapManagerStoryButton::on_click()
 {
-  ScreenManager::instance()->replace_screen(new StoryScreen(), true);
+  ScreenManager::instance()->replace_screen(new StoryScreen(Story::intro), 
true);
 }
 
 WorldMapManagerCloseButton::WorldMapManagerCloseButton()





reply via email to

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