1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-14 10:12:59 +02:00
Commit Graph

18271 Commits

Author SHA1 Message Date
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
4180ea9523
Merge pull request #4274 from Xilmi/develop
Rule based AI
2024-11-26 18:32:58 +02: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
Ivan Savenko
5ca65f14bd Fix visibility of translation mods, fix heading for mod version field 2024-11-26 13:55:46 +00:00
Ivan Savenko
1f8dc49669 Remove no longer used translation strings 2024-11-26 13:55:46 +00:00
Ivan Savenko
6ced6c96b6 Don't auto-enable mods on update 2024-11-26 13:55:46 +00:00
Ivan Savenko
09606952a2 Mark remaining todo's 2024-11-26 13:55:46 +00:00
Ivan Savenko
85ffb449ca Fixes mod install / uninstall / updates 2024-11-26 13:55:46 +00:00
Ivan Savenko
30ed066cea Restored mod uninstall functionality, restored translatable mod fields,
added more fields to translatable list
2024-11-26 13:55:46 +00:00
Ivan Savenko
2fcda48c65 Implemented enabling and disabling of mods with dependencies resolving 2024-11-26 13:55:46 +00:00
Ivan Savenko
37e975036c Restored display of enabled and disabled mods in Launcher 2024-11-26 13:55:46 +00:00
Ivan Savenko
ac3aecba81 Reimplemented computation of installed mod size for Launcher 2024-11-26 13:55:46 +00:00
Ivan Savenko
f72fb53117 Implemented missing mod description fields 2024-11-26 13:55:46 +00:00
Ivan Savenko
75a1a0938f Do not show empty or irrelevant information in mod details tab 2024-11-26 13:55:46 +00:00
Ivan Savenko
065a8d5fcf Restored mod filter functionality in Launcher 2024-11-26 13:55:46 +00:00
Ivan Savenko
41466238fc Cleanup code 2024-11-26 13:55:46 +00:00
Ivan Savenko
494d70cbf0 Reduce excessive logging 2024-11-26 13:55:46 +00:00
Ivan Savenko
87a665fb7f Restored all disabled mod functinality that was used by client 2024-11-26 13:55:46 +00:00
Ivan Savenko
67fdd14dca Cleanup 2024-11-26 13:55:46 +00:00
Ivan Savenko
06ce71087e Restored mod list display functionality in launcher 2024-11-26 13:55:46 +00:00
Ivan Savenko
f8724b9558 Reworked mod handling in Launcher in order to unify code with lib 2024-11-26 13:55:46 +00:00
Ivan Savenko
4945370fe3 Implemented validation of preset - removal of non-existing mods,
addition of newly installed mods
2024-11-26 13:55:46 +00:00
Ivan Savenko
ba9e3dca9d Mod management rework, part 1
- Replaced CModInfo class with constant ModDescription class
- Simplified mod loading logic
- Extracted some functionality from ModHandler into separate classes for
future reuse by Launcher
2024-11-26 13:55:46 +00:00
Ivan Savenko
c22471fd91 Display name of parent mod next to the name of submods in dependencies 2024-11-26 13:55:46 +00:00
Ivan Savenko
1120f16d33 Add separate on/off icons for submods with disabled parent mod 2024-11-26 13:55:46 +00:00
Ivan Savenko
9742f3a110 Initialize submods / mods settings on new mod install 2024-11-26 13:55:46 +00:00
Ivan Savenko
915bd0bd35 Import mod preset from 1.5 data if no preset exists 2024-11-26 13:55:46 +00:00
Ivan Savenko
c57120f0dd Initial support for mod presets system 2024-11-26 13:55:46 +00:00
Xilmi
b750937588 Merge remote-tracking branch 'upstream/develop' into develop 2024-11-25 18:49:45 +01:00
Ivan Savenko
14a3c6ad14 Fix freeze on closing server before starting the game
Fixes possible freeze that seems to be caused by client shutting down
socket before sending its final LobbyClientDisconnected packet, leading
to server not processing disconnection of host correctly, which in turn
causes client to wait server shutdown forever.

Looks like regression from #4722

- Fixes #4912 and its duplicates
2024-11-25 17:31:20 +00:00
Ivan Savenko
7fdddee503
Merge pull request #4978 from IvanSavenko/swap_h3_icons
Fix h3 bug: icons of View Earth and View Air are swapped
2024-11-25 15:29:39 +02:00
Ivan Savenko
a58d48e03d
Merge pull request #4980 from IvanSavenko/hero_randomization_fix
Fix Orrin as starting hero on some maps
2024-11-25 14:28:55 +02:00
Ivan Savenko
c26db41097
Merge pull request #4979 from kambala-decapitator/ios-docs-image
[docs] add referenced image to the repo
2024-11-25 14:00:58 +02:00
Ivan Savenko
eb14eff13c
Merge pull request #4975 from Laserlicht/third_upgr_8th_dwelling
third upgrade for 8th dwelling
2024-11-25 13:46:36 +02:00
Ivan Savenko
ebf0437f09
Merge pull request #4968 from Laserlicht/fix_window
fix hero window outside of screen
2024-11-25 13:45:45 +02:00