From 9c03ff837fea4dc856cef66dab2f160c3f74ddb0 Mon Sep 17 00:00:00 2001 From: Programerus Date: Fri, 6 Apr 2012 22:09:00 +0300 Subject: Comments translated from French to English. --- src/planet.cpp | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) (limited to 'src') diff --git a/src/planet.cpp b/src/planet.cpp index 8e3098a..c5b037a 100644 --- a/src/planet.cpp +++ b/src/planet.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/.// planet.cpp +// * along with this program. If not, see http://www.gnu.org/licenses/. + +// planet.cpp #define STRICT #define D3D_OVERLOADS @@ -33,7 +35,7 @@ -// Constructeur du terrain. +// Constructor of the terrain. CPlanet::CPlanet(CInstanceManager* iMan, CD3DEngine* engine) { @@ -45,14 +47,14 @@ CPlanet::CPlanet(CInstanceManager* iMan, CD3DEngine* engine) } -// Destructeur du terrain. +// Destructor of the terrain. CPlanet::~CPlanet() { } -// Supprime toutes les planètes. +// Removes all the planets. void CPlanet::Flush() { @@ -72,7 +74,7 @@ void CPlanet::Flush() } -// Gestion d'un événement. +// Management of an event. BOOL CPlanet::EventProcess(const Event &event) { @@ -83,7 +85,7 @@ BOOL CPlanet::EventProcess(const Event &event) return TRUE; } -// Fait évoluer les planètes. +// Makes the planets evolve. BOOL CPlanet::EventFrame(const Event &event) { @@ -111,7 +113,7 @@ BOOL CPlanet::EventFrame(const Event &event) } -// Charge toutes les textures pour les planètes. +// Load all the textures for the planets. void CPlanet::LoadTexture() { @@ -128,7 +130,7 @@ void CPlanet::LoadTexture() } } -// Dessine toutes les planètes. +// Draws all the planets. void CPlanet::Draw() { @@ -143,7 +145,7 @@ void CPlanet::Draw() eyeDirH = m_engine->RetEyeDirH(); eyeDirV = m_engine->RetEyeDirV(); - n = D3DVECTOR(0.0f, 0.0f, -1.0f); // normale + n = D3DVECTOR(0.0f, 0.0f, -1.0f); // normal dp = 0.5f/256.0f; for ( i=0 ; i