wesnoth-cvs-commits
[Top][All Lists]
Advanced

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

[Wesnoth-cvs-commits] wesnoth/src dialogs.cpp game_events.cpp


From: Jordà Polo
Subject: [Wesnoth-cvs-commits] wesnoth/src dialogs.cpp game_events.cpp
Date: Fri, 06 May 2005 13:20:55 -0400

CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     Jordà Polo <address@hidden>     05/05/06 17:20:54

Modified files:
        src            : dialogs.cpp game_events.cpp 

Log message:
        made it so that the different parts of the objectives dialog are more
        distinguishable

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/dialogs.cpp.diff?tr1=1.99&tr2=1.100&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/game_events.cpp.diff?tr1=1.146&tr2=1.147&r1=text&r2=text

Patches:
Index: wesnoth/src/dialogs.cpp
diff -u wesnoth/src/dialogs.cpp:1.99 wesnoth/src/dialogs.cpp:1.100
--- wesnoth/src/dialogs.cpp:1.99        Mon Apr 18 21:30:37 2005
+++ wesnoth/src/dialogs.cpp     Fri May  6 17:20:53 2005
@@ -1,4 +1,4 @@
-/* $Id: dialogs.cpp,v 1.99 2005/04/18 21:30:37 isaaccp Exp $ */
+/* $Id: dialogs.cpp,v 1.100 2005/05/06 17:20:53 ettin Exp $ */
 /*
    Copyright (C) 2003 by David White <address@hidden>
    Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net
@@ -170,9 +170,9 @@
        static const std::string no_objectives(_("No objectives available"));
        const std::string& name = level["name"];
 
-       gui::show_dialog(disp, NULL, "", font::LARGE_TEXT + name + "\n" +
-                (objectives.empty() ? no_objectives : objectives), 
gui::OK_ONLY);
-
+       gui::show_dialog(disp, NULL, "", "*~" + name + "\n" +
+                        (objectives.empty() ? no_objectives : objectives),
+                        gui::OK_ONLY);
 }
 
 int get_save_name(display & disp,const std::string& caption, const 
std::string& message,
Index: wesnoth/src/game_events.cpp
diff -u wesnoth/src/game_events.cpp:1.146 wesnoth/src/game_events.cpp:1.147
--- wesnoth/src/game_events.cpp:1.146   Mon May  2 12:00:05 2005
+++ wesnoth/src/game_events.cpp Fri May  6 17:20:53 2005
@@ -1,4 +1,4 @@
-/* $Id: game_events.cpp,v 1.146 2005/05/02 12:00:05 ott Exp $ */
+/* $Id: game_events.cpp,v 1.147 2005/05/06 17:20:53 ettin Exp $ */
 /*
    Copyright (C) 2003 by David White <address@hidden>
    Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net
@@ -608,11 +608,11 @@
                if(!summary.empty())
                        objs += "*" + summary + "\n";
                if(!win_objectives.empty()) {
-                       objs += win_string + "\n";
+                       objs += "*" + win_string + "\n";
                        objs += win_objectives + "\n";
                }
                if(!lose_objectives.empty()) {
-                       objs += lose_string + "\n";
+                       objs += "*" + lose_string + "\n";
                        objs += lose_objectives + "\n";
                }
                if(!note.empty())




reply via email to

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