Ivan Savenko
|
8225eb454e
|
Added GameSettings to gamestate, potentially allowing to define game
settings per map (or in random map template)
|
2024-09-05 15:16:27 +00:00 |
|
Andrii Danylchenko
|
683c363946
|
NKAI: whirlpool
|
2024-07-21 17:20:54 +03:00 |
|
Andrii Danylchenko
|
157443c1df
|
#3876 - allow to embark after battle for AI pathfinder
|
2024-05-05 13:52:57 +03:00 |
|
Ivan Savenko
|
ad602573ff
|
Merge pull request #3600 from dydzio0614/sod-fly
Fix SoD fly mechanics
|
2024-02-11 12:26:20 +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 |
|
Dydzio
|
fd9810adf4
|
Working SoD version of fly
|
2024-02-07 19:27:02 +01:00 |
|
Ivan Savenko
|
1f7e53a609
|
Code style fixes
|
2024-01-19 21:21:23 +02:00 |
|
Ivan Savenko
|
8303ce5d13
|
Added option to ignore guards in pathfinder
Used for simturns contact detection, by default disabled for player
pathfinding
|
2024-01-13 19:44:37 +02:00 |
|
Andrii Danylchenko
|
2dd0d76412
|
NKAI: water and air walking
|
2023-09-30 10:37:32 +03:00 |
|
Ivan Savenko
|
c8a96647c3
|
Add turn limit option to pathfinder
|
2023-09-26 13:42:20 +03:00 |
|
Ivan Savenko
|
bd4d2788ed
|
Split pathfinder into multiple smaller files
|
2023-06-21 13:46:09 +03:00 |
|