gfgtdf d808b7c787 Update check_victory
Now the game ends on all client at the same time even with victory_when_enemies_defeated_= no.

previously in mp the attribute victory_when_enemies_defeated only prevents victory for human sides but doesn't prevent defeats. This means in a simple 1vs1 Mp game with victory_when_enemies_defeated=no when side 1 gets defeated, Player 1 will get the "You have been defeated" message and for client 2 the game continues. I tested with adding victory_when_enemies_defeated =no in 2p_Arcanclave_Citadel.cfg.
When side 1 looses (leader killed) (during side 2' turn) the following happens:
[list=1]
[*]side 1 gets a "you get defeated", side 2 continues
[*]when side 1 checks "end scenario" side 2 gets a "side 1 has left the game... reassign controll to ai/human/idle/..."
[*]I clicked "controll by human" on client 2
[*]I ended side 2's turn and continued playing side 1 on client 2 and didnt get defeated
[/list]
I am sure that this is not the intended behaviour.

this commits also effects when "enemies defeated" is fired accodignly so it is fired on all clients at the same time like any synced event.
2014-05-28 23:58:39 +02:00
2013-06-23 10:07:53 +02:00
2014-03-02 18:58:25 +01:00
2013-03-26 21:41:37 -04:00
2014-05-08 02:14:14 +02:00
2014-05-09 20:23:28 +02:00
2014-05-28 23:58:39 +02:00
2014-03-18 03:05:10 -03:00
2014-05-25 12:27:43 -04:00
2014-01-01 02:08:52 -03:00
2014-03-07 19:46:06 -03:00
2014-05-22 15:41:47 +08:00
2014-05-10 14:34:02 -04:00

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

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.

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

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

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

    http://www.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 9 GiB
Languages
INI 51.6%
C++ 35.9%
Lua 5.7%
Python 4.3%
Emacs Lisp 1%
Other 1.1%