21917 Commits

Author SHA1 Message Date
Celtic Minstrel
1c27cafa74 Add highlight=yes|no to [scroll_to], [scroll_to_unit], [message]
Defaults to no in the first two cases, yes in the third
If yes, the target hex is outlined.
2016-03-20 02:55:12 -04:00
Celtic Minstrel
09d4033916 Fix some issues with recruit lists changing unexpectedly
This only happened for [test] scenarios.
2016-03-20 02:55:09 -04:00
Celtic Minstrel
9d3ea7ad94 Tutorial: Female variants of most student messages and some generic
This is because, in some languages, the first-person pronoun depends on the speaker of the gender.
Thus, in any case where the gender of the speaker can vary, two versions of the message need to be supplied.
2016-03-20 02:55:03 -04:00
mattsc
6f57ee846b Micro AIs: update to new syntax of wesnoth.put_unit() 2016-03-19 20:59:39 -07:00
mattsc
bce1fae063 Fix portrait missing in [message] with empty image= key
This is mostly important for use of the MESSAGE macro.  Use image=none
if no image/portrait is supposed to be shown.
2016-03-19 14:25:28 -07:00
mattsc
c4a34ebe2c Micro AIs: update syntax of [message][option] usages 2016-03-19 13:26:01 -07:00
ln-zookeeper
81c284125e Reduced images per hex by removing unnecessary feathering 2016-03-19 21:13:17 +02:00
Charles Dang
edc2fb7e9d Default theme: restore backgrounds to sidebar panels 2016-03-20 03:58:50 +11:00
Charles Dang
6304cca22a Moved data/gui/default to data/gui/ 2016-03-20 01:11:10 +11:00
ln-zookeeper
03a2a5177a Changed * to . in small forest flag placing rule 2016-03-19 11:47:58 +02:00
ln-zookeeper
b7edf367c3 Made water overlay transitions use NEW:GENERIC_CORNER_TRANSITION 2016-03-19 11:45:58 +02:00
ln-zookeeper
40d5487765 Decreased the amount of images placed by NEW:GENERIC_CORNER_TRANSITION 2016-03-19 11:43:23 +02:00
Charles Dang
91d0b54c50 tslider: (default) positioner fixup and general cleanup
This *should* fix the slider sometimes not reaching max value... should.
2016-03-19 17:38:45 +11:00
mattsc
b347d2b2d6 Micro AI scenarios: adapt coordinates to changed MP map
The dimensions of the Dark Forecast map were changed.
2016-03-18 13:15:08 -07:00
Celtic Minstrel
bb510a58af Merge pull request #624 from CelticMinstrel/lua_formula_bridge
Many new features in the formula engine
2016-03-18 12:52:05 -04:00
ln-zookeeper
e5b3d8139b Slightly improved the beach waves rules 2016-03-18 18:41:11 +02:00
Charles Dang
d764bba7e4 Procedurally generate selected listbox cell borders 2016-03-19 01:48:23 +11:00
Charles Dang
d299ab1292 Reduce brightness of default font color slightly
Makes it a little less of a strain on the eyes given the background color
2016-03-19 01:36:29 +11:00
Charles Dang
5dcb578c3d Brightened the standard border color a little
Makes it stand out a little more.
2016-03-19 01:21:30 +11:00
Celtic Minstrel
03bbc79367 Formula engine: change undocumented string substitution syntax
It used to use {}, which gets caught by the preprocessor.
Now it uses [] instead.
2016-03-17 23:27:04 -04:00
Celtic Minstrel
240b5f61a7 Output formula errors in unit filters to WML error stream
(And consider them to match no units)
2016-03-17 23:27:03 -04:00
Celtic Minstrel
26a2638f2c Make the formula and Lua views of a unit coincide more closely
Several keys were either missing or misnamed in the formula view.
These have been changed to match the Lua and WML names for the keys.
This affects canrecruit, moves, and max_moves, as well as status.

In addition, a large number of keys were missing entirely from the formula view.
Most of these keys have now been added and can be accessed from formulas.
A few that have little use in filters (such as image_mods or profile) are still missing.

