summaryrefslogtreecommitdiff
path: root/src/common/grfio.c
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2014-01-18 21:18:04 +0100
committerHaru <haru@dotalux.com>2015-06-01 10:11:39 +0200
commit2e5e04c5b6e248cb05df4814dbe0d7eed2fe0293 (patch)
treea4533fa3136e43ab6f3a185019539bd0ae0c50b6 /src/common/grfio.c
parent41583070c88948264eee4e3683686606f88734eb (diff)
downloadhercules-2e5e04c5b6e248cb05df4814dbe0d7eed2fe0293.tar.gz
hercules-2e5e04c5b6e248cb05df4814dbe0d7eed2fe0293.tar.bz2
hercules-2e5e04c5b6e248cb05df4814dbe0d7eed2fe0293.tar.xz
hercules-2e5e04c5b6e248cb05df4814dbe0d7eed2fe0293.zip
Replaced some of the hardcoded values with constants (misc)
- Replaced several hardcoded values with the appropriate enums. - Added documentation for some hardcoded values that haven't been replaced by enums (yet) - Minor code legibility improvements. Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/common/grfio.c')
-rw-r--r--src/common/grfio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/grfio.c b/src/common/grfio.c
index e95163569..41a888267 100644
--- a/src/common/grfio.c
+++ b/src/common/grfio.c
@@ -36,8 +36,8 @@ typedef struct FILELIST {
} FILELIST;
#define FILELIST_TYPE_FILE 0x01 // entry is a file
-#define FILELIST_TYPE_ENCRYPT_HEADER 0x04 // encryption mode 1 (header DES only)
#define FILELIST_TYPE_ENCRYPT_MIXED 0x02 // encryption mode 0 (header DES + periodic DES/shuffle)
+#define FILELIST_TYPE_ENCRYPT_HEADER 0x04 // encryption mode 1 (header DES only)
//gentry ... > 0 : data read from a grf file (gentry_table[gentry-1])
//gentry ... 0 : data read from a local file (data directory)