Browse Source
Remove ~4,042 lines of extracted function bodies and forward declarations from diablo.cpp. Add includes for the 6 new module headers. Update CancelAutoWalkInternal() to delegate to ResetAutoWalkTracker() and ResetAutoWalkTownNpc(). Remove unused includes from diablo.cpp that were only needed by the extracted code (<queue>, format_int.hpp, tile_properties.hpp). Add the 6 new .cpp files to Source/CMakeLists.txt so they are compiled into libdevilutionx. Also includes post-review cleanups: - Remove unused automap.h include from accessibility_keys.cpp - Remove unused walk_path_speech.hpp include from diablo.cpp - Replace .size() == 0 with .empty() in accessibility_keys.cpp - Simplify CanAutomapBeToggledOff to direct return expression - Remove unreachable dead code and dead FindPreferredExitTriggerIndex function from navigation_speech.cpp Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>pull/8474/head
2 changed files with 3690 additions and 7727 deletions
Loading…
Reference in new issue