/*

  This is the Visual C++ version of the project 
  source for the RaveKit DDJ article.

  ** REALLY BIG NOTE **
  
  The RAVE dll (no version number) accompanying 
  this project works. The new RAVE dll released by
  Apple (version 1.5x), apart from being about 3 times
  bigger, does NOT work correctly when the window
  is resized dynamically by Direct Draw. If the
  viewport is off-center and you can't see anything,
  then the program is probably picking up a later
  version of RAVE from your system directory. Make
  sure the supplied version of RAVE is in the same
  directory as the RaveWin.exe application.

  * smaller notes *

  Even though the source code is exactly the same 
  as for the Mac-hosted CodeWarrior project, the
  colors are slightly wonky in this VC++ version,
  perhaps due to an oversight on my part in
  the 16 bit color coding. But this'll give you the 
  general idea. If you repair it, please let me know.

  None of this code is optimized. It's very 
  straightforward stuff, indended only as support 
  for the Dr Dobbs article. If you decide to
  rework, optimize and improve on it, I'd be
  keen to see it. You may even wish to write your own
  triangle rasterizer, optimized for Windows. Another
  useful exercise would be to swap in the Direct3D
  "immediate mode" triangle rasterization engine,
  which will certainly make it faster.

  Mark Carolan
  mark@HeadsOff.com

*/