1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-26 22:57:00 +02:00
vcmi/AI/VCAI
Ivan Savenko 0c5be52a42 Win/loss conditions based on logical expressions, yet another large
changeset:
- victory/defeat will be detected using triggered events
- vcmi will convert h3 conditions into set of triggered events
- it is possible to either change number of days without towns or even
remove this loss condition completely
- possibility of custom win/loss text and icons in pregame (no longer
connected to win/loss conditions)

Still missing:
- No interface to pass custom events/victory conditions into the game 
- AI would benefit from improvemets (handle all victory conditions,
select best one to fulfill)
- You have X days till defeat message still hardcoded to 7 days
2013-12-29 11:27:38 +00:00
..
AIUtility.cpp - Fixed heroes stalling. Locked heroes now try to decompose their goals exhaustively, which FINALLY works as intended. 2013-12-26 09:53:37 +00:00
AIUtility.h First part of AI refactoring. Trying to split AI into three distinct parts: 2013-10-18 20:17:25 +00:00
CMakeLists.txt - reordered files in cmake so files with long compile times will be 2013-11-03 12:07:23 +00:00
Fuzzy.cpp - Moved place bonus hero before normal random hero and starting hero placement -> same behaviour as in OH3 2013-12-28 12:47:55 +00:00
Fuzzy.h - Fixed VisitHero goal. Now heroes can exchange armies again. 2013-12-27 13:20:40 +00:00
Goals.cpp Win/loss conditions based on logical expressions, yet another large 2013-12-29 11:27:38 +00:00
Goals.h - Fixed heroes stalling. Locked heroes now try to decompose their goals exhaustively, which FINALLY works as intended. 2013-12-26 09:53:37 +00:00
main.cpp More work on auto-fight. 2013-06-22 21:47:51 +00:00
StdInc.cpp * added an initial version of adventure AI: VCAI, more details here: http://forum.vcmi.eu/viewtopic.php?p=6508#6508 2012-02-14 18:04:45 +00:00
StdInc.h c++03 -> c++11 switch: 2013-06-26 11:18:27 +00:00
VCAI.cbp [c::b] update projects 2013-01-08 09:41:28 +00:00
VCAI.cpp An attempt to handle spawning objects. However, on a day of double growth, when multiple monsters spawn, game freezes. Looks like engine issue, code is commented out. 2013-12-28 16:39:47 +00:00
VCAI.h - Moved place bonus hero before normal random hero and starting hero placement -> same behaviour as in OH3 2013-12-28 12:47:55 +00:00
VCAI.vcxproj - Fixed VS project files (added missing .cpp files) 2013-11-30 14:22:03 +00:00