home *** CD-ROM | disk | FTP | other *** search
/ Collection of Hack-Phreak Scene Programs / cleanhpvac.zip / cleanhpvac / GFXFX2.ZIP / UNITINT.ZIP / U_FFCEL.INT < prev    next >
Text File  |  1995-02-14  |  687b  |  40 lines

  1.  
  2. (*
  3. ** Autodesk Annimator CEL unit
  4. ** Support for SVGA resolutions is implemented,
  5. ** although you won't see those much...
  6. **
  7. ** Made by Bas van Gaalen
  8. *)
  9.  
  10. unit u_ffcel;
  11.  
  12. interface
  13.  
  14. uses dos,graph,u_pal;
  15.  
  16. const
  17.   cel_ok=0;
  18.   cel_nofile=1;
  19.   cel_invalid=2;
  20.   cel_nocreate=3;
  21.   cel_errfile=4;
  22.   cel_nomem=5;
  23.  
  24. type
  25.   cel_inforec=record
  26.     xres,yres:word;
  27.     pixs:byte;
  28.   end;
  29.  
  30. var
  31.   cel_status:byte;
  32.  
  33. function cel_errstr:string;
  34. function cel_load(fname:pathstr; var pic:pointer; var pal:pal_type):byte;
  35. function cel_display(fname,bgipath:pathstr; vidmode:shortint):byte;
  36. function cel_info(fname:pathstr; var info:cel_inforec):byte;
  37.  
  38. implementation
  39.  
  40.