From f7d892cf4ef6bfce3747c4b6a810d4828b79833d Mon Sep 17 00:00:00 2001 From: Krzysztof H Date: Mon, 19 Mar 2012 12:44:39 +0100 Subject: Last coding fix ;) --- src/mainshort.cpp | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'src/mainshort.cpp') diff --git a/src/mainshort.cpp b/src/mainshort.cpp index 04ef012..af1a517 100644 --- a/src/mainshort.cpp +++ b/src/mainshort.cpp @@ -1,4 +1,4 @@ -// * This file is part of the COLOBOT source code +// * This file is part of the COLOBOT source code // * Copyright (C) 2001-2008, Daniel ROUX & EPSITEC SA, www.epsitec.ch // * // * This program is free software: you can redistribute it and/or modify @@ -12,7 +12,7 @@ // * 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/. +// * along with this program. If not, see http://www.gnu.org/licenses/.// mainshort.cpp #define STRICT #define D3D_OVERLOADS @@ -66,7 +66,7 @@ void CMainShort::SetMode(BOOL bBuilding) -// Remise � z�ro de tous les raccourcis. +// Remise à zéro de tous les raccourcis. void CMainShort::FlushShortcuts() { @@ -102,7 +102,7 @@ static EventMsg table_sc_em[20] = EVENT_OBJECT_SHORTCUT19, }; -// Cr�e l'interface des raccourcis aux unit�s. +// Crée l'interface des raccourcis aux unités. BOOL CMainShort::CreateShortcuts() { @@ -131,14 +131,14 @@ BOOL CMainShort::CreateShortcuts() pos.y = (480.0f-32.0f)/480.0f; if ( m_main->RetMovieLock() && - !m_main->RetEditLock() ) // bloqu� pendant film ? + !m_main->RetEditLock() ) // bloqué pendant film ? { m_interface->CreateShortcut(pos, dim, 7, EVENT_OBJECT_MOVIELOCK); return TRUE; } if ( !m_main->RetFreePhoto() && (m_main->RetEditLock() || - m_engine->RetPause()) ) // bloqu� pendant �dition ? + m_engine->RetPause()) ) // bloqué pendant édition ? { m_interface->CreateShortcut(pos, dim, 6, EVENT_OBJECT_EDITLOCK); return TRUE; @@ -234,7 +234,7 @@ BOOL CMainShort::CreateShortcuts() return TRUE; } -// Met � jour l'interface des raccourcis aux unit�s. +// Met à jour l'interface des raccourcis aux unités. BOOL CMainShort::UpdateShortcuts() { @@ -255,7 +255,7 @@ BOOL CMainShort::UpdateShortcuts() return TRUE; } -// S�lectionne un objet � travers un raccourci. +// Sélectionne un objet à travers un raccourci. void CMainShort::SelectShortcut(EventMsg event) { @@ -267,7 +267,7 @@ void CMainShort::SelectShortcut(EventMsg event) { if ( i != 0 && m_shortcuts[i] == 0 ) continue; - if ( i == 0 ) // b�timents <-> v�hicules ? + if ( i == 0 ) // bâtiments <-> véhicules ? { m_bBuilding = !m_bBuilding; CreateShortcuts(); @@ -282,7 +282,7 @@ void CMainShort::SelectShortcut(EventMsg event) } -// S�lectionne l'objet suivant. +// Sélectionne l'objet suivant. void CMainShort::SelectNext() { @@ -315,7 +315,7 @@ void CMainShort::SelectNext() } -// D�tecte l'objet survol� par la souris. +// Détecte l'objet survolé par la souris. CObject* CMainShort::DetectShort(FPOINT pos) { @@ -345,7 +345,7 @@ CObject* CMainShort::DetectShort(FPOINT pos) return 0; } -// Signale l'objet survol� par la souris. +// Signale l'objet survolé par la souris. void CMainShort::SetHilite(CObject* pObj) { -- cgit v1.2.3-1-g7c22