mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-27 15:11:36 -04:00
Use actual classes for properties
This commit is contained in:
parent
caff28e20a
commit
3970407772
@ -156,11 +156,11 @@ public:
|
||||
};
|
||||
|
||||
// These contain no other data than the 'flags' field in Property
|
||||
typedef Property NiShadeProperty;
|
||||
typedef Property NiDitherProperty;
|
||||
typedef Property NiZBufferProperty;
|
||||
typedef Property NiSpecularProperty;
|
||||
typedef Property NiWireframeProperty;
|
||||
class NiShadeProperty : public Property { };
|
||||
class NiDitherProperty : public Property { };
|
||||
class NiZBufferProperty : public Property { };
|
||||
class NiSpecularProperty : public Property { };
|
||||
class NiWireframeProperty : public Property { };
|
||||
|
||||
// The rest are all struct-based
|
||||
template <typename T>
|
||||
@ -324,10 +324,10 @@ struct S_StencilProperty
|
||||
}
|
||||
};
|
||||
|
||||
typedef StructPropT<S_AlphaProperty> NiAlphaProperty;
|
||||
typedef StructPropT<S_MaterialProperty> NiMaterialProperty;
|
||||
typedef StructPropT<S_VertexColorProperty> NiVertexColorProperty;
|
||||
typedef StructPropT<S_StencilProperty> NiStencilProperty;
|
||||
class NiAlphaProperty : public StructPropT<S_AlphaProperty> { };
|
||||
class NiMaterialProperty : public StructPropT<S_MaterialProperty> { };
|
||||
class NiVertexColorProperty : public StructPropT<S_VertexColorProperty> { };
|
||||
class NiStencilProperty : public StructPropT<S_StencilProperty> { };
|
||||
|
||||
} // Namespace
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user