63974 Commits

Author SHA1 Message Date
Wedge009
c98bc798e7 VC Project Update 2016-03-20 01:58:14 +11:00
Charles Dang
6304cca22a Moved data/gui/default to data/gui/ 2016-03-20 01:11:10 +11:00
Charles Dang
ec9995dc94 Cleaned up inclusions of video.hpp 2016-03-19 23:31:35 +11:00
Charles Dang
9c33f77de2 Cleaned up inclusions of display.hpp 2016-03-19 22:30:21 +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
83ee4f6087 Convert most includes to src/-relative
This excludes includes that need backtrack path specifiers in order to resolve
name clashes.
2016-03-19 19:35:17 +11:00
Charles Dang
c36b96ae98 Merge pull request #621 from Wedge009/bug_24357_fix
Resolve translated logo images not being used (bug #24357)
2016-03-19 18:27:22 +11:00
Wedge009
6e836969bb Update change log. 2016-03-19 18:11:59 +11:00
Wedge009
6d03404785 Add missing language codes so that translated logo images can be used (bug #24357) 2016-03-19 18:09:42 +11:00
Charles Dang
df6bc83543 Merge pull request #618 from CelticMinstrel/lua_unit_effects
Include built-in effects in wesnoth.effects
2016-03-19 17:50:32 +11:00
Charles Dang
eaadf6fab1 Remove set_volatile() calls from display::layout_buttons() 2016-03-19 17:50:00 +11:00
Charles Dang
a9ad200151 tslider: code cleanup 2016-03-19 17:45:35 +11: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
Celtic Minstrel
cad89effe8 Allow [effect]times=<integer> 2016-03-19 02:06:06 -04:00
Celtic Minstrel
0f1b21a5be Include built-in effects in wesnoth.effects and allow them to be overridden 2016-03-19 02:05:53 -04: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
229e8881ee Update changelog 2016-03-18 10:15:22 -04:00
Celtic Minstrel
f8476368d3 Formula engine: debug_print() now shows in chat if debug mode on 2016-03-18 10:14:44 -04:00
Charles Dang
d47336e41d Fix storyscreen buttons disappearing when drawing title (bug #24528) 2016-03-18 19:07:19 +11:00
Celtic Minstrel
a02b1c13a1 Formula engine: Improve debugger
- Less-than characters no longer break markup
- More debug information attached to various evaluation stages
- Fixed how some components of formulas were printed
- You can now step through the assignments in where clauses
2016-03-18 02:17:17 -04:00
Celtic Minstrel
69024df4f5 Formula engine: Allow two-argument if() - returns null if false 2016-03-18 02:17:15 -04:00
Celtic Minstrel
2e412df9b9 Formula_engine: make distance_between function a core function 2016-03-18 02:17:14 -04:00
Celtic Minstrel
50c42caf11 Formula engine: Add "in" operator for map/list containment 2016-03-18 02:17:11 -04:00
Celtic Minstrel
e814bb48be Formula engine: Allow dot notation on strings and maps
- On maps, it selects string keys that equal the identifier
- On strings, it allows character, word, or "item" indexing
2016-03-18 02:16:27 -04:00
Celtic Minstrel
f0abbf1111 Add a few more formula string tests 2016-03-18 00:30:41 -04:00
Celtic Minstrel
928ccbfc06 Formula engine: fix max() and min() not working on decimals 2016-03-18 00:30:38 -04:00
Celtic Minstrel
a9a29a11cc Add a few more formula math tests 2016-03-18 00:30:37 -04:00
Celtic Minstrel
f6be40bb71 Transfer original formula unit tests to Boost framework
In the process, I have corrected a few tests and added a few extras
2016-03-18 00:30:36 -04:00
Celtic Minstrel
e78b5d7baf Formula engine: fix comparison trying to cast everything to decimal
Now it only tries to cast to decimal if both are numbers.
2016-03-18 00:30:34 -04:00
Celtic Minstrel
b53ee994c9 Formula engine: now exponentiation returns null on NaN 2016-03-18 00:30:33 -04:00
Celtic Minstrel
6da744a37a Formula engine: add empty map literal 2016-03-18 00:29:39 -04:00
Celtic Minstrel
de4186c47b Formula engine: add type() function 2016-03-18 00:29:18 -04:00
Celtic Minstrel
4a3fce393a Formula engine: fix index operator having lowest precedence
It now has the highest precedence
2016-03-17 23:27:23 -04:00
Celtic Minstrel
a4469210d4 Formula engine: fix exponentiation being left-associative 2016-03-17 23:27:22 -04:00
Celtic Minstrel
0b84677ee9 Formula engine: Lists can be indexed with negative numbers
(this counts from the end)
2016-03-17 23:27:22 -04:00
Celtic Minstrel
38f6e8c4f1 Formula engine: Add string escapes mechanism
This builds on the string substitution syntax:
- [(] means an open bracket
- [)] means a close bracket
- ['] means a single quote / apostrophe

The tokenizer is now aware of string substitutions, making this possible
as well as the nesting of strings within string substitutions.
2016-03-17 23:27:21 -04:00
Celtic Minstrel
b239dd5fd1 Formula engine: New string functions find_string and replace 2016-03-17 23:27:20 -04:00
Celtic Minstrel
bb0d00f348 Formula engine: Fix rounding issues with math functions 2016-03-17 23:27:20 -04:00
Celtic Minstrel
6aed979113 Reformat the formula function classes 2016-03-17 23:27:19 -04:00
Celtic Minstrel
a40ffc0351 Formula engine: Catch cases of NaN resulting from math functions
They are now converted to null.
2016-03-17 23:27:18 -04:00
Celtic Minstrel
523154f807 Formula engine: Add several more math functions 2016-03-17 23:27:17 -04:00
Celtic Minstrel
f32b51b022 Formula engine: Add root functions 2016-03-17 23:27:16 -04:00
Celtic Minstrel
c589298e0f Formula engine: Add inverse trig functions 2016-03-17 23:27:15 -04:00