25#ifndef PEGASUS_NEIGHBORHOOD_CALDORIA_CALDORIABOMB_H
26#define PEGASUS_NEIGHBORHOOD_CALDORIA_CALDORIABOMB_H
28#include "pegasus/interaction.h"
29#include "pegasus/notification.h"
30#include "pegasus/surface.h"
63typedef int8 VertexType;
64typedef VertexType *BombEdgeList;
66static const VertexType kEdgeOneSixteenth = 0;
67static const VertexType kEdgeOneEighth = 1;
68static const VertexType kEdgeThreeSixteenths = 2;
69static const VertexType kEdgeOneFourth = 3;
70static const VertexType kEdgeFiveSixteenths = 4;
71static const VertexType kEdgeThreeEighths = 5;
72static const VertexType kEdgeSevenSixteenths = 6;
73static const VertexType kEdgeOneHalf = 7;
83 void timeChanged(
const TimeValue)
override;
86 Surface _leftImage, _rightImage;
94 void drawEdges(BombEdgeList);
98 Frame _yellowOneSixteenth;
99 Frame _yellowOneEighth;
100 Frame _yellowThreeSixteenths;
101 Frame _yellowOneFourth;
102 Frame _yellowFiveSixteenths;
103 Frame _yellowThreeEighths;
104 Frame _yellowSevenSixteenths;
105 Frame _yellowOneHalf;
107 Frame _redOneSixteenth;
109 Frame _redThreeSixteenths;
111 Frame _redFiveSixteenths;
112 Frame _redThreeEighths;
113 Frame _redSevenSixteenths;
124 void setSoundFXLevel(
const uint16)
override;
125 void setAmbienceLevel(
const uint16)
override;
127 long getNumHints()
override;
129 void doSolve()
override;
130 bool canSolve()
override;
133 void openInteraction()
override;
134 void initInteraction()
override;
135 void closeInteraction()
override;
136 void receiveNotification(
Notification *,
const NotificationFlags)
override;
137 void activateHotspots()
override;
138 void clickInHotspot(
const Input &,
const Hotspot *)
override;
139 void handleInput(
const Input &,
const Hotspot *)
override;
140 InputBits getInputFilter()
override;
146 BombEdgeList _bombLevel[6];
147 int _currentLevel, _flashTime;
149 VertexType _lastVertex;
Definition: caldoriabomb.h:89
Definition: caldoriabomb.h:75
Definition: caldoriabomb.h:119
Definition: surface.h:105
Definition: interaction.h:37
Definition: elements.h:117
Definition: neighborhood.h:111
Definition: notification.h:53
Definition: notification.h:103
Definition: notification.h:83
Definition: surface.h:125