Coding
Coding »
I was working on writing a Windows based application for work that was using WTL and DockingWindows and I was getting the strangest bug. When I used Visual Studio 2005 Express and compiled in Debug Mode, everything worked fine, but in Release Mode, one of the docking windows which was an “Owner Drawn” ListViewCtrl would never draw. The docking window container would appear, but the background would never fill and the list would certainly never show. Strangely, it ran just fine if it was compiled in VS 2005 Professional.
Coding »
I’ve designed a demo module for Neverwinter Nights demonstrating the A* (“A Star”) algorithm used for pathfinding. The demo uses the Memetic Toolkit which is a powerful set of scripts used to simulate creature AI.
The A* algorithm is remarkably efficient, and the NPCs are quickly able to determine the best (shortest) path to their next destination. The NPCs are able to traverse multiple areas and follow very complex paths without overly taxing CPU resources.














