19731 Commits

Author SHA1 Message Date
Turuk
46f5ff36d3 Altered difficulties= 2014-06-18 14:03:59 -04:00
Turuk
a15c39fe17 Changed from 4 to 3 difficulty levels for balancing.
Revamping difficulty levels to aid in upcoming balancing for "expert" campaign.
2014-06-18 14:03:20 -04:00
Espreon
c8848813fd Improved theme descriptions 2014-06-16 13:19:54 -04:00
mattsc
156726a6a4 ai_helper.move_unit_out_of_way: fix direction rating
This is supposed to be a minor rating, secondary to the main rating.
2014-06-16 08:08:01 -07:00
mattsc
9e8ee00ad0 battle_calcs: provide default value for resistance modifiers
This is done for cases when the value cannot be read from the unit_info
table, which might happen in some UMC.  This fixes a rare bug affecting
the Fast Micro AI attack evaluation
2014-06-15 19:34:25 -07:00
Lari Nieminen
17974a4bb1 Refresh fog/shroud when the Ghouls appear 2014-06-16 00:26:50 +03:00
mattsc
faeaf5e47c ai_helper.get_attacks: improve check for units in the way
Check whether the unit in the way has an unoccupied hex to move to.
Previously, it was only checked whether its reach was >1, which
sometimes can include only hexes occupied by units on its own side,
making the actual move impossible.
2014-06-15 14:22:18 -07:00
mattsc
ded53dd332 Stationed Guardian Micro AI: make guard_x/y optional keys
If not provided, they now default to stationed_x/y.
2014-06-15 11:59:36 -07:00
mattsc
9645fc466b Coward Micro AI: add optional attack_if_trapped key
If set, the unit attacks the weakest enemy next to which it ends up at
the end of its move.
2014-06-15 07:21:34 -07:00
Ignacio R. Morelle
369b24103e gui2/tcore_selection: Make the listbox grow vertically
This allows its top to be aligned to the dialog's top so it's not
centered vertically.
2014-06-14 23:35:41 -04:00
Ignacio R. Morelle
e7b14b41e1 Use Title Case for core names since they are used in menu context 2014-06-14 23:33:45 -04:00
Ignacio R. Morelle
8712e60bee gui2/taddon_filter_options: Make SP/MP campaigns checkbox use Sentence case
For consistency with all other non-menu/listbox checkboxes.

pofix rule included and applied.
2014-06-14 23:29:35 -04:00
Mark de Wever
02b761b24e Set the minimum width for a listbox cell.
This fixes bug #22046.
2014-06-14 14:43:45 +02:00
mattsc
dac6a2e152 SotBE: minor rebalancing of scenarios 15, 17 and 18
Based on play-testing on nightmare difficulty by Maiklas3000 and Theron.
2014-06-13 12:37:52 -07:00
Alexander van Gessel
07a6ba695e Merge pull request #199 from aquileia/ignore
Restructure and merge .gitignore files
2014-06-13 16:27:01 +02:00
Ignacio R. Morelle
d0d95f2f9f wam: Use a tuple for the --change-passphrase argument's metavar
Fixes its help entry looking like this:

>  --change-passphrase ADD-ON OLD NEW ADD-ON OLD NEW ADD-ON OLD NEW
>                        Change the passphrase for ADD-ON from OLD to NEW

When it really should look like this:

