1a05e41aac
BuildingManager refactoring: C++11 vector usage without helper array
2018-10-16 19:52:36 +02:00
e13e88bf5c
ResourceManager-compliant money saving for income buildings
2018-10-16 19:52:36 +02:00
b69c316409
Add possible income utility function, make capitol building errorproof
2018-10-16 19:52:36 +02:00
12e1e5b315
Disable building from army goals, re-fix building capitol prereqs
2018-10-16 19:52:35 +02:00
8c763253d2
Build fort unconditionally with high priority, no fort=no dwellings
2018-10-16 19:52:35 +02:00
c04bb9387f
New rule: Cannot build upgrades without fort
2018-10-16 19:52:35 +02:00
32c480c33d
Merge pull request #498 from dydzio0614/AiHotfix
...
Fix severely broken AI behavior + tweak default hero AI value
2018-10-16 12:25:59 +03:00
7ed4abd12d
Default hero AI value seems low - tweak it
2018-10-15 21:18:44 +02:00
a00a7762b5
Fix for new pathfinder code - generate proper goals
2018-10-15 21:17:14 +02:00
6958f2cddf
Merge pull request #493 from dydzio0614/FuzzyEvaluationFixes
...
Fuzzy evaluation fixes
2018-10-10 22:00:14 +03:00
b5756200da
Merge pull request #484 from dydzio0614/ArtifactAiValue
...
Create artifact AI value handling
2018-10-10 21:59:46 +03:00
a1c0b9268e
Create artifact AI value handling
2018-10-10 15:22:15 +02:00
9ef0481610
object value terms rework
2018-10-10 15:18:34 +02:00
71a3852be4
Fix some flaws of old fuzzy engines
2018-10-10 15:18:33 +02:00
69e142c2b9
Change fuzzy engines activation method
2018-10-10 15:18:33 +02:00
be45c8cb43
Updated C::B projects, fixed a few warnings
2018-10-10 16:07:28 +03:00
cbaa834589
AI pathfinding: bug fix after refactoring
2018-10-10 14:51:57 +03:00
83aae7d72b
Merge pull request #492 from dydzio0614/AiVSFix
...
Add AI pathfinding to VS files
2018-10-10 14:47:02 +03:00
2a299e52a8
Add AI pathfinding to VS files
2018-10-09 12:39:57 +02:00
f9054c06b3
Merge pull request #470 from nullkiller/ai-pathfinder-extensibility
...
AI: add some pathfinder extensibility and replace SectorMap.
2018-10-07 16:53:53 +03:00
f327c46fa3
AI pathfinding: rename and add const to functions
2018-10-07 14:51:27 +03:00
cf213a5acf
#2983б #2910 and a few other bugs fixed
2018-10-06 16:35:31 +03:00
49c872e4ec
AI: replace SectorMap with new PathfinderManager
2018-10-06 16:35:31 +03:00
eb17313f7f
AI: pathfinder extensibility - add one more rule for movement to destination and some refactoring
2018-09-23 15:26:53 +03:00
7150fc9f71
AI: pathfinder api supports configuration
2018-09-23 15:26:53 +03:00
9ab44b950a
AI: pathfinder rework, rules refactored a bit.
2018-09-23 15:26:53 +03:00
24221f3fb4
AI: move teleportation handling to pathfinder helper and neighbour finder
2018-09-23 15:26:53 +03:00
6ac987794c
AI: first rule extracted for pathfinder
2018-09-23 15:26:53 +03:00
9af0032f84
AI: try to add some pathfinder extensibility. Extracted neighbour nodes finder
2018-09-23 15:26:53 +03:00
57b687a094
Fix crash on portal teleport when it's 1st action in movement ( #491 )
2018-09-16 17:01:36 +03:00
cca46e311d
Fixed schemas for battle animation overwritting an solo attribute instead images attribute dependant. Now working for replacing battle sprites on pre-existant heroes too ( #490 )
2018-09-13 02:33:34 +03:00
99f167a44c
AIhelper should be owned by AI instance.
2018-09-02 18:04:38 +03:00
edcaaf036a
MSVC: fixes for compatibility with latest Vcpkg packages
2018-08-27 22:19:11 +03:00
47ba3b2476
Hero scheme: allow each hero to have a unique battle animation ( #480 )
...
* attribute for battle image added on hero class, allowing on hero schemes each hero have a unique battle .def in 'images' structures sided with portraits and specialties images
2018-08-27 09:42:36 +03:00
26fe5607ac
Bonus icon fix №2 (posted by zeriss)
2018-08-27 01:07:40 +03:00
6d1901c4f3
Bonus icon fix (posted by zeriss)
2018-08-27 00:42:32 +03:00
690b3caff0
[c::b] Updated projects
2018-08-26 19:42:41 +03:00
fa5a14e2d8
Stabilize vcmi ( #488 )
...
* Shared statusbar
* Fixed server fails on client disconnected
2018-08-26 19:09:56 +03:00
96494332a2
Fix ice and energy elemental vulnerabilities
2018-08-24 20:19:16 +03:00
b61d1ac857
Fix broken RMG monster strength buttons
2018-08-24 19:20:27 +03:00
09b7fb1fb2
Fix double-playing resource pickup sound
2018-08-24 19:20:01 +03:00
0edac2e124
update missing VS .h files
2018-08-23 17:02:09 +03:00
1471043cae
Update visual studio project files
2018-08-22 17:31:48 +03:00
346796f4f8
Possible fix for evaluate VisitHero (compiler optimization?)
2018-08-22 12:32:48 +02:00
2b6bb0f4c6
Merge pull request #481 from vcmi/VCAI_fixes
...
Vcai fixes
2018-08-22 10:41:12 +02:00
5f39e92eb4
Merge branch 'develop' into VCAI_fixes
2018-08-22 08:06:13 +02:00
383c9a20af
A bunch of fixes for recent branch.
2018-08-22 07:51:35 +02:00
f484baea9f
Merge pull request #474 from vcmi/FuzzyHelperRework
...
FuzzyHelper refactoring + Ai Map Object Evaluation improvements
2018-08-22 07:33:09 +02:00
6503830bde
Important fixes:
...
- AI will not always trade resources if it has better options
- Do not use reserved objects for CollectRes
2018-08-21 13:48:19 +02:00
2f4b463459
- Fixed major bugs with building dwellings. ResourceManager doesn't support building in future turns.
...
- Tweaks for trading
2018-08-21 12:55:31 +02:00