18036 Commits

Author SHA1 Message Date
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
Emilien Rotival
3f0360365a Placeholder artwork for experimental GUI theme 2013-05-31 00:51:36 +02:00
Charles Dang
c8e8ca4a09 Use new images for end turn button on low resolutions 2013-05-31 07:52:05 +11:00
Charles Dang
929b07dc87 Bumped size by 1 for normal icon toggle button, tiny res, for consistency 2013-05-30 23:00:40 +11:00
Charles Dang
1bb0b4e28f Increased size of nornal icon toggle button a little. Prevents scaling on normal resolutions. 2013-05-30 22:51:29 +11:00
Charles Dang
8ee955a096 Replaced refs to old lite_small image with one to new image 2013-05-30 22:23:02 +11:00
Charles Dang
7f8964d854 Used new images for end turn button in expirimental theme
The button goes off the side of the screen a bit, but that doesn't
really matter at no one uses Experimental anyway
2013-05-30 21:41:31 +11:00
Charles Dang
a33b3fd3d9 Made replay controls use new images 2013-05-30 21:06:22 +11:00
Charles Dang
bc63985554 Made icon toggle button/resize map dialog use new images 2013-05-30 17:20:30 +11:00
Charles Dang
09c899515d Made use of pressed and active overlay variations 2013-05-30 04:40:24 +11:00
Charles Dang
485eef1f7c Used grayscale imagepathfunction on disabled state overlays in absence of specific image 2013-05-30 04:18:45 +11:00
Charles Dang
6186222165 Made repeating button use new images 2013-05-30 03:04:40 +11:00
Charles Dang
55a5331967 Fixed typos 2013-05-29 22:05:13 +11:00
Emilien Rotival
ea27d2e85f Placeholder artwork for experimental "unit_box" feature 2013-05-29 12:09:48 +02:00