From 1536ac97072490e2fea8a286d122aebddc8ba781 Mon Sep 17 00:00:00 2001 From: Nicholas Hastings Date: Wed, 18 Dec 2013 09:54:27 -0500 Subject: [PATCH] Datadesc type fixups. --HG-- extra : amend_source : c426b723acc32c36b08bdfe91a9af214f45cd442 --- public/datamap.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/public/datamap.h b/public/datamap.h index 1f07dcb7..b353078c 100644 --- a/public/datamap.h +++ b/public/datamap.h @@ -58,7 +58,7 @@ typedef enum _fieldtypes FIELD_MATRIX3X4_WORLDSPACE, // matrix3x4_t that maps some local space to world space (translation is fixed up on level transitions) FIELD_INTERVAL, // a start and range floating point interval ( e.g., 3.2->3.6 == 3.2 and 0.4 ) - FIELD_MATERIALINDEX, // a material index (using the material precache string table) + FIELD_UNUSED, FIELD_VECTOR2D, // 2 floats FIELD_INTEGER64, // 64bit integer @@ -67,7 +67,11 @@ typedef enum _fieldtypes FIELD_RESOURCE, - FIELD_TYPECOUNT, // MUST BE LAST + FIELD_TYPECOUNT, // This is where script variant field types start. Formerly last. + + FIELD_MODELNAME = 45, // Engine string that is a model name (needs precache) + FIELD_MODELINDEX, // a model index + FIELD_MATERIALINDEX, // a material index (using the material precache string table) } fieldtype_t;