Removed more dependencies to DirectX.
That should be the last of the dependencies to DirectX.
Fixes a cast warning.
Cleanup, optimisation tweaks, disabled browsing information.
Included all the user packet handlers in one compilation unit (UserPacketHandlers.cpp), and excluded the individual files from build. This trick speeds up compile times immensely.
Fixed VS2012 release builds.
Fixed an intermittent bug that occurred on shutdown as a result of inconsistent cleanup order (sometimes g_pMain's destructor was not being called, so we ensure that's done first by moving the instance into the scope of main()). As an added bonus, the global's name actually makes sense again.
Essential debug information is now generated for release builds.
Crucial debug information is generated in release builds for VS2010 too.
NPCs now get removed/re-added virtually instantly on disconnection/reconnection. DeleteAllNPCList() is now protected against race conditions.
This shouldn't still be here.