diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/titanic/core/game_object.cpp | 12 | ||||
-rw-r--r-- | engines/titanic/core/link_item.cpp | 4 | ||||
-rw-r--r-- | engines/titanic/core/project_item.cpp | 8 | ||||
-rw-r--r-- | engines/titanic/core/room_item.cpp | 6 | ||||
-rw-r--r-- | engines/titanic/core/view_item.cpp | 2 | ||||
-rw-r--r-- | engines/titanic/game/place_holder_item.cpp | 14 | ||||
-rw-r--r-- | engines/titanic/game/variable_list.cpp | 6 | ||||
-rw-r--r-- | engines/titanic/main_game_window.cpp | 3 | ||||
-rw-r--r-- | engines/titanic/true_talk/barbot_script.cpp | 2 | ||||
-rw-r--r-- | engines/titanic/true_talk/bellbot_script.cpp | 2 |
10 files changed, 30 insertions, 29 deletions
diff --git a/engines/titanic/core/game_object.cpp b/engines/titanic/core/game_object.cpp index c4467c1e6a..870e9d420d 100644 --- a/engines/titanic/core/game_object.cpp +++ b/engines/titanic/core/game_object.cpp @@ -141,27 +141,27 @@ void CGameObject::load(SimpleFile *file) { case 7: _movieRangeInfoList.load(file); _frameNumber = file->readNumber(); - // Deliberate fall-through + // Intentional fall-through case 6: _cursorId = (CursorId)file->readNumber(); - // Deliberate fall-through + // Intentional fall-through case 5: _movieClips.load(file); - // Deliberate fall-through + // Intentional fall-through case 4: _handleMouseFlag = file->readNumber(); - // Deliberate fall-through + // Intentional fall-through case 3: _nonvisual = file->readNumber(); - // Deliberate fall-through + // Intentional fall-through case 2: _resource = file->readString(); - // Deliberate fall-through + // Intentional fall-through case 1: _bounds = file->readBounds(); diff --git a/engines/titanic/core/link_item.cpp b/engines/titanic/core/link_item.cpp index 559191efc9..977d2f170b 100644 --- a/engines/titanic/core/link_item.cpp +++ b/engines/titanic/core/link_item.cpp @@ -96,11 +96,11 @@ void CLinkItem::load(SimpleFile *file) { switch (val) { case 2: _cursorId = (CursorId)file->readNumber(); - // Deliberate fall-through + // Intentional fall-through case 1: _linkMode = file->readNumber(); - // Deliberate fall-through + // Intentional fall-through case 0: _roomNumber = file->readNumber(); diff --git a/engines/titanic/core/project_item.cpp b/engines/titanic/core/project_item.cpp index 5a530a82b8..a3ac284af8 100644 --- a/engines/titanic/core/project_item.cpp +++ b/engines/titanic/core/project_item.cpp @@ -102,7 +102,7 @@ void CProjectItem::load(SimpleFile *file) { case 1: file->readBuffer(); _nextRoomNumber = file->readNumber(); - // Deliberate fall-through + // Intentional fall-through case 0: // Load the list of files @@ -116,16 +116,16 @@ void CProjectItem::load(SimpleFile *file) { case 6: file->readBuffer(); _nextObjectNumber = file->readNumber(); - // Deliberate fall-through + // Intentional fall-through case 5: file->readBuffer(); _nextMessageNumber = file->readNumber(); - // Deliberate fall-through + // Intentional fall-through case 4: file->readBuffer(); - // Deliberate fall-through + // Intentional fall-through case 2: case 3: diff --git a/engines/titanic/core/room_item.cpp b/engines/titanic/core/room_item.cpp index afac3ec5d4..534fa5cd2f 100644 --- a/engines/titanic/core/room_item.cpp +++ b/engines/titanic/core/room_item.cpp @@ -65,14 +65,14 @@ void CRoomItem::load(SimpleFile *file) { // Read exit movie file->readBuffer(); _exitMovieKey.load(file); - // Deliberate fall-through + // Intentional fall-through case 2: // Read room dimensions file->readBuffer(); _roomDimensionX = (double)file->readNumber() / 1000.0; _roomDimensionY = (double)file->readNumber() / 1000.0; - // Deliberate fall-through + // Intentional fall-through case 1: // Read transition movie key and clip list @@ -82,7 +82,7 @@ void CRoomItem::load(SimpleFile *file) { file->readBuffer(); _clipList.load(file); postLoad(); - // Deliberate fall-through + // Intentional fall-through case 0: // Read room rect diff --git a/engines/titanic/core/view_item.cpp b/engines/titanic/core/view_item.cpp index d0f5c8a549..4e37fd23be 100644 --- a/engines/titanic/core/view_item.cpp +++ b/engines/titanic/core/view_item.cpp @@ -67,7 +67,7 @@ void CViewItem::load(SimpleFile *file) { switch (val) { case 1: _resourceKey.load(file); - // Deliberate fall-through + // Intentional fall-through default: file->readBuffer(); diff --git a/engines/titanic/game/place_holder_item.cpp b/engines/titanic/game/place_holder_item.cpp index 108c25ced8..dcde956390 100644 --- a/engines/titanic/game/place_holder_item.cpp +++ b/engines/titanic/game/place_holder_item.cpp @@ -52,35 +52,35 @@ void CPlaceHolderItem::load(SimpleFile *file) { switch (file->readNumber()) { case 7: _field7C = file->readNumber(); - // Deliberate fall-through + // Intentional fall-through case 6: file->readString(); _clips.load(file); - // Deliberate fall-through + // Intentional fall-through case 5: _field68 = file->readNumber(); - // Deliberate fall-through + // Intentional fall-through case 4: _field64 = file->readNumber(); - // Deliberate fall-through + // Intentional fall-through case 3: _field60 = file->readNumber(); - // Deliberate fall-through + // Intentional fall-through case 2: _list.load(file); - // Deliberate fall-through + // Intentional fall-through case 1: _string2 = file->readString(); _field4C = file->readNumber(); _pos1 = file->readPoint(); _pos2 = file->readPoint(); - // Deliberate fall-through + // Intentional fall-through case 0: _string1 = file->readString(); diff --git a/engines/titanic/game/variable_list.cpp b/engines/titanic/game/variable_list.cpp index 2a4a7df961..9c73bbc834 100644 --- a/engines/titanic/game/variable_list.cpp +++ b/engines/titanic/game/variable_list.cpp @@ -43,16 +43,16 @@ void CVariableListItem::load(SimpleFile *file) { switch (file->readNumber()) { case 3: field44 = file->readNumber(); - // Deliberate fall-through + // Intentional fall-through case 2: _string1 = file->readString(); _field18 = file->readNumber(); - // Deliberate fall-through + // Intentional fall-through case 1: field40 = file->readNumber(); - // Deliberate fall-through + // Intentional fall-through case 0: _string2 = file->readString(); diff --git a/engines/titanic/main_game_window.cpp b/engines/titanic/main_game_window.cpp index f3753b15c1..1d35f8edd9 100644 --- a/engines/titanic/main_game_window.cpp +++ b/engines/titanic/main_game_window.cpp @@ -158,7 +158,8 @@ void CMainGameWindow::draw() { _project->loadGame(_pendingLoadSlot); _pendingLoadSlot = -1; - // Deliberate fall-through to draw loaded game + // Intentional fall-through + // to draw loaded game case GSMODE_INTERACTIVE: case GSMODE_CUTSCENE: diff --git a/engines/titanic/true_talk/barbot_script.cpp b/engines/titanic/true_talk/barbot_script.cpp index ae4104cb68..627df6f860 100644 --- a/engines/titanic/true_talk/barbot_script.cpp +++ b/engines/titanic/true_talk/barbot_script.cpp @@ -315,7 +315,7 @@ int BarbotScript::process(const TTroomScript *roomScript, const TTsentence *sent } else if (flag2) { return applySentenceIds(51423); } - // Deliberate fall-through + // Intentional fall-through case 16: if (val2C == 7 || val2C == 10) diff --git a/engines/titanic/true_talk/bellbot_script.cpp b/engines/titanic/true_talk/bellbot_script.cpp index c958727a8b..8e5633b078 100644 --- a/engines/titanic/true_talk/bellbot_script.cpp +++ b/engines/titanic/true_talk/bellbot_script.cpp @@ -389,7 +389,7 @@ ScriptChangedResult BellbotScript::scriptChanged(const TTroomScript *roomScript, _responseFlag = false; CTrueTalkManager::_v9 = 0; - // Deliberate fall-through + // Intentional fall-through default: if (roomScript->_scriptId == 115 && id == 103) { switch (getValue(4)) { |