1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-25 00:37:24 +02:00

19 Commits

Author SHA1 Message Date
283adc37d7 Unit stack rebalancing rework
- CStackInstance::count is now private with accessor methods
- CStackInstance::experience renamed to totalExperience and now stores
total stack experience (multiplied by stack size) to reduce rounding
errors
- CStackInstance::totalExperience is now private with accessors methods
- stack experience is now automatically reallocated on stack management
- Removed buggy BulkSmartRebalanceStacks pack, that mostly duplicates
BulkRebalanceStacks
- Renamed BulkSmartSplitStack to BulkSplitAndRebalanceStack to drop
unclear "smart" in name
- Reworked split-and-rebalance logic to correctly reallocate stack
experience
2025-05-01 18:18:30 +03:00
829739da24 Reduce usage of implicit conversions to int 2025-04-27 14:57:31 +03:00
ab11d2b075 Remove quests from CMap, now solely owned by quest objects 2025-04-27 14:57:30 +03:00
d3af9f1c67 Removed pointer to VLC entity from CStackBasicDescriptor 2024-10-30 16:47:02 +00:00
a6dead7725 Fixed loading of text strings for hota quests 2024-04-22 13:49:17 +03:00
2e4895766a Implemented tracking of objects destroyed by players 2024-01-31 01:37:33 +02:00
a15366f5a5 Make IObjectInterface::cb non-static 2024-01-19 13:55:21 +02:00
fadf086e61 Fix review comments 2023-10-12 13:30:01 +02:00
7ccd4cdcb2 Refactor quests progress 2023-10-11 21:10:42 +02:00
5b10b457cf Fix code review suggestions 2023-10-11 00:47:19 +02:00
bb238f9b72 New quests work 2023-10-10 23:44:29 +02:00
1460541ee5 New limiter based quests 2023-10-10 23:44:29 +02:00
87957e74c1 Replaced boost::thread_specific_ptr with thread_local 2023-08-23 16:32:29 +03:00
87fcfa4add Removed excessive pathfinder includes 2023-06-21 12:00:44 +03:00
acac42291e Remove excessive CMap.h includes 2023-05-31 23:18:38 +03:00
11b237a23c vcmi: massive refactoring v1 2023-04-05 22:33:12 +03:00
fa6f7513e8 All heroes-related strings are passed through translator 2023-01-20 15:18:36 +02:00
4153ebac58 ai fixes for android 2019-04-11 14:54:48 +03:00
5d022ba77c AI: CompleteQuest goal and summon boat spell support 2018-12-23 15:49:26 +03:00