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

  1. // piclib.h
  2.  
  3.  
  4. void LoadLBM (const char *filename, byte **picture, byte **palette);
  5. void WriteLBMfile (const char *filename, byte *data, int width, int height
  6.     , byte *palette);
  7. void LoadPCX (const char *filename, byte **picture, byte **palette, int *width, int *height);
  8. void WritePCXfile (const 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 (const char *name, byte **pixels, byte **palette,
  13.                    int *width, int *height);
  14. void Save256Image (const char *name, byte *pixels, byte *palette,
  15.                    int width, int height);
  16.  
  17.  
  18. void LoadTGA (const char *filename, byte **pixels, int *width, int *height);
  19. void LoadTGABuffer ( byte *buffer, byte **pic, int *width, int *height);
  20. void WriteTGA (const char *filename, byte *data, int width, int height);
  21.  
  22. void Load32BitImage (const char *name, unsigned **pixels, int *width, int *height);
  23.  
  24.