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
Charles Dang
d47336e41d
Fix storyscreen buttons disappearing when drawing title (bug #24528 )
2016-03-18 19:07:19 +11:00
Celtic Minstrel
f02a038879
Fix wesnoth.erase_unit for recall units
2016-03-17 22:41:05 -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
80823d7987
Enable formula debugger in debug mode
2016-03-18 05:21:13 +11:00
Charles Dang
0a8247d837
Forward-declare a variant header include
2016-03-17 23:19:21 +11: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
Celtic Minstrel
92ab82fc8e
Update changelog
2016-03-16 17:53:00 -04: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
afcb382009
Replace Lua map_location helpers with new luaW functions
...
This does change the interface and return values of several functions.
However, these functions were undocumented, so this shoud not be a problem.
2016-03-16 12:51:34 -04:00
Celtic Minstrel
46cee1df68
Allow wesnoth.match_unit to take a location, for hypothetical matches
2016-03-16 12:51:32 -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
Celtic Minstrel
d250e04566
Now luaW_tolocation accepts units and vconfigs
2016-03-16 12:51:29 -04:00
Celtic Minstrel
058ec266cf
Re-enable/fix put_unit deprecation warning
2016-03-16 12:51:28 -04:00
Celtic Minstrel
a84500fb8f
Add functions for transferring map locations to and from Lua stack
...
This also changes nearly all API functions taking locations to use the new functions.
As a result, these functions can now accept their location arguments in any of three formats:
- An array of two integers
- A table with x and y keys
- Two separate, consecutive integer arguments
Functions that return locations mostly still use whatever format they used before.
This is because changing return values is a more compatibility-breaking change.
This temporarily breaks compatibiliy for the following AI functions:
- ai.get_targets()
- ai.get_avoid()
- ai.get_attacks()
2016-03-16 12:50:54 -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
Charles Dang
819c352e7c
Revert "Removed an extra CVideo::flip() call from GUI1"
...
This reverts commit 0aa8900dce348d5ca590250351b2ffafbc0befab.
2016-03-16 06:22:25 +11:00
ln-zookeeper
3223ea29b1
Cleaned up off-hex stray pixels
2016-03-15 21:14:32 +02:00
Charles Dang
0aa8900dce
Removed an extra CVideo::flip() call from GUI1
2016-03-16 06:13:21 +11: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
8e8b4a3835
Added empty images for an imageless menu button
...
This is a huge hack, but it's how GUI1 was set up and it's not worth
trying to refactor it any differently.
2016-03-16 05:00:58 +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
Charles Dang
fe4623e152
Fixup canvas background drawing again
...
When fixing it up the previous time, I didn't include border size, meaning
rectangles with both borders and fill_color drew over the borders.
2016-03-15 21:31:08 +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
Charles Dang
b311135482
tsynced_choice_wait: removed a CVideo argument from pre_show missed in 11b941ab58f1
2016-03-15 04:55:45 +11:00
Celtic Minstrel
0f39cc3fe0
Fix function case
2016-03-14 13:15:33 -04:00
Celtic Minstrel
7d9a0d90b9
Allow array attribute values in Lua config syntax
...
These are converted to a comma-separated string.
It does NOT insert parentheses if an element contains a comma.
2016-03-14 13:15:33 -04:00