ScummVM API documentation
Avalanche::Timer Class Reference

Classes

struct  TimerType
 

Public Types

enum  Reason {
  kReasonDrawbridgeFalls = 2, kReasonAvariciusTalks = 3, kReasonGoToToilet = 4, kReasonExplosion = 5,
  kReasonBrummieStairs = 6, kReasonCardiffsurvey = 7, kReasonCwytalotInHerts = 8, kReasonGettingTiedUp = 9,
  kReasonHangingAround = 10, kReasonJacquesWakingUp = 11, kReasonNaughtyDuke = 12, kReasonJumping = 13,
  kReasonSequencer = 14, kReasonCrapulusSaysSpludwickOut = 15, kReasonDawndelay = 16, kReasonDrinks = 17,
  kReasonDuLustieTalks = 18, kReasonFallingDownOubliette = 19, kReasonMeetingAvaroid = 20, kReasonRisingUpOubliette = 21,
  kReasonRobinHoodAndGeida = 22, kReasonSittingDown = 23, kReasonGhostRoomPhew = 1, kReasonArkataShouts = 24,
  kReasonWinning = 25, kReasonFallingOver = 26, kReasonSpludwickWalk = 27, kReasonGeidaSings = 28
}
 
enum  Proc {
  kProcOpenDrawbridge = 3, kProcAvariciusTalks = 4, kProcUrinate = 5, kProcToilet = 6,
  kProcBang = 7, kProcBang2 = 8, kProcStairs = 9, kProcCardiffSurvey = 10,
  kProcCardiffReturn = 11, kProcCwytalotInHerts = 12, kProcGetTiedUp = 13, kProcGetTiedUp2 = 1,
  kProcHangAround = 14, kProcHangAround2 = 15, kProcAfterTheShootemup = 32, kProcJacquesWakesUp = 16,
  kProcNaughtyDuke = 17, kProcNaughtyDuke2 = 18, kProcNaughtyDuke3 = 38, kProcJump = 19,
  kProcSequence = 20, kProcCrapulusSpludOut = 21, kProcDawnDelay = 22, kProcBuyDrinks = 23,
  kProcBuyWine = 24, kProcCallsGuards = 25, kProcGreetsMonk = 26, kProcFallDownOubliette = 27,
  kProcMeetAvaroid = 28, kProcRiseUpOubliette = 29, kProcRobinHoodAndGeida = 2, kProcRobinHoodAndGeidaTalk = 30,
  kProcAvalotReturns = 31, kProcAvvySitDown = 33, kProcGhostRoomPhew = 34, kProcArkataShouts = 35,
  kProcWinning = 36, kProcAvalotFalls = 37, kProcSpludwickGoesToCauldron = 39, kProcSpludwickLeavesCauldron = 40,
  kProcGiveLuteToGeida = 41
}
 

Public Member Functions

 Timer (AvalancheEngine *vm)
 
void resetVariables ()
 
void addTimer (int32 duration, byte action, byte reason)
 
void updateTimer ()
 
void loseTimer (byte which)
 
void openDrawbridge ()
 
void avariciusTalks ()
 
void urinate ()
 
void toilet ()
 
void bang ()
 
void bang2 ()
 
void stairs ()
 
void cardiffSurvey ()
 
void cardiffReturn ()
 
void cwytalotInHerts ()
 
void getTiedUp ()
 
void getTiedUp2 ()
 
void hangAround ()
 
void hangAround2 ()
 
void afterTheShootemup ()
 
void jacquesWakesUp ()
 
void naughtyDuke ()
 
void naughtyDuke2 ()
 
void naughtyDuke3 ()
 
void jump ()
 
void crapulusSaysSpludOut ()
 
void buyDrinks ()
 
void buyWine ()
 
void callsGuards ()
 
void greetsMonk ()
 
void fallDownOubliette ()
 
void meetAvaroid ()
 
void riseUpOubliette ()
 
void robinHoodAndGeida ()
 
void robinHoodAndGeidaTalk ()
 
void avalotReturns ()
 
void avvySitDown ()
 
void ghostRoomPhew ()
 
void arkataShouts ()
 
void winning ()
 
void avalotFalls ()
 
void spludwickGoesToCauldron ()
 
void spludwickLeavesCauldron ()
 
void giveLuteToGeida ()
 

Public Attributes

TimerType _times [7]
 

The documentation for this class was generated from the following file: