Commit Graph
100 Commits
Author SHA1 Message Date
Dydzio 3e1b623fb6 Refactor goal removal from resource manager queue 2019-01-01 15:41:52 +01:00
Dydzio 456132c06b Fix code mistake 2019-01-01 14:19:52 +01:00
Dydzio 94df657d03 Check parent goals and resource manager for validity 2019-01-01 14:19:52 +01:00
Dydzio 216d50788b Fix AI build, update default Windows SDK version for projects 2018-12-31 15:18:42 +01:00
Dydzio e1c27d04b4 Update VS files to match AI goals split 2018-12-05 13:05:54 +01:00
Dydzio c3088e293a Workaround linker bug, set higher optimization by default 2018-11-17 11:34:39 +01:00
Dydzio 0fd729fd86 Fix creature animation callback circular reference 2018-11-14 23:36:38 +01:00
Dydzio d5063e53a0 Do not evaluate goals related to removed hero 2018-11-07 21:04:15 +01:00
Dydzio 3e6cdb28bc Promote no AI value message to error, shouldn't happen without mods 2018-11-03 13:03:31 +01:00
Dydzio 8ec558a2ae Fix AI value handling for heroes 2018-11-03 12:46:02 +01:00
Dydzio 9f3d718e3b Allow AI to be aware of invisible heroes deletion 2018-11-02 16:35:25 +01:00
Dydzio 22ce535a2a Fix not responding statusbar 2018-10-29 14:12:07 +01:00
Dydzio 1a05e41aac BuildingManager refactoring: C++11 vector usage without helper array 2018-10-16 19:52:36 +02:00
Dydzio e13e88bf5c ResourceManager-compliant money saving for income buildings 2018-10-16 19:52:36 +02:00
Dydzio b69c316409 Add possible income utility function, make capitol building errorproof 2018-10-16 19:52:36 +02:00
Dydzio 12e1e5b315 Disable building from army goals, re-fix building capitol prereqs 2018-10-16 19:52:35 +02:00
Dydzio 8c763253d2 Build fort unconditionally with high priority, no fort=no dwellings 2018-10-16 19:52:35 +02:00
Dydzio c04bb9387f New rule: Cannot build upgrades without fort 2018-10-16 19:52:35 +02:00
Dydzio 7ed4abd12d Default hero AI value seems low - tweak it 2018-10-15 21:18:44 +02:00
Dydzio a00a7762b5 Fix for new pathfinder code - generate proper goals 2018-10-15 21:17:14 +02:00
Dydzio a1c0b9268e Create artifact AI value handling 2018-10-10 15:22:15 +02:00
Dydzio 9ef0481610 object value terms rework 2018-10-10 15:18:34 +02:00
Dydzio 71a3852be4 Fix some flaws of old fuzzy engines 2018-10-10 15:18:33 +02:00
Dydzio 69e142c2b9 Change fuzzy engines activation method 2018-10-10 15:18:33 +02:00
Dydzio 2a299e52a8 Add AI pathfinding to VS files 2018-10-09 12:39:57 +02:00
DydzioandAlexander Shishkin 96494332a2 Fix ice and energy elemental vulnerabilities 2018-08-24 20:19:16 +03:00
DydzioandAlexander Shishkin b61d1ac857 Fix broken RMG monster strength buttons 2018-08-24 19:20:27 +03:00
DydzioandAlexander Shishkin 09b7fb1fb2 Fix double-playing resource pickup sound 2018-08-24 19:20:01 +03:00
DydzioandAlexander Shishkin 0edac2e124 update missing VS .h files 2018-08-23 17:02:09 +03:00
DydzioandAlexander Shishkin 1471043cae Update visual studio project files 2018-08-22 17:31:48 +03: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
Dydzio d41741251f Fix VisitObj bugs / logic flaws 2018-08-19 20:41:29 +02:00
Dydzio b1651d716f Stupid typo fix 2018-08-19 17:11:06 +02:00
Dydzio e197d22e68 Improve dwelling value evaluation 2018-08-16 21:17:45 +02:00
Dydzio a7c2d03c87 Fixes 2018-08-10 20:36:42 +02: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 f2ba500e90 Autocalculate default AI value for dwellings 2018-08-10 16:36:45 +02:00
Dydzio 787f4032b4 fulfillsMe change revert, tweaks 2018-08-10 13:42:15 +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 c0821495e5 GetObj tweak 2018-08-09 22:07:02 +02:00
Dydzio 4b776db1a2 Set destination tile in GetObj - needed for priority evaluation 2018-08-09 20:24:19 +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 01709bd196 Dwelling aiValue set: cre.aiValue * growth 2018-08-09 13:17:58 +02:00
Dydzio 41df9d8283 Move away subgoal collection logic for GetObj 2018-08-09 13:17:58 +02:00
Dydzio 2365946b62 Elementar GetObj - first attempt 2018-08-09 13:17:58 +02:00
Dydzio e89c7eeba4 Remove incorrect destructors - fl::Engine is responsible for these 2018-08-09 13:17:57 +02:00
Dydzio 2079ae6190 Revert "use smart pointers for fl variables"
This reverts commit d30b76bd7b47d1bfd197e80a7b0675bd7815db03.
2018-08-09 13:17:57 +02:00
Dydzio 67439bdd36 use smart pointers for fl variables 2018-08-09 13:17:57 +02:00
Dydzio 12d750a767 Accessibility tweaks + fix some compile errors 2018-08-09 13:17:57 +02:00
Dydzio b29d5bb001 finished FuzzyHelper logic separation 2018-08-09 13:17:57 +02:00
Dydzio 64b7c9f036 VisitTile fuzzy logic separated from FuzzyHelper 2018-08-09 13:17:57 +02:00
Dydzio 37b2dbcbba Finish moving init functions to goal engine constructors 2018-08-09 13:17:57 +02:00
Dydzio e33ef71882 FuzzyHelper is on diet... gotta get thinner 2018-08-09 13:17:57 +02:00
Dydzio a8f5882a77 Initial split of classes 2018-08-09 13:17:57 +02:00
Dydzio 8a862347c4 Update VCAI VS file 2018-08-04 15:45:22 +02:00
Dydzio 22b02ecc78 Use boost::optional "better way" 2018-07-30 15:32:55 +02:00
Dydzio 0786bd915a remove C++17 insert_or_assign usage 2018-07-30 14:07:39 +02:00
Dydzio 123ca6c417 Update CMakeLists.txt 2018-07-30 01:39:47 +02:00
Dydzio 3e31e67653 Initial AI value labeling for map objects 2018-07-30 01:27:02 +02:00
Dydzio 393b25eb7f Minor tweaks/fixes 2018-07-29 19:31:01 +02:00
Dydzio f906d98fe5 Bugfix... 2018-07-29 16:02:18 +02:00
Dydzio d3e53bea2f Add aiValue handling for MapObjectsEvaluator 2018-07-28 12:58:18 +02:00
Dydzio b37ba8e046 Initial version of AI object value config 2018-07-28 00:43:56 +02:00
Dydzio df00ced204 Create fuzzy logic map object evaluation fundamentals 2018-07-27 02:28:12 +02:00
Dydzio 27541a72f5 Extract FuzzyHelper distance calculation 2018-07-27 02:21:51 +02:00
Dydzio 615df6203d Oprator overload correction... 2018-07-26 16:43:40 +02:00
Dydzio b6a171f858 Add code comments for VCAI::makeTurnInternal 2018-07-23 20:48:38 +02:00
Dydzio 13cca972d6 Add visual studio file changes in advance 2018-07-23 19:47:07 +02:00
Dydzio 1a78ea15bb Tweaks 2018-07-22 19:53:06 +02:00
Dydzio 21c1f47a78 Fixes 2018-07-22 19:12:11 +02:00
Dydzio 2c1d91e2ff Move object ID struct to lib 2018-07-22 18:38:45 +02:00
Dydzio 08a66abdcc Singleton implementation fix 2018-07-21 15:42:17 +02:00
Dydzio 82da82fbeb Polish object database, add data operations 2018-07-21 14:30:38 +02:00
Dydzio 36f501ebf3 Implement MapObjectsEvaluator as singleton utility 2018-07-21 11:28:55 +02:00
Dydzio 6a9e91b99b Added basic interface for AI to evaluate objects 2018-07-20 21:14:57 +02:00
Dydzio 301b70ddd8 Fix bone/ghost dragon handling in skeleton transformer 2018-07-18 20:21:19 +02:00
Dydzio d5d2c65c4b Fix counterattack wrong mechanics 2018-07-18 15:52:33 +02:00
Dydzio 6174df0a72 Revert only launcher saving to settings.json from PR441 2018-07-16 22:05:42 +02:00
Dydzio 260981d586 Update project files to match vcmi code changes 2018-07-06 18:52:51 +02:00
Dydzio 07cf59592b Updated catapult spell effect to match new code 2018-03-05 12:55:44 +01:00
Dydzio fb9ee9ddf7 Visual fix - destroy shooters together with tower 2018-03-02 15:36:44 +01:00
Dydzio e68a2e7ef5 Fix arrow tower destruction mechanics 2018-03-02 15:23:07 +01:00
Dydzio b55d506e22 Grant advanced catapult proficiency with CATAPULT_EXTRA_SHOTS 2018-03-02 13:46:14 +01:00
Dydzio d4958ff5f8 update VS files to match spellrefactoring9 changes 2018-02-09 18:53:07 +01:00
Dydzio 38d836d1a5 Update project files to Visual Studio 2017 2018-01-13 16:33:49 +01:00
Dydzio baaa1a0f13 Add magic resistance for crystal dragons 2018-01-12 13:36:17 +01:00
Dydzio 6ca1845515 Update VS project files to mach latest develop 2017-11-17 16:38:29 +01:00
Dydzio c6731f3b90 Fix code formatting 2017-11-13 14:18:38 +01:00
Dydzio da6d01b0c7 Ability rename + bugfix + changelog extend 2017-11-13 01:59:41 +01:00
DydzioandArseniyShestakov 1162923d93 update VS files 2017-09-13 02:04:37 +03:00
Dydzio 3eef689005 Add TERMINATOR ability support, small fixes 2017-09-09 21:01:12 +02:00
Dydzio 7cbd9acd67 Add BLOCK_MAGIC_BELOW bonus 2017-09-06 00:03:32 +02:00
Dydzio 59764d8349 Implemented SHOOTS_ALL_ADJACENT 2017-09-05 23:45:31 +02:00