diff options
Diffstat (limited to 'engines/pegasus/neighborhood/wsc')
-rwxr-xr-x | engines/pegasus/neighborhood/wsc/wsc.cpp | 730 | ||||
-rwxr-xr-x | engines/pegasus/neighborhood/wsc/wsc.h | 12 |
2 files changed, 371 insertions, 371 deletions
diff --git a/engines/pegasus/neighborhood/wsc/wsc.cpp b/engines/pegasus/neighborhood/wsc/wsc.cpp index 6bc3a85c3f..1f00999aa7 100755 --- a/engines/pegasus/neighborhood/wsc/wsc.cpp +++ b/engines/pegasus/neighborhood/wsc/wsc.cpp @@ -33,15 +33,15 @@ namespace Pegasus { -const CanMoveForwardReason kCantMoveWatchingDiagnosis = kCantMoveLastReason + 1; +static const CanMoveForwardReason kCantMoveWatchingDiagnosis = kCantMoveLastReason + 1; -const CanTurnReason kCantTurnWatchingDiagnosis = kCantTurnLastReason + 1; -const CanTurnReason kCantTurnWatchingAnalysis = kCantTurnWatchingDiagnosis + 1; -const CanTurnReason kCantTurnInMoleculeGame = kCantTurnWatchingAnalysis + 1; +static const CanTurnReason kCantTurnWatchingDiagnosis = kCantTurnLastReason + 1; +static const CanTurnReason kCantTurnWatchingAnalysis = kCantTurnWatchingDiagnosis + 1; +static const CanTurnReason kCantTurnInMoleculeGame = kCantTurnWatchingAnalysis + 1; -const TimeScale kMoleculesMovieScale = 600; -const TimeValue kMoleculeLoopTime = 4 * kMoleculesMovieScale; -const TimeValue kMoleculeFailTime = 2 * kMoleculesMovieScale; +static const TimeScale kMoleculesMovieScale = 600; +static const TimeValue kMoleculeLoopTime = 4 * kMoleculesMovieScale; +static const TimeValue kMoleculeFailTime = 2 * kMoleculesMovieScale; enum { kMoleculeLoop0Time = 0, @@ -59,7 +59,7 @@ enum { kMoleculeLoop6Time = kMoleculeFail5Time + kMoleculeFailTime }; -const TimeValue s_moleculeLoopTimes[] = { +static const TimeValue s_moleculeLoopTimes[] = { kMoleculeLoop0Time, kMoleculeLoop1Time, kMoleculeLoop2Time, @@ -69,7 +69,7 @@ const TimeValue s_moleculeLoopTimes[] = { kMoleculeLoop6Time }; -const TimeValue s_moleculeFailTimes[] = { +static const TimeValue s_moleculeFailTimes[] = { kMoleculeFail0Time, kMoleculeFail1Time, kMoleculeFail2Time, @@ -78,399 +78,399 @@ const TimeValue s_moleculeFailTimes[] = { kMoleculeFail5Time }; -const short kAuditoriumAngleOffset = 5; +static const int16 kAuditoriumAngleOffset = 5; -const long kPlasmaEnergyWithShield = kMaxJMPEnergy * 10 / 100; -const long kPlasmaEnergyNoShield = kMaxJMPEnergy * 20 / 100; +static const int kPlasmaEnergyWithShield = kMaxJMPEnergy * 10 / 100; +static const int kPlasmaEnergyNoShield = kMaxJMPEnergy * 20 / 100; -const long kTimerEventPlasmaHit = 0; -const long kTimerEventPlayerGawkingAtRobot = 1; -const long kTimerEventPlayerGawkingAtRobot2 = 2; +static const int kTimerEventPlasmaHit = 0; +static const int kTimerEventPlayerGawkingAtRobot = 1; +static const int kTimerEventPlayerGawkingAtRobot2 = 2; -const TimeValue kWSCMolecule1In = 0; -const TimeValue kWSCMolecule1Out = 937; +static const TimeValue kWSCMolecule1In = 0; +static const TimeValue kWSCMolecule1Out = 937; -const TimeValue kWSCMolecule2In = 937; -const TimeValue kWSCMolecule2Out = 1864; +static const TimeValue kWSCMolecule2In = 937; +static const TimeValue kWSCMolecule2Out = 1864; -const TimeValue kWSCMolecule3In = 1864; -const TimeValue kWSCMolecule3Out = 2790; +static const TimeValue kWSCMolecule3In = 1864; +static const TimeValue kWSCMolecule3Out = 2790; -const TimeValue kWSCClick1In = 2790; -const TimeValue kWSCClick1Out = 2890; +static const TimeValue kWSCClick1In = 2790; +static const TimeValue kWSCClick1Out = 2890; -const TimeValue kWSCClick2In = 2890; -const TimeValue kWSCClick2Out = 3059; +static const TimeValue kWSCClick2In = 2890; +static const TimeValue kWSCClick2Out = 3059; -const TimeValue kWSCClick3In = 3059; -const TimeValue kWSCClick3Out = 3156; +static const TimeValue kWSCClick3In = 3059; +static const TimeValue kWSCClick3Out = 3156; -const TimeValue kWSCFlashlightClickIn = 3156; -const TimeValue kWSCFlashlightClickOut = 3211; +static const TimeValue kWSCFlashlightClickIn = 3156; +static const TimeValue kWSCFlashlightClickOut = 3211; -const TimeValue kWSCBumpIntoWallIn = 3211; -const TimeValue kWSCBumpIntoWallOut = 3514; +static const TimeValue kWSCBumpIntoWallIn = 3211; +static const TimeValue kWSCBumpIntoWallOut = 3514; -const TimeValue kWSCCantTransportIn = 3514; -const TimeValue kWSCCantTransportOut = 7791; +static const TimeValue kWSCCantTransportIn = 3514; +static const TimeValue kWSCCantTransportOut = 7791; -const TimeValue kHernandezNotHomeIn = 7791; -const TimeValue kHernandezNotHomeOut = 10199; +static const TimeValue kHernandezNotHomeIn = 7791; +static const TimeValue kHernandezNotHomeOut = 10199; -const TimeValue kWashingtonNotHomeIn = 10199; -const TimeValue kWashingtonNotHomeOut = 12649; +static const TimeValue kWashingtonNotHomeIn = 10199; +static const TimeValue kWashingtonNotHomeOut = 12649; -const TimeValue kSullivanNotHomeIn = 12649; -const TimeValue kSullivanNotHomeOut = 15031; +static const TimeValue kSullivanNotHomeIn = 12649; +static const TimeValue kSullivanNotHomeOut = 15031; -const TimeValue kNakamuraNotHomeIn = 15031; -const TimeValue kNakamuraNotHomeOut = 17545; +static const TimeValue kNakamuraNotHomeIn = 15031; +static const TimeValue kNakamuraNotHomeOut = 17545; -const TimeValue kGrailisNotHomeIn = 17545; -const TimeValue kGrailisNotHomeOut = 19937; +static const TimeValue kGrailisNotHomeIn = 17545; +static const TimeValue kGrailisNotHomeOut = 19937; -const TimeValue kTheriaultNotHomeIn = 19937; -const TimeValue kTheriaultNotHomeOut = 22395; +static const TimeValue kTheriaultNotHomeIn = 19937; +static const TimeValue kTheriaultNotHomeOut = 22395; -const TimeValue kGlennerNotHomeIn = 22395; -const TimeValue kGlennerNotHomeOut = 24770; +static const TimeValue kGlennerNotHomeIn = 22395; +static const TimeValue kGlennerNotHomeOut = 24770; -const TimeValue kSinclairNotHomeIn = 24770; -const TimeValue kSinclairNotHomeOut = 27328; +static const TimeValue kSinclairNotHomeIn = 24770; +static const TimeValue kSinclairNotHomeOut = 27328; -const TimeValue kWSCLabClosedIn = 27328; -const TimeValue kWSCLabClosedOut = 28904; +static const TimeValue kWSCLabClosedIn = 27328; +static const TimeValue kWSCLabClosedOut = 28904; -const TimeValue kSlidingDoorCloseIn = 28904; -const TimeValue kSlidingDoorCloseOut = 29295; +static const TimeValue kSlidingDoorCloseIn = 28904; +static const TimeValue kSlidingDoorCloseOut = 29295; -const TimeValue kSlimyDoorCloseIn = 29295; -const TimeValue kSlimyDoorCloseOut = 29788; +static const TimeValue kSlimyDoorCloseIn = 29295; +static const TimeValue kSlimyDoorCloseOut = 29788; -const TimeValue kPaging1In = 29788; -const TimeValue kPaging1Out = 32501; +static const TimeValue kPaging1In = 29788; +static const TimeValue kPaging1Out = 32501; -const TimeValue kPaging2In = 32501; -const TimeValue kPaging2Out = 34892; +static const TimeValue kPaging2In = 32501; +static const TimeValue kPaging2Out = 34892; -const TimeValue kCheckInIn = 34892; -const TimeValue kCheckInOut = 37789; +static const TimeValue kCheckInIn = 34892; +static const TimeValue kCheckInOut = 37789; -const TimeValue kDrinkAntidoteIn = 37789; -const TimeValue kDrinkAntidoteOut = 39725; +static const TimeValue kDrinkAntidoteIn = 37789; +static const TimeValue kDrinkAntidoteOut = 39725; -const TimeScale kWSCMovieScale = 600; -const TimeScale kWSCFramesPerSecond = 15; -const TimeScale kWSCFrameDuration = 40; +static const TimeScale kWSCMovieScale = 600; +static const TimeScale kWSCFramesPerSecond = 15; +static const TimeScale kWSCFrameDuration = 40; // Alternate IDs. -const AlternateID kAltWSCNormal = 0; -const AlternateID kAltWSCTookMachineGun = 1; -const AlternateID kAltWSCW0ZDoorOpen = 2; -const AlternateID kAltWSCPeopleAtW19North = 3; +static const AlternateID kAltWSCNormal = 0; +static const AlternateID kAltWSCTookMachineGun = 1; +static const AlternateID kAltWSCW0ZDoorOpen = 2; +static const AlternateID kAltWSCPeopleAtW19North = 3; // Room IDs. -const RoomID kWSC02 = 1; -const RoomID kWSC03 = 4; -const RoomID kWSC04 = 5; -const RoomID kWSC06 = 6; -const RoomID kWSC07 = 7; -const RoomID kWSC08 = 8; -const RoomID kWSC09 = 9; -const RoomID kWSC10 = 10; -const RoomID kWSC11 = 11; -const RoomID kWSC13 = 12; -const RoomID kWSC14 = 13; -const RoomID kWSC15 = 14; -const RoomID kWSC16 = 15; -const RoomID kWSC17 = 16; -const RoomID kWSC18 = 17; -const RoomID kWSC19 = 18; -const RoomID kWSC20 = 19; -const RoomID kWSC21 = 20; -const RoomID kWSC22 = 21; -const RoomID kWSC23 = 22; -const RoomID kWSC24 = 23; -const RoomID kWSC25 = 24; -const RoomID kWSC26 = 25; -const RoomID kWSC27 = 26; -const RoomID kWSC28 = 27; -const RoomID kWSC29 = 28; -const RoomID kWSC31 = 29; -const RoomID kWSC32 = 30; -const RoomID kWSC33 = 31; -const RoomID kWSC34 = 32; -const RoomID kWSC35 = 33; -const RoomID kWSC36 = 34; -const RoomID kWSC37 = 35; -const RoomID kWSC38 = 36; -const RoomID kWSC39 = 37; -const RoomID kWSC40 = 38; -const RoomID kWSC41 = 39; -const RoomID kWSC42 = 40; -const RoomID kWSC43 = 41; -const RoomID kWSC44 = 42; -const RoomID kWSC45 = 43; -const RoomID kWSC46 = 44; -const RoomID kWSC47 = 45; -const RoomID kWSC48 = 46; -const RoomID kWSC49 = 47; -const RoomID kWSC50 = 48; -const RoomID kWSC52 = 49; -const RoomID kWSC53 = 50; -const RoomID kWSC54 = 51; -const RoomID kWSC55 = 52; -const RoomID kWSC56 = 53; -const RoomID kWSC57 = 54; -const RoomID kWSC58 = 55; -const RoomID kWSC60 = 56; -const RoomID kWSC60East = 57; -const RoomID kWSC60North = 58; -const RoomID kWSC61 = 59; -const RoomID kWSC61South = 60; -const RoomID kWSC61West = 61; -const RoomID kWSC63 = 63; -const RoomID kWSC64 = 64; -const RoomID kWSC65 = 65; -const RoomID kWSC65Screen = 66; -const RoomID kWSC66 = 67; -const RoomID kWSC67 = 68; -const RoomID kWSC68 = 69; -const RoomID kWSC69 = 70; -const RoomID kWSC70 = 71; -const RoomID kWSC71 = 72; -const RoomID kWSC72 = 73; -const RoomID kWSC73 = 74; -const RoomID kWSC74 = 75; -const RoomID kWSC75 = 76; -const RoomID kWSC0Z = 77; -const RoomID kWSC76 = 78; -const RoomID kWSC77 = 79; -const RoomID kWSC78 = 80; -const RoomID kWSC79 = 81; -const RoomID kWSC80 = 82; -const RoomID kWSC81 = 83; -const RoomID kWSC82 = 84; -const RoomID kWSC83 = 85; -const RoomID kWSC84 = 86; -const RoomID kWSC85 = 87; -const RoomID kWSC86 = 88; -const RoomID kWSC87 = 89; -const RoomID kWSC88 = 90; -const RoomID kWSC89 = 91; -const RoomID kWSC90 = 92; -const RoomID kWSC91 = 93; -const RoomID kWSC92 = 94; -const RoomID kWSC93 = 95; -const RoomID kWSC94 = 96; -const RoomID kWSC95 = 97; -const RoomID kWSC96 = 98; -const RoomID kWSC97 = 99; -const RoomID kWSC98 = 100; -const RoomID kWSCDeathRoom = 101; +static const RoomID kWSC02 = 1; +static const RoomID kWSC03 = 4; +static const RoomID kWSC04 = 5; +static const RoomID kWSC06 = 6; +static const RoomID kWSC07 = 7; +static const RoomID kWSC08 = 8; +static const RoomID kWSC09 = 9; +static const RoomID kWSC10 = 10; +static const RoomID kWSC11 = 11; +static const RoomID kWSC13 = 12; +static const RoomID kWSC14 = 13; +static const RoomID kWSC15 = 14; +static const RoomID kWSC16 = 15; +static const RoomID kWSC17 = 16; +static const RoomID kWSC18 = 17; +static const RoomID kWSC19 = 18; +static const RoomID kWSC20 = 19; +static const RoomID kWSC21 = 20; +static const RoomID kWSC22 = 21; +static const RoomID kWSC23 = 22; +static const RoomID kWSC24 = 23; +static const RoomID kWSC25 = 24; +static const RoomID kWSC26 = 25; +static const RoomID kWSC27 = 26; +static const RoomID kWSC28 = 27; +static const RoomID kWSC29 = 28; +static const RoomID kWSC31 = 29; +static const RoomID kWSC32 = 30; +static const RoomID kWSC33 = 31; +static const RoomID kWSC34 = 32; +static const RoomID kWSC35 = 33; +static const RoomID kWSC36 = 34; +static const RoomID kWSC37 = 35; +static const RoomID kWSC38 = 36; +static const RoomID kWSC39 = 37; +static const RoomID kWSC40 = 38; +static const RoomID kWSC41 = 39; +static const RoomID kWSC42 = 40; +static const RoomID kWSC43 = 41; +static const RoomID kWSC44 = 42; +static const RoomID kWSC45 = 43; +static const RoomID kWSC46 = 44; +static const RoomID kWSC47 = 45; +static const RoomID kWSC48 = 46; +static const RoomID kWSC49 = 47; +static const RoomID kWSC50 = 48; +static const RoomID kWSC52 = 49; +static const RoomID kWSC53 = 50; +static const RoomID kWSC54 = 51; +static const RoomID kWSC55 = 52; +static const RoomID kWSC56 = 53; +static const RoomID kWSC57 = 54; +static const RoomID kWSC58 = 55; +static const RoomID kWSC60 = 56; +static const RoomID kWSC60East = 57; +static const RoomID kWSC60North = 58; +static const RoomID kWSC61 = 59; +static const RoomID kWSC61South = 60; +static const RoomID kWSC61West = 61; +static const RoomID kWSC63 = 63; +static const RoomID kWSC64 = 64; +static const RoomID kWSC65 = 65; +static const RoomID kWSC65Screen = 66; +static const RoomID kWSC66 = 67; +static const RoomID kWSC67 = 68; +static const RoomID kWSC68 = 69; +static const RoomID kWSC69 = 70; +static const RoomID kWSC70 = 71; +static const RoomID kWSC71 = 72; +static const RoomID kWSC72 = 73; +static const RoomID kWSC73 = 74; +static const RoomID kWSC74 = 75; +static const RoomID kWSC75 = 76; +static const RoomID kWSC0Z = 77; +static const RoomID kWSC76 = 78; +static const RoomID kWSC77 = 79; +static const RoomID kWSC78 = 80; +static const RoomID kWSC79 = 81; +static const RoomID kWSC80 = 82; +static const RoomID kWSC81 = 83; +static const RoomID kWSC82 = 84; +static const RoomID kWSC83 = 85; +static const RoomID kWSC84 = 86; +static const RoomID kWSC85 = 87; +static const RoomID kWSC86 = 88; +static const RoomID kWSC87 = 89; +static const RoomID kWSC88 = 90; +static const RoomID kWSC89 = 91; +static const RoomID kWSC90 = 92; +static const RoomID kWSC91 = 93; +static const RoomID kWSC92 = 94; +static const RoomID kWSC93 = 95; +static const RoomID kWSC94 = 96; +static const RoomID kWSC95 = 97; +static const RoomID kWSC96 = 98; +static const RoomID kWSC97 = 99; +static const RoomID kWSC98 = 100; +static const RoomID kWSCDeathRoom = 101; // Hot Spot Activation IDs. -const HotSpotActivationID kActivationZoomedInToAnalyzer = 1; -const HotSpotActivationID kActivationShotByRobot = 2; -const HotSpotActivationID kActivationWarnedAboutPoison = 3; -const HotSpotActivationID kActivationMorphScreenOff = 4; -const HotSpotActivationID kActivationReadyForMorph = 5; -const HotSpotActivationID kActivationMorphLooping = 6; -const HotSpotActivationID kActivationMorphInterrupted = 7; -const HotSpotActivationID kActivationW03NorthOff = 8; -const HotSpotActivationID kActivationW03NorthReadyForInstructions = 9; -const HotSpotActivationID kActivationW03NorthSawInstructions = 10; -const HotSpotActivationID kActivationW03NorthInGame = 11; -const HotSpotActivationID kActivationReadyForSynthesis = 12; -const HotSpotActivationID kActivationSynthesizerLooping = 13; -const HotSpotActivationID kActivationReadyForMap = 14; -const HotSpotActivationID kActivationSinclairOfficeLocked = 15; -const HotSpotActivationID kActivationW58SouthDoorLocked = 16; -const HotSpotActivationID kActivationW61SouthOff = 17; -const HotSpotActivationID kActivationW61SouthOn = 18; -const HotSpotActivationID kActivationW61MessagesOff = 19; -const HotSpotActivationID kActivationW61MessagesOn = 20; -const HotSpotActivationID kActivationWSCRobotHeadOpen = 21; -const HotSpotActivationID kActivationRobotTurning = 22; -const HotSpotActivationID kActivationRobotDead = 23; -const HotSpotActivationID kActivationRobotGone = 24; +static const HotSpotActivationID kActivationZoomedInToAnalyzer = 1; +static const HotSpotActivationID kActivationShotByRobot = 2; +static const HotSpotActivationID kActivationWarnedAboutPoison = 3; +static const HotSpotActivationID kActivationMorphScreenOff = 4; +static const HotSpotActivationID kActivationReadyForMorph = 5; +static const HotSpotActivationID kActivationMorphLooping = 6; +static const HotSpotActivationID kActivationMorphInterrupted = 7; +static const HotSpotActivationID kActivationW03NorthOff = 8; +static const HotSpotActivationID kActivationW03NorthReadyForInstructions = 9; +static const HotSpotActivationID kActivationW03NorthSawInstructions = 10; +static const HotSpotActivationID kActivationW03NorthInGame = 11; +static const HotSpotActivationID kActivationReadyForSynthesis = 12; +static const HotSpotActivationID kActivationSynthesizerLooping = 13; +static const HotSpotActivationID kActivationReadyForMap = 14; +static const HotSpotActivationID kActivationSinclairOfficeLocked = 15; +static const HotSpotActivationID kActivationW58SouthDoorLocked = 16; +static const HotSpotActivationID kActivationW61SouthOff = 17; +static const HotSpotActivationID kActivationW61SouthOn = 18; +static const HotSpotActivationID kActivationW61MessagesOff = 19; +static const HotSpotActivationID kActivationW61MessagesOn = 20; +static const HotSpotActivationID kActivationWSCRobotHeadOpen = 21; +static const HotSpotActivationID kActivationRobotTurning = 22; +static const HotSpotActivationID kActivationRobotDead = 23; +static const HotSpotActivationID kActivationRobotGone = 24; // Hot Spot IDs. -const HotSpotID kWSCDropDartSpotID = 5000; -const HotSpotID kWSCTurnOnAnalyzerSpotID = 5001; -const HotSpotID kWSCAnalyzerScreenSpotID = 5002; -const HotSpotID kWSCSpinRobotSpotID = 5003; -const HotSpotID kWSC01YesSpotID = 5004; -const HotSpotID kWSC01NoSpotID = 5005; -const HotSpotID kWSC01AcknowledgeWarningSpotID = 5006; -const HotSpotID kWSC02SouthMorphSpotID = 5007; -const HotSpotID kWSC02SouthMessagesSpotID = 5008; -const HotSpotID kWSC02SouthMorphOutSpotID = 5009; -const HotSpotID kWSC02ActivateMorphScreenSpotID = 5010; -const HotSpotID kWSC02SouthStartMorphSpotID = 5011; -const HotSpotID kWSC02SouthInterruptMorphSpotID = 5012; -const HotSpotID kWSC02SouthMorphFinishedSpotID = 5013; -const HotSpotID kWSC02SouthTakeArgonSpotID = 5014; -const HotSpotID kWSC02SouthMessagesOutSpotID = 5015; -const HotSpotID kWSC02SouthTakeNitrogenSpotID = 5016; -const HotSpotID kWSC02SouthPlayMessagesSpotID = 5017; -const HotSpotID kWSC03NorthActivateScreenSpotID = 5018; -const HotSpotID kWSC03NorthBuildMoleculeSpotID = 5019; -const HotSpotID kWSC03NorthProceedSpotID = 5020; -const HotSpotID kWSC03NorthMolecule1SpotID = 5021; -const HotSpotID kWSC03NorthMolecule2SpotID = 5022; -const HotSpotID kWSC03NorthMolecule3SpotID = 5023; -const HotSpotID kWSC03NorthMolecule4SpotID = 5024; -const HotSpotID kWSC03NorthMolecule5SpotID = 5025; -const HotSpotID kWSC03NorthMolecule6SpotID = 5026; -const HotSpotID kWSC03SouthActivateSynthesizerSpotID = 5027; -const HotSpotID kWSC03SouthPickUpAntidoteSpotID = 5028; -const HotSpotID kWSC07SouthMapSpotID = 5029; -const HotSpotID kW42EastUnlockDoorSpotID = 5030; -const HotSpotID kW56NorthMapSpotID = 5031; -const HotSpotID kW58SouthPryDoorSpotID = 5032; -const HotSpotID kWSC60EastSpotID = 5033; -const HotSpotID kWSC60NorthSpotID = 5034; -const HotSpotID kWSC60EastOutSpotID = 5035; -const HotSpotID kWSC60NorthOutSpotID = 5036; -const HotSpotID kWSC61EastSpotID = 5037; -const HotSpotID kWSC61SouthSpotID = 5038; -const HotSpotID kW61SouthMachineGunSpotID = 5039; -const HotSpotID kW61SouthDropMachineGunSpotID = 5040; -const HotSpotID kWSC61WestSpotID = 5041; -const HotSpotID kWSC61SouthOutSpotID = 5042; -const HotSpotID kW61SouthActivateSpotID = 5043; -const HotSpotID kW61SmartAlloysSpotID = 5044; -const HotSpotID kW61MorphingSpotID = 5045; -const HotSpotID kW61TimeBendingSpotID = 5046; -const HotSpotID kWSC61WestOutSpotID = 5047; -const HotSpotID kW61TurnOnMessagesSpotID = 5048; -const HotSpotID kW61WhiteMessageSpotID = 5049; -const HotSpotID kW61WalchekMessageSpotID = 5050; -const HotSpotID kWSC65SouthScreenSpotID = 5051; -const HotSpotID kWSC65SouthScreenOutSpotID = 5052; -const HotSpotID kW98RetinalChipSpotID = 5053; -const HotSpotID kW98MapChipSpotID = 5054; -const HotSpotID kW98OpticalChipSpotID = 5055; -const HotSpotID kW98DropArgonSpotID = 5056; -const HotSpotID kW98GrabCableSpotID = 5057; -const HotSpotID kW98OpenRobotSpotID = 5058; -const HotSpotID kW98StunGunSpotID = 5059; +static const HotSpotID kWSCDropDartSpotID = 5000; +static const HotSpotID kWSCTurnOnAnalyzerSpotID = 5001; +static const HotSpotID kWSCAnalyzerScreenSpotID = 5002; +static const HotSpotID kWSCSpinRobotSpotID = 5003; +static const HotSpotID kWSC01YesSpotID = 5004; +static const HotSpotID kWSC01NoSpotID = 5005; +static const HotSpotID kWSC01AcknowledgeWarningSpotID = 5006; +static const HotSpotID kWSC02SouthMorphSpotID = 5007; +static const HotSpotID kWSC02SouthMessagesSpotID = 5008; +static const HotSpotID kWSC02SouthMorphOutSpotID = 5009; +static const HotSpotID kWSC02ActivateMorphScreenSpotID = 5010; +static const HotSpotID kWSC02SouthStartMorphSpotID = 5011; +static const HotSpotID kWSC02SouthInterruptMorphSpotID = 5012; +static const HotSpotID kWSC02SouthMorphFinishedSpotID = 5013; +static const HotSpotID kWSC02SouthTakeArgonSpotID = 5014; +static const HotSpotID kWSC02SouthMessagesOutSpotID = 5015; +static const HotSpotID kWSC02SouthTakeNitrogenSpotID = 5016; +static const HotSpotID kWSC02SouthPlayMessagesSpotID = 5017; +static const HotSpotID kWSC03NorthActivateScreenSpotID = 5018; +static const HotSpotID kWSC03NorthBuildMoleculeSpotID = 5019; +static const HotSpotID kWSC03NorthProceedSpotID = 5020; +static const HotSpotID kWSC03NorthMolecule1SpotID = 5021; +static const HotSpotID kWSC03NorthMolecule2SpotID = 5022; +static const HotSpotID kWSC03NorthMolecule3SpotID = 5023; +static const HotSpotID kWSC03NorthMolecule4SpotID = 5024; +static const HotSpotID kWSC03NorthMolecule5SpotID = 5025; +static const HotSpotID kWSC03NorthMolecule6SpotID = 5026; +static const HotSpotID kWSC03SouthActivateSynthesizerSpotID = 5027; +static const HotSpotID kWSC03SouthPickUpAntidoteSpotID = 5028; +static const HotSpotID kWSC07SouthMapSpotID = 5029; +static const HotSpotID kW42EastUnlockDoorSpotID = 5030; +static const HotSpotID kW56NorthMapSpotID = 5031; +static const HotSpotID kW58SouthPryDoorSpotID = 5032; +static const HotSpotID kWSC60EastSpotID = 5033; +static const HotSpotID kWSC60NorthSpotID = 5034; +static const HotSpotID kWSC60EastOutSpotID = 5035; +static const HotSpotID kWSC60NorthOutSpotID = 5036; +static const HotSpotID kWSC61EastSpotID = 5037; +static const HotSpotID kWSC61SouthSpotID = 5038; +static const HotSpotID kW61SouthMachineGunSpotID = 5039; +static const HotSpotID kW61SouthDropMachineGunSpotID = 5040; +static const HotSpotID kWSC61WestSpotID = 5041; +static const HotSpotID kWSC61SouthOutSpotID = 5042; +static const HotSpotID kW61SouthActivateSpotID = 5043; +static const HotSpotID kW61SmartAlloysSpotID = 5044; +static const HotSpotID kW61MorphingSpotID = 5045; +static const HotSpotID kW61TimeBendingSpotID = 5046; +static const HotSpotID kWSC61WestOutSpotID = 5047; +static const HotSpotID kW61TurnOnMessagesSpotID = 5048; +static const HotSpotID kW61WhiteMessageSpotID = 5049; +static const HotSpotID kW61WalchekMessageSpotID = 5050; +static const HotSpotID kWSC65SouthScreenSpotID = 5051; +static const HotSpotID kWSC65SouthScreenOutSpotID = 5052; +static const HotSpotID kW98RetinalChipSpotID = 5053; +static const HotSpotID kW98MapChipSpotID = 5054; +static const HotSpotID kW98OpticalChipSpotID = 5055; +static const HotSpotID kW98DropArgonSpotID = 5056; +static const HotSpotID kW98GrabCableSpotID = 5057; +static const HotSpotID kW98OpenRobotSpotID = 5058; +static const HotSpotID kW98StunGunSpotID = 5059; // Extra sequence IDs. -const ExtraID kWSCArrivalFromTSA = 0; -const ExtraID kWSCShotByRobot = 1; -const ExtraID kWSCDartScan1 = 2; -const ExtraID kWSCDartScan2 = 3; -const ExtraID kWSCDartScanNo = 4; -const ExtraID kWSCDartScan3 = 5; -const ExtraID kWSCAnalyzerPowerUp = 6; -const ExtraID kWSCAnalyzerPowerUpWithDart = 7; -const ExtraID kWSCDropDartIntoAnalyzer = 8; -const ExtraID kWSCAnalyzeDart = 9; -const ExtraID kWSCZoomOutFromAnalyzer = 10; -const ExtraID kWSCSpinRobot = 11; -const ExtraID kWSC02MorphZoomNoArgon = 12; -const ExtraID kWSC02MessagesZoomNoNitrogen = 13; -const ExtraID kWSC02ZoomOutNoArgon = 14; -const ExtraID kWSC02TurnOnMorphScreen = 15; -const ExtraID kWSC02DropToMorphExperiment = 16; -const ExtraID kWSC02MorphLoop = 17; -const ExtraID kWSC02MorphInterruption = 18; -const ExtraID kWSC02MorphFinished = 19; -const ExtraID kWSC02TurnOffMorphScreen = 20; -const ExtraID kWSC02SouthViewNoArgon = 21; -const ExtraID kMessagesMovedToOffice = 22; -const ExtraID kMessagesOff = 23; -const ExtraID kMessagesZoomOutNoNitrogen = 24; -const ExtraID kMessagesMovedToOfficeNoNitrogen = 25; -const ExtraID kMessagesOffNoNitrogen = 26; -const ExtraID kMessagesViewNoNitrogen = 27; -const ExtraID kMessagesViewMachineOnNoNitrogen = 28; -const ExtraID kW03NorthActivate = 29; -const ExtraID kW03NorthGetData = 30; -const ExtraID kW03NorthInstructions = 31; -const ExtraID kW03NorthPrepMolecule1 = 32; -const ExtraID kW03NorthPrepMolecule2 = 33; -const ExtraID kW03NorthPrepMolecule3 = 34; -const ExtraID kW03NorthFinishSynthesis = 35; -const ExtraID kW03SouthCreateAntidote = 36; -const ExtraID kW03SouthAntidoteLoop = 37; -const ExtraID kW03SouthDeactivate = 38; -const ExtraID kW03SouthViewNoAntidote = 39; -const ExtraID kWSC07SouthMap = 40; -const ExtraID kW17WestPeopleCrossing = 41; -const ExtraID kW17WestPeopleCrossingView = 42; -const ExtraID kW21SouthPeopleCrossing = 43; -const ExtraID kW24SouthPeopleCrossing = 44; -const ExtraID kW34EastPeopleCrossing = 45; -const ExtraID kW36WestPeopleCrossing = 46; -const ExtraID kW38NorthPeopleCrossing = 47; -const ExtraID kW46SouthPeopleCrossing = 48; -const ExtraID kW49NorthPeopleCrossing = 49; -const ExtraID kW49NorthPeopleCrossingView = 50; -const ExtraID kWSC56SouthMap = 51; -const ExtraID kNerdAtTheDoor1 = 52; -const ExtraID kNerdAtTheDoor2 = 53; -const ExtraID kW61SouthZoomInNoGun = 54; -const ExtraID kW61Brochure = 55; -const ExtraID kW61SouthScreenOnWithGun = 56; -const ExtraID kW61SouthScreenOffWithGun = 57; -const ExtraID kW61SouthSmartAlloysWithGun = 58; -const ExtraID kW61SouthMorphingWithGun = 59; -const ExtraID kW61SouthTimeBendingWithGun = 60; -const ExtraID kW61SouthZoomOutNoGun = 61; -const ExtraID kW61SouthScreenOnNoGun = 62; -const ExtraID kW61SouthScreenOffNoGun = 63; -const ExtraID kW61SouthSmartAlloysNoGun = 64; -const ExtraID kW61SouthMorphingNoGun = 65; -const ExtraID kW61SouthTimeBendingNoGun = 66; -const ExtraID kW61MessagesOn = 67; -const ExtraID kW61MessagesOff = 68; -const ExtraID kW61WhiteMessage = 69; -const ExtraID kW61WalchekMessage = 70; -const ExtraID kW61WalchekEasterEgg1 = 71; -const ExtraID kW62SouthPlasmaRobotAppears = 72; -const ExtraID kW62ZoomToRobot = 73; -const ExtraID kW62ZoomOutFromRobot = 74; -const ExtraID kW62PlasmaDodgeSurvive = 75; -const ExtraID kW62PlasmaDodgeDie = 76; -const ExtraID kW65SouthSinclairLecture = 77; -const ExtraID kW73WestPeopleCrossing = 78; -const ExtraID kW73WestPeopleCrossingView = 79; -const ExtraID kW0ZSpottedByWomen = 80; -const ExtraID kW95RobotShoots = 81; -const ExtraID kW98MorphsToRobot = 82; -const ExtraID kW98RobotShoots = 83; -const ExtraID kW98RobotShocked = 84; -const ExtraID kW98RobotGassed = 85; -const ExtraID kW98RobotHeadOpensDark = 86; -const ExtraID kW98RobotHead000Dark = 87; -const ExtraID kW98RobotHead001Dark = 88; -const ExtraID kW98RobotHead010Dark = 89; -const ExtraID kW98RobotHead011Dark = 90; -const ExtraID kW98RobotHead100Dark = 91; -const ExtraID kW98RobotHead101Dark = 92; -const ExtraID kW98RobotHead110Dark = 93; -const ExtraID kW98RobotHead111Dark = 94; -const ExtraID kW98RobotHeadClosesDark = 95; -const ExtraID kW98WestViewWithGunDark = 96; -const ExtraID kW98WestViewNoGunDark = 97; -const ExtraID kW98RobotHeadOpensLight = 98; -const ExtraID kW98RobotHead000Light = 99; -const ExtraID kW98RobotHead001Light = 100; -const ExtraID kW98RobotHead010Light = 101; -const ExtraID kW98RobotHead011Light = 102; -const ExtraID kW98RobotHead100Light = 103; -const ExtraID kW98RobotHead101Light = 104; -const ExtraID kW98RobotHead110Light = 105; -const ExtraID kW98RobotHead111Light = 106; -const ExtraID kW98RobotHeadClosesLight = 107; -const ExtraID kW98WestViewWithGunLight = 108; -const ExtraID kW98WestViewNoGunLight = 109; - -const CoordType kMoleculesMovieLeft = kNavAreaLeft + 112; -const CoordType kMoleculesMovieTop = kNavAreaTop + 40; +static const ExtraID kWSCArrivalFromTSA = 0; +static const ExtraID kWSCShotByRobot = 1; +static const ExtraID kWSCDartScan1 = 2; +static const ExtraID kWSCDartScan2 = 3; +static const ExtraID kWSCDartScanNo = 4; +static const ExtraID kWSCDartScan3 = 5; +static const ExtraID kWSCAnalyzerPowerUp = 6; +static const ExtraID kWSCAnalyzerPowerUpWithDart = 7; +static const ExtraID kWSCDropDartIntoAnalyzer = 8; +static const ExtraID kWSCAnalyzeDart = 9; +static const ExtraID kWSCZoomOutFromAnalyzer = 10; +static const ExtraID kWSCSpinRobot = 11; +static const ExtraID kWSC02MorphZoomNoArgon = 12; +static const ExtraID kWSC02MessagesZoomNoNitrogen = 13; +static const ExtraID kWSC02ZoomOutNoArgon = 14; +static const ExtraID kWSC02TurnOnMorphScreen = 15; +static const ExtraID kWSC02DropToMorphExperiment = 16; +static const ExtraID kWSC02MorphLoop = 17; +static const ExtraID kWSC02MorphInterruption = 18; +static const ExtraID kWSC02MorphFinished = 19; +static const ExtraID kWSC02TurnOffMorphScreen = 20; +static const ExtraID kWSC02SouthViewNoArgon = 21; +static const ExtraID kMessagesMovedToOffice = 22; +static const ExtraID kMessagesOff = 23; +static const ExtraID kMessagesZoomOutNoNitrogen = 24; +static const ExtraID kMessagesMovedToOfficeNoNitrogen = 25; +static const ExtraID kMessagesOffNoNitrogen = 26; +static const ExtraID kMessagesViewNoNitrogen = 27; +static const ExtraID kMessagesViewMachineOnNoNitrogen = 28; +static const ExtraID kW03NorthActivate = 29; +static const ExtraID kW03NorthGetData = 30; +static const ExtraID kW03NorthInstructions = 31; +static const ExtraID kW03NorthPrepMolecule1 = 32; +static const ExtraID kW03NorthPrepMolecule2 = 33; +static const ExtraID kW03NorthPrepMolecule3 = 34; +static const ExtraID kW03NorthFinishSynthesis = 35; +static const ExtraID kW03SouthCreateAntidote = 36; +static const ExtraID kW03SouthAntidoteLoop = 37; +static const ExtraID kW03SouthDeactivate = 38; +static const ExtraID kW03SouthViewNoAntidote = 39; +static const ExtraID kWSC07SouthMap = 40; +static const ExtraID kW17WestPeopleCrossing = 41; +static const ExtraID kW17WestPeopleCrossingView = 42; +static const ExtraID kW21SouthPeopleCrossing = 43; +static const ExtraID kW24SouthPeopleCrossing = 44; +static const ExtraID kW34EastPeopleCrossing = 45; +static const ExtraID kW36WestPeopleCrossing = 46; +static const ExtraID kW38NorthPeopleCrossing = 47; +static const ExtraID kW46SouthPeopleCrossing = 48; +static const ExtraID kW49NorthPeopleCrossing = 49; +static const ExtraID kW49NorthPeopleCrossingView = 50; +static const ExtraID kWSC56SouthMap = 51; +static const ExtraID kNerdAtTheDoor1 = 52; +static const ExtraID kNerdAtTheDoor2 = 53; +static const ExtraID kW61SouthZoomInNoGun = 54; +static const ExtraID kW61Brochure = 55; +static const ExtraID kW61SouthScreenOnWithGun = 56; +static const ExtraID kW61SouthScreenOffWithGun = 57; +static const ExtraID kW61SouthSmartAlloysWithGun = 58; +static const ExtraID kW61SouthMorphingWithGun = 59; +static const ExtraID kW61SouthTimeBendingWithGun = 60; +static const ExtraID kW61SouthZoomOutNoGun = 61; +static const ExtraID kW61SouthScreenOnNoGun = 62; +static const ExtraID kW61SouthScreenOffNoGun = 63; +static const ExtraID kW61SouthSmartAlloysNoGun = 64; +static const ExtraID kW61SouthMorphingNoGun = 65; +static const ExtraID kW61SouthTimeBendingNoGun = 66; +static const ExtraID kW61MessagesOn = 67; +static const ExtraID kW61MessagesOff = 68; +static const ExtraID kW61WhiteMessage = 69; +static const ExtraID kW61WalchekMessage = 70; +static const ExtraID kW61WalchekEasterEgg1 = 71; +static const ExtraID kW62SouthPlasmaRobotAppears = 72; +static const ExtraID kW62ZoomToRobot = 73; +static const ExtraID kW62ZoomOutFromRobot = 74; +static const ExtraID kW62PlasmaDodgeSurvive = 75; +static const ExtraID kW62PlasmaDodgeDie = 76; +static const ExtraID kW65SouthSinclairLecture = 77; +static const ExtraID kW73WestPeopleCrossing = 78; +static const ExtraID kW73WestPeopleCrossingView = 79; +static const ExtraID kW0ZSpottedByWomen = 80; +static const ExtraID kW95RobotShoots = 81; +static const ExtraID kW98MorphsToRobot = 82; +static const ExtraID kW98RobotShoots = 83; +static const ExtraID kW98RobotShocked = 84; +static const ExtraID kW98RobotGassed = 85; +static const ExtraID kW98RobotHeadOpensDark = 86; +static const ExtraID kW98RobotHead000Dark = 87; +static const ExtraID kW98RobotHead001Dark = 88; +static const ExtraID kW98RobotHead010Dark = 89; +static const ExtraID kW98RobotHead011Dark = 90; +static const ExtraID kW98RobotHead100Dark = 91; +static const ExtraID kW98RobotHead101Dark = 92; +static const ExtraID kW98RobotHead110Dark = 93; +static const ExtraID kW98RobotHead111Dark = 94; +static const ExtraID kW98RobotHeadClosesDark = 95; +static const ExtraID kW98WestViewWithGunDark = 96; +static const ExtraID kW98WestViewNoGunDark = 97; +static const ExtraID kW98RobotHeadOpensLight = 98; +static const ExtraID kW98RobotHead000Light = 99; +static const ExtraID kW98RobotHead001Light = 100; +static const ExtraID kW98RobotHead010Light = 101; +static const ExtraID kW98RobotHead011Light = 102; +static const ExtraID kW98RobotHead100Light = 103; +static const ExtraID kW98RobotHead101Light = 104; +static const ExtraID kW98RobotHead110Light = 105; +static const ExtraID kW98RobotHead111Light = 106; +static const ExtraID kW98RobotHeadClosesLight = 107; +static const ExtraID kW98WestViewWithGunLight = 108; +static const ExtraID kW98WestViewNoGunLight = 109; + +static const CoordType kMoleculesMovieLeft = kNavAreaLeft + 112; +static const CoordType kMoleculesMovieTop = kNavAreaTop + 40; WSC::WSC(InputHandler *nextHandler, PegasusEngine *owner) : Neighborhood(nextHandler, owner, "WSC", kWSCID), _moleculesMovie(kNoDisplayElement) { diff --git a/engines/pegasus/neighborhood/wsc/wsc.h b/engines/pegasus/neighborhood/wsc/wsc.h index 845b587b94..e2e931ecdc 100755 --- a/engines/pegasus/neighborhood/wsc/wsc.h +++ b/engines/pegasus/neighborhood/wsc/wsc.h @@ -31,13 +31,13 @@ namespace Pegasus { -const DisplayOrder kWSCMoleculeBinOrder = kMonitorLayer; -const DisplayOrder kWSCMoleculesMovieOrder = kWSCMoleculeBinOrder + 1; +static const DisplayOrder kWSCMoleculeBinOrder = kMonitorLayer; +static const DisplayOrder kWSCMoleculesMovieOrder = kWSCMoleculeBinOrder + 1; -const RoomID kWSC01 = 0; -const RoomID kWSC02Morph = 2; -const RoomID kWSC02Messages = 3; -const RoomID kWSC62 = 62; +static const RoomID kWSC01 = 0; +static const RoomID kWSC02Morph = 2; +static const RoomID kWSC02Messages = 3; +static const RoomID kWSC62 = 62; class WSC : public Neighborhood { public: |