Comments translated from French to English.

dev-ui
Programerus 2012-03-15 18:26:59 +01:00
parent 2ce7ddaa71
commit 6c9bb9c71d
1 changed files with 13 additions and 13 deletions

View File

@ -46,7 +46,7 @@
// Constructeur de l'objet.
// Object's constructor.
CAutoPara::CAutoPara(CInstanceManager* iMan, CObject* object)
: CAuto(iMan, object)
@ -57,7 +57,7 @@ CAutoPara::CAutoPara(CInstanceManager* iMan, CObject* object)
Init();
}
// Destructeur de l'objet.
// Object's destructor.
CAutoPara::~CAutoPara()
{
@ -65,7 +65,7 @@ CAutoPara::~CAutoPara()
}
// D<EFBFBD>truit l'objet.
// Destroys the object.
void CAutoPara::DeleteObject(BOOL bAll)
{
@ -80,7 +80,7 @@ void CAutoPara::DeleteObject(BOOL bAll)
}
// Initialise l'objet.
// Initialize the object.
void CAutoPara::Init()
{
@ -93,7 +93,7 @@ void CAutoPara::Init()
mat = m_object->RetWorldMatrix(0);
m_pos = Transform(*mat, D3DVECTOR(22.0f, 4.0f, 0.0f));
m_phase = APAP_WAIT; // attend ...
m_phase = APAP_WAIT; // waiting ...
m_progress = 0.0f;
m_speed = 1.0f/1.0f;
@ -101,7 +101,7 @@ void CAutoPara::Init()
}
// R<EFBFBD>ception de l'<27>clair.
// Reception of lightning.
void CAutoPara::StartBlitz()
{
@ -111,7 +111,7 @@ void CAutoPara::StartBlitz()
}
// Gestion d'un <20>v<EFBFBD>nement.
// Management of an event.
BOOL CAutoPara::EventProcess(const Event &event)
{
@ -127,7 +127,7 @@ BOOL CAutoPara::EventProcess(const Event &event)
m_progress += event.rTime*m_speed;
m_timeVirus -= event.rTime;
if ( m_object->RetVirusMode() ) // contamin<EFBFBD> par un virus ?
if ( m_object->RetVirusMode() ) // contaminated by a virus?
{
if ( m_timeVirus <= 0.0f )
{
@ -204,7 +204,7 @@ BOOL CAutoPara::EventProcess(const Event &event)
}
// Cr<EFBFBD>e toute l'interface lorsque l'objet est s<>lectionn<6E>.
// Creates all the interface when the object is selected.
BOOL CAutoPara::CreateInterface(BOOL bSelect)
{
@ -240,7 +240,7 @@ BOOL CAutoPara::CreateInterface(BOOL bSelect)
}
// Retourne une erreur li<6C>e <20> l'<27>tat de l'automate.
// Returns an error due the state of the automation.
Error CAutoPara::RetError()
{
@ -252,7 +252,7 @@ Error CAutoPara::RetError()
}
// Charge tous les objets plac<61>s sous le paratonnerre.
// Load all objects under the lightning rod.
void CAutoPara::ChargeObject(float rTime)
{
@ -302,7 +302,7 @@ void CAutoPara::ChargeObject(float rTime)
}
// Sauve tous les param<61>tres de l'automate.
// Saves all parameters of the controller.
BOOL CAutoPara::Write(char *line)
{
@ -327,7 +327,7 @@ BOOL CAutoPara::Write(char *line)
return TRUE;
}
// Restitue tous les param<61>tres de l'automate.
// Restores all parameters of the controller.
BOOL CAutoPara::Read(char *line)
{