mirror of
https://github.com/minetest/irrlicht.git
synced 2025-07-02 00:00:26 +02:00
Remove unused locale-like code, utf8 functions and headers
This commit is contained in:
@ -31,96 +31,6 @@ namespace scene
|
||||
**/
|
||||
const c8* const ALLOW_ZWRITE_ON_TRANSPARENT = "Allow_ZWrite_On_Transparent";
|
||||
|
||||
//! Deprecated, use IMeshLoader::getMeshTextureLoader()->setTexturePath instead.
|
||||
/** Was used for changing the texture path of the built-in csm loader like this:
|
||||
\code
|
||||
SceneManager->getParameters()->setAttribute(scene::CSM_TEXTURE_PATH, "path/to/your/textures");
|
||||
\endcode
|
||||
**/
|
||||
const c8* const CSM_TEXTURE_PATH = "CSM_TexturePath";
|
||||
|
||||
//! Deprecated, use IMeshLoader::getMeshTextureLoader()->setTexturePath instead.
|
||||
/** Was used for changing the texture path of the built-in lmts loader like this:
|
||||
\code
|
||||
SceneManager->getParameters()->setAttribute(scene::LMTS_TEXTURE_PATH, "path/to/your/textures");
|
||||
\endcode
|
||||
**/
|
||||
const c8* const LMTS_TEXTURE_PATH = "LMTS_TexturePath";
|
||||
|
||||
//! Deprecated, use IMeshLoader::getMeshTextureLoader()->setTexturePath instead.
|
||||
/** Was used for changing the texture path of the built-in MY3D loader like this:
|
||||
\code
|
||||
SceneManager->getParameters()->setAttribute(scene::MY3D_TEXTURE_PATH, "path/to/your/textures");
|
||||
\endcode
|
||||
**/
|
||||
const c8* const MY3D_TEXTURE_PATH = "MY3D_TexturePath";
|
||||
|
||||
//! Name of the parameter specifying the COLLADA mesh loading mode
|
||||
/**
|
||||
Specifies if the COLLADA loader should create instances of the models, lights and
|
||||
cameras when loading COLLADA meshes. By default, this is set to false. If this is
|
||||
set to true, the ISceneManager::getMesh() method will only return a pointer to a
|
||||
dummy mesh and create instances of all meshes and lights and cameras in the collada
|
||||
file by itself. Example:
|
||||
\code
|
||||
SceneManager->getParameters()->setAttribute(scene::COLLADA_CREATE_SCENE_INSTANCES, true);
|
||||
\endcode
|
||||
*/
|
||||
const c8* const COLLADA_CREATE_SCENE_INSTANCES = "COLLADA_CreateSceneInstances";
|
||||
|
||||
//! Deprecated, use IMeshLoader::getMeshTextureLoader()->setTexturePath instead.
|
||||
/** This path is prefixed to the file names defined in the Deled file when loading
|
||||
textures. This allows to alter the paths for a specific project setting.
|
||||
Use it like this:
|
||||
\code
|
||||
SceneManager->getStringParameters()->setAttribute(scene::DMF_TEXTURE_PATH, "path/to/your/textures");
|
||||
\endcode
|
||||
**/
|
||||
const c8* const DMF_TEXTURE_PATH = "DMF_TexturePath";
|
||||
|
||||
//! Name of the parameter for preserving DMF textures dir structure with built-in DMF loader.
|
||||
/** If this parameter is set to true, the texture directory defined in the Deled file
|
||||
is ignored, and only the texture name is used to find the proper file. Otherwise, the
|
||||
texture path is also used, which allows to use a nicer media layout.
|
||||
Use it like this:
|
||||
\code
|
||||
//this way you won't use this setting (default)
|
||||
SceneManager->getParameters()->setAttribute(scene::DMF_IGNORE_MATERIALS_DIRS, false);
|
||||
\endcode
|
||||
\code
|
||||
//this way you'll use this setting
|
||||
SceneManager->getParameters()->setAttribute(scene::DMF_IGNORE_MATERIALS_DIRS, true);
|
||||
\endcode
|
||||
**/
|
||||
const c8* const DMF_IGNORE_MATERIALS_DIRS = "DMF_IgnoreMaterialsDir";
|
||||
|
||||
//! Name of the parameter for setting reference value of alpha in transparent materials.
|
||||
/** Use it like this:
|
||||
\code
|
||||
//this way you'll set alpha ref to 0.1
|
||||
SceneManager->getParameters()->setAttribute(scene::DMF_ALPHA_CHANNEL_REF, 0.1);
|
||||
\endcode
|
||||
**/
|
||||
const c8* const DMF_ALPHA_CHANNEL_REF = "DMF_AlphaRef";
|
||||
|
||||
//! Name of the parameter for choose to flip or not tga files.
|
||||
/** Use it like this:
|
||||
\code
|
||||
//this way you'll choose to flip alpha textures
|
||||
SceneManager->getParameters()->setAttribute(scene::DMF_FLIP_ALPHA_TEXTURES, true);
|
||||
\endcode
|
||||
**/
|
||||
const c8* const DMF_FLIP_ALPHA_TEXTURES = "DMF_FlipAlpha";
|
||||
|
||||
|
||||
//! Deprecated, use IMeshLoader::getMeshTextureLoader()->setTexturePath instead.
|
||||
/** Was used for changing the texture path of the built-in obj loader like this:
|
||||
\code
|
||||
SceneManager->getParameters()->setAttribute(scene::OBJ_TEXTURE_PATH, "path/to/your/textures");
|
||||
\endcode
|
||||
**/
|
||||
const c8* const OBJ_TEXTURE_PATH = "OBJ_TexturePath";
|
||||
|
||||
//! Flag to avoid loading group structures in .obj files
|
||||
/** Use it like this:
|
||||
\code
|
||||
@ -147,19 +57,6 @@ namespace scene
|
||||
**/
|
||||
const c8* const B3D_LOADER_IGNORE_MIPMAP_FLAG = "B3D_IgnoreMipmapFlag";
|
||||
|
||||
//! Deprecated, use IMeshLoader::getMeshTextureLoader()->setTexturePath instead.
|
||||
/** Was used for changing the texture path of the built-in b3d loader like this:
|
||||
\code
|
||||
SceneManager->getParameters()->setAttribute(scene::B3D_TEXTURE_PATH, "path/to/your/textures");
|
||||
\endcode
|
||||
**/
|
||||
const c8* const B3D_TEXTURE_PATH = "B3D_TexturePath";
|
||||
|
||||
//! Flag set as parameter when the scene manager is used as editor
|
||||
/** In this way special animators like deletion animators can be stopped from
|
||||
deleting scene nodes for example */
|
||||
const c8* const IRR_SCENE_MANAGER_IS_EDITOR = "IRR_Editor";
|
||||
|
||||
//! Name of the parameter for setting the length of debug normals.
|
||||
/** Use it like this:
|
||||
\code
|
||||
|
Reference in New Issue
Block a user