1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00
vcmi/lib
Arseniy Shestakov c8faca8f39 Refactoring: only use RNGs explicitly to avoid bug prone code in future
Now server-side code should always use CRandomGenerator::getDefault which is serialized in GH.
CGameState::getRandomGenerator should be only used from GS code and CPackForClient-based applyGs.
2016-09-11 00:10:46 +03:00
..
filesystem More fixes for clang warning... 2016-09-08 19:58:01 +03:00
logging extracted base logger class to vstd 2016-08-13 16:57:16 +03:00
mapObjects Refactoring: only use RNGs explicitly to avoid bug prone code in future 2016-09-11 00:10:46 +03:00
mapping Fix mismatched-tags Clang warnings 2016-09-08 19:42:59 +03:00
minizip Final compilation fix suggested by AVS. 2016-02-03 14:26:25 +01:00
registerTypes Add PrepareHeroLevelUp netpack to keep secondary skills RNG in sync 2016-09-09 23:16:43 +03:00
rmg Fixed possible use-after-free crash with artifacts registration in RMG. 2016-09-08 14:48:48 +03:00
serializer Serialize town spells 2016-02-25 22:59:17 +03:00
spells cleanup 2016-08-30 05:13:45 +03:00
AI_Base.h
BattleAction.cpp Fix filenames in file headers 2015-12-08 09:53:14 +03:00
BattleAction.h - Compile fixes for MVS 2013-11-09 21:29:46 +00:00
BattleHex.cpp Minor fixes. 2014-08-30 18:45:11 +02:00
BattleHex.h Battles: move hexes enum to GameConstants and fix wall position 2016-02-09 17:38:59 +03:00
BattleState.cpp Remove some useless includes found by cppclean 2016-08-26 04:42:16 +03:00
BattleState.h More fixes for uninitialized fields part 2 2016-08-19 14:58:04 +03:00
CArtHandler.cpp Remove some useless includes found by cppclean 2016-08-26 04:42:16 +03:00
CArtHandler.h Advance map header serialization 2016-02-21 21:21:22 +03:00
CBattleCallback.cpp Refactoring: only use RNGs explicitly to avoid bug prone code in future 2016-09-11 00:10:46 +03:00
CBattleCallback.h Refactoring: only use RNGs explicitly to avoid bug prone code in future 2016-09-11 00:10:46 +03:00
CBonusTypeHandler.cpp Fix indentation of logging code and around it 2016-03-12 04:46:21 +03:00
CBonusTypeHandler.h Part 2 of new spell configuration 2014-03-07 13:21:09 +00:00
CBuildingHandler.cpp get rid of boost::assign 2014-10-04 00:34:13 +04:00
CBuildingHandler.h * refactoring 2013-02-11 19:11:34 +00:00
CConfigHandler.cpp replaced std::string with boost::filesystem::path in several places 2016-01-16 16:36:16 +01:00
CConfigHandler.h Fix filenames in file headers 2015-12-08 09:53:14 +03:00
CConsoleHandler.cpp Fix indentation of logging code and around it 2016-03-12 04:46:21 +03:00
CConsoleHandler.h VCMIDirs update #5 fix 2014-08-26 12:19:04 +02:00
CCreatureHandler.cpp Fixed memory leak in CCreatureHandler 2016-08-22 13:27:25 +03:00
CCreatureHandler.h Merge fixes 2016-02-04 12:28:12 +03:00
CCreatureSet.cpp Fix indentation of logging code and around it 2016-03-12 04:46:21 +03:00
CCreatureSet.h Use JsonSerializeFormat for map objects 2016-02-22 02:37:19 +03:00
CGameInfoCallback.cpp More work on static variable desyncs 2016-08-29 23:07:52 +03:00
CGameInfoCallback.h Fix obelisks puzzle revealing 2016-01-20 10:44:13 +03:00
CGameInterface.cpp More logging cleanup 2016-08-12 12:14:10 +03:00
CGameInterface.h cleanup 2016-08-30 05:13:45 +03:00
CGameState.cpp Refactoring: only use RNGs explicitly to avoid bug prone code in future 2016-09-11 00:10:46 +03:00
CGameState.h Refactoring: only use RNGs explicitly to avoid bug prone code in future 2016-09-11 00:10:46 +03:00
CGameStateFwd.h Removed includes of CGameState from headers 2015-12-02 21:39:53 +02:00
CGeneralTextHandler.cpp More logging cleanup 2016-08-12 12:14:10 +03:00
CGeneralTextHandler.h Rumors: client-side proof of concept implementation 2015-11-30 20:52:15 +03:00
CHeroHandler.cpp More logging cleanup 2016-08-12 12:14:10 +03:00
CHeroHandler.h Advance map header serialization 2016-02-21 22:13:20 +03:00
CMakeLists.txt Draft boost::format based log proxy. 2016-08-13 16:57:09 +03:00
CModHandler.cpp tweaks 2016-08-30 11:45:05 +03:00
CModHandler.h tweaks 2016-08-30 11:45:05 +03:00
CObstacleInstance.cpp moatHexes: implement reading moat hexes from configuration files 2016-01-06 12:53:40 +03:00
CObstacleInstance.h c++03 -> c++11 switch: 2013-06-26 11:18:27 +00:00
CondSh.h Minor fixes. 2014-08-30 18:45:11 +02:00
Connection.cpp Use weak_ptr for TypeDescriptor cross-links. Fixed total TypeDescriptor memory leak. 2016-08-30 09:48:12 +03:00
Connection.h CCallbackBase: add CRandomGenerator to all callbacks 2016-09-09 23:16:42 +03:00
ConstTransitivePtr.h Fixed #1430, work-around to make #1435 non-crashing. 2013-09-11 21:57:08 +00:00
CPathfinder.cpp Fix TurnInfo memory leaks 2016-08-16 15:47:21 +03:00
CPathfinder.h CPathfinderHelper: fix memory leak 2016-08-16 14:59:16 +03:00
CPlayerState.h CPlayerState serialize fix. 2016-09-04 13:43:09 +03:00
CRandomGenerator.cpp - migrated boost::function/ref/bind to std:: variants 2014-08-04 20:33:59 +02:00
CRandomGenerator.h - Fixed crash caused by randomShuffle 2014-07-09 14:27:12 +02:00
CScriptingModule.h Clean up. 2014-04-20 12:40:15 +04:00
CSoundBase.h Fixed sound effect when hero disappears 2014-08-06 17:19:53 +02:00
CStopWatch.h Fix filenames in file headers 2015-12-08 09:53:14 +03:00
CThreadHelper.cpp add support for the HURD 2014-11-17 16:43:26 +01:00
CThreadHelper.h - migrated boost::function/ref/bind to std:: variants 2014-08-04 20:33:59 +02:00
CTownHandler.cpp Remove some useless includes found by cppclean 2016-08-26 04:42:16 +03:00
CTownHandler.h Serialize town spells 2016-02-25 22:59:17 +03:00
FunctionList.h Minor refactoring of FunctionList using variadic templates. 2014-11-12 22:46:37 +02:00
GameConstants.cpp Added special slots for war machines and arrow towers 2016-01-30 00:53:53 +03:00
GameConstants.h CGameHandler::moveArtifact: check lock status by slot instead of id 2016-08-18 06:35:29 +03:00
HeroBonus.cpp Merge pull request #202 from vcmi/noncopyableBonusSystemNode2 2016-09-04 11:06:05 +03:00
HeroBonus.h Added move constructor for BonusList 2016-08-18 15:04:05 +03: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 CCallbackBase: add CRandomGenerator to all callbacks 2016-09-09 23:16:42 +03:00
IGameCallback.h CCallbackBase: add CRandomGenerator to all callbacks 2016-09-09 23:16:42 +03:00
IGameEventsReceiver.h Battles: change naming from drawbridge to gate for everything 2016-02-13 17:40:31 +03:00
IHandlerBase.cpp Advance map header serialization 2016-02-21 21:21:22 +03:00
IHandlerBase.h Advance map header serialization 2016-02-21 21:21:22 +03:00
int3.h Merge pull request #143 from vcmi/feature/patrolSupport 2015-12-05 03:11:07 +03:00
Interprocess.h Rename radious -> radius 2016-01-31 18:01:58 +03:00
JsonDetail.cpp Another fix for JsonWriter::writeString 2015-12-05 12:06:46 +03:00
JsonDetail.h Fixing spelling mistakes. Patch from josch, fixes #1759 2014-03-23 12:59:03 +00:00
JsonNode.cpp Fix indentation of logging code and around it 2016-03-12 04:46:21 +03:00
JsonNode.h Add hardcodedFeature to switch winner's retreating with no troops 2016-01-27 16:42:17 +03:00
LogicalExpression.cpp Extended building dependencies: 2013-12-02 11:58:02 +00:00
LogicalExpression.h Advance triggered events serialization 2015-12-05 12:06:51 +03:00
NetPacks.h Add PrepareHeroLevelUp netpack to keep secondary skills RNG in sync 2016-09-09 23:16:43 +03:00
NetPacksBase.h Fix indentation of logging code and around it 2016-03-12 04:46:21 +03:00
NetPacksLib.cpp Refactoring: only use RNGs explicitly to avoid bug prone code in future 2016-09-11 00:10:46 +03:00
ResourceSet.cpp Compile fixes for MSVS. 2016-02-09 11:08:20 +01:00
ResourceSet.h Added serializer-based class able to make deep copies of objects — CMemorySerializer. 2014-02-08 21:54:35 +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 Fix indentation of logging code and around it 2016-03-12 04:46:21 +03:00
StdInc.cpp Rename radious -> radius 2016-01-31 18:01:58 +03:00
StdInc.h Moved boost:format log proxy to CLoggerBase 2016-08-13 16:57:18 +03:00
StringConstants.h Drafts for hero serialization 2016-01-24 15:35:08 +03:00
UnlockGuard.h c++03 -> c++11 switch: 2013-06-26 11:18:27 +00:00
vcmi_endian.h Replace defined(linux) with __linux__/__linux/linux in vcmi_endian.h 2014-05-14 09:49:25 +04:00
VCMI_lib.cbp CPlayerState serialize fix. 2016-09-04 13:43:09 +03:00
VCMI_Lib.cpp tweaks 2016-08-30 11:45:05 +03:00
VCMI_Lib.h Object class handler is now a proper "handler" 2014-05-24 01:56:51 +03:00
VCMI_lib.vcxproj Updated MSVS project files. 2016-02-29 16:32:29 +01:00
VCMI_lib.vcxproj.filters Updated MSVS project files. 2016-02-29 16:32:29 +01:00
VCMIDirs.cpp Replaced CFileInfo with more correct and efficient alternative 2016-01-26 14:51:38 +01:00
VCMIDirs.h Rename radious -> radius 2016-01-31 18:01:58 +03:00