home *** CD-ROM | disk | FTP | other *** search
/ Archive Magazine 1996 / ARCHIVE_96.iso / discs / shareware / share_43 / source / c / ARC < prev    next >
Text File  |  1991-08-26  |  417b  |  30 lines

  1. #include "ARTHUR.H"                      
  2.  
  3. void display_finished ()
  4.    {
  5.    cls;
  6.    }
  7.  
  8. void display_init ()
  9.    {
  10.    mode(15);
  11.    cursor(0);
  12.    }
  13.  
  14. void display_close ()
  15.    {
  16.    cls;
  17.    }
  18.  
  19. void display_plot (x, y, Red, Green, Blue)
  20.    int x, y;
  21.    char Red, Green, Blue;
  22.    {
  23.    Red=Red/64;
  24.    Green=(Green/64)<<2;
  25.    Blue=(Blue/64)<<4;
  26.    gcol(0,Red+Green+Blue);
  27.    plot(69,x * 2,1024-(y * 2));
  28.    }
  29.  
  30.