home *** CD-ROM | disk | FTP | other *** search
/ Deathday Collection / dday.bin / edit / doombsp / wadfile.h < prev    next >
Text File  |  1994-04-06  |  547b  |  29 lines

  1. #import <appkit/appkit.h>
  2.  
  3.  
  4. @interface Wadfile : Object
  5. {
  6.     int        handle;
  7.     char        *pathname;
  8.     id        info;
  9.     BOOL    dirty;
  10. }
  11.  
  12. - initFromFile: (char const *)path;
  13. - initNew: (char const *)path;
  14. - close;
  15. - free;
  16.  
  17. - (int)numLumps;
  18. - (int)lumpsize: (int)lump;
  19. - (int)lumpstart: (int)lump;
  20. - (char const *)lumpname: (int)lump;
  21. - (int)lumpNamed: (char const *)name;
  22. - (void *)loadLump: (int)lump;
  23. - (void *)loadLumpNamed: (char const *)name;
  24.  
  25. - addName: (char const *)name data: (void *)data size: (int)size;
  26. - writeDirectory; 
  27.  
  28. @end
  29.