Xilmi
69dc32a128
Don't cast spells with below 0 score.
...
The AI will no longer cast spells if the best spell's value is still below 0.
2024-08-24 17:15:15 +02:00
Xilmi
b92862c04d
New priorities
...
Added more priority-tiers
2024-08-24 14:55:26 +02:00
Xilmi
1d494f049d
Fix closest way ratio not initialized for ExecuteHeroChain
...
Fix closest way ratio not initialized for ExecuteHeroChain
2024-08-24 14:54:00 +02:00
Xilmi
bfd6ee2b09
Merge remote-tracking branch 'upstream/develop' into develop
2024-08-24 12:25:03 +02:00
Andrii Danylchenko
5de5ac5eb5
Merge pull request #4492 from vcmi/fix-battle-ai
...
BattleAI: fix init env
2024-08-22 21:59:15 +03:00
Andrii Danylchenko
01b6828df6
BattleAI: fix init env
2024-08-22 21:20:22 +03:00
Andrii Danylchenko
9d18a2269c
Merge pull request #4306 from vcmi/battle-ai-bait-archers
...
BattleAI: fix bait for archers when need to go long way
2024-08-22 19:57:57 +03:00
Andrii Danylchenko
ff8a745a50
BattleAI: optional simulation depth
2024-08-21 23:27:42 +03:00
Andrii Danylchenko
22de88ad68
BattleAI: count wait correctly for fast creatures
2024-08-21 22:18:41 +03:00
Andrii Danylchenko
337f99942b
BattleAI: remove boost for archers while moving as actual stack may be small
2024-08-21 22:18:41 +03:00
Andrii Danylchenko
bc80532f29
BattleAI: improve movement towards unreachable
2024-08-21 22:18:40 +03:00
Andrii Danylchenko
26609d7a4f
BattleAI refactoring
2024-08-21 22:18:40 +03:00
Andrii Danylchenko
8cdfa26fb5
BattleAI: fix bait for archers when need to go long way
2024-08-21 22:18:40 +03:00
Andrii Danylchenko
b3fc6743d9
BattleAI: better retaliation calculation
2024-08-21 22:18:40 +03:00
Ivan Savenko
ff33fbd3a0
Merge pull request #4480 from IvanSavenko/update_prebuilts
...
Update ffmpeg
2024-08-21 15:57:50 +03:00
Ivan Savenko
2a84627fd2
Merge pull request #4444 from Laserlicht/extended_statistic
...
Statistics
2024-08-21 15:18:17 +03:00
Ivan Savenko
4ac1b1169a
Update developers documentation to point to new prebuilts location
2024-08-21 12:14:08 +00:00
Ivan Savenko
e70ab86995
Use .txz archive for dependencies
2024-08-20 20:42:11 +00:00
Ivan Savenko
f4547a9434
Add documentation regarding supported by vcmi formats
2024-08-20 19:23:55 +00:00
Ivan Savenko
efcf1e1ba9
Add .ogv (HD Edition) as recognized extension for video
2024-08-20 19:23:55 +00:00
Ivan Savenko
1ac63056dc
Unify code for conan dependencies installation
2024-08-20 19:23:55 +00:00
Ivan Savenko
50a4e3213d
Fix ffmpeg deprecation
2024-08-20 19:23:55 +00:00
Ivan Savenko
720d6076a0
Use new dependencies packages
2024-08-20 19:23:55 +00:00
Ivan Savenko
373f8526f2
Changed options of ffmpeg in conan:
...
- updated options to include new options added in upstream
- enabled swresample to allow audio resampling via ffmpeg instead of
custom methods
- disabled all components other than those that are needed for vcmi
- changed required version to allow newer ffmpeg versions
- added lzma as explicit dependency (used by innoextract)
2024-08-20 19:23:50 +00:00
Laserlicht
0901286f9d
fix
2024-08-20 20:38:38 +02:00
Laserlicht
01c14ae9ce
Merge branch 'develop' into extended_statistic
2024-08-20 20:25:16 +02:00
Xilmi
11cec347f3
Merge remote-tracking branch 'upstream/develop' into develop
2024-08-20 16:17:29 +02:00
Ivan Savenko
85f6030c7c
Merge pull request #4318 from IvanSavenko/upscaled_render
...
Support for xBRZ upscaling filter
2024-08-20 14:23:30 +03:00
Xilmi
8cf99616d0
Update BuildingBehavior.cpp
...
Fixed a warning which, in this case, was actually also a logical error! :o
2024-08-19 21:21:56 +02:00
Xilmi
2df293f95d
Merge remote-tracking branch 'upstream/develop' into develop
2024-08-19 21:15:34 +02:00
Xilmi
e86ca49c37
Update BuildingBehavior.cpp
...
Fixed warning
2024-08-19 21:15:25 +02:00
Ivan Savenko
28789bc691
Merge pull request #4462 from IvanSavenko/building_refactor
...
Town buildings refactoring
2024-08-19 19:45:21 +03:00
Ivan Savenko
16adf8415f
Add missing property to schema
2024-08-19 11:54:59 +00:00
Ivan Savenko
cf1c2d66cc
More examples in docs
2024-08-19 11:47:13 +00:00
Ivan Savenko
cc5564a7b1
Remove no longer used localization strings
2024-08-19 11:47:13 +00:00
Ivan Savenko
42902b8eb5
Update documentation, add examples
2024-08-19 11:47:13 +00:00
Ivan Savenko
6fa2bb7e91
Deprecate previously hardcoded buildings
2024-08-19 11:47:13 +00:00
Ivan Savenko
22a126cf2d
Restored replacement of town building bonuses via building upgrade
2024-08-19 11:47:13 +00:00
Ivan Savenko
2f3f3c21df
Rename town building types to more clear names
2024-08-19 11:47:13 +00:00
Ivan Savenko
abfb467f68
Cleanup old code, add compatibility for 1.5 mods
2024-08-19 11:47:13 +00:00
Ivan Savenko
01a9509ccb
Remove unused code, reduce includes
2024-08-19 11:47:13 +00:00
Ivan Savenko
f1e63792f0
Greatly simplify town buildings logic
2024-08-19 11:47:13 +00:00
Ivan Savenko
57430c101f
Extracted common properties of buildings into a shared file
2024-08-19 11:47:13 +00:00
Ivan Savenko
2a54de7569
Merge pull request #4476 from IvanSavenko/mod_repo_160
...
Use 1.6 repository for mods
2024-08-19 00:06:08 +03:00
Ivan Savenko
4ba2b95983
Fix build
2024-08-18 20:59:32 +00:00
Ivan Savenko
49412579b4
Use 1.6 repository
2024-08-18 20:48:16 +00:00
Xilmi
00e5770aa3
Update PriorityEvaluator.cpp
...
Revert change that made AI too passive.
2024-08-18 21:22:05 +02:00
Ivan Savenko
5b49c7525a
Merge pull request #4475 from MichalZr6/CSpellHandler_allow_lowercase_x
...
Allow lowercase 'X' in spellRangeInHexes JSON property
2024-08-18 21:51:36 +03:00
Ivan Savenko
9ddb3fd3fe
Merge pull request #4456 from ToRRent1812/patch-1
...
Update polish.json
2024-08-18 20:58:24 +03:00
Ivan Savenko
4e23bb4c8c
Merge pull request #4399 from kdmcser/enchanter_armageddon
...
make armageddon can effect to allied creatures in ENCHANTER bonus
2024-08-18 20:57:48 +03:00