22754 Commits

Author SHA1 Message Date
Charles Dang
75636ee17c MP Staging: some progress with getting the network processing working, as well as using the dialog for non-hosts 2016-09-29 13:37:22 +11:00
Charles Dang
1848c8c919 MP Method Selection: specify max username input length
This was already checked when the password was parsed by the server, so it makes sense for the UI
to reflect that restriction.
2016-09-28 12:58:02 +11:00
Severin Glöckner
dc2b95c364 refactored Troll Shaman animation 2016-09-27 01:11:01 +02:00
mattsc
efe3c54fdc SotBE S6: use new syntax of wesnoth.put_unit() in custom AI code
To stop deprecation warning.
2016-09-26 07:32:46 -07:00
mattsc
d2dc72a8ee SotBE S6: fix custom Lua CA to conform to new syntax 2016-09-26 07:32:46 -07:00
mattsc
3382f491d3 EI S8: fix custom Lua CA to conform to new syntax 2016-09-26 07:32:46 -07:00
doofus-01
83bc21c5d8 update images/animations for Dark Queen, Princess, and Sea Orc 2016-09-26 21:59:02 +11:00
Charles Dang
4661375783 Merge pull request #802 from doofus-01/wooden_floor_fixes
clean up wooden floor terrain transitions
2016-09-26 21:47:36 +11:00
ln-zookeeper
9d1346ed57 Removed unintended non-transparent white pixels 2016-09-25 18:04:09 +03:00
mattsc
f7fd9ee77e TRoW S15: fix custom Lua CAs to conform to new syntax
It was forgotten to update these CAs in the AI code refactoring for
1.13.5.

This fixes bug #25123.
2016-09-25 07:21:11 -07:00
Charles Dang
31b08a25f2 Properly save blank-hex.png as full alpha instead of hex-masked 2016-09-25 14:31:50 +11:00
mattsc
3d0c29b7fc Experimental AI: do not let AI try to recruit on fogged/shrouded hexes
The engine will refuse to recruit on shrouded hexes, which will result
in part or all of the rest of the AI actions to be disabled.  Fogged
hexes may cause problems also if there is an enemy unit on them.

This fixes at least part of bug #25112.
2016-09-24 19:17:39 -07:00
doofus-01
36f3d47e8c clean up wooden floor terrain transitions 2016-09-24 11:00:05 -07:00
Bär Halberkamp
d228bd5c1d Change colors of ToDs 2016-09-24 15:02:30 +02:00
Jyrki Vesterinen
16c1b86443 Correct titles of music tracks
Not all file names match the titles exactly. I read the full titles
from metadata of the Ogg Vorbis files.
2016-09-24 10:32:10 +03:00
Charles Dang
5857098ab7 Provide translatable titles for all mainline music tracks
This is so they don't show up by filename in the editor's music selection menu
2016-09-24 15:13:22 +11:00
mattsc
20a8a2f456 High XP attack CA: fix rare case of AI choosing wrong weapon
Because the attack simulation during CA evaluation is done with enemy
XP set to zero, the AI previously sometimes chose a different weapon
during execution than what was used for evaluation. This resulted, for
example, in archers sometimes attacking an enemy without ranged attacks
with their melee attack when aggression=1.
2016-09-23 08:32:34 -07:00
mattsc
d3a3825a26 High XP attack CA: don't attack hidden enemies 2016-09-23 07:54:29 -07:00
Charles Dang
d7833f196c Merge pull request #795 from matthiaskrgr/tip
tips: add tip to recall units instead of recruiting them if costs > 20
2016-09-23 20:52:12 +11:00
ln-zookeeper
a624dca7d3 Fixed a shadow 2016-09-22 21:10:17 +03:00
Matthias Krüger
c9a3c0a767 tips: add tip to recall units instead of recruiting them if costs > 20 2016-09-22 16:12:04 +02:00
Charles Dang
42cb2afae5 MP Staging: layout tweaks 2016-09-21 03:06:46 +11:00
Charles Dang
ad0a9768b9 MP Staging: wired in more functionality 2016-09-20 23:04:24 +11:00
Charles Dang
96a66dc37c Dropdown List: fixed grow factor for name column 2016-09-20 21:29:47 +11:00
Charles Dang
61b5cde7a0 Game Stats: removed horizontal spacer line 2016-09-20 19:05:29 +11:00
Gregory A Lundberg
3809a69a42 Fix bug: Lua harm_unit
Missing local T.

cf https://forums.wesnoth.org/viewtopic.php?f=21&t=44567
2016-09-19 17:40:41 -05:00
Lari Nieminen
d0d4223661 Merge pull request #733 from GregoryLundberg/GL_HttT_S06_logical_thieves
HttT S06 Logical Thieves
2016-09-20 00:11:51 +03:00
Gregory A Lundberg
9b364d25d2 HttT S06 Logical Thieves
If you have already killed Agadla by turn 4, instead of offering a choice, the three who appear simply join your forces.

