1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-29 00:41:38 +02:00
Commit Graph

137 Commits

Author SHA1 Message Date
0fd9dbf240 Unified income handling, added IOwnableObject interface 2024-08-28 12:40:44 +00:00
bc80532f29 BattleAI: improve movement towards unreachable 2024-08-21 22:18:40 +03:00
38311244a4 Merge pull request #4402 from Laserlicht/8th_creature
support for 8th creature (Factory)
2024-08-14 17:04:32 +03:00
78dea24017 Visual logger colored text 2024-08-10 19:13:09 +03:00
47c77826c3 Visual logger map texts 2024-08-10 13:04:35 +03:00
170f375179 code review 2024-08-10 00:29:30 +02:00
475b769eef fix ToW 2024-08-07 01:35:50 +02:00
14bcfad7b0 fix upgrade 2024-08-06 23:28:45 +02:00
ebeeff5aa3 abstraction layer 2024-08-05 23:51:07 +02:00
3afddbbf29 replaced constant 2024-08-05 23:03:19 +02:00
bfd1e8a7c8 calculate income 2024-07-25 02:51:00 +02:00
4aa73b40c9 Split CTownHandler into smaller chunks 2024-07-21 18:21:48 +00:00
e9e5948d61 NKAI: take into account 7lvl creature cost when we consider what resources we need 2024-07-18 20:24:24 +03:00
6b8f94e6e7 Merge remote-tracking branch 'vcmi/master' into develop 2024-07-11 17:43:44 +00:00
7445e950ba Replace uint64_t with signed type to prevent overflow on substraction 2024-07-08 20:52:11 +00:00
41ed7e2e10 Added TODO's for potential optimizations that I've discovered 2024-07-04 07:59:50 +00:00
24b77b0972 Remove access to hero name translation 2024-07-03 17:01:38 +00:00
02e429e973 Fix typos using https://github.com/crate-ci/typos
Changes were reviewed manually
2024-06-24 03:47:19 +02:00
431b2865a4 Review fixes 2024-06-17 09:43:22 +00:00
e32b6bd807 Fix potentially uninitialized members 2024-06-12 18:10:38 +00:00
820f0e0c1a NKAI: port exploration from VCAI 2024-05-20 23:50:13 +03:00
6e641dbdea #3824 - fix empty army with only commander issues 2024-04-26 23:18:20 +03:00
390136e536 NKAI: fix patrolling heroes never retreat and town danger evaluation 2024-04-21 14:23:58 +03:00
70fad45316 Merge pull request #3770 from vcmi/nkai-multitask
NKAI: allow multiple tasks to be executed from one calculation
2024-04-20 15:21:11 +03:00
e70411bf1a Fix typo: preasure -> pressure 2024-04-16 21:10:49 +00:00
7d925b3689 Fix typo: Preasure -> Pressure 2024-04-16 21:10:15 +00:00
ed76d8a652 NKAI: allow multiple tasks to be executed from one calculation 2024-04-14 16:46:05 +03:00
728f673763 NKAI: remove static ai field 2024-03-31 21:11:25 +03:00
30d9daf62c NKAI: improve boat handling by object graph, a set of fixes 2024-03-28 13:39:15 +02:00
adfcb650e2 NKAI: object graph fixes 2024-03-25 21:04:08 +02:00
419d6a648b NKAI: optimize clusterization and pathfinding for object graph 2024-03-24 09:32:54 +02:00
bec2c0cac2 NKAI: fix sonar and refactoring 2024-03-10 15:14:15 +02:00
5f8a157c6d NKAI: rollback changes with removing scan depth 2024-03-03 10:21:17 +02:00
b236384356 NKAI: graph add battle layer 2024-03-02 15:54:05 +02:00
376a17409f NKAI: initial implementation of object graph 2024-03-02 15:52:45 +02:00
35429eab52 NKAI: moddable configuration 2024-03-01 22:03:07 +02:00
7359b66f99 Do not use floating point equality checks 2024-02-14 12:07:07 +02:00
4c70abbeb5 Reduced usage of global variables - removed or made const / constexpr 2024-02-12 13:49:45 +02:00
a9866bb5c6 Added RandomGeneratorUtil::nextItemWeighted convenience method 2024-01-31 00:17:40 +02:00
ea1f05d15a Stabilization 2024-01-19 13:55:22 +02:00
a15366f5a5 Make IObjectInterface::cb non-static 2024-01-19 13:55:21 +02:00
d5c4478816 Remove most of non-const access to VLC entities 2024-01-19 13:54:49 +02:00
bd5682ecc3 Merge remote-tracking branch 'vcmi/master' into develop 2024-01-19 13:49:54 +02:00
0d0d3d8c80 Renamed speed -> getMovementRange, remove misleading default parameter 2024-01-14 17:14:36 +02:00
daf9f9f7f5 Re-add const that was erronously removed with 88ec4fa
Co-authored-by: Andrey Filipenkov <kambaladecapitator@gmail.com>
2023-12-30 11:01:21 +01:00
88ec4fa0e7 Use getTileThreat-helper instead of directly accessing hitMap with tile coordinates 2023-12-29 23:12:06 +01:00
61314a36f6 Fix copy-paste mistake 2023-12-27 22:35:43 +01:00
406d136cdc Fixes warnings about possibly dangling references 2023-12-27 22:24:58 +01:00
60ca6f968c Fix hero limit check in AI 2023-11-27 14:08:49 +02:00
8346d71c98 Remove more subID access 2023-11-01 14:44:05 +02:00