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

  1.  
  2. (*
  3. ** Deluxe Paint II LBM & IFF files unit
  4. **
  5. ** ILBM: InterLeaved BitMap
  6. ** IFF: Interchange Format Files, Electron Arts <tm> IFF 85
  7. **
  8. ** ONLY SUPPORTED: Deluce Paint II enhanced non-compressed files!
  9. **
  10. ** Made by Bas van Gaalen
  11. *)
  12.  
  13. unit u_fflbm;
  14.  
  15. interface
  16.  
  17. uses dos,graph;
  18.  
  19. const
  20.   lbm_ok=0;
  21.   lbm_nofile=1;
  22.   lbm_errfile=2;
  23.   lbm_invalid=3;
  24.   lbm_palerr=4;
  25.   lbm_unknown=5;
  26.  
  27. type
  28.   lbm_inforec=record
  29.     xres,yres:word;
  30.     pixs:byte;
  31.   end;
  32.  
  33. var
  34.   lbm_status:byte;
  35.  
  36. function lbm_errstr:string;
  37. function lbm_display(fname,bgipath:pathstr; vidmode:shortint):byte;
  38. function lbm_info(fname:pathstr; var info:lbm_inforec):byte;
  39.  
  40. implementation
  41.  
  42.