Tomasz Zieliński
a5077245a8
Merge remote-tracking branch 'origin/develop' into terrain-rewrite
...
# Conflicts:
# lib/Terrain.cpp
# lib/Terrain.h
2022-09-23 20:01:13 +02:00
Andrey Filipenkov
1d57c40740
wrap && conditions in parentheses when near ||
2022-09-22 11:54:09 +03:00
Tomasz Zieliński
494b0f0226
First version that compiles
2022-09-21 11:34:23 +02:00
DjWarmonger
7ba271edf1
Rotation rebase2 ( #912 )
...
* Instead of [x][y][z] coordinates, map will be stored as [z][x][y].
* Nullkiller AI can get it too.
* Use boost::multi_array instead of nested vectors
* In MapHandler too
* Rotate foreach algorithms, too
* VCAI gets rotated, too
2022-09-18 17:39:10 +03:00
Nordsoft91
aaa07e4d2e
New terrain support - part 1 ( #755 )
...
Initial support of new terrains
2022-09-11 11:31:26 +03:00
Andrii Danylchenko
31c9d6e28d
Fix performance issue related to TurnInfo construction
2022-06-06 09:47:37 +03:00
Andrii Danylchenko
fa9a420f99
Fix a few crashes
2022-04-17 09:10:53 +03:00
Andrii Danylchenko
70ed3f55a5
Nullkiller: replace a hack with temporary bonus node concept
2021-07-26 21:02:50 +03:00
Andrii Danylchenko
3fa7e0976f
Nullkiller: update / fix build, core changes required for Nullkiller AI
2021-07-26 21:02:50 +03:00
Andrii Danylchenko
b4241670ba
Nullkiller: rename VCAI to AIGateway
2021-07-26 21:02:50 +03:00
Andrii Danylchenko
87a8c776c9
Nullkiller: reduce memory usage for x86
2021-07-26 21:02:50 +03:00
Andrii Danylchenko
bc95e4b935
Fix tbb build
2021-07-26 21:02:50 +03:00
Andrii Danylchenko
9a203b8af9
Nullkiller: parallel object clusterization, stabilization
2021-07-26 21:02:50 +03:00
Andrii Danylchenko
66843b22d3
Nullkiller: async hero chain calculation
2021-07-26 21:02:50 +03:00
Andrii Danylchenko
0265de77fa
Nullkiller: fix crash, refactor
2021-07-26 21:02:50 +03:00
Andrii Danylchenko
fb3cda666f
Nullkiller: tbb and hero chain calculation optimization and parallel cpathfinder initialization
2021-07-26 21:02:50 +03:00
Andrii Danylchenko
0ffc7c3b94
Nullkiller: turn limit for main heroes
2021-07-26 21:02:50 +03:00
Andrii Danylchenko
7e88819105
Nullkiller: fix crash and freeze
2021-07-26 21:02:50 +03:00
Andrii Danylchenko
3822d788e8
Nullkiller: allow buy army through pathfinder
2021-07-26 21:02:50 +03:00
Andrii Danylchenko
f0ceaf5852
Nullkiller: improve perofrmance of AI pathfinding
2021-07-26 21:02:50 +03:00
Andrii Danylchenko
35a1167f3d
Nullkiller: refactoring and stabilization of gather army & clusterization
2021-07-26 21:02:50 +03:00
Andrii Danylchenko
1fdf0de75d
Nullkiller: clusterization fixes, heroes clusterization for additional mains in case of locked heroes
2021-07-26 21:02:50 +03:00
Andrii Danylchenko
645c393e25
Nullkiller: fix freeze on accessing guarded object
2021-07-26 21:02:50 +03:00
Andrii Danylchenko
5bfe71c8f3
Nullkiller: small optimization of AIPathfinder for big maps
2021-07-26 21:02:50 +03:00
Andrii Danylchenko
1806dd8447
Nullkiller: remove AIhelper + refactoring
2021-07-26 21:02:50 +03:00
Andrii Danylchenko
e95ccda5de
Nullkiller: various fixes for town portal and other
2021-07-26 21:02:50 +03:00
Andrii Danylchenko
cebb5b296b
Nullkiller: fix priorities after refactoring
2021-07-26 21:02:50 +03:00
Andrii Danylchenko
8f8c5ca255
Nullkiller: initial decomposition
2021-07-26 21:02:50 +03:00
Andrii Danylchenko
1fd838a5b9
Nullkiller: stabilisation
2021-07-26 21:02:50 +03:00
Andrii Danylchenko
9c14ccab8f
Nullkiller: fixes after first 5 autotesting maps
2021-07-26 21:02:50 +03:00
Andrii Danylchenko
df78e3243b
Nullkiller: stabilisation, improve gather army
2021-07-26 21:02:50 +03:00
Andrii Danylchenko
17a960e850
Nullkiller: gold preasure and turn variables for priority evaluation. Tweaking building behavior
2021-07-26 21:02:50 +03:00
Andrii Danylchenko
a39fa51e14
Nullkiller AI: basic hill fort support and hero chain reworked to start from stronger army
2021-07-26 21:02:50 +03:00
Andrii Danylchenko
400967904b
Nullkiller AI: stabilization of build and prioritization fixes
2021-07-26 21:02:50 +03:00
Andrii Danylchenko
eea5cb7f0b
Nullkiller AI: further stabilisation, implement staged hero chain (first with limit 0 turns then 1 turn)
2021-07-26 21:02:50 +03:00
Andrii Danylchenko
6bebb766a6
Nullkiller AI: new prioritization engine stabilization
2021-07-26 21:02:50 +03:00
Andrii Danylchenko
b261734905
Nullkiller AI: new prioritization engine
2021-07-26 21:02:50 +03:00
Andrii Danylchenko
84e5e6ac17
Nullkiller: rework defence a bit
2021-07-26 21:02:50 +03:00
Andrii Danylchenko
1096f2e9e6
Nullkiller: town portal fixes
2021-07-26 21:02:50 +03:00
Andrii Danylchenko
a2ac19e4ec
Nullkiller: defence behavior
2021-07-26 21:02:50 +03:00
Andrii Danylchenko
642f3a3fa4
Nullkiller: fix a few freezes
2021-07-26 21:02:50 +03:00
Andrii Danylchenko
fdd5be1e40
Nullkiller: fix build and some warnings
2021-07-26 21:02:50 +03:00
Andrii Danylchenko
e3c87fb58d
Nullkiller: stabilisation and fixes
2021-07-26 21:02:50 +03:00
Andrii Danylchenko
5fe2630c64
Nullkiller: rework prioritization, add hero roles, skills and other variables
2021-07-26 21:02:50 +03:00
Andrii Danylchenko
4bf653f596
AI: danger hitmap using visible enemy heroes
2021-07-26 21:02:50 +03:00
Andrii Danylchenko
286d084445
Nullkiller: better tracing and hero locking for hero chain
2021-07-26 21:02:50 +03:00
Andrii Danylchenko
ffa626dc2f
AI: add ExecuteChain goal
2021-07-26 21:02:50 +03:00
Andrii Danylchenko
37434dc4cf
AI: hero chain stabilisation
2021-07-26 21:02:50 +03:00
Andrii Danylchenko
f44eaf8132
AI: inefective chain cancellation
2021-07-26 21:02:50 +03:00
Andrii Danylchenko
0e328ab3c2
AI: hero chain stabilisation
2021-07-26 21:02:50 +03:00