Commit graph

19991 commits

Author SHA1 Message Date
David Mikos
52e7a3aab9 THoT: Masked Dwarvish Lord range attack same as Dwarvish Lord 2014-07-20 21:24:04 +09:30
mattsc
147a014a7b Guardian Micro AI: remove translation marks from map labels
These are meant as technical information for UMC authors, not “normal
users”.
2014-07-15 17:19:22 -07:00
Mark de Wever
e74fb902e3 Set the minimum width for a listbox cell.
Backported from master 02b761b24e, fixes bug #22046.

Thanks to shadowm for reminding me to backport this patch.
2014-07-15 20:34:11 +02:00
Ignacio R. Morelle
35a48f29f9 Make Lit Mushroom Grove stats identical to Mushroom Grove
(Favor the terrain with the worst movement costs between the base and
overlay, instead of always using Fungus movement costs.)

This is part of the fix for bug #21971 that was missed in commit
18282b542f.
2014-07-13 21:10:12 -04:00
ln-zookeeper
e4f94adc07 Fix SCATTER_UNITS placing units on map borders 2014-07-12 13:10:59 +03:00
ln-zookeeper
d4b3927236 Fixed Darken's buggy ellipse 2014-07-05 15:22:26 +03:00
ln-zookeeper
caac7c70c9 Un-passivied Darken but prevented suicidal behavior 2014-07-05 15:21:14 +03:00
Ignacio R. Morelle
4c47857492 wmlindent pass on data/campaigns/ 2014-07-02 22:07:59 -04:00
Ignacio R. Morelle
da5840758a wmlindent pass on data/core/ 2014-07-02 22:07:42 -04:00
Ignacio R. Morelle
3a3c238f7a wmlindent pass on data/themes/ 2014-07-02 22:07:31 -04:00
ln-zookeeper
27c72637e0 Fixed various income issues 2014-06-30 23:03:36 +03:00
Ignacio R. Morelle
5e9b82199f Fix missing images in the test scenario context menu
Both instances refer to the "All" editor palette's icon in 1.10.x, moved
and redrawn during 1.11.x so it doesn't really fit in this menu anymore.
So my logic is, why not put the BLEND() IPF to test?
2014-06-28 21:51:22 -04:00
Ignacio R. Morelle
75a575c2ea Add a test case for bug #22215 2014-06-27 22:03:08 -04:00
Ignacio R. Morelle
40c549735f wam/html: Add add-on type labels for campaign_sp_mp and mod_mp 2014-06-26 19:18:10 -04:00
Elvish_Hunter
bc595d8038 wmltools GUI: backported bugfixes from trunk 2014-06-25 15:37:12 +02:00
Alexander van Gessel
8b6e5a5375 Merge pull request #213 from aquileia/map_overlays
Map overlays for mainline campaigns
2014-06-25 08:11:20 +02:00
aquileia
2910ba69a7 German translation: Map overlays
Full set of the mainline campaign map overlays.

