1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-03 00:46:55 +02:00
Commit Graph

29 Commits

Author SHA1 Message Date
829739da24 Reduce usage of implicit conversions to int 2025-04-27 14:57:31 +03:00
32391dc7a9 Pathfinder cache is now stored separately per playerBlocked
- human player will now use pathfinder settings from config (as before)
- nullkiller AI will now use its own, modified settings
- added option to configure NKAI usage of monolith to config
- fixed pathfinder costs not updating on receiving levelup
2025-01-23 15:28:44 +00:00
57097f4ae6 Fix serialization of selected spellbook page
On game start, player interface attempts to load local state from empty
json, resetting all values to 0. However we want to show spellbook at
"all spells" page as default, not as top-most page with air spells
2024-11-27 20:50:12 +00:00
cee3521f57 Merge pull request #4770 from IvanSavenko/prison_fix
Fix for loading hero types / identities
2024-10-14 18:16:53 +03:00
678e6b47f8 Merge pull request #4756 from IvanSavenko/sonar_fixes
Fix some of the new warnings from sonarcloud
2024-10-14 18:16:41 +03:00
184d8de82e Fix typo in assertion 2024-10-13 13:06:07 +00:00
a8e84c55f6 Fix some of the new warnings from sonarcloud 2024-10-11 10:45:29 +00:00
dfff1eae26 Fix crash on losing a hero 2024-10-10 21:16:41 +00:00
679181c103 Implemented serialization of local player state in json form 2024-10-08 20:04:32 +00:00
9492eab7c5 Finish encapsulation of PlayerLocalState class 2024-10-08 14:17:04 +00:00
2584432b92 Fix crash on clicking on map when player is not making turn in MP 2024-07-04 08:46:39 +00:00
bcbd708fa7 Added more checks to detect illegal access in CList's class 2023-12-24 00:16:29 +02:00
a08546e964 Correctly update hero list on reordering via radial menu 2023-12-23 18:13:55 +02:00
3880ea58b9 Merge branch 'josch/dos2unix' into develop 2023-10-22 18:39:03 +03:00
a1a5bc28c2 convert line endings from CRLF (Windows) to LF (Linux/Unix)
Mixed line endings cause problems when exporting patches with
git-format-patch and then trying to "git am" a patch with mixed and
non-matching line endings. In such a situation git will fail to apply
the patch.

This commit runs the dos2unix tools on the remaining files with CRLF
(\r\n) line endings to convert them to line-feeds (\n) only.

Files that are Windows specific like *.vcxproj and *.props files were
not converted.

Closes: #3073
2023-10-19 16:23:21 +02:00
e05102192b heroes and more buttons 2023-10-17 21:13:08 +02:00
4528f42cdf fix segmentation fault; update townlist on adventuremap 2023-10-15 15:53:19 +02:00
3b853bff08 sort town feature 2023-10-15 14:31:33 +02:00
aabb26d210 Erase outdated path that was previously available 2023-09-13 22:25:33 +02:00
08cfbe79cf Added encapsulation for movement points access 2023-06-25 17:42:36 +03:00
bd4d2788ed Split pathfinder into multiple smaller files 2023-06-21 13:46:09 +03:00
243773b6ef Renamed some adventure map files & classes 2023-05-09 13:10:33 +03:00
bb08a0afc8 Moved selection logic to player state 2023-04-20 22:04:24 +03:00
dd227d24c3 Formatting and cleanup 2023-04-20 22:04:24 +03:00
365f552fa1 Added API for owned towns access 2023-04-20 22:04:24 +03:00
5cbd0f8fc8 API for wandering heroes access 2023-04-20 22:04:24 +03:00
3eac6f323e added API for sleeping heroes access 2023-04-20 22:04:24 +03:00
6a46138617 Moved current selection to local state class 2023-04-20 22:04:24 +03:00
f6d480cbb2 Moved player-specific heroes & towns information to new class 2023-04-20 22:04:24 +03:00