mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-03-03 20:49:41 +00:00
Use actual classes for properties
This commit is contained in:
parent
caff28e20a
commit
3970407772
1 changed files with 9 additions and 9 deletions
|
@ -156,11 +156,11 @@ public:
|
||||||
};
|
};
|
||||||
|
|
||||||
// These contain no other data than the 'flags' field in Property
|
// These contain no other data than the 'flags' field in Property
|
||||||
typedef Property NiShadeProperty;
|
class NiShadeProperty : public Property { };
|
||||||
typedef Property NiDitherProperty;
|
class NiDitherProperty : public Property { };
|
||||||
typedef Property NiZBufferProperty;
|
class NiZBufferProperty : public Property { };
|
||||||
typedef Property NiSpecularProperty;
|
class NiSpecularProperty : public Property { };
|
||||||
typedef Property NiWireframeProperty;
|
class NiWireframeProperty : public Property { };
|
||||||
|
|
||||||
// The rest are all struct-based
|
// The rest are all struct-based
|
||||||
template <typename T>
|
template <typename T>
|
||||||
|
@ -324,10 +324,10 @@ struct S_StencilProperty
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef StructPropT<S_AlphaProperty> NiAlphaProperty;
|
class NiAlphaProperty : public StructPropT<S_AlphaProperty> { };
|
||||||
typedef StructPropT<S_MaterialProperty> NiMaterialProperty;
|
class NiMaterialProperty : public StructPropT<S_MaterialProperty> { };
|
||||||
typedef StructPropT<S_VertexColorProperty> NiVertexColorProperty;
|
class NiVertexColorProperty : public StructPropT<S_VertexColorProperty> { };
|
||||||
typedef StructPropT<S_StencilProperty> NiStencilProperty;
|
class NiStencilProperty : public StructPropT<S_StencilProperty> { };
|
||||||
|
|
||||||
} // Namespace
|
} // Namespace
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue