[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Wesnoth-cvs-commits] wesnoth/src dialogs.cpp gamestatus.cpp
From: |
Cedric Duval |
Subject: |
[Wesnoth-cvs-commits] wesnoth/src dialogs.cpp gamestatus.cpp |
Date: |
Fri, 22 Oct 2004 08:40:07 -0400 |
CVSROOT: /cvsroot/wesnoth
Module name: wesnoth
Branch:
Changes by: Cedric Duval <address@hidden> 04/10/22 12:34:43
Modified files:
src : dialogs.cpp gamestatus.cpp
Log message:
Display version of savegame in load dialog. (#10670)
(this information will appear for savegames made after this commit)
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/dialogs.cpp.diff?tr1=1.59&tr2=1.60&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/gamestatus.cpp.diff?tr1=1.45&tr2=1.46&r1=text&r2=text
Patches:
Index: wesnoth/src/dialogs.cpp
diff -u wesnoth/src/dialogs.cpp:1.59 wesnoth/src/dialogs.cpp:1.60
--- wesnoth/src/dialogs.cpp:1.59 Tue Oct 5 21:28:12 2004
+++ wesnoth/src/dialogs.cpp Fri Oct 22 12:34:42 2004
@@ -1,4 +1,4 @@
-/* $Id: dialogs.cpp,v 1.59 2004/10/05 21:28:12 silene Exp $ */
+/* $Id: dialogs.cpp,v 1.60 2004/10/22 12:34:42 cedricd Exp $ */
/*
Copyright (C) 2003 by David White <address@hidden>
Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net
@@ -385,6 +385,9 @@
}
str << "\n" << _("Difficulty") << ": " <<
string_table[summary["difficulty"]];
+ if(!summary["version"].empty()) {
+ str << "\n" << _("Version") << ": " <<
summary["version"];
+ }
}
font::draw_text(&disp(),area,font::SIZE_SMALL,font::NORMAL_COLOUR,str.str(),area.x,ypos,NULL,true);
Index: wesnoth/src/gamestatus.cpp
diff -u wesnoth/src/gamestatus.cpp:1.45 wesnoth/src/gamestatus.cpp:1.46
--- wesnoth/src/gamestatus.cpp:1.45 Wed Oct 20 07:41:12 2004
+++ wesnoth/src/gamestatus.cpp Fri Oct 22 12:34:42 2004
@@ -1,4 +1,4 @@
-/* $Id: gamestatus.cpp,v 1.45 2004/10/20 07:41:12 silene Exp $ */
+/* $Id: gamestatus.cpp,v 1.46 2004/10/22 12:34:42 cedricd Exp $ */
/*
Copyright (C) 2003 by David White <address@hidden>
Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net
@@ -521,6 +521,7 @@
out["campaign_type"] = state.campaign_type;
out["scenario"] = state.scenario;
out["difficulty"] = state.difficulty;
+ out["version"] = state.version;
out["corrupt"] = "";
if(has_snapshot) {
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Wesnoth-cvs-commits] wesnoth/src dialogs.cpp gamestatus.cpp,
Cedric Duval <=