refactor(pathfinder): Split several individual classes off of AIPathfind.h into separate header files - #3334
Conversation
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (8)
Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review. WalkthroughThe pathfinding declarations moved from ChangesPathfinder header extraction
Priority: ⬇️ Low Estimated code review effort: 3 (Moderate) | ~25 minutes Change: Refactor Suggested reviewers: Merge Risk: ⚪ Minimal · up to No concrete current-head failure remains established, so this extraction is mergeable with normal checks. 🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
Comment |
|
There was a problem hiding this comment.
Actionable comments posted: 1
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Advanced
Run ID: d2243ac5-595e-453e-8a9b-356a60944dee
📒 Files selected for processing (10)
Core/GameEngine/CMakeLists.txtCore/GameEngine/Include/GameLogic/AIPathfind.hCore/GameEngine/Include/GameLogic/Pathfinder/Path.hCore/GameEngine/Include/GameLogic/Pathfinder/PathNode.hCore/GameEngine/Include/GameLogic/Pathfinder/PathfindCell.hCore/GameEngine/Include/GameLogic/Pathfinder/PathfindCellInfo.hCore/GameEngine/Include/GameLogic/Pathfinder/PathfindCellList.hCore/GameEngine/Include/GameLogic/Pathfinder/PathfindLayer.hCore/GameEngine/Include/GameLogic/Pathfinder/PathfindZoneManager.hCore/GameEngine/Include/GameLogic/Pathfinder/ZoneBlock.h
Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review.
2bddeec to
47c5e78
Compare
To make reviewing easier, the plan is to do the .cpp and any include cleanup after. |
Makes reviewing easier. There is already a lot going on with the headers alone. The cpp is going to be worse. Se #3333 for the whole plan. It can be rebased or squashed, that is up to you. If you want to rebase it, I'll add the PR number to the commits. |
47c5e78 to
018dfdf
Compare
018dfdf to
33bc18d
Compare
33bc18d to
a03fb96
Compare
a03fb96 to
1d7b488
Compare
1d7b488 to
e753e94
Compare
e753e94 to
f559a41
Compare
f559a41 to
b10c861
Compare
This PR extracts several pathfinder header classes from the aipathfind.h header into their own header files to increase readability and maintainability. This is a first step into refactoring the pathfinding code.
Todo: