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 dialogs.hpp playturn.cpp


From: Guillaume Melquiond
Subject: [Wesnoth-cvs-commits] wesnoth/src dialogs.cpp dialogs.hpp playturn.cpp
Date: Thu, 02 Dec 2004 17:36:51 -0500

CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     Guillaume Melquiond <address@hidden>    04/12/02 22:30:38

Modified files:
        src            : dialogs.cpp dialogs.hpp playturn.cpp 

Log message:
        Remove unused parameter from dialogs.cpp.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/dialogs.cpp.diff?tr1=1.76&tr2=1.77&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/dialogs.hpp.diff?tr1=1.27&tr2=1.28&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/playturn.cpp.diff?tr1=1.302&tr2=1.303&r1=text&r2=text

Patches:
Index: wesnoth/src/dialogs.cpp
diff -u wesnoth/src/dialogs.cpp:1.76 wesnoth/src/dialogs.cpp:1.77
--- wesnoth/src/dialogs.cpp:1.76        Thu Dec  2 21:57:27 2004
+++ wesnoth/src/dialogs.cpp     Thu Dec  2 22:30:38 2004
@@ -1,4 +1,4 @@
-/* $Id: dialogs.cpp,v 1.76 2004/12/02 21:57:27 silene Exp $ */
+/* $Id: dialogs.cpp,v 1.77 2004/12/02 22:30:38 silene Exp $ */
 /*
    Copyright (C) 2003 by David White <address@hidden>
    Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net
@@ -723,11 +723,11 @@
 {
        if(map_ != NULL && details_button_.pressed() && index_ >= 0 && index_ < 
int(units_->size())) {
 
-               show_unit_description(disp(),*map_,(*units_)[index_]);
+               show_unit_description(disp(), (*units_)[index_]);
        }
 }
 
-void show_unit_description(display& disp, const gamemap& map, const unit& u)
+void show_unit_description(display& disp, const unit& u)
 {
        help::show_help(disp,"unit_" + u.type().id());
 }
Index: wesnoth/src/dialogs.hpp
diff -u wesnoth/src/dialogs.hpp:1.27 wesnoth/src/dialogs.hpp:1.28
--- wesnoth/src/dialogs.hpp:1.27        Sat Nov  6 13:13:15 2004
+++ wesnoth/src/dialogs.hpp     Thu Dec  2 22:30:38 2004
@@ -1,4 +1,4 @@
-/* $Id: dialogs.hpp,v 1.27 2004/11/06 13:13:15 silene Exp $ */
+/* $Id: dialogs.hpp,v 1.28 2004/12/02 22:30:38 silene Exp $ */
 /*
    Copyright (C) 2003 by David White <address@hidden>
    Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net
@@ -86,7 +86,7 @@
        bool weapons_;
 };
 
-void show_unit_description(display& disp, const gamemap& map, const unit& u);
+void show_unit_description(display& disp, const unit& u);
 
 
 class campaign_preview_pane : public gui::preview_pane
Index: wesnoth/src/playturn.cpp
diff -u wesnoth/src/playturn.cpp:1.302 wesnoth/src/playturn.cpp:1.303
--- wesnoth/src/playturn.cpp:1.302      Thu Dec  2 01:59:04 2004
+++ wesnoth/src/playturn.cpp    Thu Dec  2 22:30:38 2004
@@ -1,4 +1,4 @@
-/* $Id: playturn.cpp,v 1.302 2004/12/02 01:59:04 Sirp Exp $ */
+/* $Id: playturn.cpp,v 1.303 2004/12/02 22:30:38 silene Exp $ */
 /*
    Copyright (C) 2003 by David White <address@hidden>
    Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net
@@ -1334,7 +1334,7 @@
 {
        const unit_map::const_iterator un = current_unit();
        if(un != units_.end()) {
-               dialogs::show_unit_description(gui_,map_,un->second);
+               dialogs::show_unit_description(gui_, un->second);
        }
 }
 




reply via email to

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