diff options
author | Simon Howard | 2010-04-18 14:51:28 +0000 |
---|---|---|
committer | Simon Howard | 2010-04-18 14:51:28 +0000 |
commit | 53ba7baf5191bb16ccfaa2aafd81f11cb210ecca (patch) | |
tree | da75e8fee3a64d03a7c94f65a3e653e40a76987d /src/heretic/deh_htic.h | |
parent | d76bed743c72bfccf5cbbc18dcd9cdb1e75935b3 (diff) | |
download | chocolate-doom-53ba7baf5191bb16ccfaa2aafd81f11cb210ecca.tar.gz chocolate-doom-53ba7baf5191bb16ccfaa2aafd81f11cb210ecca.tar.bz2 chocolate-doom-53ba7baf5191bb16ccfaa2aafd81f11cb210ecca.zip |
Add deh_hhe_version variable to specify version of executable used to
generate HHE patch.
Refine DEH_MapHereticFrameNumber based on patch version.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1895
Diffstat (limited to 'src/heretic/deh_htic.h')
-rw-r--r-- | src/heretic/deh_htic.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/heretic/deh_htic.h b/src/heretic/deh_htic.h index fefcf818..199ad2fe 100644 --- a/src/heretic/deh_htic.h +++ b/src/heretic/deh_htic.h @@ -29,6 +29,17 @@ #include "info.h" +// HHE executable version. Loading HHE patches is (unfortunately) +// dependent on the version of the Heretic executable used to make them. + +typedef enum +{ + deh_hhe_1_0, + deh_hhe_1_2, + deh_hhe_1_3, + deh_hhe_num_versions +} deh_hhe_version_t; + // HHE doesn't know about the last two states in the state table, so // these are considered invalid. @@ -41,5 +52,7 @@ int DEH_MapHereticFrameNumber(int frame); +extern deh_hhe_version_t deh_hhe_version; + #endif /* #ifndef DEH_HTIC_H */ |