[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Wesnoth-cvs-commits] wesnoth ./changelog src/display.cpp src/game_ev...
From: |
ott |
Subject: |
[Wesnoth-cvs-commits] wesnoth ./changelog src/display.cpp src/game_ev... |
Date: |
Sat, 06 Aug 2005 11:58:32 -0400 |
CVSROOT: /cvsroot/wesnoth
Module name: wesnoth
Branch:
Changes by: ott <address@hidden> 05/08/06 15:58:32
Modified files:
. : changelog
src : display.cpp game_events.cpp
Log message:
attempt to fix 11079, [redraw] being a no-op
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/changelog.diff?tr1=1.826&tr2=1.827&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/display.cpp.diff?tr1=1.323&tr2=1.324&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/game_events.cpp.diff?tr1=1.151&tr2=1.152&r1=text&r2=text
Patches:
Index: wesnoth/changelog
diff -u wesnoth/changelog:1.826 wesnoth/changelog:1.827
--- wesnoth/changelog:1.826 Sat Aug 6 14:20:00 2005
+++ wesnoth/changelog Sat Aug 6 15:58:32 2005
@@ -35,6 +35,7 @@
* choosing vacant slot then joining all computer game is no longer allowed
* cancelling faction selection now goes back to scenario setup (#9376)
* ending game now returns to lobby (#13348)
+ * more robust network code: ghost connections should no longer linger
forever
* new units: added Drake Enforcer
* unit balancing and modifications
* increased Elvish Scout ranged attack damage from 5-2 to 6-2
@@ -56,6 +57,7 @@
* keep send and receive connection statistics separate for each socket
* more responsive networking code, less subject to network errors
* fixed campaign upload with no passphrase not storing generated passphrase
+ * tag [redraw] now forces redraw and is no longer a no-op (#11079)
* various bug fixes and code cleanups
Version 0.9.4:
Index: wesnoth/src/display.cpp
diff -u wesnoth/src/display.cpp:1.323 wesnoth/src/display.cpp:1.324
--- wesnoth/src/display.cpp:1.323 Sat Jul 2 21:37:18 2005
+++ wesnoth/src/display.cpp Sat Aug 6 15:58:32 2005
@@ -1,4 +1,4 @@
-/* $Id: display.cpp,v 1.323 2005/07/02 21:37:18 ott Exp $ */
+/* $Id: display.cpp,v 1.324 2005/08/06 15:58:32 ott Exp $ */
/*
Copyright (C) 2003 by David White <address@hidden>
Part of the Battle for Wesnoth Project http://www.wesnoth.org/
@@ -757,7 +757,7 @@
lastDraw_ = SDL_GetTicks();
if(wait_time >= 0 || drawSkips_ >= max_skips || force) {
- if(changed) {
+ if(changed || force) {
update_display();
}
} else {
Index: wesnoth/src/game_events.cpp
diff -u wesnoth/src/game_events.cpp:1.151 wesnoth/src/game_events.cpp:1.152
--- wesnoth/src/game_events.cpp:1.151 Sat Jul 2 21:37:18 2005
+++ wesnoth/src/game_events.cpp Sat Aug 6 15:58:32 2005
@@ -1,4 +1,4 @@
-/* $Id: game_events.cpp,v 1.151 2005/07/02 21:37:18 ott Exp $ */
+/* $Id: game_events.cpp,v 1.152 2005/08/06 15:58:32 ott Exp $ */
/*
Copyright (C) 2003 by David White <address@hidden>
Part of the Battle for Wesnoth Project http://www.wesnoth.org/
@@ -1446,7 +1446,7 @@
else if(cmd == "redraw") {
screen->invalidate_all();
- screen->draw(true);
+ screen->draw(true,true);
}
LOG_NG << "done handling command...\n";
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Wesnoth-cvs-commits] wesnoth ./changelog src/display.cpp src/game_ev...,
ott <=