Ivan Savenko
987de778a8
Merge pull request #5775 from Laserlicht/missing_text
...
add missing text in kindom overview
2025-06-15 13:48:16 +03:00
George King
af133725b6
Adjust artifacts positions
2025-06-14 07:29:04 +02:00
Laserlicht
ea9cdbfc69
add missing text in kindom overview
2025-06-08 20:28:02 +02:00
Ivan Savenko
786324187d
Merge pull request #5767 from IvanSavenko/misc_fixes
...
Miscellaneous fixes
2025-06-04 21:10:22 +03:00
Ivan Savenko
d42137a3b3
Merge pull request #5745 from IvanSavenko/minimap_heroes
...
Icons for heroes on minimap
2025-06-04 21:09:12 +03:00
Ivan Savenko
a06855b979
Fix visibility of inactive stack experience bonuses in creature window
2025-06-03 15:57:21 +03:00
Ivan Savenko
6f0d415ede
Add descriptions for h3 creature abilities
2025-05-29 12:23:59 +03:00
Ivan Savenko
099d7893ff
Show spell description when right-clicking on spell in unit window
2025-05-29 11:24:24 +03:00
Ivan Savenko
24def2ed16
Icons for heroes on minimap
...
VCMI will now show icons for all heroes on visible part of minimap to
help with readability on large maps
Old behavior can be enable via toggle in game settings menu
2025-05-27 18:38:44 +03:00
Ivan Savenko
0945654672
Give custom descriptions to unclear H3 abilities and artifacts
2025-05-25 11:56:54 +03:00
Ivan Savenko
3f4ff58a5e
Merged bonus names with bonus descriptions, since they are never used
...
separately
2025-05-25 11:56:54 +03:00
Ivan Savenko
5e02d2a3be
Improve selection of bonus when bonus grouping is active
2025-05-22 18:28:22 +03:00
Ivan Savenko
9975852d33
Try to improve bonus grouping in creature window
2025-05-21 23:30:24 +03:00
Ivan Savenko
f82b40c8b2
Fix edge case where text breaking might result in too long string if
...
exactly 1 last symbol generated too long string
2025-05-21 23:29:57 +03:00
Ivan Savenko
71403265fb
Remove debug code, update docs
2025-05-21 14:57:10 +03:00
Ivan Savenko
25655184d3
Add support for custom icons & descriptions for bonuses
2025-05-21 14:57:10 +03:00
Ivan Savenko
3aa2771e92
Fix crash on playing spellbook pageflip video
...
Was reported on Discord.
- Fixes corrupted name of spellbook page flip video
- Fixes possible crash on deleting invalid video instance
2025-05-15 17:55:17 +03:00
Ivan Savenko
35644da2b7
Reogranize callback-related classes on 1 file = 1 class basis
2025-05-12 22:07:09 +03:00
Ivan Savenko
1cd7117b71
Merge pull request #5672 from kdmcser/puzzle_map_fix
...
fix puzzle map never be revealed
2025-05-05 16:10:09 +03:00
kdmcser
935476a86a
fix puzzle map never open
2025-05-01 23:40:43 +08:00
Ivan Savenko
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
Ivan Savenko
f70ad2c15b
Reorganized artifact-related classes
...
- files now generally contain only 1 class (except for tightly coupled
classes)
- files are now located in lib/entities/artifact directory
- removed excessive includes
No changes to functionality
2025-04-29 13:29:08 +03:00
Ivan Savenko
829739da24
Reduce usage of implicit conversions to int
2025-04-27 14:57:31 +03:00
Ivan Savenko
4d57a8ed36
Prefer to pass CGameState as reference instead of pointer
2025-04-27 14:57:31 +03:00
Ivan Savenko
966468f3fa
Fix and simplify game saving / loading
2025-04-27 14:57:31 +03:00
Ivan Savenko
e6a8e5d4bd
Correctly restore bonus system on deserialization
2025-04-27 14:57:31 +03:00
Ivan Savenko
93b18ee94b
Fix some issues detected by Sonar & code review, fix build
2025-04-27 14:57:31 +03:00
Ivan Savenko
d34b47bb20
Remove pointers from artifacts
2025-04-27 14:57:31 +03:00
Ivan Savenko
4ed13409c2
Remove serialization of raw pointers from serialization
2025-04-27 14:57:31 +03:00
Ivan Savenko
cd7732456a
Remove pointer to objects from TerrainTile
2025-04-27 14:57:30 +03:00
Ivan Savenko
63d00b080e
Removed pointer to army from StackInstance
2025-04-27 14:57:30 +03:00
Ivan Savenko
ab11d2b075
Remove quests from CMap, now solely owned by quest objects
2025-04-27 14:57:30 +03:00
Ivan Savenko
c02a8a84fd
Stacks of armed instance are now unique_ptr
2025-04-27 14:57:30 +03:00
Ivan Savenko
417ea6451a
Remove ConstTransitivePtr from hero and town instances
2025-04-27 14:57:30 +03:00
Ivan Savenko
ce89a0d21b
Merge pull request #5609 from SoundSSGood/end-of-battle-infowindows
...
End of battle infowindows refactoring
2025-04-15 22:50:35 +03:00
Ivan Savenko
db2e4c5f6d
Include bonus from artifacts to Ballista damage, unify code
2025-04-14 15:50:10 +03:00
SoundSSGood
60afbbe20f
Necromancy & Eagle eye infowindows
2025-04-09 10:13:10 +02:00
Ivan Savenko
7a3e1409d0
Remove old boost includes and defines
2025-03-19 08:03:56 +00:00
Ivan Savenko
860f65ea62
Merge branch 'develop' into fix_map_sorting
2025-03-16 19:19:27 +02:00
Ivan Savenko
6ed1aad11b
Merge pull request #5545 from Laserlicht/video_skip_harominize
...
optimize skip video keys
2025-03-16 19:08:57 +02:00
Laserlicht
46cd1f7805
optimize skip video keys
2025-03-13 20:56:09 +01:00
MichalZr6
749149a679
Fixes following reviews
...
Use std::optional and improve textSearchSimilarityScore()
2025-03-12 21:40:07 +01:00
MichalZr6
3f4616eb0f
SonarCloud fixes
2025-03-12 17:44:13 +01:00
Ivan Savenko
9732d39c70
Moved shutdown request dialog handling to GameInstance
2025-03-12 13:33:12 +00:00
MichalZr6
5363424451
Small fixes to search mapobject feature:
...
- Trim overly long names to prevent incorrect item display
- Use getLocaleName() for proper locale-aware to_lower conversion
- Implement scoring-based sorting for better search match ranking
- Remove Boost dependency: replace with std::string::find() and rfind()
2025-03-11 23:22:04 +01:00
MichalZr6
e993c2aed0
Use locale based on language set in config
2025-03-11 23:21:12 +01:00
Laserlicht
7af340e301
setting to disable subtitle
2025-03-10 00:04:44 +01:00
Ivan Savenko
ee5cddb52c
Merge pull request #5518 from Laserlicht/fix_upgrade_all
...
[develop] fix crash, when no cost for upgrade
2025-03-08 19:21:13 +02:00
Laserlicht
d983d54cc0
Update client/windows/CCastleInterface.cpp
...
Co-authored-by: Ivan Savenko <saven.ivan@gmail.com >
2025-03-08 15:08:33 +01:00
Ivan Savenko
a061ed04de
Remove usage of ConstTransitivePtr from CTown
2025-03-08 14:04:51 +00:00