Andrii Danylchenko
|
5d022ba77c
|
AI: CompleteQuest goal and summon boat spell support
|
2018-12-23 15:49:26 +03:00 |
|
Andrii Danylchenko
|
e1b922f7b8
|
AI goals refactoring (#524)
|
2018-12-01 11:30:37 +03:00 |
|
Andrii Danylchenko
|
60c5f584a8
|
AI: GATHER_TROOPS improvements and fixes
|
2018-11-14 22:10:02 +02:00 |
|
Dydzio
|
d5063e53a0
|
Do not evaluate goals related to removed hero
|
2018-11-07 21:04:15 +01:00 |
|
Andrii Danylchenko
|
3871ed0085
|
Hero try to execute a quest to kill himself
|
2018-11-05 22:24:15 +02:00 |
|
Dydzio
|
9f3d718e3b
|
Allow AI to be aware of invisible heroes deletion
|
2018-11-02 16:35:25 +01:00 |
|
Alexander Shishkin
|
e26f6ff15f
|
Merge pull request #505 from janisozaur/catch-by-ref
Catch exceptions by const-ref, not by value
|
2018-10-30 05:08:30 +03:00 |
|
Michał Janiszewski
|
7be9aa4868
|
Prevent shadowing of function arguments by local vars
|
2018-10-29 16:56:14 +01:00 |
|
Michał Janiszewski
|
9822a8f2df
|
Catch exceptions by const-ref, not by value
|
2018-10-29 16:41:54 +01:00 |
|
Andrii Danylchenko
|
72aff02418
|
AI pathfinding: buy boat
|
2018-10-21 14:17:55 +03:00 |
|
AlexVinS
|
be45c8cb43
|
Updated C::B projects, fixed a few warnings
|
2018-10-10 16:07:28 +03:00 |
|
Andrii Danylchenko
|
cf213a5acf
|
#2983б #2910 and a few other bugs fixed
|
2018-10-06 16:35:31 +03:00 |
|
Andrii Danylchenko
|
49c872e4ec
|
AI: replace SectorMap with new PathfinderManager
|
2018-10-06 16:35:31 +03:00 |
|
AlexVinS
|
99f167a44c
|
AIhelper should be owned by AI instance.
|
2018-09-02 18:04:38 +03:00 |
|
DjWarmonger
|
5f39e92eb4
|
Merge branch 'develop' into VCAI_fixes
|
2018-08-22 08:06:13 +02:00 |
|
DjWarmonger
|
f484baea9f
|
Merge pull request #474 from vcmi/FuzzyHelperRework
FuzzyHelper refactoring + Ai Map Object Evaluation improvements
|
2018-08-22 07:33:09 +02:00 |
|
DJWarmonger
|
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 |
|
Dydzio
|
243ce7370a
|
This fixes crash... idk why
|
2018-08-20 15:20:47 +02:00 |
|
Dydzio
|
158b3c0b80
|
Initial implementation of invalid VisitObj removal
|
2018-08-20 14:43:51 +02:00 |
|
AlexVinS
|
de5f1461ba
|
Fixed https://bugs.vcmi.eu/view.php?id=2998
|
2018-08-12 15:02:10 +03:00 |
|
Dydzio
|
72b206347f
|
Split Fuzzy.cpp/h
|
2018-08-10 18:27:57 +02:00 |
|
Dydzio
|
bd3d27c79b
|
Leftover stuff: rename GET_OBJ
|
2018-08-10 16:48:42 +02:00 |
|
Dydzio
|
3961b4ac93
|
Rename GetObj->VisitObj to reflect new functionality
|
2018-08-10 16:45:00 +02:00 |
|
Dydzio
|
f91c85a900
|
Crash fix
|
2018-08-10 01:04:31 +02:00 |
|
Dydzio
|
5065f5a104
|
Fixes
|
2018-08-10 00:33:18 +02:00 |
|
Dydzio
|
fa97940b4f
|
Improve wander logging
|
2018-08-09 18:24:04 +02:00 |
|
Dydzio
|
ff2ac5b34b
|
Minor fixes
|
2018-08-09 18:04:49 +02:00 |
|
Dydzio
|
1377338a41
|
Restore old code line
|
2018-08-09 17:45:58 +02:00 |
|
Dydzio
|
616a6bbdf7
|
New object target handling in wander
|
2018-08-09 16:28:15 +02:00 |
|
Dydzio
|
2365946b62
|
Elementar GetObj - first attempt
|
2018-08-09 13:17:58 +02:00 |
|
DJWarmonger
|
4b602c42ff
|
Fix for fix, ugh.
|
2018-08-08 14:26:21 +02:00 |
|
DJWarmonger
|
d07a77f34b
|
- Tweaks for GatherArmy
- Tweaks for exploration
- Increased default priority of BuyArmy, SIGNIFICANT improvement!
|
2018-08-08 12:38:32 +02:00 |
|
DJWarmonger
|
a9ef8fe32f
|
- Fixed Border Gates logic
- VCAI may now walk onto removable objects when exploring
|
2018-08-08 10:52:52 +02:00 |
|
DJWarmonger
|
a827c083d8
|
Remove useless code
|
2018-08-06 21:54:17 +02:00 |
|
DJWarmonger
|
4d701736f9
|
Important changes:
- Fixed goal completion logic
- WIN can't be completed
|
2018-08-06 20:25:39 +02:00 |
|
DJWarmonger
|
36e44adc8c
|
rebase
|
2018-08-06 10:02:59 +02:00 |
|
DJWarmonger
|
f5ba181173
|
Refactoring: Move SectorMap to separate file
|
2018-08-04 21:59:30 +02:00 |
|
DJWarmonger
|
6615870045
|
Rebase
|
2018-08-04 15:59:59 +02:00 |
|
DJWarmonger
|
9e34ef5534
|
AI will not try to sell reserved resources.
|
2018-08-04 11:51:19 +02:00 |
|
DJWarmonger
|
2aa0a6fe2f
|
More fixes for trading. Seems to work now.
|
2018-08-04 10:20:40 +02:00 |
|
DJWarmonger
|
a5ca32ad38
|
Some checks and log for CollectRes goal.
|
2018-08-04 09:24:43 +02:00 |
|
Andrii Danylchenko
|
4141e8e7b0
|
[2982] AI: unexpected error in AI logic when take resource on adjasent tile
|
2018-08-01 21:49:15 +03:00 |
|
DJWarmonger
|
70549197b6
|
Naah, revert my changes.
|
2018-07-28 09:08:53 +02:00 |
|
DJWarmonger
|
ea19716fb9
|
Fix for wander - AI sitting at town will buy troops.
|
2018-07-27 07:20:08 +02:00 |
|
DJWarmonger
|
feb3459bd7
|
Oops restore.
|
2018-07-26 21:34:52 +02:00 |
|
DJWarmonger
|
5ce4e784c9
|
Final tweaks. Not going to add anything more to this PR.
|
2018-07-26 18:02:15 +02:00 |
|
DJWarmonger
|
1450d408a2
|
Wandering heroes may now travel to town even if it has no army in garrison.
|
2018-07-26 14:37:39 +02:00 |
|
DJWarmonger
|
273802c92c
|
I have no idea what I'm doing
|
2018-07-26 12:14:29 +02:00 |
|
Dydzio
|
b6a171f858
|
Add code comments for VCAI::makeTurnInternal
|
2018-07-23 20:48:38 +02:00 |
|
DJWarmonger
|
cae8acc56a
|
Clearing up the code as requested by FeniksFire
|
2018-07-19 20:39:37 +02:00 |
|