18071 Commits

Author SHA1 Message Date
mattsc
bf3517d1e4 ExpAI: make recruiting work with all keys of [damage] special
Previously there would be an error, and subsequently no recruiting, if
the multiply= key was not set.
2013-06-13 07:51:06 -07:00
Charles Dang
f8be6caa0e Removed bg from titlescreen version label. It reads fine against the main wooden bg without it 2013-06-13 02:08:58 +11:00
Emilien Rotival
505fdfb73e New artwork for the on-map unit status 2013-06-12 16:01:29 +02:00
Emilien Rotival
acbc39adda Adjust "bright orange" and "light blue" TCs for "ally" and "partly moved" orbs 2013-06-12 11:13:40 +02:00
Charles Dang
5a35bc4b74 Used opacity IPF (value 65%) for wml message tp border, and grayscale IPF for disabled state of the same 2013-06-12 20:07:14 +11:00
Charles Dang
fab74c0c1c Updated imagepaths to selection border images 2013-06-12 20:07:05 +11:00
Alarantalara
2b1c2f24d4 Remove orc side from capture message
Orcs can't raise corpses
2013-06-11 23:41:02 -04:00
flix
aafe86364b Convert a (unused) macro to use [goal] 2013-06-12 02:41:38 +03:00
Emilien Rotival
e087bbfa59 Add 2 new TC shades ("Bright orange" and "Light blue") and apply them to the part-moved & ally orb
The existing "Blue" TC rendered a orb that looked too much like the black one.
Same with existing orange vs. red.
2013-06-11 23:28:44 +02:00
flix
8c91d2e5cb Add deprecation messages to aspects
[target], [protect_unit], [protect_location],
protect_leader=, protect_leader_radius=.
Patch by pl_kolek. See https://gna.org/patch/?3884
2013-06-11 22:55:35 +03:00
flix
db2f04636f Replace deprecated aspects with [goal] tag
in mainline campaigns.
Patch by pl_kolek. See https://gna.org/patch/?3884
Examined by me and mattsc.
2013-06-11 22:54:56 +03:00
Alexander van Gessel
6bc3de7663 Use hero ellipse alongside hero crown 2013-06-11 16:50:13 +02:00
Emilien Rotival
d201f1d590 Syntax fix in team-color.cfg
I pasted the raw WML from WesnothRCX and committed before realizing there was a difference in syntax
2013-06-11 14:48:03 +02:00
Emilien Rotival
10e61be88d Add a new TC shade ("Bright green") and apply to the unmoved orb
The existing "Green" TC was darker than the old unmoved orb artwork, which made the recolored orb difficult to spot against a green background.
2013-06-11 14:43:30 +02:00
mattsc
66913d3aa8 Return Guardian MAI: bug fix for situation when return hex is occupied 2013-06-10 19:50:13 -07:00
Alexander van Gessel
6b02a922dc Merge pull request #20 from groggydice/lint-win
convert a couple of Windows-isms (backslashes, 'userdata/') to be more x-platform friendly
2013-06-10 14:09:53 -07:00
Alexander van Gessel
6675dee702 Merge pull request #24 from spixi/master
fixed bug #20870 Typo in NAMED_LOYAL_UNIT macro documentation
2013-06-10 14:03:33 -07:00
Charles Dang
bbb51bc557 ToTB: updated campaign icon and difficulty images paths since jetrel moved them into specific folders 2013-06-10 23:38:00 +11:00
Richard Kettering
e458f40658 New base frames for the elven cavalry units. 2013-06-10 01:03:34 -05:00
Richard Kettering
85b15a2c52 New base frames for the cavalryman line. 2013-06-10 00:22:59 -05:00
Richard Kettering
b11612cce9 Moved all the horseman images to their own folder. 2013-06-09 23:43:33 -05:00
Richard Kettering
444549dc34 New base frames for the knight, lancer, and grand-knight. 2013-06-09 22:08:22 -05:00
Richard Kettering
dbd2adf66a New base image for the paladin. 2013-06-09 21:34:35 -05:00
JaMiT
0952dfb180 Fix to unit abilities sometimes matching too often.
Abilities are sometimes checked at locations other than a unit's
current location. If the checked location is adjacent to the unit's
location, then (before this fix) the unit could affect itself as an
adjacent unit.
2013-06-09 17:28:57 -05:00
Richard Kettering
c1065bcbca New image for the skeletal dragon. 2013-06-09 17:10:01 -05:00
flix
9d1dfe0638 Add possibility to kill unit under cursor
...with context menu in debug mode.
Also assign the hotkey "shift+k" for this action.
Patch by pl_kolek. See https://gna.org/patch/?3905
2013-06-09 21:50:48 +03:00
fendrin
1f94b40846 Wired in the item group icons. 2013-06-09 12:54:47 +02:00
fendrin
2dff1967bf New orb image wired in. 2013-06-09 08:47:10 +02:00
Charles Dang
7d67312f06 Fixed more paths to gold coins image 2013-06-09 17:14:17 +11:00
Charles Dang
0ca3f3f268 Removed editor settings dialog. Custom TOD dialog has replaced it 2013-06-09 12:42:32 +11:00
Charles Dang
3d59e29be6 Removed old theme image previously used in now-removed expirimental theme 2013-06-09 12:41:37 +11:00
Espreon
7bfe81e824 'End scenario' -> 'End Scenario'. 2013-06-08 20:11:26 -04:00
Derek Hoagland
88e2040204 Move images/flags/ to data/core/images/flags where WML is 'allowed' to access it. 2013-06-08 17:10:17 -04:00
Charles Dang
e0fb308439 Fixed wrong macro arg name and missing quote 2013-06-09 05:07:04 +11:00
Charles Dang
7d654199ed Convert uses of lite button to H20 menu button
Lite has the same dimensions of the H18 menu button, which is unused
and moved to attic. Since all uses of lite were menus, I reassigned
them to use the current H20 menu image.
2013-06-09 04:53:59 +11:00
Charles Dang
cd07621cc0 Use grayscale IPF for slider disabled state 2013-06-09 03:28:17 +11:00
Charles Dang
60283c1455 USe opacity IPF for transparent scrollbars instead of seperate images (value set to 65%) 2013-06-09 03:13:02 +11:00
Alexander van Gessel
ce8e60bdda Merge pull request #23 from groggydice/rgb
append pango code to message about color spec requiring manual fix
2013-06-08 08:06:13 -07:00
Charles Dang
0348e68de6 Use grayscale IPF for disabled tree view toggle button state 2013-06-09 01:11:42 +11:00
Galen Brooks
69c9e3d9d7 Drake animation file name extension was missing 2013-06-08 07:57:59 -04:00
Charles Dang
7fe8cc5f84 Use grayscale IPF for disabled widget variations instead of specific images 2013-06-08 22:54:37 +11:00
fendrin
d971585a20 Fix the low resolution editor theme. 2013-06-08 13:50:44 +02:00
fendrin
85b2774f28 Wired in a button for the minimap color coding. 2013-06-08 10:52:30 +02:00
fendrin
8fe409717d Added mini-map specific buttons. 2013-06-08 08:54:13 +02:00
mattsc
e6ec4152d2 ExpAI: make recruiting work with all keys of [chance_to_hit] special
Previously there would be an error, and subsequently no recruiting, if
the value= key was not set.
2013-06-07 19:17:21 -07:00
Charles Dang
750d9d084a Used correct image paths for default toggle button's disabled state 2013-06-08 11:07:53 +11:00
spixi
9625d6df6e fixed bug #20870 Typo in NAMED_LOYAL_UNIT macro documentation 2013-06-07 21:01:28 +03:00
mattsc
f06daf98fd Micro AIs: minor grammar fixes 2013-06-07 07:34:17 -07:00
mattsc
ec21fad877 Healer Support MAI: make [filter] work correctly when aggression=0
Previously, all healers were excluded from attacks when aggression=0
was set, not only those specified in [filter].
2013-06-07 06:48:55 -07:00
groggydice
2167195685 append pango code to message about color spec requiring manual fix
When pangoize detects an old-style color spec, it prints a message that it needs a "manual fix." Unfortunately, the old markup used decimal values while pango uses hexadecimal, and authors were left to do the conversion themselves.

My modification not only does the hex conversion, it provides pango code ready to copy and paste into the line.

Going over this:

rgb =:  First step is to turn the original regular expression into a regex object. The one change is that later on, wmllint turns non-pango "<" and ">" into "&lt;/&gt;", so I have the regex match those too, in case we are dealing with a file that has already been through wmllint before.
if rgb:  Having turned the original search into a regex object, we are ready for an if test again.
  r, g, b =:  We need Python to recognize these strings as numbers.
  if > 255:  At least one old campaign ("A Sortie") has color specs that include values over 255. Given the impossibility of deciphering what color the author may have intended, I think the proper thing to do is to print an error pointing to the problem.
  else:  This, of course, is the normal case.
    hexed:  Here we convert our numbers to hexadecimal, and back into a string. Because numbers up to 15 will only have one hex digit and we need two, we will leave a "0" when we remove the "0x" prefix; then we take the last two characters, lopping off the zero from the numbers greater than 15 that already have two digits.
    print:  The new error message. With the regex object, we can cite the color spec specifically, not just refer to it as being "in line". And at the end is pango code, ready to copy and paste.
2013-06-06 22:42:43 -04:00