From 7b506bb7c8ee76a7676e7e58d0b7f6322f10cec7 Mon Sep 17 00:00:00 2001 From: Programerus Date: Thu, 22 Mar 2012 20:37:53 +0100 Subject: Comments translated from French to English. --- src/mainmovie.cpp | 32 +++++++++++++++++--------------- 1 file changed, 17 insertions(+), 15 deletions(-) (limited to 'src/mainmovie.cpp') diff --git a/src/mainmovie.cpp b/src/mainmovie.cpp index 05c9503..b29bd83 100644 --- a/src/mainmovie.cpp +++ b/src/mainmovie.cpp @@ -12,7 +12,9 @@ // * 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/.// mainmovie.cpp +// * along with this program. If not, see http://www.gnu.org/licenses/. + +// mainmovie.cpp #define STRICT #define D3D_OVERLOADS @@ -39,7 +41,7 @@ -// Constructeur de l'application carte. +// Constructor of the application card. CMainMovie::CMainMovie(CInstanceManager* iMan) { @@ -56,14 +58,14 @@ CMainMovie::CMainMovie(CInstanceManager* iMan) Flush(); } -// Destructeur de l'application robot. +// Destructor of the application card. CMainMovie::~CMainMovie() { } -// Stoppe le film en cours. +// Stops the current movie. void CMainMovie::Flush() { @@ -71,7 +73,7 @@ void CMainMovie::Flush() } -// Début d'un film. +// Start of a film. BOOL CMainMovie::Start(MainMovieType type, float time) { @@ -89,14 +91,14 @@ BOOL CMainMovie::Start(MainMovieType type, float time) pObj = m_main->SearchHuman(); if ( pObj == 0 ) { - m_type = MM_NONE; // c'est déjà fini ! + m_type = MM_NONE; // it's over! return TRUE; } motion = pObj->RetMotion(); if ( motion != 0 ) { - motion->SetAction(MHS_SATCOM, 0.5f); // lit le SatCom + motion->SetAction(MHS_SATCOM, 0.5f); // reads the SatCom } m_camera->RetCamera(m_initialEye, m_initialLookat); @@ -121,18 +123,18 @@ BOOL CMainMovie::Start(MainMovieType type, float time) motion = pObj->RetMotion(); if ( motion != 0 ) { - motion->SetAction(-1); // termine lecture du SatCom + motion->SetAction(-1); // finishes reading SatCom } } m_camera->SetType(CAMERA_BACK); - m_type = MM_NONE; // c'est déjà fini ! + m_type = MM_NONE; // it's already over! } return TRUE; } -// Stoppe un film en cours. +// Stop a current movie. BOOL CMainMovie::Stop() { @@ -147,7 +149,7 @@ BOOL CMainMovie::Stop() motion = pObj->RetMotion(); if ( motion != 0 ) { - motion->SetAction(-1); // termine lecture du SatCom + motion->SetAction(-1); // finishes reading SatCom } } } @@ -156,7 +158,7 @@ BOOL CMainMovie::Stop() return TRUE; } -// Indique si un film est en cours. +// Indicates whether a film is in progress. BOOL CMainMovie::IsExist() { @@ -164,7 +166,7 @@ BOOL CMainMovie::IsExist() } -// Traite un événement. +// Processing an event. BOOL CMainMovie::EventProcess(const Event &event) { @@ -230,14 +232,14 @@ BOOL CMainMovie::EventProcess(const Event &event) } -// Retourne le type du film en cours. +// Returns the type of the current movie. MainMovieType CMainMovie::RetType() { return m_type; } -// Retourne le type du film stoppé. +// Returns the type of movie stop. MainMovieType CMainMovie::RetStopType() { -- cgit v1.2.3-1-g7c22