This means it is possible to never get the Thieves, and not be able to recruit them. But you'd have to win before turn 4; so it's not possible unless you're cheating.
2016-09-19 15:42:22 -05:00
Gregory A Lundberg
d6f7de91ac HttT S06 Thieves join if leader killed
It is possible to take Elesenfar without ever capturing a village. To allow for this, and ensure the player always gets the Theives, they appear when Agadla dies as well as upon capturing a village.
2016-09-19 15:30:11 -05:00
Gregory A Lundberg
11d9891319 HttT S06 Fix bug: Let the player know
However the conversation plays out, once you meet the Theives you can recruit them. So let the player know.
2016-09-19 15:30:11 -05:00
Gregory A Lundberg
0594ebd172 HttT S06 Use capture and radius
Instead of a moveto, use a capture event so the theives only appear when actually capturing a village on the island.

Instead of listing the position of each village, use a radius so we can move them around, or add or remove a village more easily.
2016-09-19 15:13:52 -05:00
Charles Dang
9721910d98 Initial implementation of GUI2 MP Staging dialog (Connect + Wait) 2016-09-20 05:34:31 +11:00
Charles Dang
8609955b74 Refactored square/minimal button definition code
* Reduced used of macro arguments slightly
* Made overlay images centered instead of stretched to size
2016-09-20 03:42:07 +11:00
Charles Dang
dba4bd78b3 Added short slider definition 2016-09-20 03:42:06 +11:00
Lari Nieminen
2970360d49 Merge pull request #734 from GregoryLundberg/GL_HttT_S07_ambushers_reduced
HttT S07 Ambushers Reduced
2016-09-19 19:24:19 +03:00
Charles Dang
2dd8cfdbdc GUI2: added flag to enable markup from WML 2016-09-20 02:06:16 +11:00
Gregory A Lundberg
0493c1eba4 HttT S07 Ambushers reduced
There was an old designer's note that killing the leaders in S01 ('The Elves Besieged') should reduce the number of ambushers hiding in S07 ('Crossroads').
2016-09-19 09:57:25 -05:00
doofus-01
376d45a292 new terrain: Merfolk or aquatic camp (#773)
* adding aquatic encampment terrain

* Update changelog

* remove hardwired terrain codes and image-path from aquatic.cfg

* removed wood.png images

* touch-up to stone-posts in Kme-Cme transition
2016-09-18 13:23:38 +03:00
Gregory A Lundberg
fc4c75e56d HttT S23 Fix bug: Unclear objective
The bonus is (1) recruit Knights and (2) the defeated leaders join you for the Battle for Wesnoth. You do not need to defeat all four for this.
2016-09-18 02:54:11 -05:00
mattsc
0e87d7fd43 High XP attack CA: respect the default 'avoid' aspect 2016-09-17 16:41:41 -07:00
gfgtdf
60d114b606 finish moving cavegen (cave_map_generator.cpp) to lua.
This map generator is used in HttT 17 and SoF 4. which needed to be updated aswell.

With this we finally have a lua generator that is used in mainline and that
can be used an an example by wml authors who want to write other map generators.

Unfortunateley there are still umc add ons in 1.12 that use
scenario_generation=cave so i didn't remove the cpp implementation yet.
2016-09-17 20:52:49 +02:00
Charles Dang
33653e3969 Reduced chatbox size slightly 2016-09-18 03:01:03 +11:00
mattsc
b84ec9f775 Micro AIs: fix attacks aspect setup when ca_id= key not given
This is an optional key of the [micro_ai] tag.
2016-09-17 08:33:55 -07:00
Lari Nieminen
6d36550e1e Merge pull request #731 from GregoryLundberg/GL_HttT_S05b_use_advisor
HttT S05b Use Advisor
2016-09-17 01:07:31 +03:00
Gregory A Lundberg
9bf3f91503 HttT S05b Use an Advisor
There was a TODO to use an actual unit to speak when the ship finally arrives, and to use the line on both victory events.
2016-09-16 16:53:54 -05:00
Gregory A Lundberg
0caaaaa596 HttT S13 Add some random snow
The amount of snow is based upon how quickly you made it through S12 (Northern Winter). It is 1/3rd the coverage from S12, so it varries from 0 to 33% total coverage of the map, since we don't want to really bog down the player. At 1/3rd coverage, if S12 was won on the last possible turn the player here should only lose a turn or two getting to the exits.
2016-09-16 16:51:00 -05:00
Gregory A Lundberg
d4ec024048 HttT S20b Wose assistance quest
Help the wose and get a book which grants Elvish Ranger-like abilities in forest: move 1, defense 70% and ambush.
2016-09-16 15:22:42 -05:00
Lari Nieminen
479e9062db Merge pull request #737 from GregoryLundberg/GL_HttT_S22_gryphons_return
HttT S22 Gryphons Return
2016-09-16 23:04:54 +03:00
Gregory A Lundberg
898cf3b35d HttT S22 Gryphons return
This was an old TODO, now you know what that display was about at the end of S10!
2016-09-16 15:01:26 -05:00
Bär Halberkamp
6df17b37f4 EI: Rebalance S2 2016-09-16 19:10:23 +02:00