[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Wesnoth-cvs-commits] wesnoth/src multiplayer_connect.cpp
From: |
Guillaume Melquiond |
Subject: |
[Wesnoth-cvs-commits] wesnoth/src multiplayer_connect.cpp |
Date: |
Sun, 17 Oct 2004 15:02:45 -0400 |
CVSROOT: /cvsroot/wesnoth
Module name: wesnoth
Branch:
Changes by: Guillaume Melquiond <address@hidden> 04/10/17 18:47:08
Modified files:
src : multiplayer_connect.cpp
Log message:
Let's try to suppress the visual feedback for a distant gold change
(since there shouldn't be any).
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/multiplayer_connect.cpp.diff?tr1=1.81&tr2=1.82&r1=text&r2=text
Patches:
Index: wesnoth/src/multiplayer_connect.cpp
diff -u wesnoth/src/multiplayer_connect.cpp:1.81
wesnoth/src/multiplayer_connect.cpp:1.82
--- wesnoth/src/multiplayer_connect.cpp:1.81 Sun Oct 17 18:33:28 2004
+++ wesnoth/src/multiplayer_connect.cpp Sun Oct 17 18:47:07 2004
@@ -1,4 +1,4 @@
-/* $Id: multiplayer_connect.cpp,v 1.81 2004/10/17 18:33:28 silene Exp $ */
+/* $Id: multiplayer_connect.cpp,v 1.82 2004/10/17 18:47:07 silene Exp $ */
/*
Copyright (C) 2003 by David White <address@hidden>
Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net
@@ -486,7 +486,6 @@
}
const config::child_itors sides = level_->child_range("side");
- SDL_Rect rect;
for(size_t n = 0; n != combos_type_.size(); ++n) {
config& side = **(sides.first+n);
@@ -538,19 +537,6 @@
if (!save_)
player_leaders_[n].set_leader(side["type"]);
- //Player Gold
- std::string str = side["gold"];
- sliders_gold_[n].set_value(atoi(str.c_str()));
- rect.x = rect_.x + 603;
- rect.y = rect_.y + 55 + (60 * n);
- rect.w = 30;
- rect.h = launch_.height();
- gold_bg_[n].restore();
- font::draw_text(disp_, disp_->screen_area(), font::SIZE_SMALL,
- font::GOOD_COLOUR,
- side["gold"],
- rect.x, rect.y);
- update_rect(rect);
}
const bool full = is_full();