Page principale | Liste des namespaces | Hiérarchie des classes | Liste par ordre alphabétique | Liste des composants | Liste des fichiers | Membres des namespaces | Composants | Déclarations

Référence de la classe ExCHeightMap

#include <ExCHeightMap.h>

Graphe d'héritage de la classe ExCHeightMap

ExCObject3D ExCObject

Membres publics

 ExCHeightMap (void)
 ~ExCHeightMap (void)
void SetManagerTexture (ExManagerTexture *Texture)
void SetManagerFog (ExManagerFog *Fog)
void Draw (void)
void Load (std::string FileName)
void RenderHeightMap (void)
void SetTextureMap (std::string FileName)
void SetTextureLand (unsigned int Number, std::string FileName)
void SetMapResolution (int Resolution)
void SetMapDetailLevel (int level)
void IncreaseDetailLevel (void)
void DereaseDetailLevel (void)
void SetFogState (bool state)
bool GetFogState (void)
void SetFogDepthLevel (float level)
void IncreaseFogDepthLevel (void)
void DereaseFogDepthLevel (void)
void SetTexture2Repetition (float level)
void IncreaseTexture2Repetition (void)
void DereaseTexture2Repetition (void)
int Height (int X, int Y)
void SetCurrentState (bool state)
void ShowInfo (void)
void SetShowInfoState (bool state)
bool GetShowInfoState (void)
void SetAngleX (float Angle)
void SetAngleY (float Angle)
void SetAngleZ (float Angle)
float GetAngleX (void)
float GetAngleY (void)
float GetAngleZ (void)
void SetAcceleration (ExCVec3D Acceleration)
void SetAcceleration (float x, float y, float z)
ExCVec3D GetAcceleration (void)
void SetVelocity (ExCVec3D Velocity)
void SetVelocity (float x, float y, float z)
ExCVec3D GetVelocity (void)
void SetGravity (ExCVec3D Gravity)
void SetGravity (float x, float y, float z)
ExCVec3D GetGravity (void)
void SetPosition (ExCVec3D Position)
void SetPosition (float x, float y, float z)
ExCVec3D GetPosition (void)
void SetTarget (ExCVec3D Target)
void SetTarget (float x, float y, float z)
ExCVec3D GetTarget (void)
void SetOldPosition (ExCVec3D OldPosition)
void SetOldPosition (float x, float y, float z)
ExCVec3D GetOldPosition (void)
void SetOldTarget (ExCVec3D OldTarget)
void SetOldTarget (float x, float y, float z)
ExCVec3D GetOldTarget (void)
void Rotate (float angleX, float angleY, float angleZ)
void Rotate (void)
void SetVisibleState (bool state)
bool GetVisibleState (void)
void SetFlux (std::ostrstream *consol, ExCFluxAction *action)
virtual bool LoadFile (std::string FileName)
void SetIdName (ExNihilo::IdName idname)
ExNihilo::ExId GetId (void)
std::string GetName (void)
std::string GetFileName (void)
std::string GetType (void)
void SetId (ExNihilo::ExId Id)
void SetName (std::string Name)
void SetFileName (std::string FileName)
void SetType (std::string Type)

Attributs Publics

ExCVec3D m_Position
ExCVec3D m_OldPosition
ExCVec3D m_Target
ExCVec3D m_OldTarget
ExCVec3D m_Angle
int m_speed
float m_SphereRadius
bool m_Visible
std::ostrstream * Consol
ExCFluxActionFluxAction

Membres protégés

void SetTextureCoord (float CoordU, float CoordV)
void BuildArray (void)
void RenderArray (void)

Attributs Protégés

ExManagerTextureManagerTexture
ExManagerFogManagerFog
BYTE * g_HeightMap
float g_DetailScale
std::string m_TextureMap
int m_MapDetailLevel
int m_MapResolution
float m_MapScale
bool m_Fog
float m_FogDepthLevel
float m_Texture2Repetition
std::vector< std::string > m_VecTexture
float * TabVertices
float * TabTextures
bool m_Array
ExCVec3D m_Up
ExCVec3D m_Velocity
ExCVec3D m_Gravity
ExCVec3D m_Acceleration
double m_RefreshTime
double m_Life
double m_StartingLife
float m_Size
float m_Mass
bool m_ShowInfo
bool m_CurrentObject
ExNihilo::ExId m_ObjectId
std::string m_ObjectName
std::string m_ObjectFileName
std::string m_ObjectType

Documentation des contructeurs et destructeurs

ExCHeightMap::ExCHeightMap void   ) 
 

Définition à la ligne 26 du fichier ExCHeightMap.cpp.

Références m_Fog, m_FogDepthLevel, m_MapDetailLevel, m_MapResolution, m_MapScale, et m_Texture2Repetition.

00027 {
00028         m_FogDepthLevel = 55.0f;
00029         m_MapDetailLevel = 8;
00030         m_MapResolution = 1024;
00031         m_Texture2Repetition = 50;
00032         m_Fog=true;
00033         m_MapScale=4;
00034 }

ExCHeightMap::~ExCHeightMap void   ) 
 

Définition à la ligne 36 du fichier ExCHeightMap.cpp.

00037 {
00038 }


Documentation des méthodes

void ExCHeightMap::BuildArray void   )  [protected]
 

Définition à la ligne 239 du fichier ExCHeightMap.cpp.

Références ExCVec3D::GetX(), ExCVec3D::GetY(), ExCVec3D::GetZ(), Height(), m_Array, m_MapDetailLevel, m_MapResolution, ExCVec3D::SetValue(), TabTextures, et TabVertices.

00240 {
00241         int verticecount=0;
00242         float xmul=1;
00243         float ymul=1.5;
00244         float zmul=1;
00245         int X = 0, Y = 0;                                               // Create some variables to walk the array with.
00246         int x, y, z;                                                    // Create some variables for readability
00247         float fogY = 0;
00248         bool bSwitchSides = false;
00249 
00250         ExCVec3D Vec;
00251 
00252         TabVertices= new float[6*(33282)];
00253         TabTextures= new float[4*(33282)];
00254         
00255         
00256         int i=0;
00257         for ( X = 0; X <= m_MapResolution; X += m_MapDetailLevel )
00258         {
00259                 
00260                 if(bSwitchSides)
00261                 {       
00262                         for ( Y = m_MapResolution; Y >= 0; Y -= m_MapDetailLevel )
00263                         {
00264                                 x = X;//X+=MapdetailLevel                                                       
00265                                 y = Height(X, Y );      
00266                                 z = Y;//Y = m_MapResolution ;Y-=MapdetailLevel                                                  
00267                                 //SetTextureCoord((float)x / (float)m_MapResolution,-(float)z / (float)m_MapResolution);
00268                                 TabTextures[0+i*4]=(float)x / (float)m_MapResolution;
00269                                 TabTextures[1+i*4]=-(float)z / (float)m_MapResolution;
00270                                 //glVertex3i(x*xmul, y*ymul, z*zmul);   
00271                                 Vec.SetValue(x*xmul, y*ymul, z*zmul);   
00272                                 TabVertices[0+i*6]=Vec.GetX();
00273                                 TabVertices[1+i*6]=Vec.GetY();
00274                                 TabVertices[2+i*6]=Vec.GetZ();
00275                                 //std::cout<<Vec;
00276                                 verticecount++;
00277                                 x = X + m_MapDetailLevel; 
00278                                 y = Height(X + m_MapDetailLevel, Y ); 
00279                                 z = Y;
00280                                 //SetTextureCoord((float)x / (float)m_MapResolution,-(float)z / (float)m_MapResolution);
00281                                 TabTextures[2+i*4]=(float)x / (float)m_MapResolution;
00282                                 TabTextures[3+i*4]=-(float)z / (float)m_MapResolution;
00283                                 //glVertex3i(x*xmul, y*ymul, z*zmul);
00284                                 Vec.SetValue(x*xmul, y*ymul, z*zmul);
00285                                 TabVertices[3+i*6]=Vec.GetX();
00286                                 TabVertices[4+i*6]=Vec.GetY();
00287                                 TabVertices[5+i*6]=Vec.GetZ();
00288                                 //std::cout<<Vec;
00289                                 verticecount++;
00290                                 i++;
00291                         }
00292                 }
00293                 else
00294                 {       
00295                         for ( Y = 0; Y <= m_MapResolution; Y += m_MapDetailLevel )
00296                         {
00297                                 x = X + m_MapDetailLevel; 
00298                                 y = Height(X + m_MapDetailLevel, Y ); 
00299                                 z = Y;
00300                                 //SetTextureCoord((float)x / (float)m_MapResolution,-(float)z / (float)m_MapResolution);
00301                                 TabTextures[0+i*4]=(float)x / (float)m_MapResolution;
00302                                 TabTextures[1+i*4]=-(float)z / (float)m_MapResolution;
00303                                 //glVertex3i(x, y*ymul, z);
00304                                 Vec.SetValue(x, y*ymul, z);
00305                                 TabVertices[0+i*6]=Vec.GetX();
00306                                 TabVertices[1+i*6]=Vec.GetY();
00307                                 TabVertices[2+i*6]=Vec.GetZ();
00308                                 //std::cout<<Vec;
00309                                 verticecount++;
00310                                 x = X;                                                  
00311                                 y = Height(X, Y );      
00312                                 z = Y;
00313                                 //SetTextureCoord((float)x / (float)m_MapResolution,-(float)z / (float)m_MapResolution);
00314                                 TabTextures[2+i*4]=(float)x / (float)m_MapResolution;
00315                                 TabTextures[3+i*4]=-(float)z / (float)m_MapResolution;
00316                                 //glVertex3i(x*xmul, y*ymul, z*zmul);   
00317                                 Vec.SetValue(x*xmul, y*ymul, z*zmul);   
00318                                 TabVertices[3+i*6]=Vec.GetX();
00319                                 TabVertices[4+i*6]=Vec.GetY();
00320                                 TabVertices[5+i*6]=Vec.GetZ();
00321                                 //std::cout<<Vec;
00322                                 verticecount++;
00323                                 i++;
00324                         }
00325                 }
00326                 bSwitchSides = !bSwitchSides;
00327                 std::cout<<i<<":"<<verticecount<<std::endl;
00328         }
00329         
00330         m_Array=true;
00331 }

