Merge branch 'master' of github.com:wesnoth/wesnoth

This commit is contained in:
Charles Dang 2014-12-20 14:53:52 +11:00
commit a0954377ea
2 changed files with 6 additions and 3 deletions

View File

@ -135,6 +135,8 @@ Version 1.13.0-dev:
* Enable ilua "strict mode" by default. This safety feature helps to catch errors caused by mistyped
variable names, and improves the behavior of the lua interpreter console. See 1.13.0 RELEASE NOTES
for more details.
* Add multiplayer client scripting (join lobby, chat, host games, save games, reload games) and mp
unit tests based on this
* Replays:
* Added a button that allows playing a single move in replay mode.
* Sound:

View File

@ -3,11 +3,12 @@
# We use the unsynced rng, lua.random, to achieve this.
# Basically we keep giving side 1 a random amount of gold and recruiting as
# many woses as possible, killing them immediately to make space. We do this
# for 30 turns. In the replay we will actually have a random amount of gold
# for 60 turns. In the replay we will actually have a random amount of gold
# each time, so if we have bad luck one turn we won't have enough to afford
# that many woses.
# For each turn its about 50-50 not to go out of sync, so the chance not to
# go out of sync should be roughly less than one in a billion.
# go out of sync (for true randomness) would be ~ 2^{-60}.
# (However none of our generators use more than 32 bits per seed.)
#define TEST_BREAK_REPLAY ID GET_RND_NUM
{GENERIC_UNIT_TEST {ID} (
@ -54,7 +55,7 @@
[/end_turn]
[/event]
[event]
name = side 2 turn 30
name = side 2 turn 60
{RETURN ([true][/true])}
[/event]
[event]