18049 Commits

Author SHA1 Message Date
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
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
mattsc
2139c84188 Zone guardian MAI: add optional station_x,station_y= keys 2013-06-06 19:24:13 -07:00
mattsc
3fadf4cc31 Goto Micro AI: do not exclude leaders by default
The MAI accidentally excluded units with canrecruit=yes.  Thanks H-Hour.
2013-06-06 13:20:00 -07:00
Charles Dang
beb177e09b Made repeating button use opacity IPF for transparent versions (value set to 65%).
Thanks to bumbadadabum for pointing out I had forgot to do this
2013-06-07 02:48:41 +11:00
Charles Dang
5bcc6f0c1b Removed Dfool and Experimental themes 2013-06-05 19:42:57 +11:00
fendrin
643009c62a Render the global time of day beyond the local one. 2013-06-04 22:42:42 +02:00
fendrin
e82a16e09b Fixed an image path. 2013-06-04 22:42:41 +02:00
fendrin
53b3e303d3 UnitBox experimental theme. 2013-06-04 22:42:41 +02:00
fendrin
d7f3b5426e Correct indentation. 2013-06-04 22:42:41 +02:00
fendrin
16dd13cab4 Put the new custom tod dialog into use. 2013-06-04 22:42:41 +02:00
Charles Dang
6daa64099b Updated menu button image paths 2013-06-04 23:17:32 +11:00
Charles Dang
ca06fe62d5 Made dfool them use correct images (non menu image for End Turn button and H20 menu buttons for menu buttons) 2013-06-04 22:05:41 +11:00
Charles Dang
f8761a7064 Fixed path to low-res tools editor theme image 2013-06-04 21:23:24 +11:00
Charles Dang
ea56778b8f Use opacity IPF for transparent button images. Value set to 65% 2013-06-04 20:28:43 +11:00
Charles Dang
5211a99b1b Used regular as opposed to copper button variation images for default button 2013-06-04 20:18:04 +11:00
Charles Dang
b32ca5c390 Updated path for transparent version of default buttons 2013-06-03 05:33:21 +11:00
groggydice
c10959f8d5 remove files on Windows so --revert and second conversions can proceed
Windows won't allow a rename to overwrite an existing file (Error 183, file already exists).
2013-06-01 22:59:50 +02:00
flix
2965da1731 Add comments to data/ai/formula/new_recruitment.fai 2013-06-01 23:41:27 +03:00
flix/Felix Bauer
29e8584738 Add new aspect 'advancements'
As part of a GSoC proposal I added a new aspect so a scenario editor can control advancements in two ways:
1. Define a aspect with a string-value like "Swordsman, Knight", so the units of interesst will always advance to this
2. Use the LUA-Engine and return a function of the form advance(x, y) which will itself return a string-value
    like "Swordsman, Knight". Everytime a ai-unit advances advance(x, y) will be called.
The corresponding wikipage (http://wiki.wesnoth.org/AiWML) is going to be updated soon.
2013-06-01 17:21:12 +03:00
Emilien Rotival
2dbcdda8fa Renamed the folder for consistency with the editor theme 2013-05-31 01:10:08 +02:00