Browse Source

afxModel-type -- defines a type bit for afxModel objects.

Marc Chapman 8 years ago
parent
commit
d78f5bc4e9
1 changed files with 7 additions and 0 deletions
  1. 7 0
      Engine/source/T3D/objectTypes.h

+ 7 - 0
Engine/source/T3D/objectTypes.h

@@ -24,11 +24,15 @@
 // Arcane-FX for MIT Licensed Open Source version of Torque 3D from GarageGames
 // Copyright (C) 2015 Faust Logic, Inc.
 //~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~//
+
 #ifndef _OBJECTTYPES_H_
 #define _OBJECTTYPES_H_
 
 #include "platform/types.h"
 
+// Uncomment the AFX_CAP_AFXMODEL_TYPE define below to enable a type flag
+// for afxModel objects.
+//#define AFX_CAP_AFXMODEL_TYPE
 /// Types used for SceneObject type masks (SceneObject::mTypeMask)
 ///
 /// @note If a new object type is added, don't forget to add it to
@@ -155,6 +159,9 @@ enum SceneObjectTypes
    /// @}
    InteriorLikeObjectType =  BIT(24),
    TerrainLikeObjectType = BIT(25),
+#if defined(AFX_CAP_AFXMODEL_TYPE) 
+   afxModelObjectType = BIT(26)
+#endif 
 };
 
 enum SceneObjectTypeMasks : U32