void ExCHeightMap::DereaseDetailLevel void   ) 
 

Définition à la ligne 167 du fichier ExCHeightMap.cpp.

Références DereaseDetailLevel(), Guard, m_MapDetailLevel, et UnGuard.

Référencé par DereaseDetailLevel(), et ExManagerMap::InputAction().

00168 {
00169 Guard(void ExCHeightMap::DereaseDetailLevel(void))
00170         m_MapDetailLevel=m_MapDetailLevel/2;
00171         if (m_MapDetailLevel<=0)m_MapDetailLevel=1;
00172 UnGuard
00173 }

void ExCHeightMap::DereaseFogDepthLevel void   ) 
 

Définition à la ligne 182 du fichier ExCHeightMap.cpp.

Références DereaseFogDepthLevel(), Guard, m_FogDepthLevel, et UnGuard.

Référencé par DereaseFogDepthLevel(), et ExManagerMap::InputAction().

00183 {
00184 Guard(void ExCHeightMap::DereaseFogDepthLevel(void))
00185         m_FogDepthLevel--;
00186         if (m_FogDepthLevel<=0)m_FogDepthLevel=1;
00187 UnGuard
00188 }

void ExCHeightMap::DereaseTexture2Repetition void   ) 
 

Définition à la ligne 197 du fichier ExCHeightMap.cpp.

Références DereaseTexture2Repetition(), Guard, m_Texture2Repetition, et UnGuard.

Référencé par DereaseTexture2Repetition(), et ExManagerMap::InputAction().

00198 {
00199 Guard(void ExCHeightMap::DereaseTexture2Repetition(void))
00200         m_Texture2Repetition--;
00201         if (m_Texture2Repetition<=0)m_Texture2Repetition=1;
00202 UnGuard
00203 }

void ExCHeightMap::Draw void   )  [virtual]
 

Redéfinie à partir de ExCObject.

Définition à la ligne 133 du fichier ExCHeightMap.cpp.

Références Draw(), ExCVec3D::GetX(), ExCVec3D::GetY(), ExCVec3D::GetZ(), Guard, m_MapScale, ExCObject3D::m_Position, RenderHeightMap(), et UnGuard.

Référencé par ExManagerMap::Draw(), et Draw().

00134 {
00135 Guard(void ExCHeightMap::Draw(void))
00136         glPushAttrib(GL_ALL_ATTRIB_BITS);
00137                 glPushMatrix();
00138                         glTranslatef(m_Position.GetX(),m_Position.GetY(),m_Position.GetZ());
00139                         glScalef(m_MapScale,m_MapScale,m_MapScale);
00140                         glDisable(GL_LIGHTING);
00141                         glEnable(GL_TEXTURE_2D);
00142                         glColor3f(1.0f,1.0f,1.0f);
00143                         /*if(m_Array)
00144                         {
00145                                 RenderArray();
00146                         }else*/
00147                         try
00148                         {
00149                                 RenderHeightMap();
00150                         }catch (...)
00151                         {
00152                                 std::cout<<"Exception render heigtmap"<<std::endl;
00153                         }
00154                 glPopMatrix();
00155         glPopAttrib();
00156 UnGuard
00157 }

ExCVec3D ExCObject3D::GetAcceleration void   )  [inline, inherited]
 

Définition à la ligne 116 du fichier ExCObject3D.h.

Références ExCObject3D::m_Acceleration.

00116 {return m_Acceleration;}

float ExCObject3D::GetAngleX void   )  [inline, inherited]
 

Définition à la ligne 110 du fichier ExCObject3D.h.

Références ExCVec3D::GetX(), et ExCObject3D::m_Angle.

Référencé par ExCCameraFirst::Draw(), ExCCameraChase::Draw(), et ExCCamera::Draw().

00110 {return m_Angle.GetX();}

float ExCObject3D::GetAngleY void   )  [inline, inherited]
 

Définition à la ligne 111 du fichier ExCObject3D.h.

Références ExCVec3D::GetY(), et ExCObject3D::m_Angle.

Référencé par ExCCameraFirst::Draw(), ExCCameraChase::Draw(), et ExCCamera::Draw().

00111 {return m_Angle.GetY();}

float ExCObject3D::GetAngleZ void   )  [inline, inherited]
 

Définition à la ligne 112 du fichier ExCObject3D.h.

Références ExCVec3D::GetZ(), et ExCObject3D::m_Angle.

Référencé par ExCCameraFirst::Draw(), ExCCameraChase::Draw(), et ExCCamera::Draw().

00112 {return m_Angle.GetZ();}

std::string ExCObject::GetFileName void   )  [inline, inherited]
 

Définition à la ligne 94 du fichier ExCObject.h.

Références ExCObject::m_ObjectFileName.

Référencé par ExManagerMap::InputAction().

00094 {return m_ObjectFileName;}

bool ExCHeightMap::GetFogState void   )  [inline]
 

Définition à la ligne 131 du fichier ExCHeightMap.h.

Références m_Fog.

Référencé par ExManagerMap::InputAction().

00131 {return m_Fog;}

ExCVec3D ExCObject3D::GetGravity void   )  [inline, inherited]
 

Définition à la ligne 124 du fichier ExCObject3D.h.

Références ExCObject3D::m_Gravity.

00124 {return m_Gravity;}

ExNihilo::ExId ExCObject::GetId void   )  [inline, inherited]
 

Définition à la ligne 92 du fichier ExCObject.h.

Références ExNihilo::ExId, et ExCObject::m_ObjectId.

Référencé par ExCSystemeParticule::CreateNewParticle(), ExManagerModel::Load(), ExManagerMesh::Load(), ExManagerId::RecordObject(), ExCObject3D::ShowInfo(), et ExCModelMD2::ShowInfo().

00092 {return m_ObjectId;}

std::string ExCObject::GetName void   )  [inline, inherited]
 

Définition à la ligne 93 du fichier ExCObject.h.

Références ExCObject::m_ObjectName.

Référencé par ExManagerTexture::Add(), ExManagerInterface::Load(), ExManagerEntity::LoadGroupe(), ExManagerId::RecordObject(), ExManagerCollision::ResolveCollision(), ExCObject3D::ShowInfo(), et ExCModelMD2::ShowInfo().

00093 {return m_ObjectName;}

ExCVec3D ExCObject3D::GetOldPosition void   )  [inline, inherited]
 

Définition à la ligne 136 du fichier ExCObject3D.h.

Références ExCObject3D::m_OldPosition.

00136 {return m_OldPosition;}

ExCVec3D ExCObject3D::GetOldTarget void   )  [inline, inherited]
 

Définition à la ligne 140 du fichier ExCObject3D.h.

Références ExCObject3D::m_OldTarget.

00140 {return m_OldTarget;}

ExCVec3D ExCObject3D::GetPosition void   )  [inline, inherited]
 

Définition à la ligne 128 du fichier ExCObject3D.h.

Références ExCObject3D::m_Position.

Référencé par ExCCameraFirst::Draw(), ExCCameraChase::Draw(), ExManagerEntity::LoadGroupe(), ExManagerEntity::Reload(), et ExManagerCollision::ResolveCollision().

00128 {return m_Position;}

bool ExCObject3D::GetShowInfoState void   )  [inline, inherited]
 

Définition à la ligne 105 du fichier ExCObject3D.h.

Références ExCObject3D::m_ShowInfo.

00105 {return m_ShowInfo;}

ExCVec3D ExCObject3D::GetTarget void   )  [inline, inherited]
 

Définition à la ligne 132 du fichier ExCObject3D.h.

Références ExCObject3D::m_Target.

Référencé par ExCCameraFirst::Draw(), et ExManagerCollision::ResolveCollision().

00132 {return m_Target;}

std::string ExCObject::GetType void   )  [inline, inherited]
 

Définition à la ligne 95 du fichier ExCObject.h.

Références ExCObject::m_ObjectType.

Référencé par ExManagerId::RecordObject(), et ExManagerCollision::ResolveCollision().

00095 {return m_ObjectType;}

ExCVec3D ExCObject3D::GetVelocity void   )  [inline, inherited]
 

Définition à la ligne 120 du fichier ExCObject3D.h.

Références ExCObject3D::m_Velocity.

Référencé par ExManagerCollision::ResolveCollision().

00120 {return m_Velocity;}

bool ExCObject3D::GetVisibleState void   )  [inline, inherited]
 

Définition à la ligne 146 du fichier ExCObject3D.h.

Références ExCObject3D::m_Visible.

Référencé par ExCModel3DS::InputAction().

00146 {return m_Visible;}

int ExCHeightMap::Height int  X,
int  Y
 

Définition à la ligne 212 du fichier ExCHeightMap.cpp.

Références g_HeightMap, et m_MapResolution.

Référencé par BuildArray(), et RenderHeightMap().

00213 {
00214         // This is used to index into our height map array.
00215         // When ever we are dealing with arrays, we want to make sure
00216         // that we don't go outside of them, so we make sure that doesn't
00217         // happen with a %.  This way x and y will cap out at (MAX_SIZE - 1)
00218 
00219         int x = X % m_MapResolution;                                    // Error check our x value
00220         int y = Y % m_MapResolution;                                    // Error check our y value
00221 
00222         if(!g_HeightMap) return 0;                              // Make sure our data is valid
00223 
00224         // Below, we need to treat the single array like a 2D array.
00225         // We can use the equation: index = (x + (y * arrayWidth) ).
00226         // This is assuming we are using this assumption array[x][y]
00227         // otherwise it's the opposite.  Now that we have the correct index,
00228         // we will return the height in that index.
00229 
00230         return g_HeightMap[x + (y * m_MapResolution)];  // Index into our height array and return the height
00231 }

