Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members

IQ3Shader.h File Reference

#include "irrArray.h"
#include "fast_atof.h"
#include "IFileSystem.h"
#include "IVideoDriver.h"
#include "coreutil.h"

Go to the source code of this file.

Namespaces

namespace  irr
namespace  irr::scene
namespace  irr::scene::quake3

Typedefs

typedef SShader SEntity
typedef core::array< SEntitytQ3EntityList
typedef core::array< core::stringctStringList
typedef core::array< video::ITexture * > tTexArray

Enumerations

enum  eQ3MeshIndex { E_Q3_MESH_GEOMETRY = 0, E_Q3_MESH_ITEMS, E_Q3_MESH_BILLBOARD, E_Q3_MESH_SIZE }
 Hold the different Mesh Types used for getMesh. More...

Functions

core::stringcdumpShader (core::stringc &dest, const SShader *shader)
void dumpVarGroup (core::stringc &dest, const SVarGroup *group, s32 stack)
f32 getAsFloat (const core::stringc &string, u32 &pos)
void getAsStringList (tStringList &list, s32 max, const core::stringc &string, u32 &startPos)
core::vector3df getAsVector3df (const core::stringc &string, u32 &pos)
bool getBackfaceCulling (const core::stringc &string)
u32 getDepthFunction (const core::stringc &string)
void getModifierFunc (SModifierFunction &fill, const core::stringc &string, u32 &pos)
void getTextures (tTexArray &textures, const core::stringc &name, u32 &startPos, io::IFileSystem *fileSystem, video::IVideoDriver *driver)
s32 isEqual (const core::stringc &string, u32 &pos, const c8 *list[], u32 listSize)

Variables

const video::E_MATERIAL_TYPE defaultLightMap = video::EMT_LIGHTMAP_M2
const video::E_MODULATE_FUNC defaultModulate = video::EMFN_MODULATE_2X


Typedef Documentation

typedef SShader irr::scene::quake3::SEntity
 

Definition at line 478 of file IQ3Shader.h.

typedef core::array< SEntity > irr::scene::quake3::tQ3EntityList
 

Definition at line 480 of file IQ3Shader.h.

typedef core::array< core::stringc > irr::scene::quake3::tStringList
 

Definition at line 38 of file IQ3Shader.h.

typedef core::array< video::ITexture* > irr::scene::quake3::tTexArray
 

Definition at line 39 of file IQ3Shader.h.


Enumeration Type Documentation

enum irr::scene::quake3::eQ3MeshIndex
 

Hold the different Mesh Types used for getMesh.

Enumeration values:
E_Q3_MESH_GEOMETRY 
E_Q3_MESH_ITEMS 
E_Q3_MESH_BILLBOARD 
E_Q3_MESH_SIZE 

Definition at line 24 of file IQ3Shader.h.


Function Documentation

core::stringc& irr::scene::quake3::dumpShader core::stringc dest,
const SShader *  shader
[inline]
 

Definition at line 527 of file IQ3Shader.h.

References irr::core::clamp(), irr::scene::quake3::dumpVarGroup(), irr::core::array< T, TAlloc >::size(), irr::scene::quake3::SShader::VarGroup, and irr::scene::quake3::SVarGroupList::VariableGroup.

void irr::scene::quake3::dumpVarGroup core::stringc dest,
const SVarGroup *  group,
s32  stack
[inline]
 

Definition at line 486 of file IQ3Shader.h.

References irr::core::string< T, TAlloc >::append(), irr::core::array< T, TAlloc >::size(), and irr::scene::quake3::SVarGroup::Variable.

Referenced by irr::scene::quake3::dumpShader().

f32 irr::scene::quake3::getAsFloat const core::stringc string,
u32 pos
[inline]
 

Definition at line 87 of file IQ3Shader.h.

References irr::core::fast_atof_move().

Referenced by irr::scene::quake3::getAsVector3df(), and irr::scene::quake3::getModifierFunc().

void irr::scene::quake3::getAsStringList tStringList list,
s32  max,
const core::stringc string,
u32 startPos
[inline]
 

Definition at line 110 of file IQ3Shader.h.

References irr::core::array< T, TAlloc >::clear(), irr::core::string< T, TAlloc >::findNext(), irr::core::array< T, TAlloc >::push_back(), irr::core::array< T, TAlloc >::size(), irr::core::string< T, TAlloc >::size(), and irr::core::string< T, TAlloc >::subString().

Referenced by irr::scene::quake3::getTextures().

core::vector3df irr::scene::quake3::getAsVector3df const core::stringc string,
u32 pos
[inline]
 

Definition at line 96 of file IQ3Shader.h.

References irr::scene::quake3::getAsFloat(), irr::core::vector3d< T >::X, irr::core::vector3d< T >::Y, and irr::core::vector3d< T >::Z.

bool irr::scene::quake3::getBackfaceCulling const core::stringc string  )  [inline]
 

Definition at line 145 of file IQ3Shader.h.

References irr::scene::quake3::isEqual(), and irr::core::string< T, TAlloc >::size().

u32 irr::scene::quake3::getDepthFunction const core::stringc string  )  [inline]
 

Definition at line 166 of file IQ3Shader.h.

References irr::scene::quake3::isEqual(), and irr::core::string< T, TAlloc >::size().

void irr::scene::quake3::getModifierFunc SModifierFunction &  fill,
const core::stringc string,
u32 pos
[inline]
 

Definition at line 376 of file IQ3Shader.h.

References irr::scene::quake3::SModifierFunction::amp, irr::scene::quake3::SModifierFunction::base, irr::scene::quake3::SModifierFunction::freq, irr::scene::quake3::SModifierFunction::func, irr::scene::quake3::getAsFloat(), irr::scene::quake3::isEqual(), irr::scene::quake3::SModifierFunction::phase, and irr::core::string< T, TAlloc >::size().

void irr::scene::quake3::getTextures tTexArray textures,
const core::stringc name,
u32 startPos,
io::IFileSystem *  fileSystem,
video::IVideoDriver *  driver
[inline]
 

Definition at line 559 of file IQ3Shader.h.

References irr::core::array< T, TAlloc >::clear(), irr::core::cutFilenameExtension(), irr::io::IFileSystem::existFile(), irr::scene::quake3::getAsStringList(), irr::video::IVideoDriver::getTexture(), irr::core::array< T, TAlloc >::push_back(), and irr::core::array< T, TAlloc >::size().

s32 irr::scene::quake3::isEqual const core::stringc string,
u32 pos,
const c8 list[],
u32  listSize
[inline]
 

Definition at line 65 of file IQ3Shader.h.

References irr::core::string< T, TAlloc >::c_str(), and irr::core::string< T, TAlloc >::size().

Referenced by irr::scene::quake3::getBackfaceCulling(), irr::scene::quake3::getDepthFunction(), and irr::scene::quake3::getModifierFunc().


Variable Documentation

const video::E_MATERIAL_TYPE irr::scene::quake3::defaultLightMap = video::EMT_LIGHTMAP_M2
 

Definition at line 34 of file IQ3Shader.h.

const video::E_MODULATE_FUNC irr::scene::quake3::defaultModulate = video::EMFN_MODULATE_2X
 

Definition at line 35 of file IQ3Shader.h.


The Irrlicht Engine
The Irrlicht Engine Documentation © 2003-2008 by Nikolaus Gebhardt. Generated on Sun Sep 21 08:57:45 2008 by Doxygen (1.4.2)