[ci skip]
2014-06-25 06:46:58 +02:00
ln-zookeeper
a37a0f027b Updated bigmap credits 2014-06-24 22:52:18 +03:00
Turuk
ee0bcb9f99 DM S10: Add Ghast to [role] to complete list 2014-06-23 22:03:19 -04:00
Alexander van Gessel
0921c8b6ac Remove non-existent unit ID from filter
Spotted by necrosporus.
2014-06-23 23:10:46 +02:00
Ignacio R. Morelle
5e57bcaab2 NR: Search for White Magi respawn locs only within map edges (bug #22097)
Without this, the engine may match map borders and send the respawnee
back to the player's recall list as those count as invalid locations
like "recall","recall".
2014-06-21 10:17:34 -04:00
Ignacio R. Morelle
00d7b06faf NR: Refactor the White Magi respawn location finding code into a macro
This bit was subject to a particularly bad case of code copy-pasting
when the only real variable is the id of the first respawn hub
candidate.

Added a statement to clear the respawn_hub WML variable after running
the code since it's never used again afterwards.
2014-06-21 10:16:47 -04:00
aquileia
8eb50e65c7 Remove all old style bigmap overlays but the titlescreen
Without the corresponding maps, the overlays are completely unnecessary.

The titlescreen is preserved for UMC use - all other cases are from
campaigns and aren't guaranteed to be included with the game.

[ci skip]
2014-06-20 20:35:05 +02:00
aquileia
f17cae5290 Map localization: Remove duplicate old generation overlays
For those languages where new overlays are available, we don't need
to keep the old ones.

[ci skip]
2014-06-20 20:17:45 +02:00
mattsc
28d2c9e279 Return Guardian MAI: fix bug when path to return hex is blocked
Such as when the unit is surrounded.
2014-06-19 11:27:38 -07:00
mattsc
8969c7a60e Random Recruit Micro AI: fix bug with custom castle terrain
Previously, only terrain with C or K in the terrain code passed the
SLF.  Now we check whether the hex is a castle instead, independent of
the terrain code.
2014-06-19 09:30:20 -07:00
Ignacio R. Morelle
eee57afbd2 gui2/tchat_log: Use a separate proper label for the page number text
This replaces the page number slider with a "minimal" variant slider and
an adjacent label widget whose text we enter manually.

The label format is "<PAGE>/<COUNT>" and it's untranslatable. Hopefully
this shouldn't cause any localization issues since it's all numbers and
we currently can't use alternative numeral systems anyway.

I'm leaving the page slider's maximum_value_label attribute intact just
in case this needs to be reverted later, since it's going into the 1.12
branch too.
2014-06-19 02:34:00 -04:00
Ignacio R. Morelle
2ffdcb7e45 gui2/tslider: Add minimal variant without a text label
The default variant's text label is both inflexible in content (can't
customize the format for non-edge values) and layout (reserves way more
space than it needs at a time for its text label, often resulting in
huge horizontal gaps between a slider and an adjacent widget). This
makes it unsuitable for use in gui2::tchat_log.

This new minimal variant will be wired into gui2::tchat_log next.
2014-06-19 02:33:56 -04:00
mattsc
485c51b28f 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:43 -07:00
mattsc
8f0980c58f 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:35:50 -07:00
Lari Nieminen
44666d2b64 Refresh fog/shroud when the Ghouls appear 2014-06-16 00:33:28 +03:00
mattsc
130389acdf 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:26:20 -07:00
Ignacio R. Morelle
799e09d94a 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
eab3e6fb64 and bug #22176).

(The tooltip should also remain commented-out because this is a backport
to 1.12.)
2014-06-14 23:44:52 -04:00
Ignacio R. Morelle
474f30c759 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:26:39 -04:00
mattsc
054c96be28 SotBE: minor rebalancing of scenarios 15, 17 and 18
Based on play-testing on nightmare difficulty by Maiklas3000 and Theron.
2014-06-13 12:40:20 -07:00
Ignacio R. Morelle
3b9260d624 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:29:59 -04:00
Ignacio R. Morelle
7fff3c766d 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:11:54 -04:00
Ignacio R. Morelle
6a56da5f0f 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-10 23:05:33 -04:00
Groggy Dice
e47ebac43a wmllint: reorganize help into mode options and other options
The organization of Elvish Hunter's wmllint GUI tab suggested this change.
2014-06-10 05:59:09 -04:00
Groggy Dice
5fb9500400 wmllint: fix substitution that was missing a slash 2014-06-10 05:41:06 -04:00
Groggy Dice
b9d2a54062 add janebot to credits 2014-06-09 22:00:30 -04:00
Groggy Dice
a88e97b5e0 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-09 22:00:27 -04:00
Mark de Wever
06b7144e1a 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:11:56 +02:00
fendrin
18282b542f Fix bug #21971: visual glitch of terrains on 2p - Hornshark Island 2014-06-07 23:45:35 +02:00
fendrin
729bea854e Fix for bug #21298: Minimap shows invisible overlays 2014-06-07 23:21:56 +02:00
fendrin
f704b4a162 Fix error message about missing ui elements. 2014-06-07 22:45:13 +02:00
fendrin
22266c0a42 Default hotkeys for editor brushes(1-5) and terrain description(ctr+t). 2014-06-07 22:04:37 +02:00
fendrin
6575063560 Fix coordinates after a map change. 2014-06-07 16:49:59 +02:00
fendrin
54c15592f7 Put the DEFAULT_SCHEDULE_* macros in use. 2014-06-07 16:49:21 +02:00
fendrin
6a2c1a04e6 Enabled the terrain description dialog in the editor. 2014-06-06 22:30:44 +02:00