void ExCHeightMap::IncreaseDetailLevel void   ) 
 

Définition à la ligne 159 du fichier ExCHeightMap.cpp.

Références Guard, IncreaseDetailLevel(), m_MapDetailLevel, m_MapResolution, et UnGuard.

Référencé par IncreaseDetailLevel(), et ExManagerMap::InputAction().

00160 {
00161 Guard(void ExCHeightMap::IncreaseDetailLevel(void))
00162         m_MapDetailLevel=m_MapDetailLevel*2;
00163         if(m_MapDetailLevel>=m_MapResolution)m_MapDetailLevel=m_MapResolution;
00164 UnGuard
00165 }

void ExCHeightMap::IncreaseFogDepthLevel void   ) 
 

Définition à la ligne 175 du fichier ExCHeightMap.cpp.

Références Guard, IncreaseFogDepthLevel(), m_FogDepthLevel, et UnGuard.

Référencé par IncreaseFogDepthLevel(), et ExManagerMap::InputAction().

00176 {
00177 Guard(void ExCHeightMap::IncreaseFogDepthLevel(void))
00178         m_FogDepthLevel++;
00179 UnGuard
00180 }

void ExCHeightMap::IncreaseTexture2Repetition void   ) 
 

Définition à la ligne 190 du fichier ExCHeightMap.cpp.

Références Guard, IncreaseTexture2Repetition(), m_Texture2Repetition, et UnGuard.

Référencé par IncreaseTexture2Repetition(), et ExManagerMap::InputAction().

00191 {
00192 Guard(void ExCHeightMap::IncreaseTexture2Repetition(void))
00193         m_Texture2Repetition++;
00194 UnGuard
00195 }

void ExCHeightMap::Load std::string  FileName  ) 
 

Définition à la ligne 41 du fichier ExCHeightMap.cpp.

Références byte, ExNihilo::ExtractFloatValueFromSring(), ExNihilo::ExtractIntValueFromSring(), ExNihilo::ExtracValueFromSring(), g_HeightMap, ExManagerTexture::GetMaxMultitexturingLevel(), ExCVec3D::GetX(), ExCVec3D::GetZ(), Guard, Load(), m_Fog, m_FogDepthLevel, m_MapDetailLevel, m_MapResolution, m_MapScale, ExCObject3D::m_Position, m_TextureMap, m_VecTexture, ManagerTexture, PREFIX, SetTextureLand(), ExCVec3D::SetX(), ExCVec3D::SetY(), ExCVec3D::SetZ(), et UnGuard.

Référencé par ExManagerMap::InputAction(), ExManagerMap::Load(), et Load().

00042 {
00043 Guard(void ExCHeightMap::Load(std::string FileName))
00044         g_HeightMap = new byte[m_MapResolution*m_MapResolution];
00045         char                    buffer[255],b[255];     
00046         std::string buffstring;
00047         std::ifstream file;
00048 
00049         #ifdef UNIX_SRC
00050         sprintf(buffer, PREFIX "/ExNihilo/Data/Map/%s", FileName.data());
00051         #else
00052         sprintf(buffer, "../Data/Map/%s", FileName.data());
00053         #endif
00054         file.open(buffer,std::ios::in);
00055         if(file.is_open())
00056         {
00057                 memset(b,0,255);file.getline(b,256,'\n');
00058                 try
00059                 {
00060                         std::cout<<"Plok1"<<std::endl;
00061                         if(ExNihilo::ExtractIntValueFromSring(b,"<FogEnable>","<#FogEnable>")==1)
00062                         {
00063                                 m_Fog=true;
00064                         }else
00065                         {
00066                                 m_Fog=false;
00067                         }
00068                         memset(b,0,255);file.getline(b,256,'\n');
00069                         m_FogDepthLevel=ExNihilo::ExtractFloatValueFromSring(b,"<FogDepthLevel>","<#FogDepthLevel>");
00070                         memset(b,0,255);file.getline(b,256,'\n');
00071                         m_MapDetailLevel=ExNihilo::ExtractFloatValueFromSring(b,"<MapDetailLevel>","<#MapDetailLevel>");
00072                         memset(b,0,255);file.getline(b,256,'\n');
00073                         m_MapResolution=ExNihilo::ExtractFloatValueFromSring(b,"<MapResolution>","<#MapResolution>");
00074                         memset(b,0,255);file.getline(b,256,'\n');
00075                         m_MapScale=ExNihilo::ExtractFloatValueFromSring(b,"<MapScale>","<#MapScale>");
00076                         memset(b,0,255);file.getline(b,256,'\n');
00077                         m_TextureMap="../Data/Map/"+ExNihilo::ExtracValueFromSring(b,"<HeightTexture>","<#HeightTexture>");
00078                         FILE *pFile = NULL;
00079                         pFile = fopen(m_TextureMap.data(), "rb" );
00080                         if ( pFile == NULL )    
00081                         {
00082                                 std::cout<<"Can't find the height map! Error"<<std::endl;
00083                                 return;
00084                         }
00085 
00086                         fread( g_HeightMap, 1, m_MapResolution * m_MapResolution, pFile );
00087                         if(ferror( pFile ))
00088                         {
00089                                 std::cout<<"Can't get data! Error"<<std::endl;
00090                         }
00091                         fclose(pFile);
00092 
00093                         m_VecTexture.resize(ManagerTexture->GetMaxMultitexturingLevel());
00094                         memset(b,0,255);file.getline(b,256,'\n');
00095                         SetTextureLand(0,ExNihilo::ExtracValueFromSring(b,"<TextureLand1>","<#TextureLand1>"));
00096                         memset(b,0,255);file.getline(b,256,'\n');
00097                         SetTextureLand(1,ExNihilo::ExtracValueFromSring(b,"<TextureLand2>","<#TextureLand2>"));
00098                         memset(b,0,255);file.getline(b,256,'\n');
00099                         SetTextureLand(2,ExNihilo::ExtracValueFromSring(b,"<TextureLand3>","<#TextureLand3>"));
00100                         memset(b,0,255);file.getline(b,256,'\n');
00101                         SetTextureLand(3,ExNihilo::ExtracValueFromSring(b,"<TextureLand4>","<#TextureLand4>"));
00102 
00103                         //Read position
00104                         memset(b,0,255);file.getline(b,256,'\n');
00105                         buffstring=ExNihilo::ExtracValueFromSring(b,"<Position>","<#Position>");
00106                         m_Position.SetX(ExNihilo::ExtractFloatValueFromSring(buffstring,"<X>","<#X>"));
00107                         m_Position.SetY(ExNihilo::ExtractFloatValueFromSring(buffstring,"<Y>","<#Y>"));
00108                         m_Position.SetZ(ExNihilo::ExtractFloatValueFromSring(buffstring,"<Z>","<#Z>"));
00109                         
00110                 }catch(ExCExpStringNotFound){std::cout<<"Bad file type "<<buffer<<std::endl;}
00111         }else
00112         {
00113                 std::cout<<"File not found:"<<buffer<<std::endl;
00114                 throw   ExCExpFileNotFound();
00115         }
00116         m_Position.SetX(m_Position.GetX()-(m_MapResolution*m_MapScale/2));
00117         m_Position.SetZ(m_Position.GetZ()-(m_MapResolution*m_MapScale/2));
00118 
00119         //BuildArray();
00120 UnGuard
00121 }

bool ExCObject::LoadFile std::string  FileName  )  [virtual, inherited]
 

Redéfinie dans ExCAnimation, ExCEntity, ExCGroupEntity, ExCTexture, ExCInterface, ExCWindowTitleBar, ExCWindow, ExCWindowTitleBar, et ExCGizmoLineBezier.

Définition à la ligne 53 du fichier ExCObject.cpp.

Références Guard, ExCObject::LoadFile(), et UnGuard.

Référencé par ExCModelASC::ExCModelASC(), ExCObject::ExCObject(), ExCWindow::LoadFile(), et ExCObject::LoadFile().

00054 {
00055 Guard(bool ExCObject::LoadFile(std::string FileName))
00056         return true;
00057 UnGuard
00058 }  

void ExCHeightMap::RenderArray void   )  [protected]
 

Définition à la ligne 332 du fichier ExCHeightMap.cpp.

Références Guard, m_Texture2Repetition, m_VecTexture, ManagerTexture, RenderArray(), ExManagerTexture::ResetMultitexture(), ExManagerTexture::SetTexture(), TabTextures, TabVertices, et UnGuard.

Référencé par RenderArray().

00333 {
00334 Guard(void ExCHeightMap::RenderArray())
00335         glPushMatrix();
00336                 glTranslatef(0,-10,0);
00337                 glScalef(1.4,1.5,3);
00338                 ManagerTexture->SetTexture(0,m_VecTexture.at(0));
00339                 ManagerTexture->SetTexture(1,m_VecTexture.at(1));
00340 
00341                 glTexEnvi(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_COMBINE_ARB);
00342                 glTexEnvi(GL_TEXTURE_ENV, GL_RGB_SCALE_ARB, 2);
00343                 glMatrixMode(GL_TEXTURE);
00344                 glPushMatrix();
00345                         glLoadIdentity();
00346                         glScalef((float)m_Texture2Repetition, (float)m_Texture2Repetition, 1);
00347                         glMatrixMode(GL_MODELVIEW);
00348                         ManagerTexture->SetTexture(2,m_VecTexture.at(2));
00349                         ManagerTexture->SetTexture(3,m_VecTexture.at(3));
00350 
00351                         //call array
00352                         glTexCoordPointer(2,GL_FLOAT,0,TabTextures);
00353                         glVertexPointer(2,GL_FLOAT,0,TabVertices);
00354                         glDrawArrays( GL_TRIANGLE_STRIP, 0, 11094 );
00355                         
00356                 glMatrixMode(GL_TEXTURE);
00357                 ManagerTexture->SetTexture(1,m_VecTexture.at(1));
00358                 glDisableClientState(GL_TEXTURE_COORD_ARRAY);
00359                 glPopMatrix();
00360                 glMatrixMode(GL_MODELVIEW);
00361                 glMatrixMode(GL_TEXTURE);
00362                 ManagerTexture->SetTexture(2,m_VecTexture.at(2));
00363                 glDisableClientState(GL_TEXTURE_COORD_ARRAY);
00364                 glPopMatrix();
00365                 glMatrixMode(GL_MODELVIEW);
00366                 ManagerTexture->ResetMultitexture();
00367 
00368         glPopMatrix();
00369 UnGuard
00370 }

