   help me on this question
  video_buffer8[x + y*memory_pitchB] = pixel_color_8;the above line of code was taken from the Tricks of the Windows Game Programming Gurus, page 274, can anyone help me understand this?? 
  << from the Tricks of the Windows Game Programming Gurus, page 274 >>Flipping through the book....Its explained on page 272-274, under the section "Plotting Pixels" in DirectDraw (chapter 6)The line is a formula for locating the pixel in video memory that you want to plot. See page 277 where he applies this in his function Plot8// this function plots a single pixelbuffer[x + y*mempitch] = color;x and y are your screen coordinates, mempitch is your "memory pitch per line" (see Lamothe''s comment), and color is color index. Plot16 is his function to plot a pixel in video memory in 16-bit 5.6.5 RGB mode (see page 277).Actually, this is a little over my head since I''ve been using GDI to plot pixels (which is much simpler)  I hope to learn this DirectDraw stuff soon....Phil P 