mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
Open-source engine for Heroes of Might and Magic III
4576719abe
* 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) |
||
---|---|---|
AI | ||
client | ||
cmake_modules | ||
config | ||
debian | ||
editor | ||
lib | ||
Mods | ||
osx | ||
scripting/erm | ||
server | ||
test | ||
AUTHORS | ||
CCallback.cpp | ||
CCallback.h | ||
ChangeLog | ||
CMakeLists.txt | ||
COPYING | ||
Global.h | ||
license.txt | ||
NEWS | ||
README | ||
README.linux | ||
VCMI_global_debug.props | ||
VCMI_global_release.props | ||
VCMI_global.props | ||
VCMI_VS10.sln | ||
VCMI_VS11.sln | ||
vcmi.workspace | ||
vcmibuilder | ||
vcmimanual.tex |
VCMI Project Copyright (C) 2007-2009 VCMI Team (check AUTHORS file for the contributors list) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 (included in the license.txt) of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.