home *** CD-ROM | disk | FTP | other *** search
/ Fish 'n' More 1 / FishNMoreVol1.bin / more / code_examples / fade / fade.doc < prev    next >
Text File  |  1989-08-16  |  1KB  |  34 lines

  1.  
  2.                                 ////
  3.                          ////
  4.                         ////  Vector Industries
  5.                     \\\\////     George Burgyan
  6.                      \\XX//     1164 Erieview Rd.
  7.                       \X//     Cleveland Hts. OH 44121
  8.  
  9.  -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  10.  
  11.     This program is public domain, althought If you use it in your own
  12.  Program I would appreciate you telling me or sending some money to the
  13.  above address
  14.  
  15.  -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  16.  
  17.  Fade(screen, destMap, delay, numcolors)
  18.  
  19.  where "screen" is the screen to fade, "destMap" is the colormap to fade
  20.  to, in the form of 0x0rgb (r = red, g = green, b=blue), "delay" is the 
  21.  number of ticks (1/50th of a sec.) bewteen the steps (16 of them), and 
  22.  "numcolors" is the number of colors in the destMap.
  23.  
  24.  This command will smoothly fade the screen to the specified colormap. 
  25.  unlike other commands like this, all the colors get to the destmap at the
  26.  same time.
  27.  
  28.  FadeToBlack (screen, delay, numcolors)
  29.  
  30.  This command is just like the previous one except the colormap is made 
  31.  for you and set to black.
  32.  
  33.  -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  34.