1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-22 22:13:35 +02:00
Commit Graph

18308 Commits

Author SHA1 Message Date
Laserlicht
6e29633ccb finished hashing error 2024-12-01 23:46:03 +01:00
Laserlicht
4103bb9e55 hash checks 2024-12-01 23:18:52 +01:00
Laserlicht
0b7b695d8f get hashes for files 2024-12-01 22:31:34 +01:00
Ivan Savenko
d4b2ec5b0b
Merge pull request #4995 from IvanSavenko/local_state_fix
Fix serialization of selected spellbook page
2024-11-29 15:38:22 +02:00
Ivan Savenko
8b3244cba5
Merge pull request #4997 from IvanSavenko/fix_view_earth
Fix View Earth also revealing other objects such as heroes and towns
2024-11-29 15:38:12 +02:00
Ivan Savenko
5138412255
Merge pull request #4998 from IvanSavenko/ai_difficulty
Allow per-difficulty parameters for NKAI
2024-11-29 13:22:11 +02:00
Ivan Savenko
7574842e93 Replace defines with constexpr 2024-11-28 15:08:15 +00:00
Ivan Savenko
40aa49acff Fix typo: Absoolute -> Absolute 2024-11-28 14:44:12 +00:00
Ivan Savenko
90536a5fbe Remove hardcoded morale chance constant 2024-11-28 12:11:32 +00:00
Ivan Savenko
be2327d000 Removed no longer used or redundant constants 2024-11-28 12:11:13 +00:00
Ivan Savenko
b25702f15e expose safeAttackRatio to AI config 2024-11-28 11:53:51 +00:00
Ivan Savenko
00492a60a7 Moved retreat decision-making constants to config 2024-11-28 11:39:36 +00:00
Ivan Savenko
f41873fe72 Fix View Earth also revealing other objects such as heroes and towns 2024-11-27 21:26:54 +00:00
Ivan Savenko
71d9664295 Allow per-difficulty parameters for NKAI 2024-11-27 21:26:06 +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
fad91acd3a
Merge pull request #4993 from IvanSavenko/mod_preset_fixes
Mod preset fixes
2024-11-27 16:42:25 +02:00
Ivan Savenko
e2512eaa7a
Merge pull request #4992 from IvanSavenko/dungeon_heroes_fix
Fix swapped Overlord and Warlock models on adventure map
2024-11-27 16:42:14 +02:00
Ivan Savenko
a2f7b6b335
Merge pull request #4990 from godric3/map-editor-fix-random-dwelling-crash
Map editor: Initialize random dwelling added to map
2024-11-27 16:42:07 +02:00
Ivan Savenko
99da0a15bb
Merge pull request #4989 from IvanSavenko/ai_fix
Fixes for unfinished items from AI pull request review
2024-11-27 16:41:53 +02:00
Ivan Savenko
c3494b4a73
Merge pull request #4982 from kdmcser/fix_dismiss_crash
crash fix: dismiss hero when pick artifact
2024-11-27 16:41:44 +02:00
Ivan Savenko
fe2f765322
Merge pull request #4981 from mikeiit/random_map_player_count
Random map gen com only player count fix
2024-11-27 16:41:18 +02:00
Ivan Savenko
b47d4ce8e7
Merge pull request #4969 from kdmcser/joystick_fix
fix joystick cursor position in xbrz
2024-11-27 16:41:07 +02:00
Ivan Savenko
3fccd85500 Use mod ID instead of translated mod name for console output 2024-11-27 14:04:03 +00:00
Ivan Savenko
a80f65439b Do not inform of mod update if remote version is older than local 2024-11-26 21:05:18 +00:00
Ivan Savenko
8a0d327ac2 Fix uncaught exception if newly updated mod has removed a submod 2024-11-26 21:04:56 +00:00
Ivan Savenko
f8a7d58b2e Fix swapped Overlord and Warlock models on adventure map 2024-11-26 20:55:08 +00:00
godric3
fcf3679377 Initialize random dwelling added to map 2024-11-26 20:42:12 +01:00
Ivan Savenko
2f98943469 Fix json config 2024-11-26 19:28:41 +00:00
Ivan Savenko
5332ad59a4 Remove copy-pasted code 2024-11-26 19:13:10 +00:00
Ivan Savenko
18f5d5bc70 Move pathfinder bucket parameters to nkai-settings 2024-11-26 18:58:34 +00:00
Ivan Savenko
f74cd32147 Moved weekly income bonus for AI to game settings 2024-11-26 18:43:25 +00:00
Ivan Savenko
087de6637c Revert temporary change 2024-11-26 18:42:50 +00:00
Ivan Savenko
5b65fae8a3 Revert submodule change 2024-11-26 16:39:27 +00:00
Ivan Savenko
4180ea9523
Merge pull request #4274 from Xilmi/develop
Rule based AI
2024-11-26 18:32:58 +02:00
kdmcser
d0e33a2cf8 Update client/eventsSDL/InputSourceGameController.cpp
Co-authored-by: Ivan Savenko <saven.ivan@gmail.com>
2024-11-27 00:24:33 +08:00
Ivan Savenko
3fb26a9775
Merge pull request #4983 from IvanSavenko/fix_freeze_on_cancel
Fix freeze on closing server before starting the game
2024-11-26 18:11:45 +02:00
Ivan Savenko
c6806cedfb
Merge pull request #4787 from IvanSavenko/mod_presets
Support for mod presets (part 1)
2024-11-26 17:12:23 +02:00
Xilmi
84571f1ae8 Update PriorityEvaluator.cpp
Just killing stuff even if there is no apparent reason now also is considered for the mere purpose of gaining XP.
This also helps the non-cheating AI to keep attacking enemies when they can't see anything worth exploring behind them.
2024-11-26 15:39:35 +01:00
Xilmi
cd65e69c91 Update GatherArmyBehavior.cpp
Fixed an issue that made AI consider unpurchased troops as reinforcements for their armies which caused AI to visit cities over and over without actually doing anything there.
Buying units is handled by BuyArmyBehavior.
2024-11-26 15:15:08 +01:00
Ivan Savenko
eab03c24ee Fix installation of mods with complex dependencies such as H3Evo 2024-11-26 13:56:29 +00:00
Ivan Savenko
9d9c21f670 Regenerated Launcher translations 2024-11-26 13:56:28 +00:00
Ivan Savenko
1678b137d8 Automatically enable all applicable compatibility patches 2024-11-26 13:55:46 +00:00
Ivan Savenko
b529de99ba Fix submods not showing up in Launcher after install 2024-11-26 13:55:46 +00:00
Ivan Savenko
6bad88ba99 Fix display of active submods of disabled root mods 2024-11-26 13:55:46 +00:00
Ivan Savenko
822b6a00e7 Update only actually changed mod on enabling / disabling 2024-11-26 13:55:46 +00:00
Ivan Savenko
4aaa6c1eb4 Fix enabling and disabling of mods 2024-11-26 13:55:46 +00:00
Ivan Savenko
34a59d049b Implement remaining todo's, fix handling of mods with invalid
dependencies
2024-11-26 13:55:46 +00:00
Ivan Savenko
fef19f4846 Fix installation of multiple mods at once 2024-11-26 13:55:46 +00:00
Ivan Savenko
00f97fb8cd Allow mod operations such as install when possible 2024-11-26 13:55:46 +00:00
Ivan Savenko
879eb2184f Implement some TODO's, fix sonar warnings 2024-11-26 13:55:46 +00:00