1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-04 09:42:40 +02:00
vcmi/lib/bonuses
K c1e6bbddfe Reduce size of Bonus struct from 320 bytes to 296 bytes.
- Internal enums were resized to occupy single byte.
- Duration bitmask uses 16 bit integer directly instead of std::bitset<11> which consumed 8 bytes.
- Fields shuffled to minimise padding and keep the most useful data on first 2 cache lines.
2024-07-22 14:59:31 +02:00
..
Bonus.cpp Reduce size of Bonus struct from 320 bytes to 296 bytes. 2024-07-22 14:59:31 +02:00
Bonus.h Reduce size of Bonus struct from 320 bytes to 296 bytes. 2024-07-22 14:59:31 +02:00
BonusCustomTypes.cpp Merged accurate shot bonus into death stare bonus 2024-01-13 15:55:07 +02:00
BonusCustomTypes.h Merged accurate shot bonus into death stare bonus 2024-01-13 15:55:07 +02:00
BonusEnum.cpp Reduce size of Bonus struct from 320 bytes to 296 bytes. 2024-07-22 14:59:31 +02:00
BonusEnum.h Reduce size of Bonus struct from 320 bytes to 296 bytes. 2024-07-22 14:59:31 +02:00
BonusList.cpp Optimize BonusList::totalValue 2024-07-04 19:55:09 +00:00
BonusList.h Refactoring of serialization versioning handling 2024-01-20 20:34:51 +02:00
BonusParams.cpp change MANA_PER_KNOWLEGDE to percentage 2024-03-23 20:28:49 +01:00
BonusParams.h Moved json files to new directory, split on per-class basis 2024-02-14 13:08:24 +02:00
BonusSelector.cpp Fix potential data race if two threads attempt to select bonuses with 2024-06-12 18:11:22 +00:00
BonusSelector.h Fix potential data race if two threads attempt to select bonuses with 2024-06-12 18:11:22 +00:00
CBonusProxy.cpp vcmi: split bonus to enumerator and HeroBonus.h 2023-05-03 18:01:06 +03:00
CBonusProxy.h vcmi: rename HeroBonus.h to Bonus.h 2023-05-02 11:20:58 +03:00
CBonusSystemNode.cpp Tweaks 2024-04-26 19:33:26 +02:00
CBonusSystemNode.h Fix typos using https://github.com/crate-ci/typos 2024-06-24 03:47:19 +02:00
IBonusBearer.cpp Slight simplification of bonus system node class 2024-01-19 13:54:49 +02:00
IBonusBearer.h Fix: licenses, pragma guards, StdInc 2024-03-29 07:48:52 +02:00
Limiters.cpp Reworked JsonNode constructors to more logical form 2024-02-26 12:55:49 +02:00
Limiters.h Merge branch 'vcmi/beta' into 'vcmi/develop' 2024-06-21 12:58:36 +00:00
Propagators.cpp vcmi: split CBonusSystemNode, BonusParams and prop 2023-05-02 00:54:53 +03:00
Propagators.h Added 'Serializeable' base class for classes serializeable by pointer 2024-05-16 18:40:59 +00:00
Updaters.cpp Fixed missing addInfo when owner updater is used 2024-07-08 20:57:14 +00:00
Updaters.h Merge branch 'vcmi/master' into 'vcmi/develop' 2024-05-31 09:34:21 +00:00