diff options
Diffstat (limited to 'engines/pegasus/neighborhood/caldoria/caldoria.cpp')
-rw-r--r-- | engines/pegasus/neighborhood/caldoria/caldoria.cpp | 146 |
1 files changed, 78 insertions, 68 deletions
diff --git a/engines/pegasus/neighborhood/caldoria/caldoria.cpp b/engines/pegasus/neighborhood/caldoria/caldoria.cpp index 9d2d6723a9..ed52851338 100644 --- a/engines/pegasus/neighborhood/caldoria/caldoria.cpp +++ b/engines/pegasus/neighborhood/caldoria/caldoria.cpp @@ -42,109 +42,119 @@ namespace Pegasus { -static const int16 kVidPhoneAngle = 30; -static const int16 kReplicatorAngle = 50; -static const int16 kDrawersAngle = -30; -static const int16 kCaldoria53Angle = 45; -static const int16 kCaldoria55Angle = -45; +enum { + kVidPhoneAngle = 30, + kReplicatorAngle = 50, + kDrawersAngle = -30, + kCaldoria53Angle = 45, + kCaldoria55Angle = -45 +}; -static const TimeValue kSinclairInterruptionTime1 = 2955; -static const TimeValue kSinclairInterruptionTime2 = 6835; -static const TimeValue kSinclairInterruptionTime3 = 9835; -static const TimeValue kSinclairInterruptionTime4 = 12555; +enum { + kSinclairInterruptionTime1 = 2955, + kSinclairInterruptionTime2 = 6835, + kSinclairInterruptionTime3 = 9835, + kSinclairInterruptionTime4 = 12555 +}; -static const InputBits kPullbackInterruptFilter = kFilterAllInput; -static const InputBits kRecalibrationInterruptFilter = kFilterAllInput; +enum { + kPullbackInterruptFilter = kFilterAllInput, + kRecalibrationInterruptFilter = kFilterAllInput +}; -static const TimeValue kCaldoriaReplicatorIntroIn = 4933; -static const TimeValue kCaldoriaReplicatorIntroOut = 6557; +enum { + kCaldoriaReplicatorIntroIn = 4933, + kCaldoriaReplicatorIntroOut = 6557, -static const TimeValue kCaldoriaReplicatorWrongChoiceIn = 6557; -static const TimeValue kCaldoriaReplicatorWrongChoiceOut = 8586; + kCaldoriaReplicatorWrongChoiceIn = 6557, + kCaldoriaReplicatorWrongChoiceOut = 8586, -static const TimeValue kCaldoriaReplicatorOJChoiceIn = 8586; -static const TimeValue kCaldoriaReplicatorOJChoiceOut = 11687; + kCaldoriaReplicatorOJChoiceIn = 8586, + kCaldoriaReplicatorOJChoiceOut = 11687, -static const TimeValue kCaldoriaMessagesIntroIn = 11687; -static const TimeValue kCaldoriaMessagesIntroOut = 13641; + kCaldoriaMessagesIntroIn = 11687, + kCaldoriaMessagesIntroOut = 13641, -static const TimeValue kCaldoriaFirstMessageIn = 13641; -static const TimeValue kCaldoriaFirstMessageOut = 14203; + kCaldoriaFirstMessageIn = 13641, + kCaldoriaFirstMessageOut = 14203, -static const TimeValue kCaldoriaSecondMessageIn = 14203; -static const TimeValue kCaldoriaSecondMessageOut = 14750; + kCaldoriaSecondMessageIn = 14203, + kCaldoriaSecondMessageOut = 14750, -static const TimeValue kCaldoriaDoorCloseIn = 14750; -static const TimeValue kCaldoriaDoorCloseOut = 15472; + kCaldoriaDoorCloseIn = 14750, + kCaldoriaDoorCloseOut = 15472, -static const TimeValue kCaldoriaElevatorCloseIn = 15472; -static const TimeValue kCaldoriaElevatorCloseOut = 16336; + kCaldoriaElevatorCloseIn = 15472, + kCaldoriaElevatorCloseOut = 16336, -static const TimeValue kCaldoriaShowerCloseIn = 16336; -static const TimeValue kCaldoriaShowerCloseOut = 17101; + kCaldoriaShowerCloseIn = 16336, + kCaldoriaShowerCloseOut = 17101, -static const TimeValue kCaldoriaGTDoorCloseIn = 17101; -static const TimeValue kCaldoriaGTDoorCloseOut = 18523; + kCaldoriaGTDoorCloseIn = 17101, + kCaldoriaGTDoorCloseOut = 18523, -static const TimeValue kCaldoriaNobodyHomeIn = 18523; -static const TimeValue kCaldoriaNobodyHomeOut = 21469; + kCaldoriaNobodyHomeIn = 18523, + kCaldoriaNobodyHomeOut = 21469, -static const TimeValue kCaldoriaNoOtherFloorIn = 21469; -static const TimeValue kCaldoriaNoOtherFloorOut = 28013; + kCaldoriaNoOtherFloorIn = 21469, + kCaldoriaNoOtherFloorOut = 28013, -static const TimeValue kCaldoria4DInstructionsIn = 28013; -static const TimeValue kCaldoria4DInstructionsOut = 29730; + kCaldoria4DInstructionsIn = 28013, + kCaldoria4DInstructionsOut = 29730, -static const TimeValue kCaldoriaDrinkOJIn = 33910; -static const TimeValue kCaldoriaDrinkOJOut = 35846; + kCaldoriaDrinkOJIn = 33910, + kCaldoriaDrinkOJOut = 35846, -static const TimeValue kCaldoriaNoOtherDestinationIn = 35846; -static const TimeValue kCaldoriaNoOtherDestinationOut = 37877; + kCaldoriaNoOtherDestinationIn = 35846, + kCaldoriaNoOtherDestinationOut = 37877, -static const TimeValue kCaldoriaUhghIn = 37877; -static const TimeValue kCaldoriaUhghOut = 38025; + kCaldoriaUhghIn = 37877, + kCaldoriaUhghOut = 38025, -static const TimeValue kCaldoriaSinclairShootsOSIn = 38025; -static const TimeValue kCaldoriaSinclairShootsOSOut = 40649; + kCaldoriaSinclairShootsOSIn = 38025, + kCaldoriaSinclairShootsOSOut = 40649, -static const TimeValue kCaldoriaScreamingAfterIn = 40649; -static const TimeValue kCaldoriaScreamingAfterOut = 47661; + kCaldoriaScreamingAfterIn = 40649, + kCaldoriaScreamingAfterOut = 47661 +}; -static const TimeValue k4FloorTime = 0; +enum { + k4FloorTime = 0, -static const TimeValue k4To1Start = 40; -static const TimeValue k4To1Stop = 7720; + k4To1Start = 40, + k4To1Stop = 7720, -static const TimeValue k4To5Start = 7720; -static const TimeValue k4To5Stop = 10280; + k4To5Start = 7720, + k4To5Stop = 10280, -static const TimeValue k4To2Time = 10280; + k4To2Time = 10280, -static const TimeValue k4To3Time = 10320; + k4To3Time = 10320, -static const TimeValue k1FloorTime = 10360; + k1FloorTime = 10360, -static const TimeValue k1To4Start = 10400; -static const TimeValue k1To4Stop = 18080; + k1To4Start = 10400, + k1To4Stop = 18080, -static const TimeValue k1To5Start = 18080; -static const TimeValue k1To5Stop = 28320; + k1To5Start = 18080, + k1To5Stop = 28320, -static const TimeValue k1To2Time = 28320; + k1To2Time = 28320, -static const TimeValue k1To3Time = 28360; + k1To3Time = 28360, -static const TimeValue k5FloorTime = 28400; + k5FloorTime = 28400, -static const TimeValue k5To1Start = 28440; -static const TimeValue k5To1Stop = 38680; + k5To1Start = 28440, + k5To1Stop = 38680, -static const TimeValue k5To4Start = 38680; -static const TimeValue k5To4Stop = 41240; + k5To4Start = 38680, + k5To4Stop = 41240, -static const TimeValue k5To2Time = 41240; + k5To2Time = 41240, -static const TimeValue k5To3Time = 41280; + k5To3Time = 41280 +}; // FuseFunction functions... |