void ExCHeightMap::RenderHeightMap void   ) 
 

Définition à la ligne 372 du fichier ExCHeightMap.cpp.

Références ExManagerFog::DisableFog(), ExManagerFog::EnableFog(), Guard, Height(), m_Fog, m_FogDepthLevel, m_MapDetailLevel, m_MapResolution, m_Texture2Repetition, m_VecTexture, ManagerFog, ManagerTexture, RenderHeightMap(), ExManagerTexture::ResetMultitexture(), ExManagerTexture::SetTexture(), SetTextureCoord(), ExManagerFog::SetVolumetricFogCoord(), et UnGuard.

Référencé par Draw(), et RenderHeightMap().

00373 {
00374 Guard(void ExCHeightMap::RenderHeightMap())
00375         float xmul=1;
00376         float ymul=1.5;
00377         float zmul=1;
00378         //float xmul=1.4;
00379         //float ymul=1.5*1.5;
00380         //float zmul=3;
00381         int X = 0, Y = 0;                                               // Create some variables to walk the array with.
00382         int x, y, z;                                                    // Create some variables for readability
00383         float fogY = 0;
00384         bool bSwitchSides = false;
00385         
00386 glPushMatrix();
00387         glTranslatef(0,-10,0);
00388         glScalef(1.4,1.5,3);
00389                 
00390         if(m_Fog){ManagerFog->EnableFog();}
00391         
00392         ManagerTexture->SetTexture(0,m_VecTexture.at(0));
00393         glDisableClientState(GL_TEXTURE_COORD_ARRAY);
00394 
00395 
00396         // If we want detail texturing on, let's render the second texture
00397         ManagerTexture->SetTexture(1,m_VecTexture.at(1));
00398         glDisableClientState(GL_TEXTURE_COORD_ARRAY);
00399         
00400         // Here we turn on the COMBINE properties and increase our RGB
00401         // gamma for the detail texture.  2 seems to work just right.
00402         glTexEnvi(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_COMBINE_ARB);
00403         glTexEnvi(GL_TEXTURE_ENV, GL_RGB_SCALE_ARB, 2);
00404         glMatrixMode(GL_TEXTURE);
00405                 glPushMatrix();
00406                 glLoadIdentity();
00407                 glScalef((float)m_Texture2Repetition, (float)m_Texture2Repetition, 1);
00408         glMatrixMode(GL_MODELVIEW);
00409         
00410         
00411 //      ManagerTexture->SetTexture(2,m_VecTexture.at(2));
00412 //      glDisableClientState(GL_TEXTURE_COORD_ARRAY);
00413 /*      glMatrixMode(GL_TEXTURE);
00414                 glPushMatrix();
00415                 glLoadIdentity();
00416                 glTranslatef(0.0f,-0.00001*glutGet(GLUT_ELAPSED_TIME),0.0f);
00417         glMatrixMode(GL_MODELVIEW);*/
00418 
00419 //      ManagerTexture->SetTexture(3,m_VecTexture.at(3));
00420 //      glDisableClientState(GL_TEXTURE_COORD_ARRAY);
00421 
00422         glBegin( GL_TRIANGLE_STRIP );                   
00423         // Go through all of the rows of the height map
00424         for ( X = 0; X <= m_MapResolution; X += m_MapDetailLevel )
00425         {
00426                 // Check if we need to render the opposite way for this column
00427                 if(bSwitchSides)
00428                 {       
00429                         //glColor3f(0.0f,0.0f,1.0f);
00430                         // Render a column of the terrain, for this current X.
00431                         // We start at m_MapResolution and render down to 0.
00432                         for ( Y = m_MapResolution; Y >= 0; Y -= m_MapDetailLevel )
00433                         {
00434                                 // Get the (X, Y, Z) value for the bottom left vertex           
00435                                 x = X;//X+=MapdetailLevel                                                       
00436                                 y = Height(X, Y );      
00437                                 z = Y;//Y = m_MapResolution ;Y-=MapdetailLevel                                                  
00438                                 // Set the fog coordinate for this vertex, depending on it's height
00439                                 // and the current depth of the fog.
00440                                 if(m_Fog)
00441                                         y > m_FogDepthLevel ? ManagerFog->SetVolumetricFogCoord(0) : ManagerFog->SetVolumetricFogCoord( -((float)y - m_FogDepthLevel));                 
00442                                 
00443                                 // Set the current texture coordinate and render the vertex
00444                                 SetTextureCoord((float)x / (float)m_MapResolution,-(float)z / (float)m_MapResolution);
00445                                 glVertex3i(x*xmul, y*ymul, z*zmul);             
00446                                 // Get the (X, Y, Z) value for the bottom right vertex          
00447                                 x = X + m_MapDetailLevel; 
00448                                 y = Height(X + m_MapDetailLevel, Y ); 
00449                                 z = Y;
00450                                 // Set the fog coordinate for this vertex
00451                                 if(m_Fog)
00452                                         y > m_FogDepthLevel ? ManagerFog->SetVolumetricFogCoord(0) : ManagerFog->SetVolumetricFogCoord( -((float)y - m_FogDepthLevel));
00453                                 // Set the current texture coordinate and render the vertex
00454                                 SetTextureCoord((float)x / (float)m_MapResolution,-(float)z / (float)m_MapResolution);
00455                                 glVertex3i(x*xmul, y*ymul, z*zmul);                     
00456                         }
00457                 }
00458                 else
00459                 {       
00460                         //glColor3f(1.0f,0.0f,0.0f);
00461                         // Render a column of the terrain, for this current X.
00462                         // We start at 0 and render down up to m_MapResolution.
00463                         for ( Y = 0; Y <= m_MapResolution; Y += m_MapDetailLevel )
00464                         {
00465                                 // Get the (X, Y, Z) value for the bottom right vertex          
00466                                 x = X + m_MapDetailLevel; 
00467                                 y = Height(X + m_MapDetailLevel, Y ); 
00468                                 z = Y;
00469                                 // Set the fog coordinate for this vertex
00470                                 if(m_Fog)
00471                                         y > m_FogDepthLevel ? ManagerFog->SetVolumetricFogCoord(0) : ManagerFog->SetVolumetricFogCoord( -((float)y - m_FogDepthLevel));
00472                                 // Set the current texture coordinate and render the vertex
00473                                 SetTextureCoord((float)x / (float)m_MapResolution,-(float)z / (float)m_MapResolution);
00474                                 glVertex3i(x, y*ymul, z);
00475                                 // Get the (X, Y, Z) value for the bottom left vertex           
00476                                 x = X;                                                  
00477                                 y = Height(X, Y );      
00478                                 z = Y;
00479                                 if(m_Fog)
00480                                         y > m_FogDepthLevel ? ManagerFog->SetVolumetricFogCoord(0) : ManagerFog->SetVolumetricFogCoord( -((float)y - m_FogDepthLevel));
00481 
00482                                 // Set the current texture coordinate and render the vertex
00483                                 SetTextureCoord((float)x / (float)m_MapResolution,-(float)z / (float)m_MapResolution);
00484                                 glVertex3i(x*xmul, y*ymul, z*zmul);             
00485                         }
00486                 }
00487                 // Switch the direction the column renders to allow the fluid tri strips
00488                 bSwitchSides = !bSwitchSides;
00489         }
00490         glEnd();
00491         if(m_Fog)ManagerFog->DisableFog();
00492         glMatrixMode(GL_TEXTURE);
00493                         ManagerTexture->SetTexture(1,m_VecTexture.at(1));
00494                 glDisableClientState(GL_TEXTURE_COORD_ARRAY);
00495                 glPopMatrix();
00496         glMatrixMode(GL_MODELVIEW);
00497         /*
00498         glMatrixMode(GL_TEXTURE);
00499                         ManagerTexture->SetTexture(2,m_VecTexture.at(2));
00500                 glDisableClientState(GL_TEXTURE_COORD_ARRAY);
00501                 glPopMatrix();
00502         glMatrixMode(GL_MODELVIEW);*/
00503         ManagerTexture->ResetMultitexture();
00504 glPopMatrix();
00505 UnGuard
00506 }

void ExCObject3D::Rotate void   )  [inherited]
 

Définition à la ligne 134 du fichier ExCObject3D.cpp.

Références GetQuaternionFromEuler(), ExCVec3D::GetX(), ExCVec3D::GetY(), ExCVec3D::GetZ(), ExCObject3D::m_Angle, ExCVec3D::SetX(), ExCVec3D::SetY(), et ExCVec3D::SetZ().

Référencé par ExCObject3D::Rotate().

00135 {
00136         if(m_Angle.GetX()<0)m_Angle.SetX(359);
00137         if(m_Angle.GetX()>359)m_Angle.SetX(0);
00138         if(m_Angle.GetY()<0)m_Angle.SetY(359);
00139         if(m_Angle.GetY()>359)m_Angle.SetY(0);
00140         if(m_Angle.GetZ()<0)m_Angle.SetZ(359);
00141         if(m_Angle.GetZ()>359)m_Angle.SetZ(0);
00142         
00143         ExQuaternion quat;
00144         ExCMatrix4x4 Matr;
00145         ExCVec3D VecX,VecY,VecZ,VecDir;
00146         
00147         quat=GetQuaternionFromEuler(m_Angle.GetX(),m_Angle.GetY(),m_Angle.GetZ());
00148         //Matr=GetMatrixFromQuaternion(quat);
00149         //Matr=GetMatrixFromEuler(m_AngleX,m_AngleY,m_AngleZ);
00150         
00151         /*VecX.m_Vector[0]=(float)Matr.m_Matrix[0];
00152         VecX.m_Vector[1]=(float)Matr.m_Matrix[1];
00153         VecX.m_Vector[2]=(float)Matr.m_Matrix[2];
00154         VecY.m_Vector[0]=(float)Matr.m_Matrix[4];
00155         VecY.m_Vector[1]=(float)Matr.m_Matrix[5];
00156         VecY.m_Vector[2]=(float)Matr.m_Matrix[6];
00157         VecZ.m_Vector[0]=(float)Matr.m_Matrix[8];
00158         VecZ.m_Vector[1]=(float)Matr.m_Matrix[9];
00159         VecZ.m_Vector[2]=(float)Matr.m_Matrix[10];
00160 
00161         VecDir.m_Vector[0]=VecX.GetVectorLenght();
00162         VecDir.m_Vector[1]=VecY.GetVectorLenght();
00163         VecDir.m_Vector[2]=VecZ.GetVectorLenght();
00164         VecDir=VecX+VecY+VecZ;
00165         std::cout<<"Angle X:"<<m_AngleX<<" Y:"<<m_AngleY<<" Z:"<<m_AngleZ<<std::endl;
00166         std::cout<<"Quater :"<<quat<<std::endl;
00167         std::cout<<"Matrice:"<<Matr<<std::endl;
00168         std::cout<<"vec   X:"<<VecX<<std::endl;
00169         std::cout<<"vec   Y:"<<VecY<<std::endl;
00170         std::cout<<"vec   Z:"<<VecZ<<std::endl;
00171         std::cout<<"vec dir:"<<VecDir<<std::endl;
00172         std::cout<<"vel bef:"<<m_Velocity<<std::endl;
00173         //std::cout<<"vec aft:"<<m_Velocity<<std::endl;
00174         
00175 
00176         m_Target.SetX((Cos[(int)m_AngleY]));
00177         m_Target.SetZ((Sin[(int)m_AngleY]));
00178         m_Target.SetY((Sin[(int)m_AngleX]));
00179         std::cout<<"vec target:"<<m_Target<<std::endl;*/
00180         //VecDir=GetAxisFromQuaternion(quat);
00181         //m_Velocity=m_Velocity*VecDir;
00182         //std::cout<<"vec dir:"<<VecDir<<std::endl;
00183         //std::cout<<"vec vel:"<<m_Velocity<<std::endl;
00184         
00185 }

void ExCObject3D::Rotate float  angleX,
float  angleY,
float  angleZ
[inherited]
 

Définition à la ligne 126 du fichier ExCObject3D.cpp.

Références ExCObject3D::Rotate(), ExCObject3D::SetAngleX(), ExCObject3D::SetAngleY(), et ExCObject3D::SetAngleZ().

00127 {
00128         SetAngleX(angleX);
00129         SetAngleY(angleY);
00130         SetAngleZ(angleZ);
00131         Rotate();       
00132 }

void ExCObject3D::SetAcceleration float  x,
float  y,
float  z
[inline, inherited]
 

Définition à la ligne 115 du fichier ExCObject3D.h.

Références ExCObject3D::m_Acceleration.

00115 {m_Acceleration=ExCVec3D(x,y,z);}

void ExCObject3D::SetAcceleration ExCVec3D  Acceleration  )  [inline, inherited]
 

Définition à la ligne 114 du fichier ExCObject3D.h.

Références ExCObject3D::m_Acceleration.

00114 {m_Acceleration=Acceleration;}

void ExCObject3D::SetAngleX float  Angle  )  [inherited]
 

Définition à la ligne 106 du fichier ExCObject3D.cpp.

Références ExCVec3D::GetX(), ExCObject3D::m_Angle, et ExCVec3D::SetX().

Référencé par ExCObject3D::Rotate().

00107 {
00108         if(m_Angle.GetX()<0)m_Angle.SetX(359);
00109         if(m_Angle.GetX()>359)m_Angle.SetX(0);
00110 }

void ExCObject3D::SetAngleY float  Angle  )  [inherited]
 

Définition à la ligne 112 du fichier ExCObject3D.cpp.

Références ExCVec3D::GetY(), ExCObject3D::m_Angle, et ExCVec3D::SetY().

Référencé par ExCObject3D::Rotate().

00113 {
00114         if(m_Angle.GetY()<0)m_Angle.SetY(359);
00115         if(m_Angle.GetY()>359)m_Angle.SetY(0);
00116 }

void ExCObject3D::SetAngleZ float  Angle  )  [inherited]
 

Définition à la ligne 118 du fichier ExCObject3D.cpp.

Références ExCObject3D::m_Angle, et ExCVec3D::SetZ().

Référencé par ExCObject3D::Rotate().

00119 {
00120         /*if(m_AngleZ<0)m_AngleZ=359;
00121         if(m_AngleZ>359)m_AngleZ=0;*/
00122         m_Angle.SetZ(Angle);
00123 }

void ExCObject3D::SetCurrentState bool  state  )  [inline, inherited]
 

Définition à la ligne 101 du fichier ExCObject3D.h.

Références ExCObject3D::m_CurrentObject.

00101 {m_CurrentObject=state;}

void ExCObject::SetFileName std::string  FileName  )  [inline, inherited]
 

Définition à la ligne 98 du fichier ExCObject.h.

Références ExCObject::m_ObjectFileName.

Référencé par ExManagerModel::Load(), ExManagerMap::Load(), ExManagerEntity::Load(), ExCGizmoLineBezier::LoadFile(), ExCAnimation::LoadFile(), et ExManagerEntity::LoadGroupe().

00098 {m_ObjectFileName = FileName;}

void ExCObject::SetFlux std::ostrstream *  consol,
ExCFluxAction action
[inherited]
 

Définition à la ligne 66 du fichier ExCObject.cpp.

Références ExCObject::Consol, et ExCObject::FluxAction.

Référencé par ExManagerId::RecordObject().

00067 {
00068         Consol=consol;
00069         FluxAction=action;
00070 }

void ExCHeightMap::SetFogDepthLevel float  level  )  [inline]
 

Définition à la ligne 133 du fichier ExCHeightMap.h.

Références m_FogDepthLevel.

00133 {m_FogDepthLevel=level;}

void ExCHeightMap::SetFogState bool  state  )  [inline]
 

Définition à la ligne 130 du fichier ExCHeightMap.h.

Références m_Fog.

Référencé par ExManagerMap::InputAction().

00130 {m_Fog=state;}

void ExCObject3D::SetGravity float  x,
float  y,
float  z
[inline, inherited]
 

Définition à la ligne 123 du fichier ExCObject3D.h.

Références ExCObject3D::m_Gravity.

00123 {m_Gravity=ExCVec3D(x,y,z);}

void ExCObject3D::SetGravity ExCVec3D  Gravity  )  [inline, inherited]
 

Définition à la ligne 122 du fichier ExCObject3D.h.

Références ExCObject3D::m_Gravity.

00122 {m_Gravity=Gravity;}

void ExCObject::SetId ExNihilo::ExId  Id  )  [inline, inherited]
 

Définition à la ligne 96 du fichier ExCObject.h.

Références ExNihilo::ExId, et ExCObject::m_ObjectId.

Référencé par ExCSystemeParticule::CreateNewParticle(), ExCObject::ExCObject(), ExManagerId::RecordObject(), et ExCObject::SetIdName().

00096 {m_ObjectId=Id;}

void ExCObject::SetIdName ExNihilo::IdName  idname  )  [inherited]
 

Définition à la ligne 47 du fichier ExCObject.cpp.

Références ExNihilo::IdName, ExCObject::SetId(), et ExCObject::SetName().

00048 {
00049         SetName(idname.second);
00050         SetId(idname.first);
00051 }

void ExCHeightMap::SetManagerFog ExManagerFog Fog  )  [inline]
 

Définition à la ligne 115 du fichier ExCHeightMap.h.

Références ManagerFog.

Référencé par ExManagerMap::Load().

00115 {ManagerFog=Fog;}

void ExCHeightMap::SetManagerTexture ExManagerTexture Texture  )  [inline]
 

Définition à la ligne 114 du fichier ExCHeightMap.h.

Références ManagerTexture.

Référencé par ExManagerMap::Load().

00114 {ManagerTexture=Texture;}

void ExCHeightMap::SetMapDetailLevel int  level  )  [inline]
 

Définition à la ligne 127 du fichier ExCHeightMap.h.

Références m_MapDetailLevel.

00127 {m_MapDetailLevel=level;}

void ExCHeightMap::SetMapResolution int  Resolution  )  [inline]
 

Définition à la ligne 126 du fichier ExCHeightMap.h.

Références m_MapResolution.

00126 {m_MapResolution=Resolution;}

void ExCObject::SetName std::string  Name  )  [inline, inherited]
 

Redéfinie dans ExCTexture.

Définition à la ligne 97 du fichier ExCObject.h.

Références ExCObject::m_ObjectName.

