Comments translated from French to English.

dev-ui
Programerus 2012-03-13 18:58:53 +01:00
parent 23729b4ab1
commit 15afd1a16b
1 changed files with 19 additions and 19 deletions

View File

@ -39,7 +39,7 @@
// Constructeur de l'objet. // Object's constructor.
CAutoEgg::CAutoEgg(CInstanceManager* iMan, CObject* object) CAutoEgg::CAutoEgg(CInstanceManager* iMan, CObject* object)
: CAuto(iMan, object) : CAuto(iMan, object)
@ -55,7 +55,7 @@ CAutoEgg::CAutoEgg(CInstanceManager* iMan, CObject* object)
Init(); Init();
} }
// Destructeur de l'objet. // Object's destructor.
CAutoEgg::~CAutoEgg() CAutoEgg::~CAutoEgg()
{ {
@ -63,7 +63,7 @@ CAutoEgg::~CAutoEgg()
} }
// D<EFBFBD>truit l'objet. // Destroys the object.
void CAutoEgg::DeleteObject(BOOL bAll) void CAutoEgg::DeleteObject(BOOL bAll)
{ {
@ -79,7 +79,7 @@ void CAutoEgg::DeleteObject(BOOL bAll)
if ( alien->RetZoom(0) == 1.0f ) if ( alien->RetZoom(0) == 1.0f )
{ {
alien->SetLock(FALSE); alien->SetLock(FALSE);
alien->SetActivity(TRUE); // l'insect n<> est actif alien->SetActivity(TRUE); // the insect is active
} }
else else
{ {
@ -91,7 +91,7 @@ void CAutoEgg::DeleteObject(BOOL bAll)
} }
// Initialise l'objet. // Initialize the object.
void CAutoEgg::Init() void CAutoEgg::Init()
{ {
@ -129,7 +129,7 @@ void CAutoEgg::Init()
} }
// Donne une valeur. // Gives a value.
BOOL CAutoEgg::SetType(ObjectType type) BOOL CAutoEgg::SetType(ObjectType type)
{ {
@ -137,7 +137,7 @@ BOOL CAutoEgg::SetType(ObjectType type)
return TRUE; return TRUE;
} }
// Donne une valeur. // Gives a value.
BOOL CAutoEgg::SetValue(int rank, float value) BOOL CAutoEgg::SetValue(int rank, float value)
{ {
@ -146,7 +146,7 @@ BOOL CAutoEgg::SetValue(int rank, float value)
return TRUE; return TRUE;
} }
// Donne la string. // Gives the string.
BOOL CAutoEgg::SetString(char *string) BOOL CAutoEgg::SetString(char *string)
{ {
@ -155,7 +155,7 @@ BOOL CAutoEgg::SetString(char *string)
} }
// D<EFBFBD>marre l'objet. // Start object.
void CAutoEgg::Start(int param) void CAutoEgg::Start(int param)
{ {
@ -170,7 +170,7 @@ void CAutoEgg::Start(int param)
} }
// Gestion d'un <20>v<EFBFBD>nement. // Management of an event.
BOOL CAutoEgg::EventProcess(const Event &event) BOOL CAutoEgg::EventProcess(const Event &event)
{ {
@ -215,14 +215,14 @@ BOOL CAutoEgg::EventProcess(const Event &event)
m_type == OBJECT_SPIDER || m_type == OBJECT_SPIDER ||
m_type == OBJECT_BEE ) m_type == OBJECT_BEE )
{ {
alien->SetZoom(0, 0.2f+m_progress*0.8f); // <EFBFBD>a pousse alien->SetZoom(0, 0.2f+m_progress*0.8f); // Others push
} }
} }
return TRUE; return TRUE;
} }
// Indique si l'automate a termin<69> son activit<69>. // Indicates whether the controller has completed its activity.
Error CAutoEgg::IsEnded() Error CAutoEgg::IsEnded()
{ {
@ -251,9 +251,9 @@ Error CAutoEgg::IsEnded()
if ( m_progress < 1.0f ) return ERR_CONTINUE; if ( m_progress < 1.0f ) return ERR_CONTINUE;
pyro = new CPyro(m_iMan); pyro = new CPyro(m_iMan);
pyro->Create(PT_EGG, m_object); // explosion de l'oeuf pyro->Create(PT_EGG, m_object); // exploding egg
alien->SetZoom(0, 1.0f); // c'est un grand gar<61>on, maintenant alien->SetZoom(0, 1.0f); // this is a big boy now
m_phase = AEP_WAIT; m_phase = AEP_WAIT;
m_progress = 0.0f; m_progress = 0.0f;
@ -265,14 +265,14 @@ Error CAutoEgg::IsEnded()
if ( m_progress < 1.0f ) return ERR_CONTINUE; if ( m_progress < 1.0f ) return ERR_CONTINUE;
alien->SetLock(FALSE); alien->SetLock(FALSE);
alien->SetActivity(TRUE); // l'insect n<> est actif alien->SetActivity(TRUE); // the insect is active
} }
return ERR_STOP; return ERR_STOP;
} }
// Retourne une erreur li<6C>e <20> l'<27>tat de l'automate. // Returns an error due the state of the automation.
Error CAutoEgg::RetError() Error CAutoEgg::RetError()
{ {
@ -280,7 +280,7 @@ Error CAutoEgg::RetError()
} }
// Cherche l'insect qui prend naissance dans l'oeuf. // Seeking the insect that starts in the egg.
CObject* CAutoEgg::SearchAlien() CObject* CAutoEgg::SearchAlien()
{ {
@ -319,7 +319,7 @@ CObject* CAutoEgg::SearchAlien()
} }
// Sauve tous les param<61>tres de l'automate. // Saves all parameters of the controller.
BOOL CAutoEgg::Write(char *line) BOOL CAutoEgg::Write(char *line)
{ {
@ -353,7 +353,7 @@ BOOL CAutoEgg::Write(char *line)
return TRUE; return TRUE;
} }
// Restitue tous les param<61>tres de l'automate. // Restores all parameters of the controller.
BOOL CAutoEgg::Read(char *line) BOOL CAutoEgg::Read(char *line)
{ {