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

bluegr noreply at scummvm.org
Wed Aug 7 19:06:18 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:
d842366587 JANITORIAL: GROOVIE: Fix typos in comments


Commit: d842366587e0e073df1681bb283bbd1e63f02cc9
    https://github.com/scummvm/scummvm/commit/d842366587e0e073df1681bb283bbd1e63f02cc9
Author: Hubert Maier (raziel- at users.noreply.github.com)
Date: 2024-08-07T22:06:14+03:00

Commit Message:
JANITORIAL: GROOVIE: Fix typos in comments

Changed paths:
    engines/groovie/logic/tlcgame.cpp
    engines/groovie/video/vdx.cpp


diff --git a/engines/groovie/logic/tlcgame.cpp b/engines/groovie/logic/tlcgame.cpp
index acf931cdc5e..3208f8e7885 100644
--- a/engines/groovie/logic/tlcgame.cpp
+++ b/engines/groovie/logic/tlcgame.cpp
@@ -936,7 +936,7 @@ void TlcGame::tatResultEpisode() {
 		// increment 16 Bit interpreted variables with score sum of the current episode
 		setScriptVar16(0x5D + iBin * 2, getScriptVar16(0x5D + iBin * 2) + binScoreSum);
 
-		// Find the two biggest bin ratios. Remeber idx and ratio, A is biggest, B second
+		// Find the two biggest bin ratios. Remember idx and ratio, A is biggest, B second
 		if (binScoreSum != 0) {
 			ratioCur = (float)binScoreSum / (float)_tatHeaders[episode].binDividends[iBin];
 			if (ratioCur > ratioA) {
@@ -1243,7 +1243,7 @@ void TlcGame::tatGetProfile() {
 		binRatios[iBin] = (float)getScriptVar16(0x5D + 2 * iBin) / (float)sumBinDivs[iBin];
 	}
 
-	// Select higher ratio of each pair (A=iBin and B=iBin+1) and 1 or 2 accoring to threshold
+	// Select higher ratio of each pair (A=iBin and B=iBin+1) and 1 or 2 according to threshold
 	for (iBin = 0; iBin < 16; iBin += 2) {
 		if (binRatios[iBin] > binRatios[iBin + 1]) {
 
diff --git a/engines/groovie/video/vdx.cpp b/engines/groovie/video/vdx.cpp
index 1c2e5153d7c..8e5fb8ef62d 100644
--- a/engines/groovie/video/vdx.cpp
+++ b/engines/groovie/video/vdx.cpp
@@ -562,7 +562,7 @@ void VDXPlayer::fadeIn(uint8 *targetpal) {
 	if (_flagSkipPalette)
 		return;
 
-	// TODO: Is it required? If so, move to an appropiate place
+	// TODO: Is it required? If so, move to an appropriate place
 	// Copy the foreground to the background
 	memcpy((byte *)_vm->_graphicsMan->_foreground.getPixels(), (byte *)_vm->_graphicsMan->_background.getPixels(), 640 * 320);
 




More information about the Scummvm-git-logs mailing list