aboutsummaryrefslogtreecommitdiff
path: root/sp/src/public/datamodel/attributeflags.h
diff options
context:
space:
mode:
authorJørgen P. Tjernø <[email protected]>2013-12-02 19:31:46 -0800
committerJørgen P. Tjernø <[email protected]>2013-12-02 19:46:31 -0800
commitf56bb35301836e56582a575a75864392a0177875 (patch)
treede61ddd39de3e7df52759711950b4c288592f0dc /sp/src/public/datamodel/attributeflags.h
parentMark some more files as text. (diff)
downloadsource-sdk-2013-f56bb35301836e56582a575a75864392a0177875.tar.xz
source-sdk-2013-f56bb35301836e56582a575a75864392a0177875.zip
Fix line endings. WHAMMY.
Diffstat (limited to 'sp/src/public/datamodel/attributeflags.h')
-rw-r--r--sp/src/public/datamodel/attributeflags.h70
1 files changed, 35 insertions, 35 deletions
diff --git a/sp/src/public/datamodel/attributeflags.h b/sp/src/public/datamodel/attributeflags.h
index e074df37..8cacdb4e 100644
--- a/sp/src/public/datamodel/attributeflags.h
+++ b/sp/src/public/datamodel/attributeflags.h
@@ -1,35 +1,35 @@
-//========= Copyright Valve Corporation, All rights reserved. ============//
-//
-// Purpose:
-//
-//=============================================================================
-
-#ifndef ATTRIBUTEFLAGS_H
-#define ATTRIBUTEFLAGS_H
-
-#ifdef _WIN32
-#pragma once
-#endif
-
-enum
-{
- // NOTE: The first 5 flags bits are reserved for attribute type
- FATTRIB_TYPEMASK = 0x1F,
-
- FATTRIB_READONLY = (1<<5), // Don't allow editing value in editors
- FATTRIB_DONTSAVE = (1<<6), // Don't persist to .dmx file
- FATTRIB_DIRTY = (1<<7), // Indicates the attribute has been changed since the resolve phase
- FATTRIB_HAS_CALLBACK = (1<<8), // Indicates that this will notify its owner and/or other elements when it changes
- FATTRIB_EXTERNAL = (1<<9), // Indicates this attribute's data is externally owned (in a CDmElement somewhere)
- FATTRIB_TOPOLOGICAL = (1<<10), // Indicates this attribute effects the scene's topology (ie it's an attribute name or element)
- FATTRIB_MUSTCOPY = (1<<11), // parent element must make a new copy during CopyInto, even for shallow copy
- FATTRIB_NEVERCOPY = (1<<12), // parent element shouldn't make a new copy during CopyInto, even for deep copy
- FATTRIB_STANDARD = (1<<13), // This flag is set if it's a "standard" attribute, namely "name"
- FATTRIB_USERDEFINED = (1<<14), // This flag is used to sort attributes in the element properties view. User defined flags come last.
- FATTRIB_NODUPLICATES = (1<<15),// For element array types, disallows duplicate values from being inserted into the array.
- FATTRIB_HAS_ARRAY_CALLBACK = (1<<16), // Indicates that this will notify its owner and/or other elements array elements changes. Note that when elements shift (say, inserting at head, or fast remove), callbacks are not executed for these elements.
- FATTRIB_HAS_PRE_CALLBACK = (1<<17), // Indicates that this will notify its owner and/or other elements right before it changes
- FATTRIB_OPERATOR_DIRTY = (1<<18),// Used and cleared only by operator phase of datamodel
-};
-
-#endif // ATTRIBUTEFLAGS_H
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose:
+//
+//=============================================================================
+
+#ifndef ATTRIBUTEFLAGS_H
+#define ATTRIBUTEFLAGS_H
+
+#ifdef _WIN32
+#pragma once
+#endif
+
+enum
+{
+ // NOTE: The first 5 flags bits are reserved for attribute type
+ FATTRIB_TYPEMASK = 0x1F,
+
+ FATTRIB_READONLY = (1<<5), // Don't allow editing value in editors
+ FATTRIB_DONTSAVE = (1<<6), // Don't persist to .dmx file
+ FATTRIB_DIRTY = (1<<7), // Indicates the attribute has been changed since the resolve phase
+ FATTRIB_HAS_CALLBACK = (1<<8), // Indicates that this will notify its owner and/or other elements when it changes
+ FATTRIB_EXTERNAL = (1<<9), // Indicates this attribute's data is externally owned (in a CDmElement somewhere)
+ FATTRIB_TOPOLOGICAL = (1<<10), // Indicates this attribute effects the scene's topology (ie it's an attribute name or element)
+ FATTRIB_MUSTCOPY = (1<<11), // parent element must make a new copy during CopyInto, even for shallow copy
+ FATTRIB_NEVERCOPY = (1<<12), // parent element shouldn't make a new copy during CopyInto, even for deep copy
+ FATTRIB_STANDARD = (1<<13), // This flag is set if it's a "standard" attribute, namely "name"
+ FATTRIB_USERDEFINED = (1<<14), // This flag is used to sort attributes in the element properties view. User defined flags come last.
+ FATTRIB_NODUPLICATES = (1<<15),// For element array types, disallows duplicate values from being inserted into the array.
+ FATTRIB_HAS_ARRAY_CALLBACK = (1<<16), // Indicates that this will notify its owner and/or other elements array elements changes. Note that when elements shift (say, inserting at head, or fast remove), callbacks are not executed for these elements.
+ FATTRIB_HAS_PRE_CALLBACK = (1<<17), // Indicates that this will notify its owner and/or other elements right before it changes
+ FATTRIB_OPERATOR_DIRTY = (1<<18),// Used and cleared only by operator phase of datamodel
+};
+
+#endif // ATTRIBUTEFLAGS_H