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" 63 typedef int8 VertexType;
64 typedef VertexType *BombEdgeList;
66 static const VertexType kEdgeOneSixteenth = 0;
67 static const VertexType kEdgeOneEighth = 1;
68 static const VertexType kEdgeThreeSixteenths = 2;
69 static const VertexType kEdgeOneFourth = 3;
70 static const VertexType kEdgeFiveSixteenths = 4;
71 static const VertexType kEdgeThreeEighths = 5;
72 static const VertexType kEdgeSevenSixteenths = 6;
73 static 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: neighborhood.h:111
Definition: caldoriabomb.h:89
Definition: caldoriabomb.h:119
Definition: caldoriabomb.h:75
Definition: surface.h:105
Definition: notification.h:53
Definition: interaction.h:37
Definition: notification.h:103
Definition: notification.h:83
Definition: elements.h:117
Definition: ai_action.h:33
Definition: surface.h:125