Comments translated from French to English.
parent
1740a82f0d
commit
39b5fe2c7a
|
@ -44,7 +44,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// Constructeur de l'objet.
|
// Object's constructor.
|
||||||
|
|
||||||
CAutoJostle::CAutoJostle(CInstanceManager* iMan, CObject* object)
|
CAutoJostle::CAutoJostle(CInstanceManager* iMan, CObject* object)
|
||||||
: CAuto(iMan, object)
|
: CAuto(iMan, object)
|
||||||
|
@ -54,7 +54,7 @@ CAutoJostle::CAutoJostle(CInstanceManager* iMan, CObject* object)
|
||||||
Init();
|
Init();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Destructeur de l'objet.
|
// Object's destructor.
|
||||||
|
|
||||||
CAutoJostle::~CAutoJostle()
|
CAutoJostle::~CAutoJostle()
|
||||||
{
|
{
|
||||||
|
@ -62,7 +62,7 @@ CAutoJostle::~CAutoJostle()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// D<EFBFBD>truit l'objet.
|
// Destroys the object.
|
||||||
|
|
||||||
void CAutoJostle::DeleteObject(BOOL bAll)
|
void CAutoJostle::DeleteObject(BOOL bAll)
|
||||||
{
|
{
|
||||||
|
@ -70,7 +70,7 @@ void CAutoJostle::DeleteObject(BOOL bAll)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Initialise l'objet.
|
// Initialize the object.
|
||||||
|
|
||||||
void CAutoJostle::Init()
|
void CAutoJostle::Init()
|
||||||
{
|
{
|
||||||
|
@ -81,7 +81,7 @@ void CAutoJostle::Init()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// D<EFBFBD>marre une <20>mission.
|
// Start an emission.
|
||||||
|
|
||||||
void CAutoJostle::Start(int param, float force)
|
void CAutoJostle::Start(int param, float force)
|
||||||
{
|
{
|
||||||
|
@ -98,14 +98,14 @@ void CAutoJostle::Start(int param, float force)
|
||||||
|
|
||||||
type = m_object->RetType();
|
type = m_object->RetType();
|
||||||
if ( type >= OBJECT_PLANT5 &&
|
if ( type >= OBJECT_PLANT5 &&
|
||||||
type <= OBJECT_PLANT7 ) // tr<EFBFBD>fle ?
|
type <= OBJECT_PLANT7 ) // clover?
|
||||||
{
|
{
|
||||||
m_force *= 3.0f;
|
m_force *= 3.0f;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Gestion d'un <20>v<EFBFBD>nement.
|
// Management of an event.
|
||||||
|
|
||||||
BOOL CAutoJostle::EventProcess(const Event &event)
|
BOOL CAutoJostle::EventProcess(const Event &event)
|
||||||
{
|
{
|
||||||
|
@ -157,7 +157,7 @@ BOOL CAutoJostle::EventProcess(const Event &event)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Indique si l'automate a termin<69> son activit<69>.
|
// Indicates whether the controller has completed its activity.
|
||||||
|
|
||||||
Error CAutoJostle::IsEnded()
|
Error CAutoJostle::IsEnded()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue