aboutsummaryrefslogtreecommitdiff
path: root/engines/pegasus/neighborhood/norad/alpha
diff options
context:
space:
mode:
Diffstat (limited to 'engines/pegasus/neighborhood/norad/alpha')
-rw-r--r--engines/pegasus/neighborhood/norad/alpha/fillingstation.cpp10
-rw-r--r--engines/pegasus/neighborhood/norad/alpha/noradalpha.cpp20
2 files changed, 30 insertions, 0 deletions
diff --git a/engines/pegasus/neighborhood/norad/alpha/fillingstation.cpp b/engines/pegasus/neighborhood/norad/alpha/fillingstation.cpp
index 7866385019..bc78fd9af9 100644
--- a/engines/pegasus/neighborhood/norad/alpha/fillingstation.cpp
+++ b/engines/pegasus/neighborhood/norad/alpha/fillingstation.cpp
@@ -256,6 +256,8 @@ void NoradAlphaFillingStation::dispenseGas() {
setSegmentState(kFSNIncompatibleStart, kFSNIncompatibleStop,
kFSIntakeWarningFinishedFlag, kNoState);
break;
+ default:
+ break;
}
else {
if (_dispenseItemID == kArgonCanister) {
@@ -288,6 +290,8 @@ void NoradAlphaFillingStation::dispenseGas() {
case kNitrogenCanister:
setStaticState(kFSNAttach, kWaitingForDispense);
break;
+ default:
+ break;
}
}
}
@@ -349,6 +353,8 @@ void NoradAlphaFillingStation::receiveNotification(Notification *, const Notific
case kFSNHiliteFinishedFlag:
NHighlightFinished();
break;
+ default:
+ break;
}
}
@@ -409,6 +415,8 @@ void NoradAlphaFillingStation::clickInHotspot(const Input &input, const Hotspot
case kNorad01NSpotID:
clickInN();
break;
+ default:
+ break;
}
}
@@ -427,6 +435,8 @@ void NoradAlphaFillingStation::activateHotspots() {
g_allHotspots.activateOneHotspot(kNorad01OSpotID);
g_allHotspots.activateOneHotspot(kNorad01NSpotID);
break;
+ default:
+ break;
}
}
diff --git a/engines/pegasus/neighborhood/norad/alpha/noradalpha.cpp b/engines/pegasus/neighborhood/norad/alpha/noradalpha.cpp
index d42d974712..fd8d19e362 100644
--- a/engines/pegasus/neighborhood/norad/alpha/noradalpha.cpp
+++ b/engines/pegasus/neighborhood/norad/alpha/noradalpha.cpp
@@ -218,6 +218,8 @@ GameInteraction *NoradAlpha::makeInteraction(const InteractionID interactionID)
return new NoradAlphaECRMonitor(this);
case kNoradFillingStationInteractionID:
return new NoradAlphaFillingStation(this);
+ default:
+ break;
}
return Norad::makeInteraction(interactionID);
@@ -299,6 +301,8 @@ void NoradAlpha::checkContinuePoint(const RoomID room, const DirectionConstant d
case MakeRoomView(kNorad21, kSouth):
makeContinuePoint();
break;
+ default:
+ break;
}
}
@@ -327,6 +331,8 @@ void NoradAlpha::arriveAt(const RoomID room, const DirectionConstant direction)
case kNorad22:
arriveAtNorad22();
break;
+ default:
+ break;
}
}
@@ -377,6 +383,8 @@ void NoradAlpha::receiveNotification(Notification *notification, const Notificat
_interruptionFilter = kFilterAllInput;
makeContinuePoint();
break;
+ default:
+ break;
}
}
@@ -395,6 +403,8 @@ void NoradAlpha::receiveNotification(Notification *notification, const Notificat
GameState.setCurrentRoom(kNorad21);
arriveAt(kNorad22, kSouth);
break;
+ default:
+ break;
}
}
@@ -554,6 +564,8 @@ void NoradAlpha::activateHotspots() {
if (GameState.isCurrentDoorOpen())
_vm->getAllHotspots().deactivateOneHotspot(kNorad21WestSpotID);
break;
+ default:
+ break;
}
}
@@ -624,6 +636,8 @@ Hotspot *NoradAlpha::getItemScreenSpot(Item *item, DisplayElement *element) {
return _vm->getAllHotspots().findHotspotByID(kN01ArgonCanisterSpotID);
case kNitrogenCanister:
return _vm->getAllHotspots().findHotspotByID(kN01NitrogenCanisterSpotID);
+ default:
+ break;
}
return Norad::getItemScreenSpot(item, element);
@@ -672,6 +686,8 @@ uint NoradAlpha::getNumHints() {
case MakeRoomView(kNorad22, kWest):
numHints = 1;
break;
+ default:
+ break;
}
}
@@ -707,12 +723,16 @@ Common::String NoradAlpha::getHintMovie(uint hintNum) {
return "Images/AI/Globals/XGLOB5C";
case 3:
return "Images/AI/Norad/XN01SH";
+ default:
+ break;
}
break;
case MakeRoomView(kNorad19West, kWest):
return "Images/AI/Norad/XN19NH";
case MakeRoomView(kNorad22, kWest):
return "Images/AI/Globals/XGLOB1C";
+ default:
+ break;
}
}