[Scummvm-git-logs] scummvm master -> c7d4f5d997f1d9b597d06df47580fcb92e4f6548

bluegr noreply at scummvm.org
Thu Aug 1 17:17:29 UTC 2024


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
c7d4f5d997 JANITORIAL: CRYOMNI3D: Fix typos in comments


Commit: c7d4f5d997f1d9b597d06df47580fcb92e4f6548
    https://github.com/scummvm/scummvm/commit/c7d4f5d997f1d9b597d06df47580fcb92e4f6548
Author: Hubert Maier (raziel- at users.noreply.github.com)
Date: 2024-08-01T20:17:25+03:00

Commit Message:
JANITORIAL: CRYOMNI3D: Fix typos in comments

Changed paths:
    engines/cryomni3d/sprites.cpp
    engines/cryomni3d/versailles/engine.cpp


diff --git a/engines/cryomni3d/sprites.cpp b/engines/cryomni3d/sprites.cpp
index 03c6e58f444..91615ded524 100644
--- a/engines/cryomni3d/sprites.cpp
+++ b/engines/cryomni3d/sprites.cpp
@@ -110,10 +110,10 @@ void Sprites::setupMapTable(const uint *table, uint size) {
 		if (unswept) {
 			warning("We got %d unreachable sprites from map table. This should not happen."
 			        " Fixing it for now", unswept);
-			// Enlarge the map to hold new indexes
+			// Enlarge the map to hold new indices
 			_map->reserve(_map->size() + unswept);
 
-			// Set new indexes to unswept sprites
+			// Set new indices to unswept sprites
 			i = 0;
 			for (Common::Array<CryoCursor *>::iterator it = _cursors.begin(); it != _cursors.end(); it++, i++) {
 				if ((*it)->_constantId == -1u) {
diff --git a/engines/cryomni3d/versailles/engine.cpp b/engines/cryomni3d/versailles/engine.cpp
index 71cdd786d4e..fd7c1ffeab2 100644
--- a/engines/cryomni3d/versailles/engine.cpp
+++ b/engines/cryomni3d/versailles/engine.cpp
@@ -153,7 +153,7 @@ Common::Error CryOmni3DEngine_Versailles::run() {
 
 	_fixedImage = new ZonFixedImage(*this, _inventory, _sprites, &kFixedImageConfiguration);
 
-	// Documentation is needed by noone at init time, let's do it last
+	// Documentation is needed by no one at init time, let's do it last
 	initDocPeopleRecord();
 	_docManager.init(&_sprites, &_fontManager, &_messages, this,
 	                 getFilePath(kFileTypeText, _localizedFilenames[LocalizedFilenames::kAllDocs]),
@@ -1605,7 +1605,7 @@ void CryOmni3DEngine_Versailles::animateWarpTransition(const Transition *transit
 			deltaAlpha += 2.*M_PI;
 		}
 
-		// We devide by 5 to slow down movement for modern CPUs
+		// We divide by 5 to slow down movement for modern CPUs
 		int deltaAlphaI;
 		if (deltaAlpha < M_PI) {
 			deltaAlphaI = int(-(deltaAlpha * 512. / 5.));




More information about the Scummvm-git-logs mailing list