1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-24 08:32:34 +02:00
vcmi/lib
Alexander Wilms 2ea78a5883 Fix float comparisons
Replace this "==" with a more tolerant comparison operation.
Floating point numbers should not be tested for equality cpp:S1244
2024-02-14 23:30:29 +01:00
..
battle Make some non-const static variables const or constexpr 2024-02-12 13:22:54 +02:00
bonuses Moved json files to new directory, split on per-class basis 2024-02-14 13:08:24 +02:00
campaign Moved json files to new directory, split on per-class basis 2024-02-14 13:08:24 +02:00
constants Added range checks to values read from h3m. 2024-02-05 21:27:55 +02:00
events Replace redundant types with auto for the lvalues of template factory functions for smart pointers 2024-01-17 12:50:00 +00:00
filesystem Moved json files to new directory, split on per-class basis 2024-02-14 13:08:24 +02:00
gameState Merge pull request #3614 from IvanSavenko/sonarcloud_fixes_2 2024-02-14 16:44:58 +02:00
json Fix float comparisons 2024-02-14 23:30:29 +01:00
logging Show human-readable thread name in log 2024-02-11 17:55:02 +02:00
mapObjectConstructors Moved json files to new directory, split on per-class basis 2024-02-14 13:08:24 +02:00
mapObjects Merge pull request #3614 from IvanSavenko/sonarcloud_fixes_2 2024-02-14 16:44:58 +02:00
mapping Moved json files to new directory, split on per-class basis 2024-02-14 13:08:24 +02:00
minizip
modding Moved json files to new directory, split on per-class basis 2024-02-14 13:08:24 +02:00
network Fixed handling of match server crash 2024-02-04 19:58:09 +02:00
networkPacks Moved json files to new directory, split on per-class basis 2024-02-14 13:08:24 +02:00
pathfinder Fix float comparisons 2024-02-14 23:30:29 +01:00
registerTypes Workaround for broken save compatibility 2024-02-05 18:46:48 +02:00
rewardable Moved json files to new directory, split on per-class basis 2024-02-14 13:08:24 +02:00
rmg Replace throws() with nothrow 2024-02-14 12:07:07 +02:00
serializer Fix float comparisons 2024-02-14 23:30:29 +01:00
spells Moved bonus parsing to a new file 2024-02-14 15:48:06 +02:00
vstd code review 2023-12-16 21:10:27 +01:00
AI_Base.h convert line endings from CRLF (Windows) to LF (Linux/Unix) 2023-10-19 16:23:21 +02:00
ArtifactUtils.cpp arts altar - arts holder 2024-01-27 15:28:21 +02:00
ArtifactUtils.h Remove most of non-const access to VLC entities 2024-01-19 13:54:49 +02:00
BasicTypes.cpp Moved json files to new directory, split on per-class basis 2024-02-14 13:08:24 +02:00
BattleFieldHandler.cpp Moved bonus parsing to a new file 2024-02-14 15:48:06 +02:00
BattleFieldHandler.h Remove more redundant virtual specifiers 2024-02-13 15:21:30 +01:00
CAndroidVMHelper.cpp
CAndroidVMHelper.h
CArtHandler.cpp Moved bonus parsing to a new file 2024-02-14 15:48:06 +02:00
CArtHandler.h Remove redundant virtual specifiers 2024-02-10 20:46:13 +01:00
CArtifactInstance.cpp split getBonusLocalFirst into two distinct method: 2024-01-19 13:56:06 +02:00
CArtifactInstance.h Refactoring of serialization versioning handling 2024-01-20 20:34:51 +02:00
CBonusTypeHandler.cpp Moved json files to new directory, split on per-class basis 2024-02-14 13:08:24 +02:00
CBonusTypeHandler.h Refactoring of serialization versioning handling 2024-01-20 20:34:51 +02:00
CBuildingHandler.cpp Minor fixes 2023-11-03 16:03:29 +02:00
CBuildingHandler.h Minor fixes 2023-11-03 16:03:29 +02:00
CConfigHandler.cpp Moved json files to new directory, split on per-class basis 2024-02-14 13:08:24 +02:00
CConfigHandler.h Moved json files to new directory, split on per-class basis 2024-02-14 13:08:24 +02:00
CConsoleHandler.cpp Use the "nullptr" literal. 2023-10-27 18:18:59 +00:00
CConsoleHandler.h convert line endings from CRLF (Windows) to LF (Linux/Unix) 2023-10-19 16:23:21 +02:00
CCreatureHandler.cpp Merge pull request #3614 from IvanSavenko/sonarcloud_fixes_2 2024-02-14 16:44:58 +02:00
CCreatureHandler.h Moved json files to new directory, split on per-class basis 2024-02-14 13:08:24 +02:00
CCreatureSet.cpp Merge pull request #3473 from IvanSavenko/const_lib 2024-01-20 19:22:46 +02:00
CCreatureSet.h Remove more redundant virtual specifiers 2024-02-13 15:21:30 +01:00
CGameInfoCallback.cpp Merge pull request #3574 from SoundSSGood/altar-fixes 2024-02-01 22:27:41 +02:00
CGameInfoCallback.h Remove more redundant virtual specifiers 2024-02-13 15:21:30 +01:00
CGameInterface.cpp Refactoring of serialization versioning handling 2024-01-20 20:34:51 +02:00
CGameInterface.h Remove more redundant virtual specifiers 2024-02-13 15:21:30 +01:00
CGeneralTextHandler.cpp Make some non-const static variables const or constexpr 2024-02-12 13:22:54 +02:00
CGeneralTextHandler.h Added text container with map translations to campaign state 2024-01-31 20:01:24 +02:00
CHeroHandler.cpp Moved bonus parsing to a new file 2024-02-14 15:48:06 +02:00
CHeroHandler.h Added range checks to values read from h3m. 2024-02-05 21:27:55 +02:00
CMakeLists.txt Moved bonus parsing to a new file 2024-02-14 15:48:06 +02:00
Color.h Refactoring of serialization versioning handling 2024-01-20 20:34:51 +02:00
CondSh.h convert line endings from CRLF (Windows) to LF (Linux/Unix) 2023-10-19 16:23:21 +02:00
ConstTransitivePtr.h Refactoring of serialization versioning handling 2024-01-20 20:34:51 +02:00
CPlayerState.cpp Slight simplification of bonus system node class 2024-01-19 13:54:49 +02:00
CPlayerState.h Implemented tracking of objects destroyed by players 2024-01-31 01:37:33 +02:00
CRandomGenerator.cpp Add assertions to detect invalid calls 2024-01-16 21:12:57 +02:00
CRandomGenerator.h Refactoring of serialization versioning handling 2024-01-20 20:34:51 +02:00
CScriptingModule.cpp
CScriptingModule.h convert line endings from CRLF (Windows) to LF (Linux/Unix) 2023-10-19 16:23:21 +02:00
CSkillHandler.cpp Moved bonus parsing to a new file 2024-02-14 15:48:06 +02:00
CSkillHandler.h Removed remaining usages of std::vector<bool> 2023-11-15 15:55:18 +02:00
CSoundBase.h convert line endings from CRLF (Windows) to LF (Linux/Unix) 2023-10-19 16:23:21 +02:00
CStack.cpp Attempt to make constant bonus system nodes (CCreature / CArtifact) 2024-01-19 13:54:49 +02:00
CStack.h Moved json files to new directory, split on per-class basis 2024-02-14 13:08:24 +02:00
CStopWatch.h Define each identifier in a dedicated statement 2024-01-10 00:22:23 +00:00
CThreadHelper.cpp Fix build 2024-02-11 19:54:30 +02:00
CThreadHelper.h Show human-readable thread name in log 2024-02-11 17:55:02 +02:00
CTownHandler.cpp Moved bonus parsing to a new file 2024-02-14 15:48:06 +02:00
CTownHandler.h Removed most of non-const static fields in lib. Reduced header includes. 2024-01-19 13:55:22 +02:00
ExtraOptionsInfo.cpp moved to gameconfig 2024-01-20 17:54:15 +01:00
ExtraOptionsInfo.h Refactoring of serialization versioning handling 2024-01-20 20:34:51 +02:00
FunctionList.h
GameCallbackHolder.h Stabilization 2024-01-19 13:55:22 +02:00
GameConstants.h convert line endings from CRLF (Windows) to LF (Linux/Unix) 2023-10-19 16:23:21 +02:00
GameSettings.cpp Moved json files to new directory, split on per-class basis 2024-02-14 13:08:24 +02:00
GameSettings.h Working SoD version of fly 2024-02-07 19:27:02 +01:00
IBonusTypeHandler.h convert line endings from CRLF (Windows) to LF (Linux/Unix) 2023-10-19 16:23:21 +02:00
IGameCallback.cpp Merge remote-tracking branch 'vcmi/develop' into lobby 2024-02-03 21:11:34 +02:00
IGameCallback.h Merge pull request #3574 from SoundSSGood/altar-fixes 2024-02-01 22:27:41 +02:00
IGameEventsReceiver.h Split off some netpack structures into separate files 2023-10-23 13:59:15 +03:00
IHandlerBase.cpp IdentifierStorage is now separate handler in VLC 2023-09-04 18:56:16 +03:00
IHandlerBase.h Removed most of non-const static fields in lib. Reduced header includes. 2024-01-19 13:55:22 +02:00
int3.h Fix "identical expressions on both sides of comparison" 2024-02-12 12:32:35 +02:00
Languages.h fix russia 2023-12-16 19:26:41 +01:00
LoadProgress.cpp Fix issues introduced by automated replacement of redundant types 2024-01-17 20:12:57 +00:00
LoadProgress.h Define each identifier in a dedicated statement 2024-01-10 00:22:23 +00:00
LogicalExpression.cpp
LogicalExpression.h Moved json files to new directory, split on per-class basis 2024-02-14 13:08:24 +02:00
MetaString.cpp Fix Grail digging success message 2024-02-01 18:22:11 +02:00
MetaString.h Fix Grail digging success message 2024-02-01 18:22:11 +02:00
ObstacleHandler.cpp Moved json files to new directory, split on per-class basis 2024-02-14 13:08:24 +02:00
ObstacleHandler.h Define each identifier in a dedicated statement 2024-01-10 00:22:23 +00:00
Point.h Refactoring of serialization versioning handling 2024-01-20 20:34:51 +02:00
Rect.cpp convert line endings from CRLF (Windows) to LF (Linux/Unix) 2023-10-19 16:23:21 +02:00
Rect.h Refactoring of serialization versioning handling 2024-01-20 20:34:51 +02:00
ResourceSet.cpp Moved json files to new directory, split on per-class basis 2024-02-14 13:08:24 +02:00
ResourceSet.h Refactoring of serialization versioning handling 2024-01-20 20:34:51 +02:00
RiverHandler.cpp Moved json files to new directory, split on per-class basis 2024-02-14 13:08:24 +02:00
RiverHandler.h Remove more redundant virtual specifiers 2024-02-13 15:21:30 +01:00
RoadHandler.cpp Moved json files to new directory, split on per-class basis 2024-02-14 13:08:24 +02:00
RoadHandler.h Remove more redundant virtual specifiers 2024-02-13 15:21:30 +01:00
ScopeGuard.h Fix undefined behavior 2024-02-12 12:33:09 +02:00
ScriptHandler.cpp Replace redundant types with auto for the lvalues of template factory functions for smart pointers 2024-01-17 12:50:00 +00:00
ScriptHandler.h Moved json files to new directory, split on per-class basis 2024-02-14 13:08:24 +02:00
StartInfo.cpp Added list of active accounts and rooms to UI. Added room creation logic 2024-01-26 16:32:36 +02:00
StartInfo.h Merge remote-tracking branch 'vcmi/develop' into lobby 2024-01-26 16:52:23 +02:00
StdInc.cpp convert line endings from CRLF (Windows) to LF (Linux/Unix) 2023-10-19 16:23:21 +02:00
StdInc.h convert line endings from CRLF (Windows) to LF (Linux/Unix) 2023-10-19 16:23:21 +02:00
TerrainHandler.cpp Moved json files to new directory, split on per-class basis 2024-02-14 13:08:24 +02:00
TerrainHandler.h Remove more redundant virtual specifiers 2024-02-13 15:21:30 +01:00
TextOperations.cpp Client-side update, adapted and fixed login and chat 2024-01-19 23:49:59 +02:00
TextOperations.h Client-side update, adapted and fixed login and chat 2024-01-19 23:49:59 +02:00
TurnTimerInfo.cpp Reworked timer widget to show timers for all players 2023-12-22 18:40:28 +02:00
TurnTimerInfo.h Refactoring of serialization versioning handling 2024-01-20 20:34:51 +02:00
UnlockGuard.h convert line endings from CRLF (Windows) to LF (Linux/Unix) 2023-10-19 16:23:21 +02:00
vcmi_endian.h convert line endings from CRLF (Windows) to LF (Linux/Unix) 2023-10-19 16:23:21 +02:00
VCMI_lib.cbp new approach 2023-09-15 15:26:14 +02:00
VCMI_Lib.cpp Fix build 2024-01-19 13:56:05 +02:00
VCMI_Lib.h Fix build 2024-01-19 13:56:05 +02:00
VCMI_lib.vcxproj new approach 2023-09-15 15:26:14 +02:00
VCMI_lib.vcxproj.filters new approach 2023-09-15 15:26:14 +02:00
VCMIDirs.cpp Implemented option to run server as a thread with shared VLC 2024-02-11 17:55:02 +02:00
VCMIDirs.h