[Scummvm-git-logs] scummvm master -> 8b030146cfd6b9c9380115d147f872de7dbd080b
bluegr
noreply at scummvm.org
Wed Dec 25 15:59:07 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:
8b030146cf JANITORIAL: SCUMM: Fix typos
Commit: 8b030146cfd6b9c9380115d147f872de7dbd080b
https://github.com/scummvm/scummvm/commit/8b030146cfd6b9c9380115d147f872de7dbd080b
Author: Hubert Maier (raziel- at users.noreply.github.com)
Date: 2024-12-25T17:59:04+02:00
Commit Message:
JANITORIAL: SCUMM: Fix typos
Changed paths:
engines/scumm/actor.cpp
engines/scumm/he/basketball/collision/bball_collision_cylinder.cpp
engines/scumm/he/basketball/collision/bball_collision_object.h
engines/scumm/he/net/net_main.cpp
engines/scumm/smush/smush_player.cpp
diff --git a/engines/scumm/actor.cpp b/engines/scumm/actor.cpp
index 0df30c89ded..3b072b960a0 100644
--- a/engines/scumm/actor.cpp
+++ b/engines/scumm/actor.cpp
@@ -375,7 +375,7 @@ bool Actor_v0::walkBoxQueuePrepare() {
// Its not, start hunting through this boxes immediate connections
byte* boxm = _vm->getBoxConnectionBase(_walkboxQueue[_walkboxQueueIndex - 1]);
- // Attempt to find one, which we havn't already used
+ // Attempt to find one, which we haven't already used
for (; *boxm != kInvalidBox; ++boxm) {
if (walkBoxQueueFind(*boxm) != true)
break;
diff --git a/engines/scumm/he/basketball/collision/bball_collision_cylinder.cpp b/engines/scumm/he/basketball/collision/bball_collision_cylinder.cpp
index 3e9002540a8..f37836f89ef 100644
--- a/engines/scumm/he/basketball/collision/bball_collision_cylinder.cpp
+++ b/engines/scumm/he/basketball/collision/bball_collision_cylinder.cpp
@@ -620,7 +620,7 @@ bool CCollisionCylinder::nudgeObject(const CCollisionBox &targetObject, U32Dista
return true;
}
- // Only do caluclations for the x and y dimensions, as we will handle z seperately...
+ // Only do calculations for the x and y dimensions, as we will handle z separately...
for (int i = X_INDEX; i <= Y_INDEX; ++i) {
EDimension dim = (EDimension)i;
diff --git a/engines/scumm/he/basketball/collision/bball_collision_object.h b/engines/scumm/he/basketball/collision/bball_collision_object.h
index 1d1d59ab9db..1965c48ec04 100644
--- a/engines/scumm/he/basketball/collision/bball_collision_object.h
+++ b/engines/scumm/he/basketball/collision/bball_collision_object.h
@@ -145,7 +145,7 @@ public:
U32FltVector3D _velocity;
float _collisionEfficiency; // A multiplier (range 0 to 1) that represents
- // the percentage of velocity (perpindicular with
+ // the percentage of velocity (perpendicular with
// the collision) that a target object retains
// when it collides with this object
diff --git a/engines/scumm/he/net/net_main.cpp b/engines/scumm/he/net/net_main.cpp
index e009bccad95..35a024bbbf3 100644
--- a/engines/scumm/he/net/net_main.cpp
+++ b/engines/scumm/he/net/net_main.cpp
@@ -1529,7 +1529,7 @@ void Net::handleGameDataHost(Common::JSONValue *json, int peerIndex) {
warning("NETWORK: Got individual message for %d, but we don't know this person! Ignoring...", toparam);
return;
}
- debugC(DEBUG_NETWORK, "NETWORK: Transfering message to %s (%d), peerIndex: %d", _userIdToName[toparam].c_str(), toparam, _userIdToPeerIndex[toparam]);
+ debugC(DEBUG_NETWORK, "NETWORK: Transferring message to %s (%d), peerIndex: %d", _userIdToName[toparam].c_str(), toparam, _userIdToPeerIndex[toparam]);
Common::String str = Common::JSON::stringify(json);
_sessionHost->send(str.c_str(), _userIdToPeerIndex[toparam], 0, reliable);
}
diff --git a/engines/scumm/smush/smush_player.cpp b/engines/scumm/smush/smush_player.cpp
index efbc734d1f8..f892d2e03a6 100644
--- a/engines/scumm/smush/smush_player.cpp
+++ b/engines/scumm/smush/smush_player.cpp
@@ -666,7 +666,7 @@ void SmushPlayer::handleTextResource(uint32 subType, int32 subSize, Common::Seek
Common::Rect clipRect(MAX<int>(0, left), MAX<int>(0, top), MIN<int>(left + width, _width), MIN<int>(top + height, _height));
sf->drawStringWrap(str, _dst, clipRect, pos_x, pos_y, color, flg);
} else {
- // Similiar to the wrapped text, COMI will pass on rect coords here, which will later be lost. Unlike with the wrapped text, it will
+ // Similar to the wrapped text, COMI will pass on rect coords here, which will later be lost. Unlike with the wrapped text, it will
// finally use the full screen dimenstions. SCUMM7 renders directly from here (see comment above), but also with the full screen.
Common::Rect clipRect(0, 0, _width, _height);
sf->drawString(str, _dst, clipRect, pos_x, pos_y, color, flg);
More information about the Scummvm-git-logs
mailing list