At the beginning of the worms.cpp, there is a condition judge to include windows.h:
#ifdef WIN32
#include <windows.h>
#endif
It should be refined to:
#if defined(_WIN32) || defined(WIN32)
#include <windows.h>
#endif
Since recent MSVC doesn't set a predefined macro 'WIN32' anymore, it set '_WIN32' instead.
After done this, worms and build/run perfectly in both MSVC 2008/2010. (of cause, have to setup glut & opengl properly)