summaryrefslogtreecommitdiffstats
path: root/src/modfile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modfile.cpp')
-rw-r--r--src/modfile.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/modfile.cpp b/src/modfile.cpp
index fbcbe1a..996fc57 100644
--- a/src/modfile.cpp
+++ b/src/modfile.cpp
@@ -1,4 +1,4 @@
-// * This file is part of the COLOBOT source code
+// * This file is part of the COLOBOT source code
// * Copyright (C) 2001-2008, Daniel ROUX & EPSITEC SA, www.epsitec.ch
// *
// * This program is free software: you can redistribute it and/or modify
@@ -12,7 +12,7 @@
// * GNU General Public License for more details.
// *
// * You should have received a copy of the GNU General Public License
-// * along with this program. If not, see http://www.gnu.org/licenses/.
+// * along with this program. If not, see http://www.gnu.org/licenses/.// modfile.cpp
#define STRICT
#define D3D_OVERLOADS
@@ -60,7 +60,7 @@ CModFile::~CModFile()
-// Cr�e un triangle dans la structure interne.
+// Crée un triangle dans la structure interne.
BOOL CModFile::CreateTriangle(D3DVECTOR p1, D3DVECTOR p2, D3DVECTOR p3,
float min, float max)
@@ -442,25 +442,25 @@ BOOL CModFile::AddModel(char *filename, int first, BOOL bEdit, BOOL bMeta)
if ( !bEdit )
{
- limit[0] = m_engine->RetLimitLOD(0); // fronti�re AB selon config
- limit[1] = m_engine->RetLimitLOD(1); // fronti�re BC selon config
+ limit[0] = m_engine->RetLimitLOD(0); // frontière AB selon config
+ limit[1] = m_engine->RetLimitLOD(1); // frontière BC selon config
- // Fronti�res standard -> config.
+ // Frontières standard -> config.
for ( i=first ; i<m_triangleUsed ; i++ )
{
if ( m_triangleTable[i].min == 0.0f &&
- m_triangleTable[i].max == 100.0f ) // r�solution A ?
+ m_triangleTable[i].max == 100.0f ) // résolution A ?
{
m_triangleTable[i].max = limit[0];
}
else if ( m_triangleTable[i].min == 100.0f &&
- m_triangleTable[i].max == 200.0f ) // r�solution B ?
+ m_triangleTable[i].max == 200.0f ) // résolution B ?
{
m_triangleTable[i].min = limit[0];
m_triangleTable[i].max = limit[1];
}
else if ( m_triangleTable[i].min == 200.0f &&
- m_triangleTable[i].max == 1000000.0f ) // r�solution C ?
+ m_triangleTable[i].max == 1000000.0f ) // résolution C ?
{
m_triangleTable[i].min = limit[1];
}
@@ -512,7 +512,7 @@ BOOL CModFile::WriteModel(char *filename)
}
-// Cr�e l'objet dans le moteur 3D.
+// Crée l'objet dans le moteur 3D.
BOOL CModFile::CreateEngineObject(int objRank, int addState)
{
@@ -633,7 +633,7 @@ void CModFile::Mirror()
}
-// Retourne le pointeur � la liste de triangles.
+// Retourne le pointeur à la liste de triangles.
void CModFile::SetTriangleUsed(int total)
{