mirror of
https://github.com/minetest/irrlicht.git
synced 2024-11-16 07:20:25 +01:00
9954667c45
The exact commands to make this commit were: git reset --hard origin/master find -type f | # list all regular files grep -E '\.(h|cpp|fsh|vsh|mm)|LICENSE$' | # filter for text files xargs -n 1 -P $(nproc) sed -i 's:\s*$::' # for each file, trim trailing whitespace including the CR git commit -a
57 lines
1.4 KiB
C++
57 lines
1.4 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_SCENE_NODE_TYPES_H_INCLUDED__
|
|
#define __E_SCENE_NODE_TYPES_H_INCLUDED__
|
|
|
|
#include "irrTypes.h"
|
|
|
|
namespace irr
|
|
{
|
|
namespace scene
|
|
{
|
|
|
|
//! An enumeration for all types of built-in scene nodes
|
|
/** A scene node type is represented by a four character code
|
|
such as 'cube' or 'mesh' instead of simple numbers, to avoid
|
|
name clashes with external scene nodes.*/
|
|
enum ESCENE_NODE_TYPE
|
|
{
|
|
//! of type CSceneManager (note that ISceneManager is not(!) an ISceneNode)
|
|
ESNT_SCENE_MANAGER = MAKE_IRR_ID('s','m','n','g'),
|
|
|
|
//! Mesh Scene Node
|
|
ESNT_MESH = MAKE_IRR_ID('m','e','s','h'),
|
|
|
|
//! Empty Scene Node
|
|
ESNT_EMPTY = MAKE_IRR_ID('e','m','t','y'),
|
|
|
|
//! Dummy Transformation Scene Node
|
|
ESNT_DUMMY_TRANSFORMATION = MAKE_IRR_ID('d','m','m','y'),
|
|
|
|
//! Camera Scene Node
|
|
ESNT_CAMERA = MAKE_IRR_ID('c','a','m','_'),
|
|
|
|
//! Billboard Scene Node
|
|
ESNT_BILLBOARD = MAKE_IRR_ID('b','i','l','l'),
|
|
|
|
//! Animated Mesh Scene Node
|
|
ESNT_ANIMATED_MESH = MAKE_IRR_ID('a','m','s','h'),
|
|
|
|
//! Unknown scene node
|
|
ESNT_UNKNOWN = MAKE_IRR_ID('u','n','k','n'),
|
|
|
|
//! Will match with any scene node when checking types
|
|
ESNT_ANY = MAKE_IRR_ID('a','n','y','_')
|
|
};
|
|
|
|
|
|
|
|
} // end namespace scene
|
|
} // end namespace irr
|
|
|
|
|
|
#endif
|
|
|