Subversion Repositories Games.Carmageddon

Rev

Blame | Last modification | View Log | Download | RSS feed

  1. #ifndef _PMFILE_H_
  2. #define _PMFILE_H_
  3.  
  4. #include "brender/br_types.h"
  5.  
  6. int FopWrite_PIXELMAP(br_datafile* df, br_pixelmap* pixelmap);
  7.  
  8. int FopRead_OLD_PIXELMAP(br_datafile* df, br_uint_32 id, br_uint_32 length, br_uint_32 count);
  9.  
  10. int FopRead_PIXELMAP(br_datafile* df, br_uint_32 id, br_uint_32 length, br_uint_32 count);
  11.  
  12. int FopWrite_PIXELS(br_datafile* df, br_pixelmap* pixelmap);
  13.  
  14. int FopRead_PIXELS(br_datafile* df, br_uint_32 id, br_uint_32 length, br_uint_32 count);
  15.  
  16. int FopWrite_ADD_MAP(br_datafile* df);
  17.  
  18. int FopRead_ADD_MAP(br_datafile* df, br_uint_32 id, br_uint_32 length, br_uint_32 count);
  19.  
  20. br_uint_32 BrPixelmapLoadMany(char* filename, br_pixelmap** pixelmaps, br_uint_16 num);
  21.  
  22. int WritePixelmap(br_pixelmap* pp, br_datafile* df);
  23.  
  24. br_uint_32 BrPixelmapSaveMany(char* filename, br_pixelmap** pixelmaps, br_uint_16 num);
  25.  
  26. br_pixelmap* BrPixelmapLoad(char* filename);
  27.  
  28. br_uint_32 BrPixelmapSave(char* filename, br_pixelmap* ptr);
  29.  
  30. #endif
  31.