Référencé par ExManagerCamera::AddCamera(), ExCAnimation::ExCAnimation(), ExCCamera::ExCCamera(), ExCCameraChase::ExCCameraChase(), ExCCameraFirst::ExCCameraFirst(), ExCCameraFlight::ExCCameraFlight(), ExCCameraFree::ExCCameraFree(), ExCEntity::ExCEntity(), ExCFont::ExCFont(), ExCGizmo::ExCGizmo(), ExCGizmoElipsoide::ExCGizmoElipsoide(), ExCGizmoFace::ExCGizmoFace(), ExCGizmoLine::ExCGizmoLine(), ExCGizmoLineBezier::ExCGizmoLineBezier(), ExCGizmoPoint::ExCGizmoPoint(), ExCGizmoRectangle::ExCGizmoRectangle(), ExCGizmoSphere::ExCGizmoSphere(), ExCGroupEntity::ExCGroupEntity(), ExCInterface::ExCInterface(), ExCLight::ExCLight(), ExCLoadingAnimation::ExCLoadingAnimation(), ExCMesh::ExCMesh(), ExCMesh3ds::ExCMesh3ds(), ExCMeshBilboarded::ExCMeshBilboarded(), ExCMeshFireEffect::ExCMeshFireEffect(), ExCMeshLOD3ds::ExCMeshLOD3ds(), ExCMeshSauronEffect::ExCMeshSauronEffect(), ExCMeshSmogEffect::ExCMeshSmogEffect(), ExCMeshSummonCylenderEffect::ExCMeshSummonCylenderEffect(), ExCMeshWaterDisqueEffect::ExCMeshWaterDisqueEffect(), ExCMeshWaterEffect::ExCMeshWaterEffect(), ExCModel3DS::ExCModel3DS(), ExCModelASC::ExCModelASC(), ExCModelEXM::ExCModelEXM(), ExCModelMD2::ExCModelMD2(), ExCModelMD3::ExCModelMD3(), ExCModelOBJ::ExCModelOBJ(), ExCObject::ExCObject(), ExCObject2D::ExCObject2D(), ExCObject3D::ExCObject3D(), ExCParticule::ExCParticule(), ExCParticuleLine::ExCParticuleLine(), ExCParticulePoint::ExCParticulePoint(), ExCParticuleTexture::ExCParticuleTexture(), ExCSound::ExCSound(), ExCSpirit::ExCSpirit(), ExCSystemeParticule::ExCSystemeParticule(), ExCVertexProgram::ExCVertexProgram(), ExCWindowContent::ExCWindowContent(), ExCWindowControl::ExCWindowControl(), ExCWindowTitleBar::ExCWindowTitleBar(), ExManagerSpirit::Init(), ExManagerFont::Init(), ExCWindowTitleBar::Init(), ExCWindowObject::Init(), ExCWindowMessageBoxQuestion::Init(), ExCWindowMessageBox::Init(), ExCWindowLabel::Init(), ExCWindowEditLabel::Init(), ExCWindowButtonSwitchOnMouse::Init(), ExCWindowButtonSwitch::Init(), ExCWindowButton::Init(), ExCWindow::Init(), ExManagerModel::Load(), ExManagerMesh::Load(), ExCSystemeParticule::Load(), ExCModelASC::Load(), ExManagerLoad::LoadAnimationFile(), ExCGroupEntity::LoadFile(), ExCAnimation::LoadFile(), ExManagerEntity::LoadGroupe(), ExManagerSound::LoadSound(), ExManagerId::RecordObject(), et ExCObject::SetIdName().

00097 {m_ObjectName = Name;}

void ExCObject3D::SetOldPosition float  x,
float  y,
float  z
[inline, inherited]
 

Définition à la ligne 135 du fichier ExCObject3D.h.

Références ExCObject3D::m_OldPosition.

00135 {m_OldPosition=ExCVec3D(x,y,z);}

void ExCObject3D::SetOldPosition ExCVec3D  OldPosition  )  [inline, inherited]
 

Définition à la ligne 134 du fichier ExCObject3D.h.

Références ExCObject3D::m_OldPosition.

00134 {m_OldPosition=OldPosition;}

void ExCObject3D::SetOldTarget float  x,
float  y,
float  z
[inline, inherited]
 

Définition à la ligne 139 du fichier ExCObject3D.h.

Références ExCObject3D::m_OldTarget.

00139 {m_OldTarget=ExCVec3D(x,y,z);}

void ExCObject3D::SetOldTarget ExCVec3D  OldTarget  )  [inline, inherited]
 

Définition à la ligne 138 du fichier ExCObject3D.h.

Références ExCObject3D::m_OldTarget.

00138 {m_OldTarget=OldTarget;}

void ExCObject3D::SetPosition float  x,
float  y,
float  z
[inline, inherited]
 

Définition à la ligne 127 du fichier ExCObject3D.h.

Références ExCObject3D::m_Position.

00127 {m_Position=ExCVec3D(x,y,z);}

void ExCObject3D::SetPosition ExCVec3D  Position  )  [inline, inherited]
 

Définition à la ligne 126 du fichier ExCObject3D.h.

Références ExCObject3D::m_Position.

Référencé par ExCModelMD2::Draw(), et ExManagerEntity::LoadGroupe().

00126 {m_Position=Position;}

void ExCObject3D::SetShowInfoState bool  state  )  [inline, inherited]
 

Définition à la ligne 104 du fichier ExCObject3D.h.

Références ExCObject3D::m_ShowInfo.

Référencé par ExManagerCamera::InputAction().

00104 {m_ShowInfo=state;}

void ExCObject3D::SetTarget float  x,
float  y,
float  z
[inline, inherited]
 

Définition à la ligne 131 du fichier ExCObject3D.h.

Références ExCObject3D::m_Target.

00131 {m_Target=ExCVec3D(x,y,z);}

void ExCObject3D::SetTarget ExCVec3D  Target  )  [inline, inherited]
 

Définition à la ligne 130 du fichier ExCObject3D.h.

Références ExCObject3D::m_Target.

Référencé par ExManagerCollision::ResolveCollision().

00130 {m_Target=Target;}

void ExCHeightMap::SetTexture2Repetition float  level  )  [inline]
 

Définition à la ligne 137 du fichier ExCHeightMap.h.

Références m_Texture2Repetition.

00137 {m_Texture2Repetition=level;}

void ExCHeightMap::SetTextureCoord float  CoordU,
float  CoordV
[protected]
 

Définition à la ligne 233 du fichier ExCHeightMap.cpp.

Références Guard, m_VecTexture, ManagerTexture, ExManagerTexture::SetTextureCoord(), SetTextureCoord(), et UnGuard.

Référencé par RenderHeightMap(), et SetTextureCoord().

00234 {
00235 Guard(void ExCHeightMap::SetTextureCoord(float CoordU,float CoordV))
00236         for(unsigned int i=0;i<m_VecTexture.size();i++){ManagerTexture->SetTextureCoord(i,CoordU,CoordV);}
00237 UnGuard
00238 }

void ExCHeightMap::SetTextureLand unsigned int  Number,
std::string  FileName
 

Définition à la ligne 123 du fichier ExCHeightMap.cpp.

Références Guard, m_VecTexture, SetTextureLand(), et UnGuard.

Référencé par Load(), et SetTextureLand().

00124 {
00125 Guard(void ExCHeightMap::SetTextureLand(unsigned int Number,std::string FileName))
00126         if (m_VecTexture.size()>Number)
00127         {
00128                 m_VecTexture.at(Number)=FileName;
00129         }
00130 UnGuard
00131 }

void ExCHeightMap::SetTextureMap std::string  FileName  )  [inline]
 

Définition à la ligne 121 du fichier ExCHeightMap.h.

Références m_TextureMap.

00121 {m_TextureMap=FileName;}

void ExCObject::SetType std::string  Type  )  [inline, inherited]
 

Définition à la ligne 99 du fichier ExCObject.h.

Références ExCObject::m_ObjectType.

Référencé par ExCAnimation::ExCAnimation(), ExCCamera::ExCCamera(), ExCCameraChase::ExCCameraChase(), ExCCameraFirst::ExCCameraFirst(), ExCCameraFlight::ExCCameraFlight(), ExCCameraFree::ExCCameraFree(), ExCEntity::ExCEntity(), ExCFont::ExCFont(), ExCGizmo::ExCGizmo(), ExCGizmoElipsoide::ExCGizmoElipsoide(), ExCGizmoFace::ExCGizmoFace(), ExCGizmoLine::ExCGizmoLine(), ExCGizmoLineBezier::ExCGizmoLineBezier(), ExCGizmoPoint::ExCGizmoPoint(), ExCGizmoRectangle::ExCGizmoRectangle(), ExCGizmoSphere::ExCGizmoSphere(), ExCGroupEntity::ExCGroupEntity(), ExCInterface::ExCInterface(), ExCLight::ExCLight(), ExCLoadingAnimation::ExCLoadingAnimation(), ExCMesh::ExCMesh(), ExCMesh3ds::ExCMesh3ds(), ExCMeshBilboarded::ExCMeshBilboarded(), ExCMeshFireEffect::ExCMeshFireEffect(), ExCMeshLOD3ds::ExCMeshLOD3ds(), ExCMeshSauronEffect::ExCMeshSauronEffect(), ExCMeshSmogEffect::ExCMeshSmogEffect(), ExCMeshSummonCylenderEffect::ExCMeshSummonCylenderEffect(), ExCMeshWaterDisqueEffect::ExCMeshWaterDisqueEffect(), ExCMeshWaterEffect::ExCMeshWaterEffect(), ExCModel3DS::ExCModel3DS(), ExCModelASC::ExCModelASC(), ExCModelEXM::ExCModelEXM(), ExCModelMD2::ExCModelMD2(), ExCModelMD3::ExCModelMD3(), ExCModelOBJ::ExCModelOBJ(), ExCObject::ExCObject(), ExCObject2D::ExCObject2D(), ExCObject3D::ExCObject3D(), ExCParticule::ExCParticule(), ExCParticuleLine::ExCParticuleLine(), ExCParticulePoint::ExCParticulePoint(), ExCParticuleTexture::ExCParticuleTexture(), ExCSound::ExCSound(), ExCSpirit::ExCSpirit(), ExCSystemeParticule::ExCSystemeParticule(), ExCTexture::ExCTexture(), ExCVertexProgram::ExCVertexProgram(), ExCWindowContent::ExCWindowContent(), ExCWindowControl::ExCWindowControl(), ExCWindowTitleBar::ExCWindowTitleBar(), ExCWindowObject::Init(), ExCWindowMessageBoxQuestion::Init(), ExCWindowMessageBox::Init(), ExCWindowLabel::Init(), ExCWindowEditLabel::Init(), ExCWindowButtonSwitchOnMouse::Init(), ExCWindowButtonSwitch::Init(), ExCWindowButton::Init(), ExCWindow::Init(), et ExManagerId::RecordObject().

