diff options
author | Torbjörn Andersson | 2015-08-29 21:30:55 +0200 |
---|---|---|
committer | Torbjörn Andersson | 2015-08-29 21:30:55 +0200 |
commit | 303bbe75d58b74dac6ef38c7bebf59f72fca42b1 (patch) | |
tree | 129261a657130c5ad9cec323f5fabfe865a67558 /engines/sherlock/tattoo | |
parent | e734bb5078055521e04508ce19c5766b36817300 (diff) | |
download | scummvm-rg350-303bbe75d58b74dac6ef38c7bebf59f72fca42b1.tar.gz scummvm-rg350-303bbe75d58b74dac6ef38c7bebf59f72fca42b1.tar.bz2 scummvm-rg350-303bbe75d58b74dac6ef38c7bebf59f72fca42b1.zip |
SHERLOCK: Fix comment typos
Diffstat (limited to 'engines/sherlock/tattoo')
-rw-r--r-- | engines/sherlock/tattoo/tattoo_people.cpp | 4 | ||||
-rw-r--r-- | engines/sherlock/tattoo/tattoo_people.h | 2 | ||||
-rw-r--r-- | engines/sherlock/tattoo/tattoo_user_interface.cpp | 4 | ||||
-rw-r--r-- | engines/sherlock/tattoo/widget_files.cpp | 2 | ||||
-rw-r--r-- | engines/sherlock/tattoo/widget_inventory.cpp | 2 | ||||
-rw-r--r-- | engines/sherlock/tattoo/widget_talk.cpp | 4 |
6 files changed, 9 insertions, 9 deletions
diff --git a/engines/sherlock/tattoo/tattoo_people.cpp b/engines/sherlock/tattoo/tattoo_people.cpp index b3f02f4ba9..ac4366261f 100644 --- a/engines/sherlock/tattoo/tattoo_people.cpp +++ b/engines/sherlock/tattoo/tattoo_people.cpp @@ -486,8 +486,8 @@ void TattooPerson::setWalking() { } // See if the new walk sequence is the same as the old. If it's a new one, - // we need to reset the frame number to zero so it's animation starts at - // it's beginning. Otherwise, if it's the same sequence, we can leave it + // we need to reset the frame number to zero so its animation starts at + // its beginning. Otherwise, if it's the same sequence, we can leave it // as is, so it keeps the animation going at wherever it was up to if (_sequenceNumber != _oldWalkSequence) { if (_seqTo) { diff --git a/engines/sherlock/tattoo/tattoo_people.h b/engines/sherlock/tattoo/tattoo_people.h index 66123a7f72..722c4a9aaa 100644 --- a/engines/sherlock/tattoo/tattoo_people.h +++ b/engines/sherlock/tattoo/tattoo_people.h @@ -188,7 +188,7 @@ public: void walkBothToCoords(const PositionFacing &holmesDest, const PositionFacing &npcDest); /** - * This adjusts the sprites position, as well as it's animation sequence: + * This adjusts the sprites position, as well as its animation sequence: */ virtual void adjustSprite(); diff --git a/engines/sherlock/tattoo/tattoo_user_interface.cpp b/engines/sherlock/tattoo/tattoo_user_interface.cpp index a3742109e8..75d436b0c0 100644 --- a/engines/sherlock/tattoo/tattoo_user_interface.cpp +++ b/engines/sherlock/tattoo/tattoo_user_interface.cpp @@ -342,7 +342,7 @@ void TattooUserInterface::doBgAnimRestoreUI() { if (scene._activeCAnim.active()) screen.restoreBackground(scene._activeCAnim._oldBounds); - // If a canimation just ended, remove it's graphics from the backbuffer + // If a canimation just ended, remove its graphics from the backbuffer if (scene._activeCAnim._removeBounds.width() > 0) screen.restoreBackground(scene._activeCAnim._removeBounds); } @@ -481,7 +481,7 @@ void TattooUserInterface::doStandardControl() { talk.initTalk(_bgFound); _activeObj = -1; } else if (!noDesc) { - // Either call the code to Look at it's Examine Field or call the Exit animation + // Either call the code to Look at its Examine Field or call the Exit animation // if the object is an exit, specified by the first four characters of the name being "EXIT" Common::String name = _personFound ? people[_bgFound - 1000]._name : _bgShape->_name; if (!name.hasPrefix("EXIT")) { diff --git a/engines/sherlock/tattoo/widget_files.cpp b/engines/sherlock/tattoo/widget_files.cpp index 606c8210b0..c9a20b0f8a 100644 --- a/engines/sherlock/tattoo/widget_files.cpp +++ b/engines/sherlock/tattoo/widget_files.cpp @@ -58,7 +58,7 @@ void WidgetFiles::show(SaveMode mode) { (FILES_LINES_COUNT + 1) + 17); _bounds.moveTo(mousePos.x - _bounds.width() / 2, mousePos.y - _bounds.height() / 2); - // Create the surface and render it's contents + // Create the surface and render its contents _surface.create(_bounds.width(), _bounds.height()); render(RENDER_ALL); diff --git a/engines/sherlock/tattoo/widget_inventory.cpp b/engines/sherlock/tattoo/widget_inventory.cpp index 20881ef012..3555ecdffd 100644 --- a/engines/sherlock/tattoo/widget_inventory.cpp +++ b/engines/sherlock/tattoo/widget_inventory.cpp @@ -41,7 +41,7 @@ WidgetInventoryTooltip::WidgetInventoryTooltip(SherlockEngine *vm, WidgetInvento } void WidgetInventoryTooltip::setText(const Common::String &str) { - // If no text specified, erase any previously displayed tooltip and free it's surface + // If no text specified, erase any previously displayed tooltip and free its surface if (str.empty()) { erase(); _surface.free(); diff --git a/engines/sherlock/tattoo/widget_talk.cpp b/engines/sherlock/tattoo/widget_talk.cpp index b0cc7bcfb2..969ffe75c0 100644 --- a/engines/sherlock/tattoo/widget_talk.cpp +++ b/engines/sherlock/tattoo/widget_talk.cpp @@ -303,7 +303,7 @@ void WidgetTalk::handleEvents() { int select = -1; _selector = _oldSelector = -1; - // Find the first statement that has all it's flags set correctly + // Find the first statement that has all its flags set correctly for (uint idx = 0; idx < talk._statements.size() && select == -1; ++select) { if (!talk._statements[idx]._talkMap) select = idx; @@ -441,7 +441,7 @@ void WidgetTalk::setStatementLines() { _statementLines.clear(); for (uint statementNum = 0; statementNum < talk._statements.size(); ++statementNum) { - // See if this statment meets all of it's flag requirements + // See if this statment 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; |