home *** CD-ROM | disk | FTP | other *** search
/ Cutting-Edge 3D Game Programming with C++ / CE3DC++.ISO / TOOLS / WING / WGSTATIC / README.TXT < prev    next >
Encoding:
Text File  |  1994-10-11  |  1.6 KB  |  55 lines

  1. STATIC - A WinG Sample Application
  2. --------------------------------------------------------------------------
  3. Written by Robert B. Hess
  4.  
  5.  
  6. This is a very quick sample application that illustrates what could be
  7. considered a 'minimum' WinG application.
  8.  
  9. What it does, is create a bitmap, and gets a pointer to the data buffer
  10. associated with the bitmap. It also creates a palette, and properly
  11. associated this palette with the bitmap, and then it randomly selects
  12. a color index for the first pixel in the bitmap, and then proceeds to
  13. walk the entire bitmap, indexing the color of each pixel based on the
  14. first pixel.
  15.  
  16. To use this as a starting point for your WinG application, you would want
  17. to modify the code that sets the colors of the selected palette (I'm just
  18. using random values), and then you would want to modify the code that is
  19. being used to assign the values of the pixels to be appropriate for your
  20. application.
  21.  
  22. The files used in this sample are:
  23.  
  24. The Source Files:
  25. Static.C
  26. Static.H
  27.  
  28. The Resource File:
  29. Static.RC
  30.  
  31. Some additional files:
  32. Static.DEF
  33. Static.ICO
  34.  
  35. 'Human Readable' nmake scripts:
  36. MAKEFILE     - 32 bits
  37. MAKEFILE.16  - 16 bits
  38.  
  39. VC++ Generated nmake scripts:
  40. Static32.MAK - 32 bits
  41. Static16.MAK - 16 bits
  42.  
  43. The executable images:
  44. Static32.EXE - 32 bits (Intel)
  45. Static16.EXE - 16 bits
  46.  
  47.  
  48. Over time, this program will most likely be updated to include new or
  49. more accurate information and methods. Please be sure to check back
  50. with the location that you downloaded this from in order to see if
  51. a newer version exists.
  52.  
  53.  
  54. -Robert
  55.