19713 Commits

Author SHA1 Message Date
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
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
Alexander van Gessel
038ff82a02 Test case for two interface bugs
An effect that does more than one thing concatenates the descriptions.
The effect description isn't updated when a new weapon which it affects
is added to the unit.
2014-05-27 14:58:43 +02:00
Chris Beck
f664b4e5af add test of [modify_unit] facing= attribute 2014-05-26 23:34:48 -04:00
Chris Beck
b272239ea9 add replace_schedule in prestart test 2014-05-26 20:14:16 -04:00
Chris Beck
ec5ec4fb38 add tests of modify_turns tag 2014-05-26 20:02:05 -04:00
Chris Beck
7cc62266e9 unit tests for giving gold in prestart 2014-05-26 19:06:00 -04:00
aquileia
9b51a3a877 Implement temporary weapon swap in DM 21
As Kalenz puts it, "We have acquired orcish weapons". All elvish swords
are replaced by orcish ones for the duration of the scenario.
2014-05-26 23:23:28 +02:00
ancestral
29490feef3 Added [portrait] to Hakim
Hakim has a portrait, but his config file is missing it.
2014-05-24 16:56:39 -07:00
Chris Beck
12fad6efbc fixup wmllint to include 1.11.15 changes 2014-05-24 19:11:48 -04:00
ln-zookeeper
91c13b82c0 Fixed Li'sar not carrying over correctly 2014-05-23 22:53:10 +03:00
mattsc
54b3030676 MAI test scenarios: fight_on_without_leader -> defeat_condition
Necessary due to a recent change how the victory conditions are
evaluated.
2014-05-22 19:51:51 -07:00
Chris Beck
49f97ee9be Merge branch 'master' of git://github.com/wesnoth/wesnoth 2014-05-22 17:22:33 -04:00
Chris Beck
d129d80ebe Add unit tests for check victory function
Mainly focused on defeat_condition field right now... woudl be good
to add some that test victory_when_enemies_defeated.
2014-05-22 17:21:53 -04:00
ln-zookeeper
3a860d4657 Fixed broken image reference 2014-05-22 20:53:55 +03:00
ln-zookeeper
86fe11bb24 Fixed repeated dialogue 2014-05-22 17:36:14 +03:00
Elvish_Hunter
2dbca0c3f1 wmllint GUI: avoid showing a blank Tk window if the program is run outside of a Wesnoth directory 2014-05-21 10:43:54 +02:00
Elvish_Hunter
385384de86 wmllint GUI: verbosity level radiobutton, Normal -> Terse 2014-05-21 10:43:54 +02:00
Elvish_Hunter
ef81cbad61 wmllint GUI: moved the exit button to the right side of the window 2014-05-21 10:43:54 +02:00
Elvish_Hunter
82e1126094 wmllint GUI: removed verbs from option labelframe labels 2014-05-21 10:43:53 +02:00