Alexander Wilms
|
02e429e973
|
Fix typos using https://github.com/crate-ci/typos
Changes were reviewed manually
|
2024-06-24 03:47:19 +02:00 |
|
Ivan Savenko
|
3bea383b59
|
Merge branch 'vcmi/beta' into 'vcmi/develop'
|
2024-06-21 12:58:36 +00:00 |
|
Ivan Savenko
|
0ca41127a6
|
Merge pull request #4152 from IvanSavenko/rmg_fix
[1.5.3] Fix rmg generation if player list is not continuous
|
2024-06-18 12:06:40 +03:00 |
|
Tomasz Zieliński
|
6d9f83a376
|
Protect lakes accessed from both zones with lock
|
2024-06-17 19:00:37 +02:00 |
|
Ivan Savenko
|
2d0bd94135
|
Fix rmg generation if player list is not continuous
|
2024-06-17 13:35:58 +00:00 |
|
Ivan Savenko
|
5d6470e527
|
Merge pull request #4025 from IvanSavenko/shared_ptr_lib
[1.6] Use shared_ptr for library entities
|
2024-05-30 19:14:06 +03:00 |
|
Ivan Savenko
|
7461df161c
|
lib now uses shared_ptr for entities. Removed manual memory management.
|
2024-05-17 15:04:05 +00:00 |
|
Ivan Savenko
|
721b15d9de
|
Merge branch 'vcmi/master' into 'vcmi/develop'
|
2024-05-17 08:26:37 +00:00 |
|
Tomasz Zieliński
|
5a979e42e2
|
Satisfy SonarCloud
|
2024-05-10 21:14:15 +02:00 |
|
Tomasz Zieliński
|
ee27a79aa1
|
Sonarcloud issues
|
2024-05-10 17:07:09 +02:00 |
|
Tomasz Zieliński
|
21bb61fc4d
|
Unused variable
|
2024-05-10 15:56:49 +02:00 |
|
Tomasz Zieliński
|
7cb17afe7a
|
Fix diagonal paths if we need to use them
|
2024-05-10 15:53:54 +02:00 |
|
Ivan Savenko
|
2521557f68
|
Fixed some newly reported issues from SonarCloud
|
2024-05-10 13:40:24 +00:00 |
|
Tomasz Zieliński
|
a6fa6855dc
|
Route roads away from zone borders
|
2024-05-10 15:35:33 +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
|
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
|
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
|
b1a5693612
|
Proof of concept with OH3 obstacles
|
2024-04-04 21:39:01 +02:00 |
|
Tomasz Zieliński
|
a94286c23d
|
Code cleanup
|
2024-03-27 08:03:19 +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
|
0c0a1bd777
|
Don't scale distance of large treasures beyond 30K value
|
2024-03-20 15:35:06 +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
|
1546a221d1
|
Best result so far
|
2024-03-20 08:36:02 +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
|
2e8801084d
|
Clean up RMG logs
|
2024-02-25 11:40:01 +01:00 |
|
Tomasz Zieliński
|
7ce3553a6d
|
Fix race condition when placing object at teh shore
|
2024-02-04 08:56:21 +01:00 |
|
Tomasz Zieliński
|
b3adb9e554
|
Do not place zone guards adjacent to 3rd zone
|
2024-01-22 09:27:30 +01:00 |
|
Ivan Savenko
|
6b760089a4
|
Merge pull request #3473 from IvanSavenko/const_lib
[1.5] Remove non-const global variables from library
|
2024-01-20 19:22:46 +02:00 |
|
Ivan Savenko
|
339fad6e27
|
Merge pull request #3528 from vcmi/master
Merge master -> develop
|
2024-01-19 21:19:20 +02:00 |
|
Ivan Savenko
|
aa02d5787a
|
Better solution for rmg crash fix
|
2024-01-19 17:26:51 +02:00 |
|
Ivan Savenko
|
789c96d9b0
|
Fixed binding lambda to a reference to a temporary on stack
|
2024-01-19 16:17:59 +02:00 |
|
Ivan Savenko
|
e50f586d8b
|
Stabilization
|
2024-01-19 14:21:13 +02:00 |
|
Ivan Savenko
|
60ffb81b33
|
Replaced remaining placeholder code with callbacks
|
2024-01-19 13:55:22 +02:00 |
|
Ivan Savenko
|
e67e4430ba
|
Removed most of non-const static fields in lib. Reduced header includes.
|
2024-01-19 13:55:22 +02:00 |
|
Ivan Savenko
|
a15366f5a5
|
Make IObjectInterface::cb non-static
|
2024-01-19 13:55:21 +02:00 |
|