home *** CD-ROM | disk | FTP | other *** search
/ PC PowerPlay 58 / pcpp58a.iso / extras / quake 3 source / Q3A_ToolSource.exe / Main / LBMLIB.H < prev    next >
Encoding:
Text File  |  2001-01-02  |  752 b   |  20 lines

  1. // piclib.h
  2.  
  3.  
  4. void LoadLBM (char *filename, byte **picture, byte **palette);
  5. void WriteLBMfile (char *filename, byte *data, int width, int height
  6.     , byte *palette);
  7. void LoadPCX (char *filename, byte **picture, byte **palette, int *width, int *height);
  8. void WritePCXfile (char *filename, byte *data, int width, int height
  9.     , byte *palette);
  10.  
  11. // loads / saves either lbm or pcx, depending on extension
  12. void Load256Image (char *name, byte **pixels, byte **palette,
  13.                    int *width, int *height);
  14. void Save256Image (char *name, byte *pixels, byte *palette,
  15.                    int width, int height);
  16.  
  17.  
  18. void LoadTGA (char *filename, byte **pixels, int *width, int *height);
  19. void LoadImage( const char *name, byte **pic, int *width, int *height );
  20.