00099 {m_ObjectType = Type;}

void ExCObject3D::SetVelocity float  x,
float  y,
float  z
[inline, inherited]
 

Définition à la ligne 119 du fichier ExCObject3D.h.

Références ExCObject3D::m_Velocity.

00119 {m_Velocity=ExCVec3D(x,y,z);}

void ExCObject3D::SetVelocity ExCVec3D  Velocity  )  [inline, inherited]
 

Définition à la ligne 118 du fichier ExCObject3D.h.

Références ExCObject3D::m_Velocity.

Référencé par ExManagerCollision::ResolveCollision().

00118 {m_Velocity=Velocity;}

void ExCObject3D::SetVisibleState bool  state  )  [inline, inherited]
 

Définition à la ligne 145 du fichier ExCObject3D.h.

Références ExCObject3D::m_Visible.

Référencé par ExCModel3DS::ExCModel3DS(), ExCModelMD2::ExCModelMD2(), ExManagerEntity::InputAction(), et ExCModel3DS::InputAction().

00145 {m_Visible=state;}

void ExCObject3D::ShowInfo void   )  [inherited]
 

Redéfinie dans ExCModelMD2.

Définition à la ligne 55 du fichier ExCObject3D.cpp.

Références ExCObject::GetId(), ExCObject::GetName(), ExCVec3D::GetX(), ExCVec3D::GetY(), ExCVec3D::GetZ(), Guard, ExCObject3D::m_Acceleration, ExCObject3D::m_Gravity, ExCObject3D::m_Life, ExCObject3D::m_Position, ExCObject3D::m_Velocity, ExCObject3D::ShowInfo(), UnGuard, et ExNihilo::WriteToScreen().

Référencé par ExCObject3D::ShowInfo().

00056 {
00057 Guard(void ExCObject3D::ShowInfo(void))
00058         
00059         char *CIdName;
00060         char *CPosition;
00061         char *CVelocity;
00062         char *CAcceleration;
00063         char *CGravity;
00064         char *CLife;
00065 
00066         CIdName= new char[strlen("Name : Id:")+strlen(GetName().data())+7];
00067         sprintf(CIdName,"Name :%s Id:%ld",GetName(),GetId());
00068 
00069         CPosition= new char[strlen("Position X: Y: Z:")+30];
00070         sprintf(CPosition,"Position X:%f Y:%f Z:%f",m_Position.GetX(),m_Position.GetY(),m_Position.GetZ());
00071 
00072         CVelocity= new char[strlen("Velocity X: Y: Z:")+30];
00073         sprintf(CVelocity,"Velocity X:%f Y:%f Z:%f",m_Velocity.GetX(),m_Velocity.GetY(),m_Velocity.GetZ());
00074 
00075         CGravity= new char[strlen("Gravity X: Y: Z:")+30];
00076         sprintf(CGravity,"Gravity X:%f Y:%f Z:%f",m_Gravity.GetX(),m_Gravity.GetY(),m_Gravity.GetZ());
00077 
00078         CAcceleration= new char[strlen("Acceleration X: Y: Z:")+30];
00079         sprintf(CAcceleration,"Acceleration X:%f Y:%f Z:%f",m_Acceleration.GetX(),m_Acceleration.GetY(),m_Acceleration.GetZ());
00080 
00081         CLife= new char[strlen("Life :")+10];
00082         sprintf(CLife,"Life :%f",m_Life);
00083 
00084                 ExNihilo::WriteToScreen(500,500,CIdName);       
00085                 ExNihilo::WriteToScreen(500,515,CPosition);
00086                 ExNihilo::WriteToScreen(500,530,CVelocity);     
00087                 ExNihilo::WriteToScreen(500,545,CAcceleration); 
00088                 ExNihilo::WriteToScreen(500,560,CGravity);      
00089                 ExNihilo::WriteToScreen(500,575,CLife); 
00090                 std::cout<<CIdName<<std::endl;  
00091                 std::cout<<CPosition<<std::endl;        
00092                 std::cout<<CVelocity<<std::endl;                
00093                 std::cout<<CAcceleration<<std::endl;            
00094                 std::cout<<CGravity<<std::endl;         
00095                 std::cout<<CLife<<std::endl;            
00096 
00097         delete CIdName;
00098         delete CPosition;
00099         delete CVelocity;
00100         delete CAcceleration;
00101         delete CGravity;
00102         delete CLife;   
00103 UnGuard
00104 }  


Documentation des données imbriquées

std::ostrstream* ExCObject::Consol [inherited]
 

Redéfinie dans ExCInterface, et ExCSystemeParticule.

Définition à la ligne 75 du fichier ExCObject.h.

Référencé par ExCTexture::LoadFile(), et ExCObject::SetFlux().

ExCFluxAction* ExCObject::FluxAction [inherited]
 

Définition à la ligne 76 du fichier ExCObject.h.

Référencé par ExCAnimation::Draw(), et ExCObject::SetFlux().

float ExCHeightMap::g_DetailScale [protected]
 

Définition à la ligne 81 du fichier ExCHeightMap.h.

BYTE* ExCHeightMap::g_HeightMap [protected]
 

Définition à la ligne 79 du fichier ExCHeightMap.h.

Référencé par Height(), et Load().

ExCVec3D ExCObject3D::m_Acceleration [protected, inherited]
 

Redéfinie dans ExCParticule.

Définition à la ligne 71 du fichier ExCObject3D.h.

Référencé par ExCModel::Draw(), ExCObject3D::ExCObject3D(), ExCObject3D::GetAcceleration(), ExCModelMD2::InputAction(), ExCModel3DS::InputAction(), ExCObject3D::SetAcceleration(), ExCObject3D::ShowInfo(), et ExCModelMD2::ShowInfo().

ExCVec3D ExCObject3D::m_Angle [inherited]
 

Définition à la ligne 86 du fichier ExCObject3D.h.

Référencé par ExCSystemeParticule::Draw(), ExCModel::Draw(), ExCGroupEntity::Draw(), ExCEntity::Draw(), ExCCameraFlight::Draw(), ExCCameraFirst::Draw(), ExCCameraChase::Draw(), ExCCamera::Draw(), ExCAnimation::Draw(), ExCCamera::DrawCameraInfo(), ExCObject3D::ExCObject3D(), ExCObject3D::GetAngleX(), ExCObject3D::GetAngleY(), ExCObject3D::GetAngleZ(), ExManagerCamera::InputAction(), ExCModelMD2::InputAction(), ExCModel3DS::InputAction(), ExCGroupEntity::LoadFile(), ExCEntity::LoadFile(), ExCAnimation::LoadFile(), ExManagerEntity::LoadGroupe(), ExCModelMD2::Process(), ExCModel3DS::Process(), ExCCameraFlight::Process(), ExCCamera::Process(), ExManagerEntity::Reload(), ExCLight::Reset(), ExCObject3D::Rotate(), ExCObject3D::SetAngleX(), ExCObject3D::SetAngleY(), ExCObject3D::SetAngleZ(), et ExCModelMD2::ShowInfo().

bool ExCHeightMap::m_Array [protected]
 

Définition à la ligne 102 du fichier ExCHeightMap.h.

Référencé par BuildArray().

bool ExCObject3D::m_CurrentObject [protected, inherited]
 

Définition à la ligne 79 du fichier ExCObject3D.h.

Référencé par ExCObject3D::ExCObject3D(), et ExCObject3D::SetCurrentState().

bool ExCHeightMap::m_Fog [protected]
 

Définition à la ligne 89 du fichier ExCHeightMap.h.

Référencé par ExCHeightMap(), GetFogState(), Load(), RenderHeightMap(), et SetFogState().

float ExCHeightMap::m_FogDepthLevel [protected]
 

Définition à la ligne 90 du fichier ExCHeightMap.h.

Référencé par DereaseFogDepthLevel(), ExCHeightMap(), IncreaseFogDepthLevel(), Load(), RenderHeightMap(), et SetFogDepthLevel().

ExCVec3D ExCObject3D::m_Gravity [protected, inherited]
 

Redéfinie dans ExCParticule.

Définition à la ligne 69 du fichier ExCObject3D.h.

Référencé par ExCModel::Draw(), ExCObject3D::ExCObject3D(), ExCObject3D::GetGravity(), ExCObject3D::SetGravity(), ExCObject3D::ShowInfo(), et ExCModelMD2::ShowInfo().

double ExCObject3D::m_Life [protected, inherited]
 

Définition à la ligne 74 du fichier ExCObject3D.h.

Référencé par ExCObject3D::ExCObject3D(), ExCObject3D::ShowInfo(), et ExCModelMD2::ShowInfo().

int ExCHeightMap::m_MapDetailLevel [protected]
 

Définition à la ligne 84 du fichier ExCHeightMap.h.

Référencé par BuildArray(), DereaseDetailLevel(), ExCHeightMap(), IncreaseDetailLevel(), Load(), RenderHeightMap(), et SetMapDetailLevel().

int ExCHeightMap::m_MapResolution [protected]
 

Définition à la ligne 85 du fichier ExCHeightMap.h.

