mirror of
https://github.com/minetest/irrlicht.git
synced 2024-11-16 23:40:25 +01:00
0c6385cb92
Usually something like __IRR_SOME_GUARD_INCLUDED__ replaced by IRR_SOME_GUARD_INCLUDED. Removing underscores at the end wasn't necessary, but more symmetric (probably the reason they got added there as well). While this touches every header it shouldn't affect users (I hope). Also a few whitespace changes to unify whitespace usage a bit. And a bunch of spelling fixes in comments. git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6252 dfc29bdd-3216-0410-991c-e03cc46cb475
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 IRR_E_ATTRIBUTES_H_INCLUDED
|
|
#define IRR_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
|