1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-24 08:32:34 +02:00
vcmi/server
Michał W. Urbańczyk 4576719abe Visual Studio 2013 Preview compile fixes:
* 0 is not convertible to std::function, nullptr should be used
* std::ref(rand) is not convertible to function<int()>, used lambdas (why we dont just pass "rand" ? )
* CFunctionList needs to be constructible from nullptr
* move constructor for CMapInfo (Visual cannot generate them :( )
* #ifdefed some stuff that is not needed anymore since cmath is updated with C99 stuff
* using std::make_unique instead of our vstd implementation

CSelector: 
* introduced a class in place of typedef
* Having an overloaded && || operators over sth that is convertible to bool… Wasn't a good idea after all. Purged the operators, replaced  with And/Or methods (chaining-style).
* constructor that is present only when constructing from class or function (SFINAE). std::function has an implicit converting constructor from T causing ambiguities (even if the overload would cause compile error in the body)
2013-07-02 12:08:30 +00:00
..
CGameHandler.cpp Visual Studio 2013 Preview compile fixes: 2013-07-02 12:08:30 +00:00
CGameHandler.h c++03 -> c++11 switch: 2013-06-26 11:18:27 +00:00
CMakeLists.txt Big change: Introduced new mechanism to handle queries. It should not cause any visible changes ATM apart from fixing several long-standing bugs realted to handling post-visit/battle/levelup callback, including infamous creature bank issues: #955, #1053, #1063, #1191. Needs testing. 2013-04-20 11:34:01 +00:00
CQuery.cpp second part of c++11 update. gcc 4.5 and VS 2010 are no longer supported 2013-06-29 13:05:48 +00:00
CQuery.h c++03 -> c++11 switch: 2013-06-26 11:18:27 +00:00
CVCMIServer.cpp second part of c++11 update. gcc 4.5 and VS 2010 are no longer supported 2013-06-29 13:05:48 +00:00
CVCMIServer.h c++03 -> c++11 switch: 2013-06-26 11:18:27 +00:00
NetPacksServer.cpp Introduced strongly typed QueryID. 2013-05-27 10:53:28 +00:00
StdInc.cpp * Final commit 2011-12-13 21:35:28 +00:00
StdInc.h [refactor] reduce some code duplication, get rid of few magic nombers. 2013-01-12 10:32:03 +00:00
VCMI_server.cbp [c::b] update projects 2013-04-20 13:59:09 +00:00
VCMI_server.vcxproj Big change: Introduced new mechanism to handle queries. It should not cause any visible changes ATM apart from fixing several long-standing bugs realted to handling post-visit/battle/levelup callback, including infamous creature bank issues: #955, #1053, #1063, #1191. Needs testing. 2013-04-20 11:34:01 +00:00