[Scummvm-git-logs] scummvm master -> 3c852e32e0dd3a0011726d3a09e6e37e2e1f2bdd

bluegr noreply at scummvm.org
Mon Sep 16 17:28:37 UTC 2024


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

Summary:
f34225daa8 JANITORIAL: SHERLOCK: Fix typos
76e2759e8f JANITORIAL: SKY: Fix typos
1eec498ebf JANITORIAL: STARK: Fix typos
2303e5ab37 JANITORIAL: STARTREK: Fix typos
53e486f53a JANITORIAL: SUPERNOVA: Fix typos
1fee9aace7 JANITORIAL: SWORD1: Fix typos
f4905eba8f JANITORIAL: SWORD2: Fix typos
3c852e32e0 JANITORIAL: SWORD25: Fix typos


Commit: f34225daa8a75c5609b6cd97b38f6dcc1ac21ca8
    https://github.com/scummvm/scummvm/commit/f34225daa8a75c5609b6cd97b38f6dcc1ac21ca8
Author: Hubert Maier (raziel- at users.noreply.github.com)
Date: 2024-09-16T20:18:17+03:00

Commit Message:
JANITORIAL: SHERLOCK: Fix typos

Changed paths:
    engines/sherlock/scalpel/scalpel_talk.cpp
    engines/sherlock/scalpel/settings.cpp
    engines/sherlock/tattoo/tattoo_people.cpp
    engines/sherlock/tattoo/widget_talk.cpp


