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
Charles Dang
7f1dd72c93
tloadscreen: fixed another case of conflicting layout keys
2016-03-31 11:33:44 +11:00
Charles Dang
5afdb0f72a
tloadscreen: better calculations for positioning spacers
...
This allows the loadscreen to look good on both small and large resolutions
2016-03-31 11:33:08 +11:00
Charles Dang
876710af8c
Use std::to_string() or equivalent wherever possible
...
This commit removes the utility srt_cast() function and replaces its calls,
along with calls to lexical_cast<std::string>() (and its boost variant),
with std::to_string().
In a few cases where the input type isn't compatible with to_string,
lexical_cast<std::string> is still used.
In other cases where lexical_cast was operating on MAKE_ENUM enums, the
call has been replaced with ENUM::enum_to_string, which is faster.
2016-03-31 11:18:51 +11:00
Charles Dang
531f391ad8
Exclude loadscreen from GUI2 tests
2016-03-31 09:49:36 +11:00
Charles Dang
f849048a42
Use unique_ptr instead of auto_ptr (deprecated in c++11)
2016-03-31 09:43:13 +11:00
Celtic Minstrel
3eb45c6b2c
Travis: Force GCC version 4.7
2016-03-30 18:40:49 -04:00
Charles Dang
c97a5d14ff
Codeblocks: enable building with c++11
...
This also adds the necessary boost::thread linker option required by
recent loadscreen code.
2016-03-31 09:37:10 +11:00
Charles Dang
1f52abcbfb
tloadscreen: fix conflicting alignment keys in animation label
2016-03-31 09:33:11 +11:00
Charles Dang
38223569ab
Removed unnecessary boost include
2016-03-31 09:33:10 +11:00
Charles Dang
b98687147a
Fixup compilation on C++11
2016-03-31 09:33:09 +11:00
loonycyborg
f962431710
travis: install boost.thread too
2016-03-31 00:59:17 +03:00
loonycyborg
af7286c421
scons: add check for boost.thread since it's a dependency now
2016-03-31 00:46:06 +03:00
loonycyborg
0795ad879b
scons: due to switch to std c++11 always pass -std=c++11
2016-03-31 00:10:32 +03:00
Celtic Minstrel
acc752aa9a
XCode: Build with C++11 and libc++
2016-03-30 16:12:37 -04:00
Celtic Minstrel
94d3d5aec6
Don't attempt every WML test if binary missing
2016-03-30 16:10:17 -04:00
gfgtdf
249792e08d
fix segfault in loadingscreen when staring campaigns,
2016-03-30 21:08:31 +02:00
gfgtdf
2b565b9abe
fix loadingscreen for small resolutions.
2016-03-30 20:29:14 +02:00
gfgtdf
6910083e86
fix loading screen when loading mp config.
2016-03-30 20:29:14 +02:00
ln-zookeeper
c3bf0ee816
Improved on some glitchy 3-way corners involving beach waves
...
Corners where water, sand and anything that sand transitions over (such as roads) exhibited the problem. This fix isn't perfect as the convex and concave shore waves don't completely match, but it's a clear improvement.
2016-03-30 19:16:10 +03:00
ln-zookeeper
085afa0e4a
Added optional [tile] no_draw=<bool> to exclude images from a hex
...
This can be used in rare cases when a multi-hex rule requires that a [tile] be used for matching purposes but without getting the image(s) drawn on it.
2016-03-30 18:51:55 +03:00
gfgtdf
0360184942
add comment
2016-03-30 17:05:03 +02:00
gfgtdf
0d190080ee
remove tloadingscreen::show
...
it only called tdialog::show()
2016-03-30 16:39:38 +02:00
gfgtdf
e1777a1f14
testing loadingscreen animation
...
this adds a simple animation to the gui2 loadingscreen. It not very good
yet, it more about testing whether animations are possible.
2016-03-30 16:39:38 +02:00
mattsc
91130a3df2
Fix error in Formula AI test scenario
2016-03-30 07:33:37 -07:00
gfgtdf
53e527acc7
show current stage in loadingscren.
2016-03-30 15:44:21 +02:00
gfgtdf
e6c58dcc1a
fix segfault during loadingscreen.
2016-03-30 15:44:19 +02:00
gfgtdf
3df0405025
fix wait cursor on titlescren.
2016-03-30 15:44:18 +02:00
gfgtdf
99bbaaeff4
make loadingscreen more responsive to user input.
...
We now create a new thread that does the actual loading while the main
thread handles user input (and drawing of the loadingscreen ). That way
wesnoth can still react on user input such as close game requests while
reading the config files.
2016-03-30 15:37:54 +02:00
gfgtdf
f9ee42c80d
fix linked groups in treeview nodes
2016-03-30 14:23:16 +02:00
gfgtdf
60653e2632
ignore c4477 msvc warning.
2016-03-30 14:23:16 +02:00
Wedge009
808c3fb779
Updating load screen file locations (vcproj).
2016-03-30 19:06:15 +11:00
Celtic Minstrel
de270e4d1d
Remove duplicate file
2016-03-30 02:32:05 -04:00