Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/wesnoth/wesnoth
Browse files Browse the repository at this point in the history
  • Loading branch information
lipk committed Mar 5, 2014
2 parents be32749 + f0246d3 commit 6040bfb
Show file tree
Hide file tree
Showing 10 changed files with 60 additions and 8 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Expand Up @@ -6,6 +6,7 @@ install:
- sudo apt-get update -qq
- sudo apt-get install -qq libboost-iostreams-dev libboost-program-options-dev libboost-regex-dev libboost-system-dev libboost-test-dev libcairo2-dev libfribidi-dev libpango1.0-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-net1.2-dev libsdl-ttf2.0-dev
script: scons cxxtool=$CXX strict=True wesnoth wesnothd campaignd test
after_script: ./test
notifications:
email: false
irc:
Expand Down
13 changes: 13 additions & 0 deletions changelog
@@ -1,6 +1,19 @@
Version 1.11.11+dev:
* AI:
* Fixed a bug that made it impossible to change or delete Micro AIs after a
game had been reloaded (bug #21750). This was a general bug in the RCA AI
mechanism and applied to other CAs as well, but it was most visible in the
Micro AIs.
* Campaigns:
* The Hammer of Thursagan:
* Fixed missing objective in 'The Court of Karrag'.
* Language and i18n:
* Updated translations: German
* Miscellaneous and bug fixes:
* Fix Fisher-Yates implemenation of Lua helper.shuffle (bug #21706)
* Units:
* Increased the experience requirement for the Rami from 32 to 39
* Increased the experience requirement for the Saree from 56 to 64

Version 1.11.11:
* Add-ons server:
Expand Down
Expand Up @@ -163,7 +163,11 @@
description=_"Death of Angarthing"
condition="lose"
[/objective]

[objective]
description=_"Death of Dulcatulos"
condition="lose"
[/objective]

{TURNS_RUN_OUT}

[gold_carryover]
Expand Down
2 changes: 1 addition & 1 deletion data/core/units/khalifate/Rami.cfg
Expand Up @@ -7,7 +7,7 @@
hitpoints=34
movement_type=khalifatehorse
movement=7
experience=32
experience=39
level=1
alignment=liminal
advances_to=Qanas,Saree
Expand Down
2 changes: 1 addition & 1 deletion data/core/units/khalifate/Saree.cfg
Expand Up @@ -7,7 +7,7 @@
hitpoints=39
movement_type=khalifatehorse
movement=8
experience=56
experience=64
level=2
alignment=liminal
advances_to=Jawal
Expand Down
4 changes: 2 additions & 2 deletions data/lua/helper.lua
Expand Up @@ -385,8 +385,8 @@ function helper.shuffle( t )
-- it uses the Fisher-Yates algorithm, also known as Knuth shuffle
assert( type( t ) == "table", string.format( "helper.shuffle expects a table as parameter, got %s instead", type( t ) ) )
local length = #t
for index, value in ipairs( t ) do
local random = math.random( 1, length )
for index = length, 2, -1 do
local random = math.random( 1, index )
t[index], t[random] = t[random], t[index]
end
end
Expand Down
4 changes: 3 additions & 1 deletion players_changelog
Expand Up @@ -5,7 +5,9 @@ changelog: https://github.com/wesnoth/wesnoth/blob/master/changelog
Version 1.11.11+dev:
* Language and i18n:
* Updated translations: German.

* Units:
* Increased the experience requirement for the Rami from 32 to 39
* Increased the experience requirement for the Saree from 56 to 64

Version 1.11.11:
* Campaigns:
Expand Down
29 changes: 27 additions & 2 deletions po/wesnoth-tb/pl.po
Expand Up @@ -4,8 +4,8 @@ msgstr ""
"Report-Msgid-Bugs-To: http://bugs.wesnoth.org/\n"
"POT-Creation-Date: 2012-12-07 20:59+0100\n"
"PO-Revision-Date: 2012-01-21 18:12+0100\n"
"Last-Translator: Zbigniew Banach <z.banach@wsisiz.edu.pl>\n"
"Language-Team: <z.banach@wsisiz.edu.pl>\n"
"Last-Translator: Wojciech Kuchta <klapi85@gmail.com>\n"
"Language-Team: <klapi85@gmail.com>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
Expand Down Expand Up @@ -182,6 +182,18 @@ msgid ""
"spoken since that evil day at Toen Caric. If he will not come for me, "
"perhaps he will return to aid our village in its hour of desperate need."
msgstr ""
"Fragment dziennika Baranna z Maghre"
"\n"
"Gdybym tylko mógłbym spotkać tego „Mordaka”! Myślę, że moja magia może być"
"silniejsza niż jego. Ale on tylko rozkazuje z gór, dobrze strzeżony przez"
"jego służących więc muszę zmuszać chłopów do walki z jego sługami przy pomocy"
"mieczy i kijów. Potrzebuję mojego brata; on zawsze ma lepszą głowę do bitwy"
"niż ja.\n"
"\n"
"Czy usłyszał moje wołanie? Nie wiem czy zachował swój amulet; nie"
"rozmawialiśmy od czasu feralnego dnia w Toen Caric. Jeśli nie przybędzie"
"do mnie, to może powróci by pomóc naszej wiosce, która jest w wielkiej"
"potrzebie."

#. [part]
#: data/campaigns/Two_Brothers/scenarios/01_Rooting_Out_a_Mage.cfg:75
Expand Down Expand Up @@ -490,6 +502,19 @@ msgid ""
"warning against it. Supposedly the place is haunted by lost souls who hunger "
"for the living, and anyone who dies there is doomed to join them."
msgstr ""
"Fragment dziennika Arvitha z Maghre\n"
"\n"
"Przez trzy dni poszukiwaliśmy Barrana i nic nie znaleźliśmy. Mój najlepszy"
"pomysł to wyprawa na północne granice, gdzie chowają się słudzy nekromanty,"
"a wszystko pozostałe to tereny uprawne. Na początku myślałem, że"
"poszukiwania mogą być bezowocne, ale pod koniec pierwszego dnia znaleźliśmy"
"ślady. Niektóre z nich należały do szkieletów.\n"
"\n"
"Teraz jesteśmy dostatecznie blisko, abym był pewny: te ślady prowadzą do"
"lasów Grey Woods. Nikt z Maghre czy pozostałych wiosek nigdy nie udał się"
"do tych lasów. Opowieści przekazywane z pokolenia na pokolenie ostrzegały"
"przed tym. Prawdopodobnie to miejsce jest nawiedzone przez zagubione dusze"
"które polują na żywych ludzi i każdy kto tam umrze, dołączy do nich."

#. [part]
#: data/campaigns/Two_Brothers/scenarios/02_The_Chase.cfg:45
Expand Down
1 change: 1 addition & 0 deletions src/ai/composite/rca.cpp
Expand Up @@ -90,6 +90,7 @@ config candidate_action::to_config() const
config cfg;
cfg["enabled"] = enabled_;
cfg["engine"] = engine_;
cfg["id"] = id_;
cfg["name"] = name_;
cfg["score"] = score_;
cfg["max_score"] = max_score_;
Expand Down
6 changes: 6 additions & 0 deletions src/minimap.cpp
Expand Up @@ -168,6 +168,12 @@ surface getMinimap(int w, int h, const gamemap &map, const team *vw, const std::
} else {

SDL_Color col;
std::map<std::string, color_range>::const_iterator it = game_config::team_rgb_range.find(terrain_info.id());
if (it == game_config::team_rgb_range.end()) {
col = create_color(0,0,0,0);
} else
col = int_to_color(it->second.rep());

bool first = true;
const t_translation::t_list& underlying_terrains = map.underlying_union_terrain(terrain);
BOOST_FOREACH(const t_translation::t_terrain& underlying_terrain, underlying_terrains) {
Expand Down

0 comments on commit 6040bfb

Please sign in to comment.