1
0
mirror of https://github.com/vcmi/vcmi.git synced 2026-04-28 20:04:33 +02:00

33 Commits

Author SHA1 Message Date
Dydzio 9c4f6242ce Next town hotkey now centers on town if 1 and selected 2025-12-26 22:43:24 +01:00
Ivan Savenko 5ada2d19e1 UI now shows spell range from config 2025-07-11 12:06:01 +03:00
Laserlicht 3e6162a37a custom spell schools in spell book 2025-07-07 03:29:27 +02:00
Ivan Savenko 35644da2b7 Reogranize callback-related classes on 1 file = 1 class basis 2025-05-12 22:07:09 +03:00
Ivan Savenko 829739da24 Reduce usage of implicit conversions to int 2025-04-27 14:57:31 +03:00
Ivan Savenko 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
Ivan Savenko 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
Ivan Savenko cee3521f57 Merge pull request #4770 from IvanSavenko/prison_fix
Fix for loading hero types / identities
2024-10-14 18:16:53 +03:00
Ivan Savenko 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
Ivan Savenko 184d8de82e Fix typo in assertion 2024-10-13 13:06:07 +00:00
Ivan Savenko a8e84c55f6 Fix some of the new warnings from sonarcloud 2024-10-11 10:45:29 +00:00
Ivan Savenko dfff1eae26 Fix crash on losing a hero 2024-10-10 21:16:41 +00:00
Ivan Savenko 679181c103 Implemented serialization of local player state in json form 2024-10-08 20:04:32 +00:00
Ivan Savenko 9492eab7c5 Finish encapsulation of PlayerLocalState class 2024-10-08 14:17:04 +00:00
Ivan Savenko 2584432b92 Fix crash on clicking on map when player is not making turn in MP 2024-07-04 08:46:39 +00:00
Ivan Savenko bcbd708fa7 Added more checks to detect illegal access in CList's class 2023-12-24 00:16:29 +02:00
Ivan Savenko a08546e964 Correctly update hero list on reordering via radial menu 2023-12-23 18:13:55 +02:00
Ivan Savenko 3880ea58b9 Merge branch 'josch/dos2unix' into develop 2023-10-22 18:39:03 +03:00
Johannes Schauer Marin Rodrigues 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
Laserlicht e05102192b heroes and more buttons 2023-10-17 21:13:08 +02:00
Laserlicht 4528f42cdf fix segmentation fault; update townlist on adventuremap 2023-10-15 15:53:19 +02:00
Laserlicht 3b853bff08 sort town feature 2023-10-15 14:31:33 +02:00
Dydzio aabb26d210 Erase outdated path that was previously available 2023-09-13 22:25:33 +02:00
Ivan Savenko 08cfbe79cf Added encapsulation for movement points access 2023-06-25 17:42:36 +03:00
Ivan Savenko bd4d2788ed Split pathfinder into multiple smaller files 2023-06-21 13:46:09 +03:00
Ivan Savenko 243773b6ef Renamed some adventure map files & classes 2023-05-09 13:10:33 +03:00
Ivan Savenko bb08a0afc8 Moved selection logic to player state 2023-04-20 22:04:24 +03:00
Ivan Savenko dd227d24c3 Formatting and cleanup 2023-04-20 22:04:24 +03:00
Ivan Savenko 365f552fa1 Added API for owned towns access 2023-04-20 22:04:24 +03:00
Ivan Savenko 5cbd0f8fc8 API for wandering heroes access 2023-04-20 22:04:24 +03:00
Ivan Savenko 3eac6f323e added API for sleeping heroes access 2023-04-20 22:04:24 +03:00
Ivan Savenko 6a46138617 Moved current selection to local state class 2023-04-20 22:04:24 +03:00
Ivan Savenko f6d480cbb2 Moved player-specific heroes & towns information to new class 2023-04-20 22:04:24 +03:00