diff options
author | Programerus <alcadeias95@gmail.com> | 2012-03-22 16:31:20 +0100 |
---|---|---|
committer | Programerus <alcadeias95@gmail.com> | 2012-03-22 16:31:20 +0100 |
commit | cafa6ded345ef0c5a3bf318dd9a6618a5065d265 (patch) | |
tree | 5229eb9d1882b71371311c7aaff3c6477d37e895 | |
parent | 7e73ad95d8198f1eb81ea4b26b172db763cedb8a (diff) | |
download | colobot-cafa6ded345ef0c5a3bf318dd9a6618a5065d265.tar.gz colobot-cafa6ded345ef0c5a3bf318dd9a6618a5065d265.tar.bz2 colobot-cafa6ded345ef0c5a3bf318dd9a6618a5065d265.zip |
Comments translated from French to English.
-rw-r--r-- | src/iman.cpp | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/src/iman.cpp b/src/iman.cpp index 5bd03d5..eacb3f4 100644 --- a/src/iman.cpp +++ b/src/iman.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/.// iman.cpp
+// * along with this program. If not, see http://www.gnu.org/licenses/.
+
+// iman.cpp
#define STRICT
#define D3D_OVERLOADS
@@ -26,7 +28,7 @@ -// Constructeur de l'objet.
+// Object's constructor.
CInstanceManager::CInstanceManager()
{
@@ -40,7 +42,7 @@ CInstanceManager::CInstanceManager() }
}
-// Destructeur de l'objet.
+// Object's destructor.
CInstanceManager::~CInstanceManager()
{
@@ -56,7 +58,7 @@ CInstanceManager::~CInstanceManager() }
-// Vide toute la liste des classes.
+// Empty the list of all classes.
void CInstanceManager::Flush()
{
@@ -72,7 +74,7 @@ void CInstanceManager::Flush() }
}
-// Vide toutes les instances d'une classe donnée.
+// Empty all instances of a given class.
void CInstanceManager::Flush(ClassType classType)
{
@@ -84,7 +86,7 @@ void CInstanceManager::Flush(ClassType classType) }
-// Ajoute une nouvelle instance d'une classe.
+// Adds a new instance of a class.
BOOL CInstanceManager::AddInstance(ClassType classType, void* pointer, int max)
{
@@ -106,7 +108,7 @@ BOOL CInstanceManager::AddInstance(ClassType classType, void* pointer, int max) return TRUE;
}
-// Supprime une instance d'une classe.
+// Deletes an instance of a class.
BOOL CInstanceManager::DeleteInstance(ClassType classType, void* pointer)
{
@@ -126,8 +128,8 @@ BOOL CInstanceManager::DeleteInstance(ClassType classType, void* pointer) return TRUE;
}
-// Cherche une instance existante. Retourne 0 si elle n'existe pas.
-// Doit être super-rapide !
+// Seeking an existing instance. Returns 0 if it does not exist.
+// Must be super fast!
void* CInstanceManager::SearchInstance(ClassType classType, int rank)
{
@@ -141,7 +143,7 @@ void* CInstanceManager::SearchInstance(ClassType classType, int rank) }
-// Bouche les trous dans une table.
+// Fills holes in a table.
void CInstanceManager::Compress(ClassType classType)
{
|