The Lua view missed a few keys that the formula view did provide.
Although these could in principle have been obtained by using the special __cfg key,
they have now been added to the Lua view anyway.
2016-03-17 23:27:03 -04:00
Charles Dang
8b2ba647d1 Slight contrast bump to Wooden Bridges (regular and rotten) 2016-03-18 10:09:33 +11:00
ln-zookeeper
541dbb95c9 Fixed Clean Gray Cobbles drawing transitions on itself 2016-03-18 00:30:02 +02:00
ln-zookeeper
4e6a4e8aad Cleaned up off-hex stray pixels 2016-03-18 00:02:39 +02:00
Charles Dang
e8dd50aa8c tformula_debugger: use verbatim scroll labels 2016-03-17 23:18:08 +11:00
Charles Dang
86261779f2 tscroll_label: update to verbatim style (matches description now) 2016-03-17 23:17:44 +11:00
ln-zookeeper
8c2fd342e4 Cleaned up off-hex stray pixels 2016-03-17 01:16:55 +02:00
Charles Dang
999acb187f tlobby_main: more design tweaks 2016-03-17 08:39:40 +11:00
Celtic Minstrel
d94c73a972 GUI: Fix tooltips occasionally getting cut off on the right 2016-03-16 16:50:29 -04:00
Charles Dang
32c9378992 tlobby_main: design improvements 2016-03-17 07:18:24 +11:00
Charles Dang
8c4dfc5d69 Design tweaks to description scroll label 2016-03-17 07:18:23 +11:00
Celtic Minstrel
df7cdba42c Merge pull request #628 from CelticMinstrel/lua_map_locations
Several location-related Lua things
2016-03-16 15:50:12 -04:00
Celtic Minstrel
268620e2ca GUI: Simplify WML message dialog formulas
Now with 99% less WML macros inserted into the formula.
This makes it easier to read and possibly even more efficient.
2016-03-16 15:47:00 -04:00
Celtic Minstrel
2e6ad2bee3 Add wesnoth.select_unit(), deprecate wesnoth.select_hex()
wesnoth.select_unit() is also callable as u:select() where u is a unit
2016-03-16 12:51:31 -04:00
ln-zookeeper
3133ba325f Cleaned up off-hex stray pixels 2016-03-16 17:42:13 +02:00
ln-zookeeper
bc6effd0de Fixed a small glitch between flat shore and sand shore 2016-03-16 10:18:51 +02:00
ln-zookeeper
9cc1188ce7 Fixed a few more cases of Fixed compression-induced brokenness 2016-03-16 09:25:28 +02:00
ln-zookeeper
1e27198761 Fixed compression-induced brokenness 2016-03-16 09:06:57 +02:00
ln-zookeeper
091370494a Removed feathering and fixed visual mismatch between convex and concave 2016-03-16 00:57:06 +02:00
ln-zookeeper
3223ea29b1 Cleaned up off-hex stray pixels 2016-03-15 21:14:32 +02:00
ln-zookeeper
d6be471108 Cleaned up off-hex stray pixels 2016-03-15 20:36:48 +02:00
Charles Dang
a8e5036c24 editor: No panel background for top bar status areas 2016-03-16 05:14:05 +11:00
Charles Dang
a4c4f18a7c Don't show any images for buttons in menu bar 2016-03-16 05:01:26 +11:00
Charles Dang
33a68d33fd Remove background from theme status boxes and tweak position slightly 2016-03-16 00:13:53 +11:00
Charles Dang
4f106b4d1f GUI2: gave windows procedurally-drawn minimal borders 2016-03-15 21:57:53 +11:00
Charles Dang
06788955c4 GUI2: added macro for border color 2016-03-15 21:35:49 +11:00
Charles Dang
53af40b2f3 ttip: improved look of floating tooltips further
This makes the whole thing procedurally drawn
2016-03-15 21:35:13 +11:00
ln-zookeeper
30bd1c1324 Cleaned up stray pixels and fixed alignment of reef4 2016-03-15 01:52:49 +02:00
Charles Dang
f92936125b ttip: few more tweaks to floating tooltip look 2016-03-15 09:05:20 +11:00