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
Charles Dang
4ebf8a258b
GUI2: use floating tooltips (almost) everywhere
2016-03-15 07:53:33 +11:00
Charles Dang
75c3446c77
ttip: tweaked layout of floating tooltips
2016-03-15 07:53:32 +11:00
Charles Dang
2fdc08d92e
ttip: added a separate window definition for floating tooltips
...
The design is based on the 'menu' style window, with a tint applied.
2016-03-15 07:53:31 +11:00
Celtic Minstrel
ecb3dc6c46
Error if looping tags lack [do]
2016-03-14 13:15:04 -04:00
Celtic Minstrel
c1b6060e4b
Fix cleanup of [foreach] scope
2016-03-14 13:15:03 -04:00
gfgtdf
986550c040
move [teleport] actionwml to lua.
2016-03-14 14:42:05 +01:00
gfgtdf
50a9a25ae7
move [unstore_unit] definition to lua
...
This also adds a 'color' parameter to wesnoth.float_label. It was already
previously possible to set a labels color using pango markup, but to
implement [unstore_unit] i need to support the color= syntax as given
by [unstore_unit]
This also adds a 'fire_event' parameter to wesnoth.put_unit to specify
whether the 'unit_placed' event is fired, this is needed to implement
fire_events=yes/no in [unstore_unit] but its also generally useful
for the same reason why [unstore_unit] has this parameter.
2016-03-14 14:41:45 +01:00
Charles Dang
e13cf1e591
Procedurally draw combobox borders
...
This avoids issues with the borders looking bad when scaled
2016-03-14 22:27:37 +11:00
Charles Dang
b512ad2143
Make [message] use wesnoth.highlight_hex()
2016-03-14 09:42:04 +11:00
Charles Dang
5d9c6b13b1
tpreferences: allow composite slider labels to grow to fill space
...
Instead of using a scroll label.
2016-03-13 14:40:07 +11:00
Elias Pschernig
1279214968
[wmlparser3] use less recursion when parsing
...
specifically, avoid recursion for every double double-quite (i.e. the
escaping of " as "")
2016-03-11 17:12:36 -05:00
Charles Dang
cd84293b63
taddon_list: cleanup and progress
2016-03-12 02:33:14 +11:00