Comments translated from French to English.
parent
28c1915b57
commit
6bdbc3bb76
|
@ -38,7 +38,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// Constructeur de l'objet.
|
// Object's constructor.
|
||||||
|
|
||||||
CAutoRoot::CAutoRoot(CInstanceManager* iMan, CObject* object)
|
CAutoRoot::CAutoRoot(CInstanceManager* iMan, CObject* object)
|
||||||
: CAuto(iMan, object)
|
: CAuto(iMan, object)
|
||||||
|
@ -48,7 +48,7 @@ CAutoRoot::CAutoRoot(CInstanceManager* iMan, CObject* object)
|
||||||
Init();
|
Init();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Destructeur de l'objet.
|
// Object's destructor.
|
||||||
|
|
||||||
CAutoRoot::~CAutoRoot()
|
CAutoRoot::~CAutoRoot()
|
||||||
{
|
{
|
||||||
|
@ -56,7 +56,7 @@ CAutoRoot::~CAutoRoot()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// D<EFBFBD>truit l'objet.
|
// Destroys the object.
|
||||||
|
|
||||||
void CAutoRoot::DeleteObject(BOOL bAll)
|
void CAutoRoot::DeleteObject(BOOL bAll)
|
||||||
{
|
{
|
||||||
|
@ -64,7 +64,7 @@ void CAutoRoot::DeleteObject(BOOL bAll)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Initialise l'objet.
|
// Initialize the object.
|
||||||
|
|
||||||
void CAutoRoot::Init()
|
void CAutoRoot::Init()
|
||||||
{
|
{
|
||||||
|
@ -76,7 +76,7 @@ void CAutoRoot::Init()
|
||||||
m_lastParticule = 0.0f;
|
m_lastParticule = 0.0f;
|
||||||
|
|
||||||
mat = m_object->RetWorldMatrix(0);
|
mat = m_object->RetWorldMatrix(0);
|
||||||
pos = D3DVECTOR(-5.0f, 28.0f, -4.0f); // position pointe
|
pos = D3DVECTOR(-5.0f, 28.0f, -4.0f); // peak position
|
||||||
pos = Transform(*mat, pos);
|
pos = Transform(*mat, pos);
|
||||||
m_center = pos;
|
m_center = pos;
|
||||||
|
|
||||||
|
@ -89,7 +89,7 @@ void CAutoRoot::Init()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Gestion d'un <20>v<EFBFBD>nement.
|
// Management of an event.
|
||||||
|
|
||||||
BOOL CAutoRoot::EventProcess(const Event &event)
|
BOOL CAutoRoot::EventProcess(const Event &event)
|
||||||
{
|
{
|
||||||
|
@ -125,7 +125,7 @@ BOOL CAutoRoot::EventProcess(const Event &event)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Retourne une erreur li<6C>e <20> l'<27>tat de l'automate.
|
// Returns an error due the state of the automation.
|
||||||
|
|
||||||
Error CAutoRoot::RetError()
|
Error CAutoRoot::RetError()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue