home *** CD-ROM | disk | FTP | other *** search
/ Collection of Hack-Phreak Scene Programs / cleanhpvac.zip / cleanhpvac / WD_SRC.ZIP / SOURCE / DOOM_TEX.HPP < prev    next >
Text File  |  1995-01-12  |  734b  |  27 lines

  1.  
  2. typedef struct
  3. {
  4.     BYTE textureName[8];
  5.     WORD always0_1, always0_2;
  6.     WORD totalWidth, totalHeight;
  7.     WORD always0_3, always0_4;
  8.     WORD nPatchDescriptors;    
  9. } TextureEntry;
  10.  
  11.  
  12. typedef struct
  13. {
  14.     WORD xOffset, yOffset;
  15.     WORD iPNamesEntry;
  16.     WORD Always1, Always0;    
  17. } Patch;
  18.  
  19.  
  20. TextureID LoadSidedefTexture( DoomSidedef *pSidedef, MFile *pWadFile, DWORD directoryPos );
  21. DWORD FindTexture( MFile *pWadFile, BYTE *pTexName, DWORD directoryPos );
  22. BOOL ComposeTexture( MFile *pWadFile, DWORD directoryPos, DWORD texturePos, Texture *pNewTexture );
  23. BOOL PastePatch( Texture *pPasteTo, Patch *pPasteFrom, MFile *pWadFile, DWORD directoryPos );
  24. BOOL InitDoomTex( MFile *pWadFile, DWORD directoryPos );
  25. BOOL UnInitDoomTex();
  26.  
  27.