Tomasz Zieliński
|
37d062f1eb
|
Fix incorrect comparison operator
|
2024-05-08 15:09:11 +02:00 |
|
Tomasz Zieliński
|
eece03d24f
|
Fix for centering the tiles, extra logs
|
2024-05-08 13:16:26 +02:00 |
|
Tomasz Zieliński
|
ec20e9e907
|
Shift center of tiling to center of the map
|
2024-05-08 12:16:42 +02:00 |
|
Tomasz Zieliński
|
dd55188b77
|
Option to define surface or underground level for obstacle set
|
2024-05-07 07:15:00 +02:00 |
|
Tomasz Zieliński
|
20176521eb
|
Actually revert this change, it's not better.
|
2024-05-01 15:27:19 +02:00 |
|
Tomasz Zieliński
|
4d13c3b94f
|
Final fixes and tweaks
|
2024-05-01 13:58:24 +02:00 |
|
Tomasz Zieliński
|
186b6629c7
|
Do not hide roads behind objects
|
2024-05-01 12:15:07 +02:00 |
|
Tomasz Zieliński
|
d5b6e31223
|
Fix guard check
|
2024-05-01 11:38:44 +02:00 |
|
Tomasz Zieliński
|
5315beec8c
|
Fixes for guard condition
|
2024-05-01 11:34:34 +02:00 |
|
Tomasz Zieliński
|
acab1d38cf
|
Build fix
|
2024-05-01 10:45:01 +02:00 |
|
Tomasz Zieliński
|
7f3cf607a7
|
Allow guards not stronger than 1/3 max value next to roads
|
2024-05-01 10:24:21 +02:00 |
|
Tomasz Zieliński
|
67447acd0e
|
First implementation that works
|
2024-05-01 09:16:10 +02:00 |
|
Tomasz Zieliński
|
4d948e8c6d
|
Also, this
|
2024-05-01 07:58:47 +02:00 |
|
Tomasz Zieliński
|
9301bb9af5
|
Do not place guardes treasure on roads. Do not place guards next to roads.
|
2024-05-01 07:58:17 +02:00 |
|
Tomasz Zieliński
|
d22f42d58a
|
Tweak numbers to ensure tiling covers entire map
|
2024-04-14 07:25:52 +02:00 |
|
Tomasz Zieliński
|
4fa7f0e93d
|
Also allow filtering biomes by faction(s)
|
2024-04-12 10:25:13 +02:00 |
|
Tomasz Zieliński
|
a356fdaf2a
|
Allow filtering obstacles by faction aligmnment
|
2024-04-11 18:10:14 +02:00 |
|
Tomasz Zieliński
|
d9a598ad9c
|
Merge remote-tracking branch 'origin/develop' into biome_system
|
2024-04-08 15:01:17 +02:00 |
|
Tomasz Zieliński
|
b1a5693612
|
Proof of concept with OH3 obstacles
|
2024-04-04 21:39:01 +02:00 |
|
Tomasz Zieliński
|
12da0196a0
|
Restrict reindexing to random maps
|
2024-04-03 20:05:35 +02:00 |
|
Tomasz Zieliński
|
a94286c23d
|
Code cleanup
|
2024-03-27 08:03:19 +01:00 |
|
Tomasz Zieliński
|
a89abf0289
|
Another attempt to fix build
|
2024-03-27 07:18:25 +01:00 |
|
Tomasz Zieliński
|
19633a0f62
|
Build fixes
|
2024-03-27 06:48:22 +01:00 |
|
Tomasz Zieliński
|
37f6993402
|
Clean the comments
|
2024-03-27 06:24:14 +01:00 |
|
Tomasz Zieliński
|
d8c93cb222
|
Protect every access to zone tiles with a mutex
|
2024-03-27 06:16:48 +01:00 |
|
Tomasz Zieliński
|
cfc4a26f55
|
Fix warning
|
2024-03-26 08:22:57 +01:00 |
|
Tomasz Zieliński
|
9d620b924d
|
Implement TODO
|
2024-03-26 07:55:18 +01:00 |
|
Tomasz Zieliński
|
0b8dc02d2b
|
Clean up duplicated code
|
2024-03-24 18:04:33 +01:00 |
|
Tomasz Zieliński
|
c6a9d94630
|
Fix crash with empty zone
|
2024-03-24 17:25:30 +01:00 |
|
Tomasz Zieliński
|
0c0a1bd777
|
Don't scale distance of large treasures beyond 30K value
|
2024-03-20 15:35:06 +01:00 |
|
Tomasz Zieliński
|
433765714f
|
Add less obstacles in zones with low treasure value
|
2024-03-20 14:42:09 +01:00 |
|
Tomasz Zieliński
|
02fc410a98
|
Sonarcloud fixes
|
2024-03-20 13:51:16 +01:00 |
|
Tomasz Zieliński
|
68cdcb893e
|
Include treasure value in min distance calculation
|
2024-03-20 12:39:07 +01:00 |
|
Tomasz Zieliński
|
a8d1d72b15
|
Cleaned logs
|
2024-03-20 10:12:48 +01:00 |
|
Tomasz Zieliński
|
662bb0d1f6
|
Cut straight paths for better passability
|
2024-03-20 10:03:26 +01:00 |
|
Tomasz Zieliński
|
25a62b504f
|
Perfection achieved?
|
2024-03-20 09:05:27 +01:00 |
|
Tomasz Zieliński
|
1546a221d1
|
Best result so far
|
2024-03-20 08:36:02 +01:00 |
|
DjWarmonger
|
306896601a
|
Merge pull request #3636 from vcmi/rmg_tweaks
Rmg tweaks
|
2024-03-14 19:54:25 +01:00 |
|
Tomasz Zieliński
|
28f76b2839
|
Actually, avoid guarded object altogether
|
2024-03-01 18:17:17 +01:00 |
|
Tomasz Zieliński
|
4e88290962
|
Actually avoid only monsters
|
2024-03-01 18:10:05 +01:00 |
|
Tomasz Zieliński
|
8f1638f78a
|
Try to not route roads through passable objects
|
2024-03-01 17:48:07 +01:00 |
|
Tomasz Zieliński
|
b7320bbc8a
|
Cleanup
|
2024-02-29 13:04:48 +01:00 |
|
Tomasz Zieliński
|
2c32c770f7
|
First version that works in lobby
|
2024-02-29 12:45:08 +01:00 |
|
Tomasz Zieliński
|
af0207470d
|
- Increased minimal obstacle density on surface
- Decreased minimal obstacle density in the underground
|
2024-02-25 12:25:23 +01:00 |
|
Tomasz Zieliński
|
2e8801084d
|
Clean up RMG logs
|
2024-02-25 11:40:01 +01: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 |
|
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
|
c03196257f
|
Fix "identical expressions on both sides of comparison"
|
2024-02-12 12:32:35 +02:00 |
|