DJWarmonger
|
9e34ef5534
AI will not try to sell reserved resources.
|
7 years ago |
DJWarmonger
|
2aa0a6fe2f
More fixes for trading. Seems to work now.
|
7 years ago |
DJWarmonger
|
a5ca32ad38
Some checks and log for CollectRes goal.
|
7 years ago |
Andrii Danylchenko
|
4141e8e7b0
[2982] AI: unexpected error in AI logic when take resource on adjasent tile
|
7 years ago |
DJWarmonger
|
70549197b6
Naah, revert my changes.
|
7 years ago |
DJWarmonger
|
ea19716fb9
Fix for wander - AI sitting at town will buy troops.
|
7 years ago |
DJWarmonger
|
feb3459bd7
Oops restore.
|
7 years ago |
DJWarmonger
|
5ce4e784c9
Final tweaks. Not going to add anything more to this PR.
|
7 years ago |
DJWarmonger
|
1450d408a2
Wandering heroes may now travel to town even if it has no army in garrison.
|
7 years ago |
DJWarmonger
|
273802c92c
I have no idea what I'm doing
|
7 years ago |
Dydzio
|
b6a171f858
Add code comments for VCAI::makeTurnInternal
|
7 years ago |
DJWarmonger
|
cae8acc56a
Clearing up the code as requested by FeniksFire
|
7 years ago |
DJWarmonger
|
3d59420bb5
Minor optimisations. Also, shoter code.
|
7 years ago |
Andrii Danylchenko
|
12a3c7ed33
AI - code styles and remove redundant performance optimization for explore
|
7 years ago |
Andrii Danylchenko
|
2466489e13
AI - improve exploration, cancel deadends
|
7 years ago |
Johannes 'josch' Schauer
|
a54e8c88a9
AI/VCAI/VCAI.cpp: Remove unused variable introduced in 2014
|
7 years ago |
Arseniy Shestakov
|
25dea1a599
Code style: formatting and refactoring of VCAI code
|
7 years ago |
Alexander Shishkin
|
5c09f751b3
Gui cleanup3 - UI refactoring to use smart pointers (#440)
|
7 years ago |
AlexVinS
|
03cfd2cb78
Do not use StackLocation in netpacks
|
7 years ago |
AlexVinS
|
166c04e2e0
Hack fixed serializer assertion by completely disabling AI goals serialization
|
7 years ago |
Arseniy Shestakov
|
324717acbe
Spelling fixes: privilaged -> privileged, retreive -> retrieve
|
7 years ago |
AlexVinS
|
0a2b04709f
Fixed https://bugs.vcmi.eu/view.php?id=2873
|
7 years ago |
AlexVinS
|
0b70baa95e
Spells configuration version 2 (effect-based)
|
8 years ago |
Arseniy Shestakov
|
da117e9255
Code style: remove void from constructors without arguments
|
7 years ago |
Michał Kalinowski
|
26a222ac62
Change JsonType to enum class (#393)
|
8 years ago |
DJWarmonger
|
bf20b165ec
Fix. Don't skip usual condition.
|
8 years ago |
DJWarmonger
|
3eb5de9534
Fixed AI trying to visit tavern over and over.
|
8 years ago |
DJWarmonger
|
edc4c01805
Fixed a case when AI could spend all money on army and not build anything in secondary towns.
|
8 years ago |
AlexVinS
|
15138c23de
Finished conversion to new logging API
|
8 years ago |
AlexVinS
|
143ff682bc
Logging cleanup
|
8 years ago |