home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-385-Vol-1of3.iso / w / wgt3_ex.zip / FLI01.C < prev    next >
C/C++ Source or Header  |  1992-09-13  |  453b  |  25 lines

  1. #include <conio.h>
  2. #include <wgt.h>
  3. #include <wgtfli.h>
  4.  
  5. // WordUp Graphics Toolkit FLI demo program
  6. // Simply loads in an FLI file and plays the animation.
  7.  
  8. void main(void)
  9. {
  10.      vga256();
  11.      fliscreen=abuf;
  12.      // Abuf means the visual screen. 
  13.  
  14.      openfli("wordup.fli");
  15.      do {
  16.      nextframe();
  17.      wnormscreen();
  18.      }while (!kbhit());
  19.      getch();
  20.      closefli();
  21.      wfreeblock(fliscreen);
  22. textmode(C80);
  23. }
  24.  
  25.