974deca5e1
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11846 178a84e3-b1eb-0310-8ba1-8eac791a3b58
102 lines
1.5 KiB
C++
102 lines
1.5 KiB
C++
// Copyright (C) 2002-2012 Nikolaus Gebhardt
|
|
// This file is part of the "Irrlicht Engine".
|
|
// For conditions of distribution and use, see copyright notice in irrlicht.h
|
|
|
|
#ifndef __E_ATTRIBUTES_H_INCLUDED__
|
|
#define __E_ATTRIBUTES_H_INCLUDED__
|
|
|
|
namespace irr
|
|
{
|
|
namespace io
|
|
{
|
|
|
|
//! Types of attributes available for IAttributes
|
|
enum E_ATTRIBUTE_TYPE
|
|
{
|
|
// integer attribute
|
|
EAT_INT = 0,
|
|
|
|
// float attribute
|
|
EAT_FLOAT,
|
|
|
|
// string attribute
|
|
EAT_STRING,
|
|
|
|
// boolean attribute
|
|
EAT_BOOL,
|
|
|
|
// enumeration attribute
|
|
EAT_ENUM,
|
|
|
|
// color attribute
|
|
EAT_COLOR,
|
|
|
|
// floating point color attribute
|
|
EAT_COLORF,
|
|
|
|
// 3d vector attribute
|
|
EAT_VECTOR3D,
|
|
|
|
// 2d position attribute
|
|
EAT_POSITION2D,
|
|
|
|
// vector 2d attribute
|
|
EAT_VECTOR2D,
|
|
|
|
// rectangle attribute
|
|
EAT_RECT,
|
|
|
|
// matrix attribute
|
|
EAT_MATRIX,
|
|
|
|
// quaternion attribute
|
|
EAT_QUATERNION,
|
|
|
|
// 3d bounding box
|
|
EAT_BBOX,
|
|
|
|
// plane
|
|
EAT_PLANE,
|
|
|
|
// 3d triangle
|
|
EAT_TRIANGLE3D,
|
|
|
|
// line 2d
|
|
EAT_LINE2D,
|
|
|
|
// line 3d
|
|
EAT_LINE3D,
|
|
|
|
// array of stringws attribute
|
|
EAT_STRINGWARRAY,
|
|
|
|
// array of float
|
|
EAT_FLOATARRAY,
|
|
|
|
// array of int
|
|
EAT_INTARRAY,
|
|
|
|
// binary data attribute
|
|
EAT_BINARY,
|
|
|
|
// texture reference attribute
|
|
EAT_TEXTURE,
|
|
|
|
// user pointer void*
|
|
EAT_USER_POINTER,
|
|
|
|
// dimension attribute
|
|
EAT_DIMENSION2D,
|
|
|
|
// known attribute type count
|
|
EAT_COUNT,
|
|
|
|
// unknown attribute
|
|
EAT_UNKNOWN
|
|
};
|
|
|
|
} // end namespace io
|
|
} // end namespace irr
|
|
|
|
#endif
|