X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=plugins%2Farchivepak%2Fpak.h;h=7b0ff292ede35597ed4bea73bb3b7e6ad76a3913;hb=9dfae1c9b270ee369c6362903a9205b30751b95f;hp=22051568dda1646c8282a8288cf2dcdae5ac1e8a;hpb=b7e36c120eb1546a6c6f97f30e42ab7f9a559c61;p=xonotic%2Fnetradiant.git diff --git a/plugins/archivepak/pak.h b/plugins/archivepak/pak.h index 22051568..7b0ff292 100644 --- a/plugins/archivepak/pak.h +++ b/plugins/archivepak/pak.h @@ -22,18 +22,16 @@ #if !defined( INCLUDED_PAK_H ) #define INCLUDED_PAK_H -struct pakheader_t -{ - char magic[4]; // Name of the new WAD format ("PACK") - unsigned int diroffset; // Position of WAD directory from start of file - unsigned int dirsize; // Number of entries * 0x40 (64 char) +struct pakheader_t { + char magic[4]; // Name of the new WAD format ("PACK") + unsigned int diroffset; // Position of WAD directory from start of file + unsigned int dirsize; // Number of entries * 0x40 (64 char) }; -struct pakentry_t -{ - char filename[0x38]; // Name of the file, Unix style, with extension, 50 chars, padded with '\0'. - unsigned int offset; // Position of the entry in PACK file - unsigned int size; // Size of the entry in PACK file +struct pakentry_t { + char filename[0x38]; // Name of the file, Unix style, with extension, 50 chars, padded with '\0'. + unsigned int offset; // Position of the entry in PACK file + unsigned int size; // Size of the entry in PACK file }; #endif