diff --git a/engines/sherlock/scalpel/scalpel_talk.cpp b/engines/sherlock/scalpel/scalpel_talk.cpp
index caa53dc8229..0d68f06f923 100644
--- a/engines/sherlock/scalpel/scalpel_talk.cpp
+++ b/engines/sherlock/scalpel/scalpel_talk.cpp
@@ -424,7 +424,7 @@ OpcodeReturn ScalpelTalk::cmdDisplayInfoLine(const byte *&str) {
 }
 
 OpcodeReturn ScalpelTalk::cmdElse(const byte *&str) {
-	// If this is encountered here, it means that a preceeding IF statement was found,
+	// If this is encountered here, it means that a preceding IF statement was found,
 	// and evaluated to true. Now all the statements for the true block are finished,
 	// so skip over the block of code that would have executed if the result was false
 	_wait = 0;
diff --git a/engines/sherlock/scalpel/settings.cpp b/engines/sherlock/scalpel/settings.cpp
index 21ef5c14142..665b384810c 100644
--- a/engines/sherlock/scalpel/settings.cpp
+++ b/engines/sherlock/scalpel/settings.cpp
@@ -45,7 +45,7 @@ static const int SETUP_POINTS_INTL[12][4]  = {
 	{ 219, 187, 316, 268 }		// _key Pad Accel. Toggle
 };
 
-// Different from original to accomodate hotkeys
+// Different from original to accommodate hotkeys
 static const int SETUP_POINTS_ZH[12][4]  = {
 	{ 3, 159, 73, 38 },		// Exit // OK
 	{ 3, 178, 73, 38 },		// Music Toggle // OK
diff --git a/engines/sherlock/tattoo/tattoo_people.cpp b/engines/sherlock/tattoo/tattoo_people.cpp
index fa5d2718172..e5ba5cc56e8 100644
--- a/engines/sherlock/tattoo/tattoo_people.cpp
+++ b/engines/sherlock/tattoo/tattoo_people.cpp
@@ -1168,7 +1168,7 @@ void TattooPerson::walkBothToCoords(const PositionFacing &holmesDest, const Posi
 	holmes._centerWalk = true;
 	_centerWalk = true;
 
-	// Do one last frame draw so that the lsat person to stop will be drawn in their final position
+	// Do one last frame draw so that the last person to stop will be drawn in their final position
 	scene.doBgAnim();
 
 	_updateNPCPath = true;
diff --git a/engines/sherlock/tattoo/widget_talk.cpp b/engines/sherlock/tattoo/widget_talk.cpp
index a8159b4dffc..e7d07cc4359 100644
--- a/engines/sherlock/tattoo/widget_talk.cpp
+++ b/engines/sherlock/tattoo/widget_talk.cpp
@@ -442,7 +442,7 @@ void WidgetTalk::setStatementLines() {
 	_statementLines.clear();
 
 	for (uint statementNum = 0; statementNum < talk._statements.size(); ++statementNum) {
-		// See if this statment meets all of its flag requirements
+		// See if this statement meets all of its flag requirements
 		if (talk._statements[statementNum]._talkMap != -1) {
 			// Get the next statement text to process
 			Common::String str = talk._statements[statementNum]._statement;


Commit: 76e2759e8f9778de1c07545a59420817b8b499ea
    https://github.com/scummvm/scummvm/commit/76e2759e8f9778de1c07545a59420817b8b499ea
Author: Hubert Maier (raziel- at users.noreply.github.com)
Date: 2024-09-16T20:22:53+03:00

Commit Message:
JANITORIAL: SKY: Fix typos

Changed paths:
    engines/sky/logic.cpp
    engines/sky/skydefs.h


diff --git a/engines/sky/logic.cpp b/engines/sky/logic.cpp
index 95d641e34ae..3694137b717 100644
--- a/engines/sky/logic.cpp
+++ b/engines/sky/logic.cpp
@@ -171,7 +171,7 @@ void Logic::engine() {
 void Logic::nop() {}
 
 /**
- * This function is basicly a wrapper around the real script engine. It runs
+ * This function is basically a wrapper around the real script engine. It runs
  * the script engine until a script has finished.
  * @see script()
  */
diff --git a/engines/sky/skydefs.h b/engines/sky/skydefs.h
index fc2459112da..57a49b15506 100644
--- a/engines/sky/skydefs.h
+++ b/engines/sky/skydefs.h
@@ -4276,7 +4276,7 @@ namespace Sky {
 #define SF_PLUS_FX	(1 << 10)	// set if extra fx module needed
 #define SF_FX_OFF	(1 << 11)	// set if fx disabled
 #define SF_MUS_OFF	(1 << 12)	// set if music disabled
-#define SF_TIMER_TICK	(1 << 13)	// set every timer interupt
+#define SF_TIMER_TICK	(1 << 13)	// set every timer interrupt
 
 // Status flags
 #define SF_CHOOSING	(1 << 14)	// set when choosing text


Commit: 1eec498ebfcac341e01ae1644c66848fb49427ff
    https://github.com/scummvm/scummvm/commit/1eec498ebfcac341e01ae1644c66848fb49427ff
Author: Hubert Maier (raziel- at users.noreply.github.com)
Date: 2024-09-16T20:23:45+03:00

Commit Message:
JANITORIAL: STARK: Fix typos

Changed paths:
    engines/stark/resources/item.h


diff --git a/engines/stark/resources/item.h b/engines/stark/resources/item.h
index 36f46ed28ec..692653db134 100644
--- a/engines/stark/resources/item.h
+++ b/engines/stark/resources/item.h
@@ -115,7 +115,7 @@ public:
 	 */
 	void setMovementSuspendedScript(Script *script);
 
-	/** Set the currently active anim hierachy */
+	/** Set the currently active anim hierarchy */
 	virtual void setAnimHierarchy(AnimHierarchy *animHierarchy) = 0;
 
 	/** List all the exit positions */


Commit: 2303e5ab37ecae1004f4104582d58bb5c84bcf0c
    https://github.com/scummvm/scummvm/commit/2303e5ab37ecae1004f4104582d58bb5c84bcf0c
Author: Hubert Maier (raziel- at users.noreply.github.com)
Date: 2024-09-16T20:24:23+03:00

Commit Message:
JANITORIAL: STARTREK: Fix typos

Changed paths:
    engines/startrek/room.h
    engines/startrek/rooms/trial1.cpp
    engines/startrek/rooms/veng2.cpp
    engines/startrek/saveload.cpp


diff --git a/engines/startrek/room.h b/engines/startrek/room.h
index b78f7e9450d..a665099b358 100644
--- a/engines/startrek/room.h
+++ b/engines/startrek/room.h
@@ -143,7 +143,7 @@ public:
 	Common::Point getBeamInPosition(int crewmanIndex);
 
 	/**
-	 * This is analagous to above, but instead of beaming in, they just appear in a spot.
+	 * This is analogous to above, but instead of beaming in, they just appear in a spot.
 	 * Used sparingly, ie. in feather's serpent when appearing in cave after Quetzecoatl
 	 * warps the crew.
 	 */
diff --git a/engines/startrek/rooms/trial1.cpp b/engines/startrek/rooms/trial1.cpp
index 1aa82cb03ee..9634cb14455 100644
--- a/engines/startrek/rooms/trial1.cpp
+++ b/engines/startrek/rooms/trial1.cpp
@@ -583,12 +583,12 @@ void Room::trial1UseCommunicator() {
 				};
 				int choice = showMultipleTexts(choices);
 
-				if (choice == 0) { // Don't analyze the anomolous program
+				if (choice == 0) { // Don't analyze the anomalous program
 					showText(TX_SPEAKER_UHURA, TX_TRI1U079);
 					_awayMission->trial.doorCodeBehaviour = 2;
 					_awayMission->trial.uhuraAnalyzedCode = true;
 					_awayMission->trial.missionScore += 1;
-				} else { // Analyze the anomolous program
+				} else { // Analyze the anomalous program
 					showText(TX_SPEAKER_UHURA, TX_TRI1U102);
 
 					const TextRef choices2[] = {
diff --git a/engines/startrek/rooms/veng2.cpp b/engines/startrek/rooms/veng2.cpp
index ee161b64b6d..98b62548fcd 100644
--- a/engines/startrek/rooms/veng2.cpp
+++ b/engines/startrek/rooms/veng2.cpp
@@ -22,7 +22,7 @@
 #include "startrek/room.h"
 
 // This room is confusing, because it has two hotspots directly adjacent to each other
-// that deal with torpedos, but they act differently.
+// that deal with torpedoes, but they act differently.
 
 // BUG: It's possible to swap from having shields up to some other system, by first
 // putting shields up, then swapping to another system in the few seconds before the Elasi
diff --git a/engines/startrek/saveload.cpp b/engines/startrek/saveload.cpp
index 96544ebadf6..1709fc49a7b 100644
--- a/engines/startrek/saveload.cpp
+++ b/engines/startrek/saveload.cpp
@@ -45,7 +45,7 @@ bool StarTrekEngine::showSaveMenu() {
 	desc = dialog->getResultString();
 
 	if (desc.empty()) {
-		// create our own description for the saved game, the user didnt enter it
+		// create our own description for the saved game, the user didn't enter it
 		desc = dialog->createDefaultSaveDescription(slot);
 	}
 


Commit: 53e486f53a07804eff84873bb6793f9a82d1ca82
    https://github.com/scummvm/scummvm/commit/53e486f53a07804eff84873bb6793f9a82d1ca82
Author: Hubert Maier (raziel- at users.noreply.github.com)
Date: 2024-09-16T20:25:12+03:00

Commit Message:
JANITORIAL: SUPERNOVA: Fix typos

Changed paths:
    engines/supernova/supernova2/rooms.cpp


diff --git a/engines/supernova/supernova2/rooms.cpp b/engines/supernova/supernova2/rooms.cpp
index c59641b116c..33abb58c588 100644
--- a/engines/supernova/supernova2/rooms.cpp
+++ b/engines/supernova/supernova2/rooms.cpp
@@ -2094,7 +2094,7 @@ bool Ship::interact(Action verb, Object &obj1, Object &obj2) {
 void Ship::outro() {
 	_vm->_screen->paletteFadeOut(100);
 	_vm->renderImage(13);
-	// Because the screen is partialy faded out, the original values (63, 20, 20)
+	// Because the screen is partially faded out, the original values (63, 20, 20)
 	// should be multiplied by 2.55, but are multiplied by 3.5, because the color
 	// looks closer to the original
 	byte palette[768];


Commit: 1fee9aace735938da8da3247e936db716d774adf
    https://github.com/scummvm/scummvm/commit/1fee9aace735938da8da3247e936db716d774adf
Author: Hubert Maier (raziel- at users.noreply.github.com)
Date: 2024-09-16T20:25:49+03:00

Commit Message:
JANITORIAL: SWORD1: Fix typos

Changed paths:
    engines/sword1/router.cpp
    engines/sword1/screen.cpp
    engines/sword1/staticres.cpp


diff --git a/engines/sword1/router.cpp b/engines/sword1/router.cpp
index 404f2c39851..3fa64cc22ac 100644
--- a/engines/sword1/router.cpp
+++ b/engines/sword1/router.cpp
@@ -279,7 +279,7 @@ int32 Router::getRoute() {
 			extractRoute();
 
 			// route.X,route.Y and route.Dir now hold all the
-			// route infomation with the target dir or route
+			// route information with the target dir or route
 			// continuation
 		}
 	}
diff --git a/engines/sword1/screen.cpp b/engines/sword1/screen.cpp
index 6c4a96f0c53..67158526c6a 100644
--- a/engines/sword1/screen.cpp
+++ b/engines/sword1/screen.cpp
@@ -585,7 +585,7 @@ void Screen::draw() {
 		memcpy(_screenBuf, _layerBlocks[0], _scrnSizeX * _scrnSizeY);
 	} else { //We are using PSX version
 		if (_currentScreen == 45 || _currentScreen == 55 ||
-		        _currentScreen == 57 || _currentScreen == 63 || _currentScreen == 71) { // Width shrinked backgrounds
+		        _currentScreen == 57 || _currentScreen == 63 || _currentScreen == 71) { // Width shrunk backgrounds
 			if (!_psxCache.decodedBackground)
 				_psxCache.decodedBackground = psxShrinkedBackgroundToIndexed(_layerBlocks[0], _scrnSizeX, _scrnSizeY);
 		} else {
@@ -696,11 +696,11 @@ void Screen::processImage(uint32 id) {
 	uint16 sprSizeX, sprSizeY;
 	if (compact->o_status & STAT_SHRINK) {
 		memset(_shrinkBuffer, 0, SHRINK_BUFFER_SIZE); //Clean shrink buffer to avoid corruption
-		if (SwordEngine::isPsx() && (compact->o_resource != GEORGE_MEGA)) { //PSX Height shrinked sprites
+		if (SwordEngine::isPsx() && (compact->o_resource != GEORGE_MEGA)) { //PSX Height shrunk sprites
 			sprSizeX = (scale * _resMan->readUint16(&frameHead->width)) / 256;
 			sprSizeY = (scale * (_resMan->readUint16(&frameHead->height))) / 256 / 2;
 			fastShrink(sprData, _resMan->readUint16(&frameHead->width), (_resMan->readUint16(&frameHead->height)) / 2, scale, _shrinkBuffer);
-		} else if (SwordEngine::isPsx()) { //PSX width/height shrinked sprites
+		} else if (SwordEngine::isPsx()) { //PSX width/height shrunk sprites
 			sprSizeX = (scale * _resMan->readUint16(&frameHead->width)) / 256 / 2;
 			sprSizeY = (scale * _resMan->readUint16(&frameHead->height)) / 256 / 2;
 			fastShrink(sprData, _resMan->readUint16(&frameHead->width) / 2, _resMan->readUint16(&frameHead->height) / 2, scale, _shrinkBuffer);
@@ -743,12 +743,12 @@ void Screen::processImage(uint32 id) {
 		if ((!(SwordEngine::isPsx()) || (compact->o_type == TYPE_TEXT)
 		        || (compact->o_resource == LVSFLY) || (!(compact->o_resource == GEORGE_MEGA) && (sprSizeX < 260))))
 			drawSprite(sprData + incr, spriteX, spriteY, sprSizeX, sprSizeY, sprPitch);
-		else if (((sprSizeX >= 260) && (sprSizeX < 450)) || ((compact->o_resource == GMWRITH) && (sprSizeX < 515))  // a psx shrinked sprite (1/2 width)
+		else if (((sprSizeX >= 260) && (sprSizeX < 450)) || ((compact->o_resource == GMWRITH) && (sprSizeX < 515))  // a PSX shrunk sprite (1/2 width)
 		         || ((compact->o_resource == GMPOWER) && (sprSizeX < 515)))                                         // some needs to be hardcoded, headers don't give useful infos
 			drawPsxHalfShrinkedSprite(sprData + incr, spriteX, spriteY, sprSizeX / 2, sprSizeY, sprPitch / 2);
-		else if (sprSizeX >= 450) // A PSX double shrinked sprite (1/3 width)
+		else if (sprSizeX >= 450) // a PSX double shrunk sprite (1/3 width)
 			drawPsxFullShrinkedSprite(sprData + incr, spriteX, spriteY, sprSizeX / 3, sprSizeY, sprPitch / 3);
-		else // This is for psx half shrinked, walking george and remaining sprites
+		else // This is for PSX half shrunk, walking george and remaining sprites
 			drawPsxHalfShrinkedSprite(sprData + incr, spriteX, spriteY, sprSizeX, sprSizeY, sprPitch);
 		if (!(compact->o_status & STAT_FORE) && !(SwordEngine::isPsx() && (compact->o_resource == MOUBUSY))) // Check fixes moue sprite being masked by layer, happens only on psx
 			verticalMask(spriteX, spriteY, sprSizeX, sprSizeY);
@@ -765,7 +765,7 @@ void Screen::verticalMask(uint16 x, uint16 y, uint16 bWidth, uint16 bHeight) {
 	if (_roomDefTable[_currentScreen].totalLayers <= 1)
 		return;
 
-	if (SwordEngine::isPsx()) { // PSX sprites are vertical shrinked, and some width shrinked
+	if (SwordEngine::isPsx()) { // PSX sprites are vertical shrunk, and some width shrunk
 		bHeight *= 2;
 		bWidth *= 2;
 	}
diff --git a/engines/sword1/staticres.cpp b/engines/sword1/staticres.cpp
index 27181ab1eef..3270dcdd379 100644
--- a/engines/sword1/staticres.cpp
+++ b/engines/sword1/staticres.cpp
@@ -2708,7 +2708,7 @@ const char Sound::_tuneList[TOTAL_TUNES][8] = {
 	"4m9",		// DONE 108	Room 21, on "Maybe it wasn't the right room"
 	"4m10",		// DONE 109	On coming into 21 on subsequent occasions.
 
-	"4m11",		// DONE 110 As George steps upto window.
+	"4m11",		// DONE 110 As George steps up to the window.
 	"4m12",		// DONE 111	Alternative times he steps up to the window.
 	"4m13",		// DONE 112	In Moerlin's room
 	"4m14",		// DONE 113	Sees "Moerlin" on the Stairs


Commit: f4905eba8fde4c87e192a3713250ed418c95510f
    https://github.com/scummvm/scummvm/commit/f4905eba8fde4c87e192a3713250ed418c95510f
Author: Hubert Maier (raziel- at users.noreply.github.com)
Date: 2024-09-16T20:26:32+03:00

Commit Message:
JANITORIAL: SWORD2: Fix typos

Changed paths:
    engines/sword2/function.cpp
    engines/sword2/icons.cpp
    engines/sword2/object.h
    engines/sword2/router.cpp
    engines/sword2/saveload.cpp
    engines/sword2/screen.h
    engines/sword2/walker.cpp


diff --git a/engines/sword2/function.cpp b/engines/sword2/function.cpp
index 4699c31aae4..3ffce083215 100644
--- a/engines/sword2/function.cpp
+++ b/engines/sword2/function.cpp
@@ -733,7 +733,7 @@ int32 Logic::fnWalkToTalkToMega(int32 *params) {
 
 int32 Logic::fnFadeDown(int32 *params) {
 	// NONE means up! can only be called when screen is fully faded up -
-	// multiple calls wont have strange effects
+	// multiple calls won't have strange effects
 
 	// params:	none
 
@@ -896,7 +896,7 @@ int32 Logic::fnISpeak(int32 *params) {
 
 			_animId = READ_LE_UINT32(anim_table + 4 * obMega.getCurDir());
 		} else {
-			// No animation choosen
+			// No animation chosen
 			_animId = 0;
 		}
 
@@ -2158,7 +2158,7 @@ int32 Logic::fnPlaySequence(int32 *params) {
 	_smackerLeadIn = 0;
 	_smackerLeadOut = 0;
 
-	// now clear the screen in case the Sequence was quitted (using ESC)
+	// now clear the screen in case the Sequence was quit (using ESC)
 	// rather than fading down to black
 
 	_vm->_screen->clearScene();
diff --git a/engines/sword2/icons.cpp b/engines/sword2/icons.cpp
index 2eb8fa921c1..3ddb2d06b1e 100644
--- a/engines/sword2/icons.cpp
+++ b/engines/sword2/icons.cpp
@@ -98,7 +98,7 @@ void Mouse::buildMenu() {
 	// far as I can tell, that the new list is ordered in the same way as
 	// the old list, with new objects added to the end of it.
 
-	// Compare new with old. Anything in master thats not in new gets
+	// Compare new with old. Anything in master that's not in new gets
 	// removed from master - if found in new too, remove from temp
 
 	for (i = 0; i < _totalMasters; i++) {
diff --git a/engines/sword2/object.h b/engines/sword2/object.h
index 89f6061f468..e06c1735aae 100644
--- a/engines/sword2/object.h
+++ b/engines/sword2/object.h
@@ -30,7 +30,7 @@ namespace Sword2 {
 
 // these structures represent the broken up compact components
 // these here declared to the system must be the same as those declared to
-// LINC (or it wont work)
+// LINC (or it won't work)
 
 // mouse structure - defines mouse detection area, detection priority &
 // 'type' flag
diff --git a/engines/sword2/router.cpp b/engines/sword2/router.cpp
index c58d5bb748f..f2978a910fe 100644
--- a/engines/sword2/router.cpp
+++ b/engines/sword2/router.cpp
@@ -338,7 +338,7 @@ int32 Router::getRoute() {
 			extractRoute();
 
 			// route.X,route.Y and route.Dir now hold all the
-			// route infomation with the target dir or route
+			// route information with the target dir or route
 			// continuation
 		}
 	}
diff --git a/engines/sword2/saveload.cpp b/engines/sword2/saveload.cpp
index c56a69415a3..390fa777645 100644
--- a/engines/sword2/saveload.cpp
+++ b/engines/sword2/saveload.cpp
@@ -229,7 +229,7 @@ uint32 Sword2Engine::restoreData(uint16 slotNo, byte *buffer, uint32 bufferSize)
 uint32 Sword2Engine::restoreFromBuffer(byte *buffer, uint32 size) {
 	Common::MemoryReadStream readS(buffer, size);
 
-	// Calc checksum & check that aginst the value stored in the header
+	// Calc checksum & check that against the value stored in the header
 
 	if (readS.readUint32LE() != calcChecksum(buffer + 4, size - 4)) {
 		free(buffer);
diff --git a/engines/sword2/screen.h b/engines/sword2/screen.h
index 089d8997a2f..01480b95479 100644
--- a/engines/sword2/screen.h
+++ b/engines/sword2/screen.h
@@ -134,7 +134,7 @@ struct ScreenInfo {
 	uint16 scroll_offset_y;		// Position y
 	uint16 max_scroll_offset_x;	// Calc'ed in fnInitBackground
 	uint16 max_scroll_offset_y;
-	int16 player_feet_x;		// Feet coordinates to use - cant just
+	int16 player_feet_x;		// Feet coordinates to use - can't just
 	int16 player_feet_y;		// fetch the player compact anymore
 	int16 feet_x;			// Special offset-to-player position -
 	int16 feet_y;			// tweek as desired - always set in
@@ -328,7 +328,7 @@ private:
 
 	// This is used to cache PSX backgrounds and parallaxes
 	// data, as they are kept in a file unmanageable from
-	// resource manager. These gets freed everytime an user
+	// resource manager. These get freed every time a user
 	// exits from a room.
 	byte *_psxScrCache[3];
 	bool _psxCacheEnabled[3];
diff --git a/engines/sword2/walker.cpp b/engines/sword2/walker.cpp
index 934332c6b4b..5f6c7e7b77d 100644
--- a/engines/sword2/walker.cpp
+++ b/engines/sword2/walker.cpp
@@ -95,7 +95,7 @@ int Router::doWalk(byte *ob_logic, byte *ob_graph, byte *ob_mega, byte *ob_walkd
 	if (obLogic.getLooping() == 0) {
 		// If we're already there, don't even bother allocating
 		// memory and calling the router, just quit back & continue
-		// the script! This avoids an embarassing mega stand frame
+		// the script! This avoids an embarrassing mega stand frame
 		// appearing for one cycle when we're already in position for
 		// an anim eg. repeatedly clicking on same object to repeat
 		// an anim - no mega frame will appear in between runs of the


Commit: 3c852e32e0dd3a0011726d3a09e6e37e2e1f2bdd
    https://github.com/scummvm/scummvm/commit/3c852e32e0dd3a0011726d3a09e6e37e2e1f2bdd
Author: Hubert Maier (raziel- at users.noreply.github.com)
Date: 2024-09-16T20:27:17+03:00

Commit Message:
JANITORIAL: SWORD25: Fix typos

Changed paths:
    engines/sword25/math/region.cpp
    engines/sword25/script/luabindhelper.cpp


diff --git a/engines/sword25/math/region.cpp b/engines/sword25/math/region.cpp
index bf2f17fd603..4fda099329e 100644
--- a/engines/sword25/math/region.cpp
+++ b/engines/sword25/math/region.cpp
@@ -223,7 +223,7 @@ Vertex Region::findClosestRegionPoint(const Vertex &point) const {
 	if (isPointInRegion(closestVertex))
 		return closestVertex;
 	else {
-		// Try to construct a point within the region - 8 points are tested in the immediate vacinity
+		// Try to construct a point within the region - 8 points are tested in the immediate vicinity
 		// of the point
 		if (isPointInRegion(closestVertex + Vertex(-2, -2)))
 			return closestVertex + Vertex(-2, -2);
diff --git a/engines/sword25/script/luabindhelper.cpp b/engines/sword25/script/luabindhelper.cpp
index e5b8f52d2be..e246b4a8e15 100644
--- a/engines/sword25/script/luabindhelper.cpp
+++ b/engines/sword25/script/luabindhelper.cpp
@@ -147,7 +147,7 @@ bool LuaBindhelper::addConstantsToLib(lua_State *L, const Common::String &libNam
 			lua_settable(L, LUA_GLOBALSINDEX);
 		}
 	}
-	// If the table name is nto empty, the constants are added to that table
+	// If the table name is not empty, the constants are added to that table
 	else {
 		// Ensure that the library table exists
 		if (!createTable(L, libName)) return false;




More information about the Scummvm-git-logs mailing list