1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-28 23:06:24 +02:00
vcmi/lib/mapObjects
Ivan Savenko edb2ecd751 Fix possible overflow errors on leveling up beyond int64_t limit
- added separate giveExperience method instead of weird changePrimSkill
- experience is now always used in form of int64_t
- max supported level reduced from 201 to 197 to fit into int64_t
- fixed undefined behavior in experience calculation
2024-01-04 23:57:36 +02:00
..
CArmedInstance.cpp Add missing antimagic functionality to antimagic garrisons 2023-12-21 18:09:33 +01:00
CArmedInstance.h Add missing antimagic functionality to antimagic garrisons 2023-12-21 18:09:33 +01:00
CBank.cpp Remove few more implicit conversions 2023-11-15 15:55:19 +02:00
CBank.h Use variant identifier in netpacks where applicable 2023-11-08 14:00:23 +02:00
CGCreature.cpp Fix creature appearance on hota maps 2023-11-28 19:31:38 +02:00
CGCreature.h Use variant identifier in netpacks where applicable 2023-11-08 14:00:23 +02:00
CGDwelling.cpp Fixed typo - different type was used to select ID and subID 2023-12-16 13:46:29 +02:00
CGDwelling.h Use variant identifier in netpacks where applicable 2023-11-08 14:00:23 +02:00
CGHeroInstance.cpp Fix possible overflow errors on leveling up beyond int64_t limit 2024-01-04 23:57:36 +02:00
CGHeroInstance.h Fix for starting hero being passable 2023-12-09 14:59:09 +01:00
CGMarket.cpp Remove all remaining implicit conversion in lib 2023-11-15 15:55:19 +02:00
CGMarket.h Remove all remaining implicit conversion in lib 2023-11-15 15:55:19 +02:00
CGObjectInstance.cpp Working fir for Corpse issue: 2023-12-06 20:49:28 +01:00
CGObjectInstance.h Working fir for Corpse issue: 2023-12-06 20:49:28 +01:00
CGPandoraBox.cpp MetaString refactor to eliminate integer usage for identifiers 2023-11-07 22:47:10 +02:00
CGPandoraBox.h Use meta string for messages 2023-09-27 23:11:11 +02:00
CGTownBuilding.cpp Fix possible overflow errors on leveling up beyond int64_t limit 2024-01-04 23:57:36 +02:00
CGTownBuilding.h Use variant identifier in netpacks where applicable 2023-11-08 14:00:23 +02:00
CGTownInstance.cpp Avoid boost::format that throws exception on invalid format string 2023-12-10 16:37:58 +02:00
CGTownInstance.h Fix error messages in log on map start 2023-11-27 14:08:49 +02:00
CObjectHandler.cpp Reduced number of accesses to CGObjectInstance::subID 2023-11-01 14:43:20 +02:00
CObjectHandler.h Remove no longer used serialization methods 2023-11-08 21:27:05 +02:00
CQuest.cpp Fix localization-related error messages 2023-12-11 18:23:52 +02:00
CQuest.h Fix error messages in log on map start 2023-11-27 14:08:49 +02:00
CRewardableObject.cpp Do not ignore 'canRefuse' flag for select mode 'first' and 'random' 2023-12-23 00:35:51 +02:00
CRewardableObject.h Use variant identifier in netpacks where applicable 2023-11-08 14:00:23 +02:00
IMarket.cpp Remove all remaining implicit conversion in lib 2023-11-15 15:55:19 +02:00
IMarket.h Remove all remaining implicit conversion in lib 2023-11-15 15:55:19 +02:00
IObjectInterface.cpp Do not allow building boat if there is already boat with hero in it 2023-11-28 15:49:03 +02:00
IObjectInterface.h Use variant identifier in netpacks where applicable 2023-11-08 14:00:23 +02:00
MapObjects.h Initial implementation for rewardable town building 2023-05-01 00:14:53 +04:00
MiscObjects.cpp Fix possible overflow errors on leveling up beyond int64_t limit 2024-01-04 23:57:36 +02:00
MiscObjects.h Add missing antimagic functionality to antimagic garrisons 2023-12-21 18:09:33 +01:00
ObjectTemplate.cpp Fix reading of dimensions of h3 map objects 2023-12-11 21:15:46 +02:00
ObjectTemplate.h Implemented serialization of MapObjectSubID, refactoring of related code 2023-11-17 21:18:34 +02:00