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.4,1.5 edito


From: grumbel
Subject: [Pingus-CVS] CVS: Games/Pingus/src/editor editor_event.cxx,1.4,1.5 editor_help_screen.cxx,1.1,1.2
Date: 22 Jun 2002 17:40:58 -0000

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

Modified Files:
        editor_event.cxx editor_help_screen.cxx 
Log Message:
- added super-primitv HTMLBrowser support

Index: editor_event.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/editor/editor_event.cxx,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- editor_event.cxx    22 Jun 2002 15:24:06 -0000      1.4
+++ editor_event.cxx    22 Jun 2002 17:40:56 -0000      1.5
@@ -25,6 +25,7 @@
 #include <ClanLib/Display/Display/display.h>
 #include <ClanLib/Display/Input/mouse.h>
 
+#include "../html_browser.hxx"
 #include "../debug.hxx"
 #include "../globals.hxx"
 #include "../game_session.hxx"
@@ -242,6 +243,10 @@
 
        case CL_KEY_F1:
          editor->toggle_help_screen ();
+         break;
+
+       case CL_KEY_F2:
+         HTMLBrowser::launch ("http://pingus.seul.org/levels.html";);
          break;
 
          // Change the width and height of the current level.

Index: editor_help_screen.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/editor/editor_help_screen.cxx,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- editor_help_screen.cxx      12 Jun 2002 19:11:31 -0000      1.1
+++ editor_help_screen.cxx      22 Jun 2002 17:40:56 -0000      1.2
@@ -43,7 +43,7 @@
   x_pos = 32;
   y_pos = 100;
   font->print_left (x_pos, y_pos +   0, _("F1 - show/hide this help screen"));
-  font->print_left (x_pos, y_pos +  20, _("F2 - [unset]"));
+  font->print_left (x_pos, y_pos +  20, _("F2 - launch level building 
tutorial"));
   font->print_left (x_pos, y_pos +  40, _("F3 - toggle background color"));
   font->print_left (x_pos, y_pos +  60, _("F4 - play/test the level"));
   font->print_left (x_pos, y_pos +  80, _("F5 - load a level"));




reply via email to

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