diff options
author | Simon Howard | 2006-10-05 22:12:22 +0000 |
---|---|---|
committer | Simon Howard | 2006-10-05 22:12:22 +0000 |
commit | d2b34da108fae24c9c70ab00aa261cc9648018c3 (patch) | |
tree | 3ca5729fedc3f44462051fed4e4c7580a799ed2a /src/deh_defs.h | |
parent | 09180d3f73e522c1e0c43993aec28cf339dcf74d (diff) | |
download | chocolate-doom-d2b34da108fae24c9c70ab00aa261cc9648018c3.tar.gz chocolate-doom-d2b34da108fae24c9c70ab00aa261cc9648018c3.tar.bz2 chocolate-doom-d2b34da108fae24c9c70ab00aa261cc9648018c3.zip |
Dehacked information checksum generation
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 687
Diffstat (limited to 'src/deh_defs.h')
-rw-r--r-- | src/deh_defs.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/deh_defs.h b/src/deh_defs.h index c31893a7..072032cf 100644 --- a/src/deh_defs.h +++ b/src/deh_defs.h @@ -1,7 +1,7 @@ // Emacs style mode select -*- C++ -*- //----------------------------------------------------------------------------- // -// $Id: deh_defs.h 153 2005-10-02 23:49:01Z fraggle $ +// $Id: deh_defs.h 687 2006-10-05 22:12:22Z fraggle $ // // Copyright(C) 2005 Simon Howard // @@ -34,12 +34,15 @@ #ifndef DEH_DEFS_H #define DEH_DEFS_H +#include "md5.h" + typedef struct deh_context_s deh_context_t; typedef struct deh_section_s deh_section_t; typedef void (*deh_section_init_t)(void); typedef void *(*deh_section_start_t)(deh_context_t *context, char *line); typedef void (*deh_section_end_t)(deh_context_t *context, void *tag); typedef void (*deh_line_parser_t)(deh_context_t *context, char *line, void *tag); +typedef void (*deh_md5_hash_t)(md5_context_t *context); struct deh_section_s { @@ -61,6 +64,10 @@ struct deh_section_s // This is called at the end of the section for any cleanup deh_section_end_t end; + + // Called when generating an MD5 sum of the dehacked state + + deh_md5_hash_t md5_hash; }; #endif /* #ifndef DEH_DEFS_H */ |