From 2f59f3eb64b99a37e67ff74b5d4476f882193ac4 Mon Sep 17 00:00:00 2001 From: Scott Ehlert Date: Wed, 12 Nov 2008 00:02:51 -0600 Subject: [PATCH] Updated typedescription_t with unknown members (thanks pred) --- public/datamap.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/public/datamap.h b/public/datamap.h index de3b3e93..4c154c13 100644 --- a/public/datamap.h +++ b/public/datamap.h @@ -260,6 +260,7 @@ struct typedescription_t int fieldOffset[ TD_OFFSET_COUNT ]; // 0 == normal, 1 == packed offset unsigned short fieldSize; short flags; + int unknown[2]; // the name of the variable in the map/fgd data, or the name of the action const char *externalName; // pointer to the function set for save/restoring of custom data types @@ -289,10 +290,10 @@ struct typedescription_t //----------------------------------------------------------------------------- struct datamap_t { - typedescription_t *dataDesc; - int dataNumFields; - char const *dataClassName; - datamap_t *baseMap; +0 typedescription_t *dataDesc; +4 int dataNumFields; +8 char const *dataClassName; +12 datamap_t *baseMap; bool chains_validated; // Have the "packed" offsets been computed