1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00
vcmi/lib
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
..
filesystem second part of c++11 update. gcc 4.5 and VS 2010 are no longer supported 2013-06-29 13:05:48 +00:00
logging second part of c++11 update. gcc 4.5 and VS 2010 are no longer supported 2013-06-29 13:05:48 +00:00
mapping Visual Studio 2013 Preview compile fixes: 2013-07-02 12:08:30 +00:00
rmg second part of c++11 update. gcc 4.5 and VS 2010 are no longer supported 2013-06-29 13:05:48 +00:00
AI_Base.h * Final commit 2011-12-13 21:35:28 +00:00
BattleAction.cpp * JsonReader can convert to enums 2013-02-03 21:05:44 +00:00
BattleAction.h * JsonReader can convert to enums 2013-02-03 21:05:44 +00:00
BattleHex.cpp add some missing licence headers 2012-12-19 14:54:10 +00:00
BattleHex.h - gcc compile fix 2013-02-05 19:56:28 +00:00
BattleState.cpp Visual Studio 2013 Preview compile fixes: 2013-07-02 12:08:30 +00:00
BattleState.h c++03 -> c++11 switch: 2013-06-26 11:18:27 +00:00
CArtHandler.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
CArtHandler.h c++03 -> c++11 switch: 2013-06-26 11:18:27 +00:00
CBattleCallback.cpp Visual Studio 2013 Preview compile fixes: 2013-07-02 12:08:30 +00:00
CBattleCallback.h c++03 -> c++11 switch: 2013-06-26 11:18:27 +00:00
CBonusTypeHandler.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
CBonusTypeHandler.h * fixed crash related to cammander's SPELL_AFTER_ATTACK spell id not initialized properly (text id was resolved on copy of bonus) 2013-06-17 15:45:55 +00:00
CBuildingHandler.cpp * fixes for town building campaign bonus 2013-02-13 14:21:11 +00:00
CBuildingHandler.h * refactoring 2013-02-11 19:11:34 +00:00
CConfigHandler.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
CConfigHandler.h c++03 -> c++11 switch: 2013-06-26 11:18:27 +00:00
CConsoleHandler.cpp c++03 -> c++11 switch: 2013-06-26 11:18:27 +00:00
CConsoleHandler.h c++03 -> c++11 switch: 2013-06-26 11:18:27 +00:00
CCreatureHandler.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
CCreatureHandler.h Visual Studio 2013 Preview compile fixes: 2013-07-02 12:08:30 +00:00
CCreatureSet.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
CCreatureSet.h c++03 -> c++11 switch: 2013-06-26 11:18:27 +00:00
CDefObjInfoHandler.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
CDefObjInfoHandler.h Large changeset, first part of editing H3 objects via mods feature. Changes: 2013-04-21 12:49:26 +00:00
CGameInterface.cpp bugfixing: 2013-06-23 19:35:54 +00:00
CGameInterface.h c++03 -> c++11 switch: 2013-06-26 11:18:27 +00:00
CGameState.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
CGameState.h c++03 -> c++11 switch: 2013-06-26 11:18:27 +00:00
CGeneralTextHandler.cpp bugfixing: 2013-06-23 19:35:54 +00:00
CGeneralTextHandler.h bugfixing: 2013-06-23 19:35:54 +00:00
CHeroHandler.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
CHeroHandler.h More missing serialization items. 2013-05-20 17:25:19 +00:00
CMakeLists.txt - CMappedFileLoader class to remap WoG files to h3 names 2013-05-04 13:14:23 +00:00
CModHandler.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
CModHandler.h c++03 -> c++11 switch: 2013-06-26 11:18:27 +00:00
CObjectHandler.cpp Visual Studio 2013 Preview compile fixes: 2013-07-02 12:08:30 +00:00
CObjectHandler.h second part of c++11 update. gcc 4.5 and VS 2010 are no longer supported 2013-06-29 13:05:48 +00:00
CObstacleInstance.cpp [refactor] spell handling 2013-02-13 19:35:43 +00:00
CObstacleInstance.h c++03 -> c++11 switch: 2013-06-26 11:18:27 +00:00
CondSh.h * new file lib/UnlockGuard.h — unlock_guard is for unlocking a mutex for the scope time (RAII) 2012-02-19 21:03:43 +00:00
Connection.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
Connection.h second part of c++11 update. gcc 4.5 and VS 2010 are no longer supported 2013-06-29 13:05:48 +00:00
ConstTransitivePtr.h c++03 -> c++11 switch: 2013-06-26 11:18:27 +00:00
CRandomGenerator.h c++03 -> c++11 switch: 2013-06-26 11:18:27 +00:00
CScriptingModule.h Major refactoring. First part: BattleInterface 2011-12-13 21:23:17 +00:00
CSpellHandler.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
CSpellHandler.h c++03 -> c++11 switch: 2013-06-26 11:18:27 +00:00
CStopWatch.h - fixed save games issues (#1044) 2012-08-07 11:28:52 +00:00
CThreadHelper.cpp c++03 -> c++11 switch: 2013-06-26 11:18:27 +00:00
CThreadHelper.h c++03 -> c++11 switch: 2013-06-26 11:18:27 +00:00
CTownHandler.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
CTownHandler.h - fixed crash in town after loading #1291 + extra check just in case. 2013-06-02 18:57:58 +00:00
GameConstants.cpp 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
GameConstants.h Post-release version bump. 2013-06-01 20:19:03 +00:00
HeroBonus.cpp Visual Studio 2013 Preview compile fixes: 2013-07-02 12:08:30 +00:00
HeroBonus.h Visual Studio 2013 Preview compile fixes: 2013-07-02 12:08:30 +00:00
IBonusTypeHandler.h * fixed crash related to cammander's SPELL_AFTER_ATTACK spell id not initialized properly (text id was resolved on copy of bonus) 2013-06-17 15:45:55 +00:00
IGameCallback.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
IGameCallback.h second part of c++11 update. gcc 4.5 and VS 2010 are no longer supported 2013-06-29 13:05:48 +00:00
IGameEventsReceiver.h second part of c++11 update. gcc 4.5 and VS 2010 are no longer supported 2013-06-29 13:05:48 +00:00
IHandlerBase.h Large changeset, first part of editing H3 objects via mods feature. Changes: 2013-04-21 12:49:26 +00:00
int3.h second part of c++11 update. gcc 4.5 and VS 2010 are no longer supported 2013-06-29 13:05:48 +00:00
Interprocess.h - fix for boost 1.49 2012-04-02 11:14:38 +00:00
JsonNode.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
JsonNode.h second part of c++11 update. gcc 4.5 and VS 2010 are no longer supported 2013-06-29 13:05:48 +00:00
NetPacks.h second part of c++11 update. gcc 4.5 and VS 2010 are no longer supported 2013-06-29 13:05:48 +00:00
NetPacksLib.cpp Visual Studio 2013 Preview compile fixes: 2013-07-02 12:08:30 +00:00
RegisterTypes.cpp - Renamed /lib subfolders to lowercase 2013-04-07 10:48:07 +00:00
RegisterTypes.h Introduced strongly typed QueryID. 2013-05-27 10:53:28 +00:00
ResourceSet.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
ResourceSet.h Large changeset, first part of editing H3 objects via mods feature. Changes: 2013-04-21 12:49:26 +00:00
ScopeGuard.h - Improved json validation. Now it support most of features from latest json schema draft 2013-04-02 17:06:43 +00:00
StartInfo.h c++03 -> c++11 switch: 2013-06-26 11:18:27 +00:00
StdInc.cpp * Final commit 2011-12-13 21:35:28 +00:00
StdInc.h * CHexField renamed to CBattleHex 2011-12-17 18:59:59 +00:00
StringConstants.h Large changeset, first part of editing H3 objects via mods feature. Changes: 2013-04-21 12:49:26 +00:00
UnlockGuard.h c++03 -> c++11 switch: 2013-06-26 11:18:27 +00:00
vcmi_endian.h - gcc compile fix 2013-02-05 19:56:28 +00:00
VCMI_lib.cbp - Bug-fixing for last commit - Moved CMapGenOptions to CMapGenerator 2013-04-15 17:18:04 +00:00
VCMI_Lib.cpp c++03 -> c++11 switch: 2013-06-26 11:18:27 +00:00
VCMI_Lib.h Large changeset, first part of editing H3 objects via mods feature. Changes: 2013-04-21 12:49:26 +00:00
VCMI_lib.vcxproj Introduced strongly typed QueryID. 2013-05-27 10:53:28 +00:00
VCMIDirs.cpp c++03 -> c++11 switch: 2013-06-26 11:18:27 +00:00
VCMIDirs.h - moved all system-specific handling of filesystem to VCMIDirs.cpp (new file) 2013-03-02 18:41:25 +00:00