>  --change-passphrase ADD-ON OLD NEW
>                        Change the passphrase for ADD-ON from OLD to NEW
2014-06-12 00:27:20 -04:00
Ignacio R. Morelle
9b065fd9a0 gui2/tchat_log: Add a button to copy the filtered page contents to clipboard
This copies the current contents of the dialog to clipboard. The button
currently lacks a tooltip because the tooltip has the potential to cause
map labels to glitch through the dialog when displayed (see commit
eab3e6fb646fda8cc6101a3e568c86c2b17b707f and bug #22176).
2014-06-11 20:32:42 -04:00
Ignacio R. Morelle
1ef59a37d1 THoT S4: Replace the wooden bridge with a stone one per the start dialogue
This commit also rewrites the map to drop the superfluous whitespace per
the changes to the editor in 1.11.x.
2014-06-10 23:12:24 -04:00
Groggy Dice
61c8c93698 wmllint: reorganize help into mode options and other options
The organization of Elvish Hunter's wmllint GUI tab suggested this change.
2014-06-10 06:10:16 -04:00
Groggy Dice
5b06aa9205 wmllint: fix substitution that was missing a slash 2014-06-10 06:10:11 -04:00
Groggy Dice
6c12233d3c add janebot to credits 2014-06-10 06:10:03 -04:00
Groggy Dice
8e7581f593 wmlscope: fix mistakes in help and options pointed out by Elvish Hunter
See EH's forum post:

http://forums.wesnoth.org/viewtopic.php?f=10&t=40397#p570438
2014-06-10 06:09:58 -04:00
Ignacio R. Morelle
eab3e6fb64 gui2/tgamestate_inspector: Add a button to copy contents to clipboard
This copies the contents of the main display area to clipboard. The
button currently lacks a tooltip because the tooltip causes map labels
to glitch through the dialog when displayed (noticeable in e.g. the test
scenario). I'll file a bug for this issue later using a (commented-out)
line introduced by this commit as a test case.
2014-06-09 18:13:48 -04:00
fendrin
84baedf4d3 Change unit facing submenu for the scenario editor. 2014-06-09 19:16:52 +02:00
Mark de Wever
b7ef64cb19 Set the minimum size for a listbox cell.
The images drawn for a selected cell require a minimum size.

The change is part 2/2 of the fix for bug #22144.
2014-06-09 19:07:53 +02:00
aquileia
c19e729c6b gitignore: Merge rules from doc/ and data/tools 2014-06-09 01:00:50 +02:00
aquileia
1715ab3145 gitignore: Include more rules from subdirectories
That is: data/lua/, scons/, and utils/
2014-06-09 01:00:45 +02:00
aquileia
05641062c8 gitignore: Merge dozens of "Thumbs.db" rules
It suffices to apply the rule once in the root directory.
2014-06-09 01:00:26 +02:00
Chris Beck
f43cb8edc2 add tests for scenario ending by killing enemy leader
Tests killing, killing on retal, and levelling up on killing,
in various configurations.
2014-06-07 17:21:00 -04:00
fendrin
396f1eae33 Moved mainline core definition file from _main.cfg to /data/cores.cfg. 2014-06-06 19:32:59 +02:00
Chris Beck
df71897d2f add error reporting when [if] is evaluated with no actions
I frequently make the mistake of using {IF_VAR} but forgetting to
use [then] with it. One solution is to use my own macro, but the
better solution is to add proper error reporting to if. If the
engine parses an [if] tag with no [then], [else], or [elseif], it
should flag an error... otherwise these mistakes are generally
silent and very difficult to find.
2014-06-05 19:49:57 -04:00
Charles Dang
2af8c75e92 TSG S3: "foul undead" -> "foul creatures", since there are no undead on EASY 2014-06-05 22:02:08 +11:00
Charles Dang
74bbe0f76d AToTB S3: fixed story date inconsistency 2014-06-05 21:56:29 +11:00
ln-zookeeper
3229949ef1 Return Grüü's gold to Kapou'e only if positive 2014-06-05 12:36:08 +03:00
Alarantalara
1b7fc80133 UtBS: Clear a variable not used later 2014-06-01 20:05:22 -04:00
Alarantalara
31d459620d UtBS: Make assassin appear in scenario 5
Event name was improperly identifying variable names.
2014-06-01 20:05:22 -04:00
Alarantalara
44c993ef0c UtBS: Increase difficulty of scenarios 1 and 3
Slightly fewer units in scenario 1 on hard
Deep One has more hp/attacks depending on difficulty
Less income available to player on hard in scenarios 1 and 2 to
decrease gold available in scenario 3
Added a define to make it easier to make Garak killable in scenario 3
2014-06-01 20:05:22 -04:00
Alarantalara
a5974b367b UtBS: Provide a partial path between enemy keeps
Should slightly encourage them to fight each other and reduces the
amount of sand slightly, making interference/attacking the keeps
somewhat harder.
2014-06-01 20:05:22 -04:00
Alarantalara
0221553030 UtBS: Make the final fight harder
Increase hp and damage of all units unique to the fight, and make the
amounts scale with difficulty level.
2014-06-01 20:05:22 -04:00
ln-zookeeper
bab0915c94 Prevent allied leaders' suicidal behavior 2014-05-29 20:29:04 +03:00
ln-zookeeper
cf3699dabd Prevent allied leaders' suicidal behavior 2014-05-29 19:56:03 +03:00
Elvish_Hunter
e3fc8f13b8 wmllint gui: made some options in the wmlscope tab evenly spaced 2014-05-29 14:57:10 +02:00
Elvish_Hunter
5480cca466 wmllint gui: fixed a bug in regexp handling 2014-05-29 14:57:09 +02:00
Chris Beck
55addc2999 Merge branch 'master' of git://github.com/wesnoth/wesnoth 2014-05-28 12:49:32 -04:00
Chris Beck
de55f1dfc7 increase coverage of reachability tests, and rebuild answers 2014-05-28 12:49:07 -04:00
Alexander van Gessel
a4e30b6275 Fix a wmllint crash 2014-05-28 17:54:49 +02:00
Chris Beck
3a102774b5 fixup pathfind tests, add reachability tests 2014-05-28 01:31:09 -04:00
Chris Beck
6cb367594b test [store_locations], and try to characterize [find_path] 2014-05-27 20:30:30 -04:00
Chris Beck
cad6edf182 add comment to test_relative_dir.cfg 2014-05-27 12:00:30 -04:00
Alexander van Gessel
4d7de12e47 Unit tests for deterministic unit facings 2014-05-27 17:30:13 +02:00