Rename pathfinding types to DHXJ: MovementOpenList -> CPriorityQueue, MovementPathNodeCompare -> NodeTotalGreater, MovementPathNode -> PathNode, MovementRoutePoint -> PathCell. Pure rename, codegen unchanged.

This commit is contained in:
ragnarok-clanker 2026-10-29 12:23:51 +01:00
commit 591a7db26b
5 changed files with 39 additions and 39 deletions

View file

@ -120,7 +120,7 @@ bool CNavigationManager::BuildRoute(int startX, int startY, int destX, int destY
int offsetX;
int offsetY;
const float scale = this->FitToSquare(&offsetX, &offsetY, width, height, 126.0f);
for (const MovementRoutePoint& point : this->movementRoute.points) {
for (const PathCell& point : this->movementRoute.points) {
NaviCell cell;
cell.x = static_cast<int>(point.x * scale + offsetX);
cell.y = static_cast<int>(126.0f - (point.y * scale + offsetY));