Subversion Repositories Games.Carmageddon

Rev

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

  1. #ifndef _GENFILE_H_
  2. #define _GENFILE_H_
  3.  
  4. #include "brender/br_types.h"
  5.  
  6. #define FILE_TYPE_NONE          0x0
  7. #define FILE_TYPE_ACTORS        0x1
  8. #define FILE_TYPE_PIXELMAP      0x2
  9. #define FILE_TYPE_LIGHT         0x3
  10. #define FILE_TYPE_CAMERA        0x4
  11. #define FILE_TYPE_MATERIAL_OLD  0x5
  12. #define FILE_TYPE_MODEL         0xface
  13. #define FILE_TYPE_ANIMATION     0xa11
  14. #define FILE_TYPE_TREE          0x5eed
  15. #define FILE_TYPE_MATERIAL      0x6
  16.  
  17. int FopRead_END(br_datafile* df, br_uint_32 id, br_uint_32 length, br_uint_32 count);
  18.  
  19. int FopWrite_END(br_datafile* df);
  20.  
  21. int FopWrite_FILE_INFO(br_datafile* df, br_uint_32 type);
  22.  
  23. #endif
  24.