Jyrki Vesterinen 667064a8af Experimental MP lobby: scroll to selected game less often
The lobby calls tlistbox::set_row_shown() every single time there is *any*
change in the gamelist. Most of the time, the visibility of rows hasn't
even changed.

Tlistbox::set_row_shown() calls content_resize_request() to determine if
twindow::invalidate_layout() needs to be called. Content_resize_request()
unconditionally calls show_content_rect() that checks if the selected item
is visible and scrolls to it if it isn't.

With this commit, set_row_shown() returns early if visibility of rows
hasn't changed. This reduces the frequency of scrolling.

This commit isn't a complete fix, since the selected game will still come
into view when, for example, a new game is created. However, at least this
improves the situation.
2016-10-01 12:03:48 +03:00
2016-10-01 10:32:13 +11:00
2016-09-21 04:11:29 +11:00
2016-09-30 22:38:32 +03:00
2016-09-09 17:17:53 -04:00
2016-09-29 11:25:12 -04:00
2016-07-29 19:44:22 +03:00
2016-09-29 11:24:01 -04:00
2016-09-24 15:02:30 +02:00
2016-09-15 16:34:09 +03:00

About

The Battle for Wesnoth is a Free, turn-based tactical strategy game with a high fantasy theme, featuring both singleplayer and online/hotseat multiplayer combat. Fight a desperate battle to reclaim the throne of Wesnoth, or take hand in any number of other adventures.

License

The game's source code and artwork, sound, and music assets are provided under the terms of the GNU General Public License version 2, or (at your option) any later version. Note that for artwork, sound, and music, we interpret "preferred form of the work for making modifications" as the modifiable form that the author chooses to ship us for the source tree. For convenience, a reference copy of the GNU GPL version 2 is provided in the COPYING file in this distribution.

Some portions of the source code can be used under different license terms, whenever stated as such in the source.

Installing

See INSTALL for instructions on how to build the game from source code.

More Information

For extensive documentation about all aspects of the game, see the official Battle for Wesnoth web site.

http://www.wesnoth.org/

A (translated) description of how to play the game can be found in doc/manual/manual.*.html, or online at:

http://manual.wesnoth.org/

The official Battle for Wesnoth Forums (with over 400,000 posts from more than 20,000 registered members) can be found at:

http://forums.wesnoth.org/

Description
韦诺之战
Readme 10 GiB
Languages
INI 51.6%
C++ 35.9%
Lua 5.7%
Python 4.3%
Emacs Lisp 1%
Other 1.1%