summaryrefslogtreecommitdiffstats
path: root/src/model.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/model.cpp')
-rw-r--r--src/model.cpp360
1 files changed, 180 insertions, 180 deletions
diff --git a/src/model.cpp b/src/model.cpp
index 0f46019..0780e43 100644
--- a/src/model.cpp
+++ b/src/model.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/.// model.cpp
#define STRICT
#define D3D_OVERLOADS
@@ -127,8 +127,8 @@ CModel::~CModel()
}
-// Il faut appeler cette proc�dure avant de modifier interactivement
-// le mod�le.
+// Il faut appeler cette procédure avant de modifier interactivement
+// le modèle.
void CModel::StartUserAction()
{
@@ -232,8 +232,8 @@ void CModel::StartUserAction()
UpdateInfoText();
}
-// Il faut appeler cette proc�dure apr�s avoir modifi� interactivement
-// le mod�le.
+// Il faut appeler cette procédure après avoir modifié interactivement
+// le modèle.
void CModel::StopUserAction()
{
@@ -262,7 +262,7 @@ void CModel::StopUserAction()
}
-// Met � jour les valeurs �ditables pour le mapping des textures.
+// Met à jour les valeurs éditables pour le mapping des textures.
void CModel::PutTextureValues()
{
@@ -303,7 +303,7 @@ void CModel::PutTextureValues()
}
}
-// Prend les valeurs �ditables pour le mapping des textures.
+// Prend les valeurs éditables pour le mapping des textures.
void CModel::GetTextureValues()
{
@@ -345,7 +345,7 @@ void CModel::GetTextureValues()
}
-// Donne le nom du mod�le.
+// Donne le nom du modèle.
void CModel::GetModelName(char *buffer)
{
@@ -364,7 +364,7 @@ void CModel::GetModelName(char *buffer)
}
}
-// Donne le nom du mod�le.
+// Donne le nom du modèle.
void CModel::GetDXFName(char *buffer)
{
@@ -383,7 +383,7 @@ void CModel::GetDXFName(char *buffer)
}
}
-// Donne le nom du mod�le.
+// Donne le nom du modèle.
void CModel::GetScriptName(char *buffer)
{
@@ -402,7 +402,7 @@ void CModel::GetScriptName(char *buffer)
}
}
-// Indique si l'�dition du nom a le focus.
+// Indique si l'édition du nom a le focus.
BOOL CModel::IsEditFocus()
{
@@ -442,7 +442,7 @@ BOOL CModel::IsEditFocus()
}
-// Gestion d'un �v�nement.
+// Gestion d'un événement.
BOOL CModel::EventProcess(const Event &event)
{
@@ -474,12 +474,12 @@ BOOL CModel::EventProcess(const Event &event)
m_mode = 3;
UpdateInfoText();
}
- if ( event.param == VK_ADD ) // plus pav� num ?
+ if ( event.param == VK_ADD ) // plus pavé num ?
{
if ( event.keyState & KS_SHIFT ) CurrentSelect(TRUE);
CurrentSearchNext(+1, (event.keyState & KS_CONTROL));
}
- if ( event.param == VK_SUBTRACT ) // moins pav� num ?
+ if ( event.param == VK_SUBTRACT ) // moins pavé num ?
{
if ( event.keyState & KS_SHIFT ) CurrentSelect(TRUE);
CurrentSearchNext(-1, (event.keyState & KS_CONTROL));
@@ -719,7 +719,7 @@ BOOL CModel::EventProcess(const Event &event)
case EVENT_BUTTON3: // read ?
GetModelName(s);
- m_modFile->ReadModel(s, TRUE, FALSE); // lit avec fronti�res standard
+ m_modFile->ReadModel(s, TRUE, FALSE); // lit avec frontières standard
DeselectAll();
CurrentInit();
EventFrame(event);
@@ -729,7 +729,7 @@ BOOL CModel::EventProcess(const Event &event)
case EVENT_BUTTON4: // add ?
GetModelName(s);
first = m_modFile->RetTriangleUsed();
- m_modFile->AddModel(s, first, TRUE, FALSE); // lit avec fronti�res standard
+ m_modFile->AddModel(s, first, TRUE, FALSE); // lit avec frontières standard
last = m_modFile->RetTriangleUsed();
SelectZone(first, last);
EventFrame(event);
@@ -775,7 +775,7 @@ BOOL CModel::EventProcess(const Event &event)
}
-// Anime le mod�le.
+// Anime le modèle.
BOOL CModel::EventFrame(const Event &event)
{
@@ -842,7 +842,7 @@ BOOL CModel::EventFrame(const Event &event)
if ( m_bDisplayTransparent )
{
matTrans = m_triangleTable[i].material;
- matTrans.diffuse.a = 0.1f; // tr�s transparent
+ matTrans.diffuse.a = 0.1f; // très transparent
pMat = &matTrans;
state = D3DSTATETD;
}
@@ -864,7 +864,7 @@ BOOL CModel::EventFrame(const Event &event)
0.0f, 1000000.0f, FALSE);
}
- if ( m_bDisplayTransparent && // dessine l'int�rieur ?
+ if ( m_bDisplayTransparent && // dessine l'intérieur ?
i >= m_triangleSel1 &&
i <= m_triangleSel2 )
{
@@ -937,7 +937,7 @@ BOOL CModel::SetVertex(int rank, D3DVERTEX2 &vertex)
return FALSE;
}
-// Adouci les normales des triangles s�lection�s.
+// Adouci les normales des triangles sélectionés.
void CModel::SmoothSelect()
{
@@ -1004,7 +1004,7 @@ void CModel::SmoothSelect()
}
-// Durci les normales des triangles s�lection�s.
+// Durci les normales des triangles sélectionés.
void CModel::PlaneSelect()
{
@@ -1040,7 +1040,7 @@ void CModel::PlaneSelect()
}
-// Change la couleur des triangles s�lection�s.
+// Change la couleur des triangles sélectionés.
void CModel::ColorSelect()
{
@@ -1061,7 +1061,7 @@ void CModel::ColorSelect()
SelectTerm();
}
-// Change l'�tat des triangles s�lection�s.
+// Change l'état des triangles sélectionés.
void CModel::StateSelect()
{
@@ -1080,7 +1080,7 @@ void CModel::StateSelect()
SelectTerm();
}
-// D�place la s�lection.
+// Déplace la sélection.
void CModel::MoveSelect(D3DVECTOR move)
{
@@ -1118,7 +1118,7 @@ void CModel::MoveSelect(D3DVECTOR move)
OperSelect(move, m_oper);
}
-// D�place la s�lection.
+// Déplace la sélection.
void CModel::OperSelect(D3DVECTOR move, char oper)
{
@@ -1275,7 +1275,7 @@ void CModel::ReadScript(char *filename)
OperSelect(move, 'Z');
move = OpDir(line, "rot");
- move *= PI/180.0f; // degr�s -> radians
+ move *= PI/180.0f; // degrés -> radians
OperSelect(move, 'R');
move = OpDir(line, "pos");
@@ -1288,7 +1288,7 @@ void CModel::ReadScript(char *filename)
-// Calcule la bbox des triangles s�lectionn�s.
+// Calcule la bbox des triangles sélectionnés.
void CModel::BBoxCompute(D3DVECTOR &min, D3DVECTOR &max)
{
@@ -1318,7 +1318,7 @@ void CModel::BBoxCompute(D3DVECTOR &min, D3DVECTOR &max)
}
}
-// Retourne le centre de gravit� de la s�lection.
+// Retourne le centre de gravité de la sélection.
D3DVECTOR CModel::RetSelectCDG()
{
@@ -1333,7 +1333,7 @@ D3DVECTOR CModel::RetSelectCDG()
return cdg;
}
-// Retourne le vecteur normal de la s�lection.
+// Retourne le vecteur normal de la sélection.
D3DVECTOR CModel::RetSelectNormal()
{
@@ -1356,7 +1356,7 @@ D3DVECTOR CModel::RetSelectNormal()
return n;
}
-// Mappe une texture sur les triangles s�lectionn�s.
+// Mappe une texture sur les triangles sélectionnés.
BOOL CModel::IsMappingSelectPlausible(D3DMaping D3Dmode)
{
@@ -1437,7 +1437,7 @@ BOOL CModel::IsMappingSelectPlausible(D3DMaping D3Dmode)
return TRUE;
}
-// Mappe une texture sur les triangles s�lectionn�s.
+// Mappe une texture sur les triangles sélectionnés.
void CModel::MappingSelect(int mode, int rotate, BOOL bMirrorX, BOOL bMirrorY,
FPOINT ti, FPOINT ts, char *texName)
@@ -1519,7 +1519,7 @@ void CModel::MappingSelect(int mode, int rotate, BOOL bMirrorX, BOOL bMirrorY,
Swap(ti.x, ts.x);
}
- if ( !bMirrorY ) // test invers� !
+ if ( !bMirrorY ) // test inversé !
{
Swap(ti.y, ts.y);
}
@@ -1556,7 +1556,7 @@ void CModel::MappingSelect(int mode, int rotate, BOOL bMirrorX, BOOL bMirrorY,
SelectTerm();
}
-// Mappe une texture sur les triangles s�lectionn�s.
+// Mappe une texture sur les triangles sélectionnés.
void CModel::MappingSelectSpherical(int mode, int rotate, BOOL bMirrorX, BOOL bMirrorY,
FPOINT ti, FPOINT ts, char *texName)
@@ -1576,7 +1576,7 @@ void CModel::MappingSelectSpherical(int mode, int rotate, BOOL bMirrorX, BOOL bM
Swap(ti.x, ts.x);
}
- if ( !bMirrorY ) // test invers� !
+ if ( !bMirrorY ) // test inversé !
{
Swap(ti.y, ts.y);
}
@@ -1647,7 +1647,7 @@ D3DVECTOR CModel::RetMappingCenter(D3DVECTOR pos, D3DVECTOR min)
return center;
}
-// Mappe une texture sur les triangles s�lectionn�s.
+// Mappe une texture sur les triangles sélectionnés.
void CModel::MappingSelectCylindrical(int mode, int rotate, BOOL bMirrorX, BOOL bMirrorY,
FPOINT ti, FPOINT ts, char *texName)
@@ -1667,7 +1667,7 @@ void CModel::MappingSelectCylindrical(int mode, int rotate, BOOL bMirrorX, BOOL
Swap(ti.x, ts.x);
}
- if ( !bMirrorY ) // test invers� !
+ if ( !bMirrorY ) // test inversé !
{
Swap(ti.y, ts.y);
}
@@ -1749,7 +1749,7 @@ void CModel::MappingSelectCylindrical(int mode, int rotate, BOOL bMirrorX, BOOL
}
-// Mappe une texture sur les triangles s�lectionn�s.
+// Mappe une texture sur les triangles sélectionnés.
void CModel::MappingSelectFace(int mode, int rotate, BOOL bMirrorX, BOOL bMirrorY,
FPOINT ti, FPOINT ts, char *texName)
@@ -1769,7 +1769,7 @@ void CModel::MappingSelectFace(int mode, int rotate, BOOL bMirrorX, BOOL bMirror
Swap(ti.x, ts.x);
}
- if ( !bMirrorY ) // test invers� !
+ if ( !bMirrorY ) // test inversé !
{
Swap(ti.y, ts.y);
}
@@ -1821,7 +1821,7 @@ void CModel::MappingSelectFace(int mode, int rotate, BOOL bMirrorX, BOOL bMirror
}
-// Mappe une texture secondaire sur les triangles s�lectionn�s.
+// Mappe une texture secondaire sur les triangles sélectionnés.
void CModel::MappingSelect2(int texNum2, int subdiv,
int offsetU, int offsetV,
@@ -1899,7 +1899,7 @@ void CModel::MappingSelect2(int texNum2, int subdiv,
SelectTerm();
}
-// Mappe une texture secondaire � plat.
+// Mappe une texture secondaire à plat.
void CModel::MappingSelectPlane2(int mode, BOOL bMirrorX, BOOL bMirrorY)
{
@@ -1941,7 +1941,7 @@ void CModel::MappingSelectPlane2(int mode, BOOL bMirrorX, BOOL bMirrorY)
Swap(ti.x, ts.x);
}
- if ( !bMirrorY ) // test invers� !
+ if ( !bMirrorY ) // test inversé !
{
Swap(ti.y, ts.y);
}
@@ -1979,7 +1979,7 @@ void CModel::MappingSelectPlane2(int mode, BOOL bMirrorX, BOOL bMirrorY)
SelectTerm();
}
-// Mappe une texture sur les triangles s�lectionn�s.
+// Mappe une texture sur les triangles sélectionnés.
void CModel::MappingSelectSpherical2(BOOL bMirrorX, BOOL bMirrorY)
{
@@ -2002,7 +2002,7 @@ void CModel::MappingSelectSpherical2(BOOL bMirrorX, BOOL bMirrorY)
Swap(ti.x, ts.x);
}
- if ( !bMirrorY ) // test invers� !
+ if ( !bMirrorY ) // test inversé !
{
Swap(ti.y, ts.y);
}
@@ -2031,7 +2031,7 @@ void CModel::MappingSelectSpherical2(BOOL bMirrorX, BOOL bMirrorY)
SelectTerm();
}
-// Mappe une texture sur les triangles s�lectionn�s.
+// Mappe une texture sur les triangles sélectionnés.
void CModel::MappingSelectMagic2(BOOL bMirrorX, BOOL bMirrorY)
{
@@ -2050,7 +2050,7 @@ void CModel::MappingSelectMagic2(BOOL bMirrorX, BOOL bMirrorY)
Swap(ti.x, ts.x);
}
- if ( !bMirrorY ) // test invers� !
+ if ( !bMirrorY ) // test inversé !
{
Swap(ti.y, ts.y);
}
@@ -2138,7 +2138,7 @@ int CModel::SearchNext(int rank, int step)
return rank;
}
-// Cherche tous les triangles faisant partie du m�me plan.
+// Cherche tous les triangles faisant partie du même plan.
int CModel::SearchSamePlane(int first, int step)
{
@@ -2194,7 +2194,7 @@ void CModel::CurrentSearchNext(int step, BOOL bControl)
m_triangleSel2 = SearchSamePlane(m_triangleSel1, step);
}
}
- if ( step < 0 ) // en arri�re ?
+ if ( step < 0 ) // en arrière ?
{
m_triangleSel2 = SearchNext(m_triangleSel1, step);
if ( bControl )
@@ -2245,7 +2245,7 @@ void CModel::CurrentInit()
UpdateInfoText();
}
-// S�lectionne les triangles courants.
+// Sélectionne les triangles courants.
void CModel::CurrentSelect(BOOL bSelect)
{
@@ -2258,7 +2258,7 @@ void CModel::CurrentSelect(BOOL bSelect)
}
-// D�s�lectionne tous les triangles.
+// Désélectionne tous les triangles.
void CModel::DeselectAll()
{
@@ -2271,7 +2271,7 @@ void CModel::DeselectAll()
}
}
-// S�lectionne une zone.
+// Sélectionne une zone.
void CModel::SelectZone(int first, int last)
{
@@ -2290,7 +2290,7 @@ void CModel::SelectZone(int first, int last)
m_triangleSel2 = last-1;
}
-// S�lectionne tous les triangles.
+// Sélectionne tous les triangles.
void CModel::SelectAll()
{
@@ -2307,7 +2307,7 @@ void CModel::SelectAll()
}
}
-// D�s�lectionne tous les triangles.
+// Désélectionne tous les triangles.
void CModel::SelectTerm()
{
@@ -2329,7 +2329,7 @@ void CModel::SelectTerm()
DeselectAll();
}
-// S�lectionne les triangles courants.
+// Sélectionne les triangles courants.
void CModel::DefaultSelect()
{
@@ -2344,7 +2344,7 @@ void CModel::DefaultSelect()
-// Supprime tous les triangles s�lectionn�s.
+// Supprime tous les triangles sélectionnés.
void CModel::SelectDelete()
{
@@ -2390,7 +2390,7 @@ void CModel::Compress()
}
-// Change le min/max de tous les triangles s�lectionn�s.
+// Change le min/max de tous les triangles sélectionnés.
void CModel::MinMaxChange()
{
@@ -2419,7 +2419,7 @@ void CModel::InitView()
m_viewAngleV = 0.0f;
}
-// Initialise le point de vue pour voir les triangles s�lectionn�s.
+// Initialise le point de vue pour voir les triangles sélectionnés.
void CModel::InitViewFromSelect()
{
@@ -2452,7 +2452,7 @@ void CModel::InitViewFromSelect()
#endif
}
-// Met � jour les param�tres pour le point de vue.
+// Met à jour les paramètres pour le point de vue.
void CModel::UpdateView()
{
@@ -2467,7 +2467,7 @@ void CModel::UpdateView()
m_engine->SetRankView(0);
}
-// D�place le point de vue.
+// Déplace le point de vue.
void CModel::ViewMove(const Event &event, float speed)
{
@@ -2526,7 +2526,7 @@ void CModel::ViewMove(const Event &event, float speed)
-// Met � jour le texte d'informations.
+// Met à jour le texte d'informations.
void CModel::UpdateInfoText()
{
@@ -2585,47 +2585,47 @@ static int tablePartT[] = // lemt.tga
90, 0, 128, 28, // pivot trainer
128, 0, 192, 44, // coffre avant
128, 44, 192, 58, // callandre
- 128, 58, 192, 87, // coffre arri�re
- 128, 87, 192, 128, // callandre arri�re
- 128, 128, 192, 144, // sous-callandre arri�re
- 0, 128, 32, 152, // garde boue arri�re
+ 128, 58, 192, 87, // coffre arrière
+ 128, 87, 192, 128, // callandre arrière
+ 128, 128, 192, 144, // sous-callandre arrière
+ 0, 128, 32, 152, // garde boue arrière
0, 152, 32, 182, // garde boue milieu
0, 182, 32, 256, // garde boue avant
32, 128, 112, 176, // aile
- 224, 48, 232, 64, // tuy�re
- 192, 32, 224, 64, // feu sous r�acteur
+ 224, 48, 232, 64, // tuyère
+ 192, 32, 224, 64, // feu sous réacteur
224, 32, 256, 48, // pied
192, 64, 256, 128, // capteur
192, 128, 224, 176, // support pile
- 192, 216, 248, 248, // c�t� canon
- 220, 216, 222, 245, // c�t� canon
+ 192, 216, 248, 248, // côté canon
+ 220, 216, 222, 245, // côté canon
64, 176, 128, 224, // dessus canon
- 128, 152, 192, 160, // ext�rieur canon
- 128, 144, 192, 152, // int�rieur canon
+ 128, 152, 192, 160, // extérieur canon
+ 128, 144, 192, 152, // intérieur canon
192, 176, 224, 192, // petit canon
128, 236, 192, 256, // canon organique
- 214, 192, 224, 216, // r�ticule de vis�e
+ 214, 192, 224, 216, // réticule de visée
224, 128, 248, 152, // articulation
- 128, 192, 192, 214, // piston c�t�
+ 128, 192, 192, 214, // piston côté
128, 214, 192, 236, // piston face
192, 192, 214, 214, // piston tranche
- 128, 192, 161, 214, // piston petit c�t�
+ 128, 192, 161, 214, // piston petit côté
32, 176, 64, 198, // piston pour radar
128, 160, 160, 192, // roue
232, 48, 255, 56, // profil pneu
240, 152, 248, 216, // hachures verticales
248, 192, 256, 256, // batterie
224, 152, 240, 168, // roche
- 144, 80, 176, 112, // nucl�aire
- 140, 76, 180, 116, // nucl�aire grand
- 144, 80, 152, 88, // jaune nucl�aire
- 224, 168, 240, 192, // capot r�solution C
- 224, 192, 240, 210, // arri�re r�solution C
- 32, 224, 96, 235, // bras r�solution C
- 32, 235, 96, 246, // bras r�solution C
+ 144, 80, 176, 112, // nucléaire
+ 140, 76, 180, 116, // nucléaire grand
+ 144, 80, 152, 88, // jaune nucléaire
+ 224, 168, 240, 192, // capot résolution C
+ 224, 192, 240, 210, // arrière résolution C
+ 32, 224, 96, 235, // bras résolution C
+ 32, 235, 96, 246, // bras résolution C
161, 1, 164, 4, // blanc
168, 1, 171, 4, // gris moyen
- 154, 1, 157, 4, // gris fonc� uni
+ 154, 1, 157, 4, // gris foncé uni
147, 1, 150, 4, // bleu uni
114, 130, 118, 134, // rouge uni
121, 130, 125, 134, // vert uni
@@ -2637,18 +2637,18 @@ static int tablePartT[] = // lemt.tga
static int tablePartR[] = // roller.tga
{
0, 0, 128, 52, // roues pour chenille
- 48, 137, 128, 201, // c�t� radiateur
+ 48, 137, 128, 201, // côté radiateur
0, 52, 32, 84, // avant radiateur
- 32, 52, 43, 84, // arri�re radiateur
- 0, 84, 96, 137, // grand c�t�
+ 32, 52, 43, 84, // arrière radiateur
+ 0, 84, 96, 137, // grand côté
128, 0, 192, 85, // avant
- 128, 173, 192, 256, // arri�re
+ 128, 173, 192, 256, // arrière
192, 0, 256, 42, // dessus
- 128, 85, 192, 109, // c�t� pillon
+ 128, 85, 192, 109, // côté pillon
128, 109, 192, 173, // dessus pillon
- 192, 85, 240, 109, // c�t� porte pillon
- 0, 137, 24, 256, // c�t� verrin
- 24, 137, 48, 256, // c�t� verrin
+ 192, 85, 240, 109, // côté porte pillon
+ 0, 137, 24, 256, // côté verrin
+ 24, 137, 48, 256, // côté verrin
48, 201, 128, 233, // support canon
192, 109, 256, 173, // fond canon
192, 173, 240, 205, // canon 1
@@ -2657,8 +2657,8 @@ static int tablePartR[] = // roller.tga
48, 233, 128, 247, // piston
96, 105, 128, 137, // avant phazer
96, 97, 128, 105, // canon phazer
- 75, 52, 107, 84, // �chappement
- 192, 205, 243, 256, // instruction centrale nucl�aire
+ 75, 52, 107, 84, // échappement
+ 192, 205, 243, 256, // instruction centrale nucléaire
192, 42, 256, 85, // reflet vitres
-1
};
@@ -2668,32 +2668,32 @@ static int tablePartW[] = // subm.tga
0, 0, 128, 26, // chenilles
0, 26, 22, 114, // portique 1
0, 114, 22, 202, // portique 2
- 22, 26, 82, 56, // c�t� hublot
- 22, 56, 82, 86, // c�t� ligne rouge
- 22, 86, 82, 116, // c�t� simple
- 22, 116, 82, 146, // avant/arri�re
- 22, 146, 82, 176, // avant/arri�re + phare
+ 22, 26, 82, 56, // côté hublot
+ 22, 56, 82, 86, // côté ligne rouge
+ 22, 86, 82, 116, // côté simple
+ 22, 116, 82, 146, // avant/arrière
+ 22, 146, 82, 176, // avant/arrière + phare
132, 82, 196, 166, // capot trainer
132, 166, 196, 177, // capot trainer
132, 177, 196, 188, // capot trainer
- 0, 224, 96, 256, // c�t� trainer
- 30, 224, 48, 256, // arri�re trainer
- 136, 240, 216, 256, // barri�re courte
- 96, 240, 256, 256, // barri�re longue
+ 0, 224, 96, 256, // côté trainer
+ 30, 224, 48, 256, // arrière trainer
+ 136, 240, 216, 256, // barrière courte
+ 96, 240, 256, 256, // barrière longue
128, 0, 160, 32, // black-box 1
160, 0, 192, 32, // black-box 2
192, 0, 224, 32, // black-box 3
224, 105, 256, 137, // TNT 1
224, 137, 256, 169, // TNT 2
- 82, 32, 146, 82, // factory r�solution C
- 146, 32, 210, 82, // factory r�solution C
- 224, 0, 256, 105, // tower r�solution C
- 82, 82, 132, 150, // research r�solution C
- 199, 169, 256, 233, // sac r�solution C
- 106, 150, 130, 214, // cl� A
- 82, 150, 106, 214, // cl� B
- 132, 188, 196, 212, // cl� C
- 132, 212, 196, 236, // cl� D
+ 82, 32, 146, 82, // factory résolution C
+ 146, 32, 210, 82, // factory résolution C
+ 224, 0, 256, 105, // tower résolution C
+ 82, 82, 132, 150, // research résolution C
+ 199, 169, 256, 233, // sac résolution C
+ 106, 150, 130, 214, // clé A
+ 82, 150, 106, 214, // clé B
+ 132, 188, 196, 212, // clé C
+ 132, 212, 196, 236, // clé D
210, 32, 224, 46, // gris
56, 176, 82, 224, // sol coffre-fort
-1
@@ -2702,17 +2702,17 @@ static int tablePartW[] = // subm.tga
static int tablePartDr[] = // drawer.tga
{
128, 0, 134, 6, // bleu
- 128, 6, 134, 12, // gris fonc�
+ 128, 6, 134, 12, // gris foncé
128, 12, 134, 18, // gris clair
0, 0, 128, 32, // roues chenille
192, 0, 256, 32, // profil chenille
140, 0, 160, 8, // profil phare
160, 0, 192, 32, // face phare
0, 32, 160, 48, // hachure
- 160, 32, 192, 48, // c�t�
+ 160, 32, 192, 48, // côté
0, 48, 96, 96, // tableau de bord
96, 48, 192, 112, // radiateur
- 192, 32, 256, 112, // grille lat�rale
+ 192, 32, 256, 112, // grille latérale
192, 112, 256, 128, // capot
0, 96, 8, 160, // chassis
8, 96, 96, 104, // axe chenilles
@@ -2781,7 +2781,7 @@ static int tablePartKi[] = // kid.tga
64, 8, 72, 16, // arrosoir: fond
134, 128, 142, 256, // arrosoir: corps
142, 128, 150, 256, // arrosoir: tuyau
- 128, 225, 134, 256, // arrosoir: int�rieur
+ 128, 225, 134, 256, // arrosoir: intérieur
32, 224, 64, 256, // arrosoir: ponneau
56, 8, 64, 16, // skate: roues (31)
48, 8, 56, 16, // skate: axes
@@ -2805,48 +2805,48 @@ static int tablePartKi2[] = // kid2.tga
128, 128, 256, 256, // roue
192, 96, 256, 128, // pneu
184, 96, 192, 128, // jante
- 128, 96, 160, 128, // int�rieur
+ 128, 96, 160, 128, // intérieur
160, 96, 168, 104, // porte bois
- 160, 104, 168, 112, // porte m�tal
+ 160, 104, 168, 112, // porte métal
160, 112, 184, 128, // vitre
96, 0, 128, 256, // bouteille: corps (12)
64, 0, 96, 32, // bouteille: bouchon
168, 96, 176, 104, // bouteille: vert
0, 192, 96, 224, // bois clair
- 0, 224, 96, 256, // bois fonc�
+ 0, 224, 96, 256, // bois foncé
64, 32, 96, 64, // bateau
168, 104, 176, 112, // ballon (18)
176, 104, 184, 112, // ballon
- 176, 96, 184, 104, // int�rieur caisse
+ 176, 96, 184, 104, // intérieur caisse
-1
};
static int tablePartKi3[] = // kid3.tga
{
- 0, 0, 32, 28, // �crou: flan
- 0, 28, 32, 44, // �crou: profil
- 0, 44, 32, 60, // �crou: pas de vis
+ 0, 0, 32, 28, // écrou: flan
+ 0, 28, 32, 44, // écrou: profil
+ 0, 44, 32, 60, // écrou: pas de vis
0, 60, 32, 64, // tuyau
0, 64, 32, 68, // tuyau
0, 68, 8, 76, // tuyau
0, 76, 32, 108, // plastic
8, 68, 16, 76, // saut: gris clair (7)
- 16, 68, 24, 76, // saut: gris fonc�
+ 16, 68, 24, 76, // saut: gris foncé
24, 68, 32, 76, // saut: gris bois
0, 108, 32, 140, // saut: rotule
0, 140, 32, 144, // saut: axe
128, 0, 256, 128, // saut: flan
- 0, 144, 8, 152, // basket: gris fonc� (13)
+ 0, 144, 8, 152, // basket: gris foncé (13)
8, 144, 16, 152, // basket: gris clair
16, 144, 24, 152, // basket: gris lacets
24, 144, 32, 152, // basket: gris semelle
- 0, 152, 8, 181, // basket: int�rieur
- 0, 181, 192, 256, // basket: c�t�
- 192, 181, 226, 256, // basket: arri�re
+ 0, 152, 8, 181, // basket: intérieur
+ 0, 181, 192, 256, // basket: côté
+ 192, 181, 226, 256, // basket: arrière
32, 135, 96, 181, // basket: dessus (20)
96, 168, 128, 181, // basket: avant
8, 152, 16, 160, // chaise: plastique
- 16, 152, 24, 160, // chaise: m�tal
+ 16, 152, 24, 160, // chaise: métal
32, 0, 64, 32, // chaise: roue
8, 177, 24, 181, // chaise: roue
226, 181, 234, 256, // chaise: piston (26)
@@ -2859,12 +2859,12 @@ static int tablePartKi3[] = // kid3.tga
128, 135, 224, 181, // panneau
242, 135, 256, 256, // poteau (34)
24, 152, 32, 160, // clou
- 16, 160, 24, 168, // tuyau m�talique
- 112, 181, 192, 185, // tuyau int�rieur
+ 16, 160, 24, 168, // tuyau métalique
+ 112, 181, 192, 185, // tuyau intérieur
32, 32, 48, 80, // pas de vis
24, 160, 32, 168, // ventillateur: plastique (39)
- 40, 80, 56, 96, // ventillateur: plastique d�grad�
- 8, 168, 16, 176, // ventillateur: m�tal
+ 40, 80, 56, 96, // ventillateur: plastique dégradé
+ 8, 168, 16, 176, // ventillateur: métal
32, 80, 40, 112, // ventillateur: socle 1
64, 0, 96, 16, // ventillateur: socle 2
48, 32, 56, 80, // ventillateur: socle 3
@@ -2883,9 +2883,9 @@ static int tablePartF[] = // factory.tga
0, 0, 152, 152, // plancher octogonal fabrique
50, 50, 102, 102, // dessus pile
0, 152, 128, 252, // avant
- 128, 152, 256, 252, // arri�re
- 152, 28, 225, 128, // c�t�
- 152, 28, 176, 128, // c�t� partiel
+ 128, 152, 256, 252, // arrière
+ 152, 28, 225, 128, // côté
+ 152, 28, 176, 128, // côté partiel
152, 0, 216, 16, // hachures
236, 0, 256, 40, // axe
152, 128, 224, 152, // support cible
@@ -2894,8 +2894,8 @@ static int tablePartF[] = // factory.tga
static int tablePartD[] = // derrick.tga
{
- 0, 0, 64, 32, // grand c�t�
- 64, 0, 96, 24, // petit c�t�
+ 0, 0, 64, 32, // grand côté
+ 64, 0, 96, 24, // petit côté
96, 0, 136, 24, // attention
0, 32, 8, 160, // tube 1
8, 32, 16, 96, // tube 2
@@ -2904,22 +2904,22 @@ static int tablePartD[] = // derrick.tga
32, 32, 40, 160, // tige destructeur
8, 96, 16, 128, // foret
136, 0, 256, 120, // plancher octogonal station de recharge
- 40, 32, 64, 56, // cube m�tal
- 64, 24, 128, 48, // c�t� tour haut
- 64, 48, 128, 229, // c�t� tour bas
- 136, 120, 256, 240, // int�rieur usine
- 0, 160, 64, 224, // to�t usine
+ 40, 32, 64, 56, // cube métal
+ 64, 24, 128, 48, // côté tour haut
+ 64, 48, 128, 229, // côté tour bas
+ 136, 120, 256, 240, // intérieur usine
+ 0, 160, 64, 224, // toît usine
-1
};
static int tablePartC[] = // convert.tga
{
0, 0, 120, 120, // plancher octogonal convertisseur
- 0, 120, 128, 176, // grand c�t�
- 128, 120, 192, 176, // petit c�t�
+ 0, 120, 128, 176, // grand côté
+ 128, 120, 192, 176, // petit côté
192, 120, 256, 184, // couvercle convertisseur
120, 0, 216, 64, // face trianble
- 216, 0, 248, 64, // c�t� triangle
+ 216, 0, 248, 64, // côté triangle
120, 64, 160, 84, // axe
0, 141, 128, 176, // recherche: base
0, 176, 128, 214, // recherche: haut
@@ -2927,12 +2927,12 @@ static int tablePartC[] = // convert.tga
174, 64, 190, 120, // recherche: montant
190, 64, 206, 120, // recherche: montant
206, 64, 254, 85, // radar
- 192, 168, 256, 232, // hachures carr�es
- 248, 0, 256, 64, // c�ne fabrique de piles
- 128, 176, 192, 240, // dessus centrale nucl�aire
+ 192, 168, 256, 232, // hachures carrées
+ 248, 0, 256, 64, // cône fabrique de piles
+ 128, 176, 192, 240, // dessus centrale nucléaire
120, 85, 174, 120, // technicien, visage
206, 106, 256, 120, // technicien, casquette
- 160, 64, 174, 78, // technicien, visi�re
+ 160, 64, 174, 78, // technicien, visière
-1
};
@@ -2943,10 +2943,10 @@ static int tablePartS[] = // search.tga
0, 128, 128, 256, // pile
128, 128, 228, 240, // support pile
228, 128, 256, 184, // antenne
- 128, 128, 192, 160, // contr�le 1
- 128, 160, 192, 192, // contr�le 2
- 128, 192, 192, 224, // contr�le 3
- 128, 224, 192, 256, // contr�le 4
+ 128, 128, 192, 160, // contrôle 1
+ 128, 160, 192, 192, // contrôle 2
+ 128, 192, 192, 224, // contrôle 3
+ 128, 224, 192, 256, // contrôle 4
-1
};
@@ -2957,9 +2957,9 @@ static int tablePartP[] = // plant.tga
48, 156, 108, 256, // feuille 3
94, 0, 104, 100, // tige 1
185, 0, 195, 100, // tige 2
- 108, 100, 182, 256, // foug�re
+ 108, 100, 182, 256, // fougère
104, 0, 144, 100, // courge
- 203, 0, 256, 83, // armature derrick r�solution C
+ 203, 0, 256, 83, // armature derrick résolution C
-1
};
@@ -2992,9 +2992,9 @@ static int tablePartV[] = // vegetal.tga
static int tablePartM[] = // mother.tga
{
- 0, 0, 128, 128, // corps arri�re
+ 0, 0, 128, 128, // corps arrière
128, 0, 192, 128, // corps avant
- 0, 128, 64, 192, // t�te
+ 0, 128, 64, 192, // tête
64, 128, 192, 160, // pince ext.
64, 160, 192, 192, // pince int.
0, 192, 64, 256, // mire
@@ -3006,31 +3006,31 @@ static int tablePartA[] = // ant.tga
0, 0, 64, 64, // queue
0, 96, 128, 160, // queue abeille
64, 0, 128, 64, // corps
- 128, 0, 192, 64, // t�te
+ 128, 0, 192, 64, // tête
0, 64, 64, 72, // patte
0, 72, 64, 80, // antenne
64, 64, 150, 96, // queue ver
150, 64, 182, 96, // corps ver
- 182, 64, 256, 96, // t�te ver
+ 182, 64, 256, 96, // tête ver
224, 32, 256, 64, // articulation ver
128, 96, 220, 160, // aile
0, 80, 16, 96, // oeil
200, 0, 208, 8, // vert clair
- 200, 8, 208, 16, // vert fonc�
- 0, 160, 64, 224, // corps araign�e
- 64, 160, 128, 192, // t�te araign�e
- 208, 0, 216, 64, // patte araign�e
- 216, 0, 224, 32, // patte araign�e
- 224, 0, 256, 8, // antenne araign�e
+ 200, 8, 208, 16, // vert foncé
+ 0, 160, 64, 224, // corps araignée
+ 64, 160, 128, 192, // tête araignée
+ 208, 0, 216, 64, // patte araignée
+ 216, 0, 224, 32, // patte araignée
+ 224, 0, 256, 8, // antenne araignée
192, 0, 200, 8, // brun clair
- 192, 8, 200, 16, // brun fonc�
+ 192, 8, 200, 16, // brun foncé
128, 160, 256, 256, // SatCom
-1
};
static int tablePartH[] = // human.tga
{
- 0, 0, 64, 64, // vissi�re
+ 0, 0, 64, 64, // vissière
64, 0, 96, 64, // cuisse
96, 0, 128, 64, // jambe
128, 0, 192, 32, // bras
@@ -3039,12 +3039,12 @@ static int tablePartH[] = // human.tga
128, 64, 256, 224, // dos
64, 224, 112, 256, // dessus pied
144, 224, 168, 240, // dessous pied
- 112, 224, 144, 240, // c�t� pied
- 112, 224, 128, 240, // c�t� pied
+ 112, 224, 144, 240, // côté pied
+ 112, 224, 128, 240, // côté pied
0, 224, 64, 256, // gant
168, 224, 200, 256, // oreille
112, 240, 144, 256, // ligne casque
- 200, 224, 208, 256, // int�rieur coup
+ 200, 224, 208, 256, // intérieur coup
240, 0, 244, 64, // bombone orange
244, 0, 248, 64, // bombone orange (reflet)
248, 0, 252, 64, // bombone bleu
@@ -3058,15 +3058,15 @@ static int tablePartH[] = // human.tga
static int tablePartG[] = // apollo.tga
{
- 0, 0, 64, 64, // rev�tement LEM
- 64, 0, 128, 64, // rev�tement LEM
+ 0, 0, 64, 64, // revètement LEM
+ 64, 0, 128, 64, // revètement LEM
128, 8, 136, 128, // pied
0, 64, 64, 128, // roue
136, 24, 152, 44, // profil pneu
136, 8, 160, 24, // garde boue
- 64, 64, 128, 128, // si�ge
- 64, 128, 128, 192, // si�ge
- 64, 192, 128, 212, // si�ge
+ 64, 64, 128, 128, // siège
+ 64, 128, 128, 192, // siège
+ 64, 192, 128, 212, // siège
128, 128, 240, 192, // moteur
0, 192, 28, 256, // moteur
32, 128, 60, 256, // moteur
@@ -3076,7 +3076,7 @@ static int tablePartG[] = // apollo.tga
64, 212, 108, 256, // panneau de commande
198, 0, 206, 128, // mat
190, 64, 198, 128, // mat
- 160, 8, 176, 24, // cam�ra
+ 160, 8, 176, 24, // caméra
176, 8, 192, 24, // moyeu
136, 64, 168, 96, // module
168, 64, 190, 96, // module
@@ -3086,24 +3086,24 @@ static int tablePartG[] = // apollo.tga
128, 0, 136, 8, // jaune
136, 0, 144, 8, // beige
144, 0, 152, 8, // brun
- 168, 0, 176, 8, // gris tr�s clair
+ 168, 0, 176, 8, // gris très clair
152, 0, 160, 8, // gris clair
- 160, 0, 168, 8, // gris fonc�
+ 160, 0, 168, 8, // gris foncé
-1
};
static int tablePartB[] = // base1.tga
{
- 0, 0, 80, 256, // int�rieur porte
+ 0, 0, 80, 256, // intérieur porte
80, 0, 88, 256, // tranche porte
116, 0, 180, 64, // coiffe 1
116, 64, 180, 102, // coiffe 2
180, 0, 244, 37, // base
180, 37, 196, 101, // support
88, 0, 116, 256, // colonne
- 212, 37, 256, 128, // suppl�ment
+ 212, 37, 256, 128, // supplément
128, 128, 256, 256, // 1/4 du sol
- 196, 37, 212, 53, // gris fonc�
+ 196, 37, 212, 53, // gris foncé
196, 53, 212, 69, // gris clair
-1
};
@@ -3153,7 +3153,7 @@ int* CModel::RetTextureTable()
return 0;
}
-// Met � jour la partie de texture.
+// Met à jour la partie de texture.
void CModel::TexturePartUpdate()
{