Feature: Region-based pathfinder for ships (#10543)

This commit is contained in:
Kuhnovic
2024-01-08 20:29:05 +01:00
committed by GitHub
parent 9a7c4dda52
commit f1e999ec59
18 changed files with 1075 additions and 136 deletions

View File

@@ -35,6 +35,7 @@
#include "string_func.h"
#include "thread.h"
#include "tgp.h"
#include "pathfinder/water_regions.h"
#include "safeguards.h"
@@ -174,6 +175,8 @@ static void _GenerateWorld()
}
}
InitializeWaterRegions();
BasePersistentStorageArray::SwitchMode(PSM_LEAVE_GAMELOOP);
ResetObjectToPlace();