Andrii Danylchenko
|
7aff0e63fc
|
NKAI: fix parallel access to object graph
|
2024-04-21 12:27:58 +03:00 |
|
Andrii Danylchenko
|
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 |
|
Andrii Danylchenko
|
3939c4b9d3
|
NKAI: stability fixes and regression
|
2024-04-20 14:32:58 +03:00 |
|
Ivan Savenko
|
d5a2ad1be8
|
Allow sending requests to move across multiple tiles at once
|
2024-04-20 12:28:50 +03:00 |
|
Dydzio
|
19453aab41
|
Add handling for yes/no dialogs that can be safely skipped by player
|
2024-04-17 01:08:27 +02:00 |
|
Alexander Wilms
|
e70411bf1a
|
Fix typo: preasure -> pressure
|
2024-04-16 21:10:49 +00:00 |
|
Alexander Wilms
|
7d925b3689
|
Fix typo: Preasure -> Pressure
|
2024-04-16 21:10:15 +00:00 |
|
Andrii Danylchenko
|
ed76d8a652
|
NKAI: allow multiple tasks to be executed from one calculation
|
2024-04-14 16:46:05 +03:00 |
|
Andrii Danylchenko
|
fd0dd7441a
|
Merge pull request #3700 from vcmi/object-graph
NKAI: parallel capture objects
|
2024-04-01 12:59:08 +03:00 |
|
Andrii Danylchenko
|
728f673763
|
NKAI: remove static ai field
|
2024-03-31 21:11:25 +03:00 |
|
Andrii Danylchenko
|
ca7c91e766
|
Merge pull request #3677 from vcmi/object-graph
Object graph
|
2024-03-29 20:39:56 +02:00 |
|
Andrii Danylchenko
|
d6f1a5c2b3
|
NKAI: parallel capture objects
|
2024-03-29 20:39:03 +02:00 |
|
Evgeny Malygin
|
25125f96da
|
Fix: licenses, pragma guards, StdInc
|
2024-03-29 07:48:52 +02:00 |
|
Andrii Danylchenko
|
ff654c2148
|
NKAI: fix build
|
2024-03-28 17:47:08 +02:00 |
|
Andrii Danylchenko
|
30d9daf62c
|
NKAI: improve boat handling by object graph, a set of fixes
|
2024-03-28 13:39:15 +02:00 |
|
Andrii Danylchenko
|
adfcb650e2
|
NKAI: object graph fixes
|
2024-03-25 21:04:08 +02:00 |
|
Andrii Danylchenko
|
3820f6f78b
|
NKAI: fix headless and compilation
|
2024-03-24 13:16:46 +02:00 |
|
Andrii Danylchenko
|
419d6a648b
|
NKAI: optimize clusterization and pathfinding for object graph
|
2024-03-24 09:32:54 +02:00 |
|
Andrii Danylchenko
|
017fb204a1
|
NKAI: remove 5th dimension
|
2024-03-24 09:32:54 +02:00 |
|
Andrii Danylchenko
|
e66ceff154
|
NKAI: object graph improved and optimized
|
2024-03-21 12:13:36 +02:00 |
|
Andrii Danylchenko
|
bec2c0cac2
|
NKAI: fix sonar and refactoring
|
2024-03-10 15:14:15 +02:00 |
|
Andrii Danylchenko
|
6245adb9a4
|
NKAI: configurable object graph
|
2024-03-08 14:39:16 +02:00 |
|
Andrii Danylchenko
|
5f8a157c6d
|
NKAI: rollback changes with removing scan depth
|
2024-03-03 10:21:17 +02:00 |
|
Andrii Danylchenko
|
fb6fd63a58
|
NKAI: water paths in graph
|
2024-03-02 15:55:36 +02:00 |
|
Andrii Danylchenko
|
b236384356
|
NKAI: graph add battle layer
|
2024-03-02 15:54:05 +02:00 |
|
Andrii Danylchenko
|
a090441672
|
NKAI: object graph second layer not operational yet
|
2024-03-02 15:54:03 +02:00 |
|
Andrii Danylchenko
|
376a17409f
|
NKAI: initial implementation of object graph
|
2024-03-02 15:52:45 +02:00 |
|
Andrii Danylchenko
|
35429eab52
|
NKAI: moddable configuration
|
2024-03-01 22:03:07 +02:00 |
|
Alexander Wilms
|
2ea78a5883
|
Fix float comparisons
Replace this "==" with a more tolerant comparison operation.
Floating point numbers should not be tested for equality cpp:S1244
|
2024-02-14 23:30:29 +01:00 |
|
Ivan Savenko
|
c23953eac5
|
Remove custom casts
|
2024-02-14 12:56:37 +02:00 |
|
Ivan Savenko
|
45c971a405
|
Replace throws() with nothrow
|
2024-02-14 12:07:07 +02:00 |
|
Ivan Savenko
|
7359b66f99
|
Do not use floating point equality checks
|
2024-02-14 12:07:07 +02:00 |
|
Ivan Savenko
|
9ebd194ab1
|
Merge pull request #3609 from IvanSavenko/single_process
Allow running server as part of client process
|
2024-02-14 12:06:22 +02:00 |
|
Alexander Wilms
|
678cacbd25
|
Remove more redundant virtual specifiers
`grep -nr "virtual " | grep -v googletest | grep " override" | grep -v overriden > ../redundant_virtual.txt`
```python
import os
with open("../redundant_virtual.txt") as f:
for line in f:
print()
line: str = line.strip()
print(line)
tmp = line.split(":",2)
file = tmp[0].strip()
code = tmp[-1].strip()
print(file)
print(code)
new_code = code.replace("virtual ", "", 1)
# https://superuser.com/a/802490/578501
command = f"export FIND='{code}' && export REPLACE='{new_code}' && ruby -p -i -e \"gsub(ENV['FIND'], ENV['REPLACE'])\" {file}"
os.system(command)
```
|
2024-02-13 15:21:30 +01:00 |
|
Ivan Savenko
|
4c70abbeb5
|
Reduced usage of global variables - removed or made const / constexpr
|
2024-02-12 13:49:45 +02:00 |
|
Ivan Savenko
|
c577ea3e8d
|
Fix potentially uninitialized values
|
2024-02-12 12:31:27 +02:00 |
|
Ivan Savenko
|
a909d7ddde
|
Removed cmake_modules/VCMI_lib macro, use it directly in place
|
2024-02-11 20:38:24 +02:00 |
|
Ivan Savenko
|
f08c9f4d59
|
Renamed ENABLE_STATIC_AI_LIBS option to match its actual effect
|
2024-02-11 17:55:02 +02:00 |
|
Alexander Wilms
|
522cb571b3
|
Remove redundant virtual specifiers
`grep -nr virtual | grep -v googletest | grep override > ../redundant_virtual.txt`
```python
import os
with open("../redundant_virtual.txt") as f:
for line in f:
print()
line: str = line.strip()
print(line)
tmp = line.split(":")
file = tmp[0].strip()
code = tmp[-1].strip()
print(file)
print(code)
new_code = code.replace("virtual ", "", 1)
# https://superuser.com/a/802490/578501
command = f"export FIND='{code}' && export REPLACE='{new_code}' && ruby -p -i -e \"gsub(ENV['FIND'], ENV['REPLACE'])\" {file}"
os.system(command)
```
|
2024-02-10 20:46:13 +01:00 |
|
Ivan Savenko
|
2e4895766a
|
Implemented tracking of objects destroyed by players
|
2024-01-31 01:37:33 +02:00 |
|
Ivan Savenko
|
a9866bb5c6
|
Added RandomGeneratorUtil::nextItemWeighted convenience method
|
2024-01-31 00:17:40 +02:00 |
|
Laserlicht
|
7f58333ef9
|
quick combat vs ai
|
2024-01-25 23:44:41 +01:00 |
|
Ivan Savenko
|
284273379e
|
Merge pull request #3536 from IvanSavenko/serialization_refactor
Refactoring of serialization versioning handling
|
2024-01-22 19:49:24 +02:00 |
|
Andrii Danylchenko
|
bf54a6a7d3
|
Merge pull request #3537 from vcmi/nkai-fix-pathfinder-commited-tiles
NKAI: avoid writing to commited tiles when calculating hero chain
|
2024-01-21 14:51:33 +02:00 |
|
Andrii Danylchenko
|
708e0d1107
|
NKAI: avoid writing to commited tiles when calculating hero chain
|
2024-01-21 10:18:39 +02:00 |
|
Andrii Danylchenko
|
cb297793e0
|
NKAI: fix lock
|
2024-01-21 10:05:40 +02:00 |
|
Andrii Danylchenko
|
0c1664dbe7
|
NKAI: various AI fixes after tests in headless
|
2024-01-20 22:55:30 +02:00 |
|
Andrii Danylchenko
|
1db43a509e
|
NKAI: fix casting FLY several times during path calculation
|
2024-01-20 22:55:28 +02:00 |
|
Andrii Danylchenko
|
36bc9ddcec
|
NKAI: mutex for internal AI state
|
2024-01-20 22:55:27 +02:00 |
|
Andrii Danylchenko
|
cc7fc4a2c6
|
Fix headless mode
|
2024-01-20 22:55:27 +02:00 |
|