Référencé par BuildArray(), ExCHeightMap(), Height(), IncreaseDetailLevel(), Load(), RenderHeightMap(), et SetMapResolution().

float ExCHeightMap::m_MapScale [protected]
 

Définition à la ligne 87 du fichier ExCHeightMap.h.

Référencé par Draw(), ExCHeightMap(), et Load().

float ExCObject3D::m_Mass [protected, inherited]
 

Redéfinie dans ExCParticule.

Définition à la ligne 77 du fichier ExCObject3D.h.

Référencé par ExCObject3D::ExCObject3D().

std::string ExCObject::m_ObjectFileName [protected, inherited]
 

Définition à la ligne 72 du fichier ExCObject.h.

Référencé par ExCObject::GetFileName(), ExCTexture::LoadFile(), et ExCObject::SetFileName().

ExNihilo::ExId ExCObject::m_ObjectId [protected, inherited]
 

Définition à la ligne 70 du fichier ExCObject.h.

Référencé par ExCObject::GetId(), et ExCObject::SetId().

std::string ExCObject::m_ObjectName [protected, inherited]
 

Définition à la ligne 71 du fichier ExCObject.h.

Référencé par ExCObject::GetName(), ExCGroupEntity::LoadFile(), ExCEntity::LoadFile(), ExCTexture::SetName(), et ExCObject::SetName().

std::string ExCObject::m_ObjectType [protected, inherited]
 

Définition à la ligne 73 du fichier ExCObject.h.

Référencé par ExCObject::GetType(), et ExCObject::SetType().

ExCVec3D ExCObject3D::m_OldPosition [inherited]
 

Définition à la ligne 83 du fichier ExCObject3D.h.

Référencé par ExCParticule::Draw(), ExCModelMD2::Draw(), ExCObject3D::GetOldPosition(), et ExCObject3D::SetOldPosition().

ExCVec3D ExCObject3D::m_OldTarget [inherited]
 

Définition à la ligne 85 du fichier ExCObject3D.h.

Référencé par ExCObject3D::GetOldTarget(), et ExCObject3D::SetOldTarget().

ExCVec3D ExCObject3D::m_Position [inherited]
 

Redéfinie dans ExCParticule.

Définition à la ligne 82 du fichier ExCObject3D.h.

Référencé par ExCSystemeParticule::CalculateEmitPosition(), ExCModelMD2::Draw(), ExCModel3DS::Draw(), ExCModel::Draw(), ExCMeshSmogEffect::Draw(), ExCMeshLOD3ds::Draw(), ExCMeshFireEffect::Draw(), ExCMeshBilboarded::Draw(), ExCLight::Draw(), Draw(), ExCGroupEntity::Draw(), ExCEntity::Draw(), ExCCameraFlight::Draw(), ExCCameraFirst::Draw(), ExCCameraChase::Draw(), ExCCamera::Draw(), ExCAnimation::Draw(), ExCCamera::DrawCameraGizmo(), ExCCamera::DrawCameraInfo(), ExCObject3D::ExCObject3D(), ExCModel::Forward(), ExCObject3D::GetPosition(), ExCLight::GetPositionX(), ExCLight::GetPositionY(), ExCLight::GetPositionZ(), ExManagerCamera::InputAction(), ExCModelMD2::InputAction(), ExCModel3DS::InputAction(), Load(), ExCGroupEntity::LoadFile(), ExCEntity::LoadFile(), ExManagerEntity::LoadGroupe(), ExCModelMD2::Process(), ExCModel3DS::Process(), ExCLight::Reset(), ExCObject3D::SetPosition(), ExCLight::SetPosition(), ExCLight::SetPositionX(), ExCLight::SetPositionY(), ExCLight::SetPositionZ(), ExCObject3D::ShowInfo(), et ExCModelMD2::ShowInfo().

double ExCObject3D::m_RefreshTime [protected, inherited]
 

Définition à la ligne 72 du fichier ExCObject3D.h.

Référencé par ExCObject3D::ExCObject3D().

bool ExCObject3D::m_ShowInfo [protected, inherited]
 

Définition à la ligne 78 du fichier ExCObject3D.h.

Référencé par ExCCamera::ExCCamera(), ExCObject3D::ExCObject3D(), ExCObject3D::GetShowInfoState(), et ExCObject3D::SetShowInfoState().

float ExCObject3D::m_Size [protected, inherited]
 

Redéfinie dans ExCMeshBilboarded, ExCMeshFireEffect, ExCMeshWaterEffect, ExCMeshSmogEffect, et ExCParticule.

Définition à la ligne 76 du fichier ExCObject3D.h.

Référencé par ExCObject3D::ExCObject3D(), et ExCSkyBox::ExCSkyBox().

int ExCObject3D::m_speed [inherited]
 

Définition à la ligne 90 du fichier ExCObject3D.h.

Référencé par ExCModelMD2::Draw(), ExCCameraFlight::Draw(), ExCCamera::Draw(), ExCCamera::ExCCamera(), ExCModelMD2::ExCModelMD2(), et ExManagerCamera::InputAction().

float ExCObject3D::m_SphereRadius [inherited]
 

Définition à la ligne 91 du fichier ExCObject3D.h.

Référencé par ExCModelMD2::BuildSphere(), ExCModelMD2::ExCModelMD2(), et ExManagerCollision::ResolveCollision().

double ExCObject3D::m_StartingLife [protected, inherited]
 

Définition à la ligne 75 du fichier ExCObject3D.h.

Référencé par ExCObject3D::ExCObject3D().

ExCVec3D ExCObject3D::m_Target [inherited]
 

Définition à la ligne 84 du fichier ExCObject3D.h.

Référencé par ExCModel::Draw(), ExCCameraFlight::Draw(), ExCCameraFirst::Draw(), ExCCameraChase::Draw(), ExCCamera::Draw(), ExCCamera::DrawCameraGizmo(), ExCCamera::DrawCameraInfo(), ExCModel::Forward(), ExCObject3D::GetTarget(), ExCLight::GetTargetX(), ExCLight::GetTargetY(), ExCLight::GetTargetZ(), ExManagerCamera::InputAction(), ExCLight::Reset(), ExCObject3D::SetTarget(), ExCLight::SetTarget(), ExCLight::SetTargetX(), ExCLight::SetTargetY(), ExCLight::SetTargetZ(), et ExCModelMD2::ShowInfo().

float ExCHeightMap::m_Texture2Repetition [protected]
 

Définition à la ligne 92 du fichier ExCHeightMap.h.

Référencé par DereaseTexture2Repetition(), ExCHeightMap(), IncreaseTexture2Repetition(), RenderArray(), RenderHeightMap(), et SetTexture2Repetition().

std::string ExCHeightMap::m_TextureMap [protected]
 

Définition à la ligne 82 du fichier ExCHeightMap.h.

Référencé par Load(), et SetTextureMap().

ExCVec3D ExCObject3D::m_Up [protected, inherited]
 

Définition à la ligne 67 du fichier ExCObject3D.h.

Référencé par ExCCameraFlight::Draw(), ExCCameraChase::Draw(), et ExCCamera::Draw().

std::vector<std::string> ExCHeightMap::m_VecTexture [protected]
 

Définition à la ligne 94 du fichier ExCHeightMap.h.

Référencé par Load(), RenderArray(), RenderHeightMap(), SetTextureCoord(), et SetTextureLand().

ExCVec3D ExCObject3D::m_Velocity [protected, inherited]
 

Redéfinie dans ExCParticule.

Définition à la ligne 68 du fichier ExCObject3D.h.

Référencé par ExCModel::Draw(), ExCModelMD2::ExCModelMD2(), ExCObject3D::ExCObject3D(), ExCObject3D::GetVelocity(), ExCModelMD2::InputAction(), ExCModel3DS::InputAction(), ExCObject3D::SetVelocity(), ExCObject3D::ShowInfo(), et ExCModelMD2::ShowInfo().

bool ExCObject3D::m_Visible [inherited]
 

Définition à la ligne 92 du fichier ExCObject3D.h.

Référencé par ExCModelMD2::Draw(), ExCModel3DS::Draw(), ExCMeshWaterDisqueEffect::Draw(), ExCMeshSummonCylenderEffect::Draw(), ExCMeshSmogEffect::Draw(), ExCMeshSauronEffect::Draw(), ExCMeshLOD3ds::Draw(), ExCMeshFireEffect::Draw(), ExCMeshBilboarded::Draw(), ExCMesh3ds::Draw(), ExCMesh::Draw(), ExCGroupEntity::Draw(), ExCGizmoSphere::Draw(), ExCGizmoLineBezier::Draw(), ExCEntity::Draw(), ExCEntity::ExCEntity(), ExCGroupEntity::ExCGroupEntity(), ExCObject3D::GetVisibleState(), ExCMesh3ds::Load(), ExCGroupEntity::LoadFile(), ExCEntity::LoadFile(), et ExCObject3D::SetVisibleState().

ExManagerFog* ExCHeightMap::ManagerFog [protected]
 

Définition à la ligne 77 du fichier ExCHeightMap.h.

Référencé par RenderHeightMap(), et SetManagerFog().

ExManagerTexture* ExCHeightMap::ManagerTexture [protected]
 

Définition à la ligne 76 du fichier ExCHeightMap.h.

Référencé par Load(), RenderArray(), RenderHeightMap(), SetManagerTexture(), et SetTextureCoord().

float* ExCHeightMap::TabTextures [protected]
 

Définition à la ligne 98 du fichier ExCHeightMap.h.

Référencé par BuildArray(), et RenderArray().

float* ExCHeightMap::TabVertices [protected]
 

Définition à la ligne 97 du fichier ExCHeightMap.h.

Référencé par BuildArray(), et RenderArray().


La documentation associée à cette classe a été générée à partir des fichiers suivants :
Généré le Tue Oct 28 12:43:47 2003 pour ExNihilo par doxygen 1.3.4