]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - plugins/archivepak/pak.h
reformat code! now the code is only ugly on the *inside*
[xonotic/netradiant.git] / plugins / archivepak / pak.h
index 22051568dda1646c8282a8288cf2dcdae5ac1e8a..7b0ff292ede35597ed4bea73bb3b7e6ad76a3913 100644 (file)
 #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