gfgtdf
b847c18785
fix msvc compilation.
2016-04-01 22:35:23 +02:00
gfgtdf
90cd3bacc8
attempt to fix travis c++14 build
2016-04-01 22:29:00 +02:00
Celtic Minstrel
b7d6712184
tloadscreen: Disable escape/enter and avoid use of atomic iterator
2016-04-01 13:36:57 -04:00
gfgtdf
ae09f7975b
Add c++14 test to travis
2016-04-01 18:55:51 +02:00
loonycyborg
bb02ce7c72
scons: add option to enable using c++14 features
2016-04-01 19:46:02 +03:00
Celtic Minstrel
982394fe3a
Remove custom FOREACH macro in favour of range-for
2016-04-01 12:08:05 -04:00
Charles Dang
f497d4c919
tpreferences: fixed accelerated speed slider
...
Apparently, to_string has inconsistent behavior when operating on
floating point types, so revert to using lexical_cast.
2016-04-02 02:47:04 +11:00
Charles Dang
4645d654c3
CB: enable building wesnothd alone
2016-04-02 02:26:22 +11:00
gfgtdf
2cfffe8bb6
attempt to fix c++14 compilation.
2016-04-01 16:31:40 +02:00
gfgtdf
9d570b852c
fix c++14 compiler detection
2016-04-01 16:15:01 +02:00
gfgtdf
7e204d16e4
fix c++14 compiler detation
...
HAVE_CXX14 is most likeley meaningless on msvc, so we move the msvc out of HAVE_CXX14. Also fixes the indention of the other code.
2016-04-01 16:13:40 +02:00
Wedge009
59a8682b89
Trivial comment spelling correction (from PR #640 ).
2016-04-01 23:10:16 +11:00
Celtic Minstrel
cc115b9d0e
tloadscreen fixup for MSVC
2016-04-01 03:59:55 -04:00
Celtic Minstrel
390aa20516
Guards around C++14 code
2016-04-01 01:27:27 -04:00
Celtic Minstrel
1ff7b5fbcd
XCode: Set Mac App Store category
2016-04-01 00:43:35 -04:00
Celtic Minstrel
d958429e27
XCode: Update Wesnoth version
2016-04-01 00:43:34 -04:00
Celtic Minstrel
7c767e6402
tloadscreen: Use atomic access for current stage
2016-04-01 00:43:33 -04:00
Celtic Minstrel
8580245c29
Complete config.hpp compiler detection
2016-04-01 00:43:32 -04:00
mattsc
1cc3711996
Xcode project: ignore inconsistent-missing-override warning
2016-03-31 19:58:15 -07:00
Celtic Minstrel
e35e46ec2e
Enable commented C++11 xBRZ code
2016-03-31 21:40:14 -04:00
Celtic Minstrel
d9eab21bd0
Remove redundant gamestate::bind()
2016-03-31 21:40:11 -04:00
Celtic Minstrel
1368a05ee9
Correct indentation
2016-03-31 21:40:09 -04:00
Celtic Minstrel
a5cd2c7f4a
Restore loadscreen translatable stage messages
2016-03-31 21:40:08 -04:00
Celtic Minstrel
1c5f6024fd
Reduce needlessly large closures
2016-03-31 21:40:05 -04:00
Charles Dang
51957589ed
Removed some C++11 include guards I missed
2016-04-01 12:27:06 +11:00
gfgtdf
bc20a3d7d9
remove a c++11 #ifdef
2016-04-01 03:19:37 +02:00
gfgtdf
b6282d8662
use c++11 heterogeneous map lookups in config if possible.
...
this means that codes like cfg.child("abcd") or cfg["abcd"] won't create
a temporary std::string anymore. At least when cfg is const.
2016-04-01 03:17:40 +02:00
Celtic Minstrel
9c442ebb4b
XCode: Fix wesnothd build
...
A unit test file had been accidentally included in the build, leading to link errors.
2016-03-31 18:47:13 -04:00
Celtic Minstrel
e7cb3f500c
XCode: Fix dynamic link errors in unit tests
2016-03-31 17:37:52 -04:00
Celtic Minstrel
ec43700ff5
XCode: Enable unit tests build
2016-03-31 16:05:15 -04:00
gfgtdf
c01e5e8a39
fix starting positions in gamemap::write()
2016-03-31 20:19:06 +02:00
gfgtdf
5d9e211b34
fix loadscreen always showing before campaigns menu.
2016-03-31 20:19:06 +02:00
Celtic Minstrel
c8a71438ac
Fix unit tests
2016-03-31 13:23:03 -04:00
Charles Dang
a0a8836bbe
Used to_string() method instead of enum::enum_to_string() when possible
2016-04-01 02:41:17 +11:00
Celtic Minstrel
4024e673f7
tpreferences: Make checkmark translatable
2016-03-31 11:38:19 -04:00
Charles Dang
f6452a3dd6
Small test fixup (same as 0936066bf3e6)
2016-04-01 02:29:51 +11:00
Charles Dang
0936066bf3
Fixed initializing of mp scenarios
...
Was accidentally broken in 876710af8c2.
2016-04-01 02:00:23 +11:00
Charles Dang
a0ffdff812
Convert plain usecases of boost::assign::list_of() to initializer lists
...
Usecases calling to_container() or convert_to_container() were left alone.
2016-04-01 01:51:01 +11:00
Charles Dang
accbcd0466
SoF: italicize description poem
2016-03-31 23:59:08 +11:00
Charles Dang
83dd965f9e
WML test fixup by Soliton
2016-03-31 21:31:21 +11:00
Charles Dang
61cb45ac8c
Fixup b98687147
2016-03-31 21:22:53 +11:00
Celtic Minstrel
fb6031d6a1
lua_function= in SUF now has limited support for non-global functions
...
To be precise, the string is considered as a dot-separated list of components.
2016-03-31 02:13:40 -04:00
Celtic Minstrel
4c45683d4d
Modernize luaW_getglobal
...
The variadic form now uses a variadic template, and a vector form has been added.
Since the nullptr sentinel argument is no longer required, it has been removed from all calls.
2016-03-31 02:13:39 -04:00
Celtic Minstrel
86b4680371
Use vector/templating for Lua-like bulk registration functions
2016-03-31 02:13:38 -04:00
Charles Dang
1ae22aa046
tpreferences: use initializer list for accl speeds
2016-03-31 17:02:05 +11:00
Celtic Minstrel
3ac7f8d970
NULL -> nullptr
...
A few cases of NULL were missed, since changing them led to errors
(Mainly instances where it was passed to a boost::function)
2016-03-31 00:42:38 -04:00
Celtic Minstrel
486cf46993
scons: sort source file lists
2016-03-30 22:41:40 -04:00
Charles Dang
0acea0c502
Revert accidental conversion of make_enum test to to_string (from 876710af8c24)
2016-03-31 13:18:16 +11:00
Charles Dang
7a2955f053
Revert accidental conversion of lexical_cast test to to_string (from 876710af8c24)
2016-03-31 12:14:30 +11:00
Charles Dang
cf6fa69d27
Removed C++11 include guards
...
This also expands the OVERRIDE compatibility macro (FINAL was not used).
2016-03-31 12:06:35 +11:00