Work towards gridless difficult terrain pathfinding

This commit is contained in:
Manuel Vögele
2022-06-10 16:52:44 +02:00
parent 445c03d29a
commit c08d65ffad
7 changed files with 333 additions and 43 deletions
+4 -1
View File
@@ -7,7 +7,7 @@ import {disableSnap, registerKeybindings} from "./keybindings.js";
import {libWrapper} from "./libwrapper_shim.js";
import {performMigrations} from "./migration.js"
import {removeLastHistoryEntryIfAt, resetMovementHistory} from "./movement_tracking.js";
import {wipePathfindingCache, initializePathfinding, startBackgroundCaching} from "./pathfinding.js";
import {wipePathfindingCache, initializePathfinding, startBackgroundCaching, terrainRulerWrapper} from "./pathfinding.js";
import {extendRuler} from "./ruler.js";
import {registerSettings, RightClickAction, settingsKey} from "./settings.js"
import {recalculate} from "./socket.js";
@@ -62,6 +62,9 @@ Hooks.once("init", () => {
registerSystem,
recalculate,
resetMovementHistory,
private: {
terrainRulerWrapper
}
}
})