summaryrefslogtreecommitdiff
path: root/src/heretic/deh_htic.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/heretic/deh_htic.h')
-rw-r--r--src/heretic/deh_htic.h13
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 */