mirror of
https://github.com/minetest/irrlicht.git
synced 2024-11-06 10:20:41 +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
64 lines
1.8 KiB
C++
64 lines
1.8 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_MESH_WRITER_ENUMS_H_INCLUDED
|
|
#define IRR_E_MESH_WRITER_ENUMS_H_INCLUDED
|
|
|
|
#include "irrTypes.h"
|
|
|
|
namespace irr
|
|
{
|
|
namespace scene
|
|
{
|
|
|
|
//! An enumeration for all supported types of built-in mesh writers
|
|
/** A scene mesh writers is represented by a four character code
|
|
such as 'irrm' or 'coll' instead of simple numbers, to avoid
|
|
name clashes with external mesh writers.*/
|
|
enum EMESH_WRITER_TYPE
|
|
{
|
|
//! Irrlicht native mesh writer, for static .irrmesh files.
|
|
EMWT_IRR_MESH = MAKE_IRR_ID('i','r','r','m'),
|
|
|
|
//! COLLADA mesh writer for .dae and .xml files
|
|
EMWT_COLLADA = MAKE_IRR_ID('c','o','l','l'),
|
|
|
|
//! STL mesh writer for .stl files
|
|
EMWT_STL = MAKE_IRR_ID('s','t','l',0),
|
|
|
|
//! OBJ mesh writer for .obj files
|
|
EMWT_OBJ = MAKE_IRR_ID('o','b','j',0),
|
|
|
|
//! PLY mesh writer for .ply files
|
|
EMWT_PLY = MAKE_IRR_ID('p','l','y',0),
|
|
|
|
//! B3D mesh writer, for static .b3d files
|
|
EMWT_B3D = MAKE_IRR_ID('b', '3', 'd', 0)
|
|
};
|
|
|
|
|
|
//! flags configuring mesh writing
|
|
enum E_MESH_WRITER_FLAGS
|
|
{
|
|
//! no writer flags
|
|
EMWF_NONE = 0,
|
|
|
|
//! write lightmap textures out if possible
|
|
//! Currently not used by any Irrlicht mesh-writer
|
|
// (Note: User meshwriters can still use it)
|
|
EMWF_WRITE_LIGHTMAPS = 0x1,
|
|
|
|
//! write in a way that consumes less disk space
|
|
// (Note: Mainly there for user meshwriters)
|
|
EMWF_WRITE_COMPRESSED = 0x2,
|
|
|
|
//! write in binary format rather than text
|
|
EMWF_WRITE_BINARY = 0x4
|
|
};
|
|
|
|
} // end namespace scene
|
|
} // end namespace irr
|
|
|
|
#endif // IRR_E_MESH_WRITER_ENUMS_H_INCLUDED
|