25 #ifndef PEGASUS_NEIGHBORHOOD_NORAD_DELTA_GLOBEGAME_H 26 #define PEGASUS_NEIGHBORHOOD_NORAD_DELTA_GLOBEGAME_H 28 #include "pegasus/interaction.h" 29 #include "pegasus/movie.h" 30 #include "pegasus/notification.h" 34 enum GlobeTrackDirection {
49 void setTrackParameters(
const Hotspot *, GlobeTrackDirection);
50 void continueTracking(
const Input &)
override;
51 void startTracking(
const Input &)
override;
52 void stopTracking(
const Input &)
override;
53 void activateHotspots()
override;
54 bool stopTrackingInput(
const Input &)
override;
57 void trackGlobeMovie();
58 void stopGlobeMovie();
67 GlobeTrackDirection _trackDirection;
75 void setCountdownTime(
const int);
76 void startCountdown();
79 void setDisplayOrder(
const DisplayOrder);
82 void moveElementTo(
const CoordType,
const CoordType)
override;
91 static const int16 kNumAllSilos = 40;
92 static const int16 kNumTargetSilos = 10;
93 static const int16 kNumLongSlices = 72;
100 void setSoundFXLevel(
const uint16)
override;
102 void handleInput(
const Input &,
const Hotspot *)
override;
103 void clickInHotspot(
const Input &,
const Hotspot *)
override;
104 void activateHotspots()
override;
106 bool canSolve()
override;
107 void doSolve()
override;
119 static const int16 _siloCoords[kNumAllSilos][2];
121 static const int16 _targetSilo[kNumTargetSilos];
122 static const int16 _timeLimit[kNumTargetSilos];
123 static const TimeValue _siloName[kNumTargetSilos][2];
125 void openInteraction()
override;
126 void initInteraction()
override;
127 void closeInteraction()
override;
129 void receiveNotification(
Notification *,
const NotificationFlags)
override;
131 void spinGlobe(
const Input &,
const Hotspot *, GlobeTrackDirection);
132 void clickGlobe(
const Input &);
134 int16 findClickedSilo(
const Input &);
136 void globeMovieFrameToOrigin(int16, int16 &, int16 &);
137 void globePointToLatLong(
const Point3D &, int16, int16, int16 &, int16 &);
138 void screenPointTo3DPoint(int16, int16,
Point3D &);
144 Movie _upperNamesMovie;
145 Movie _lowerNamesMovie;
158 Picture _targetHighlightUpperLeft;
159 Picture _targetHighlightUpperRight;
160 Picture _targetHighlightLowerLeft;
161 Picture _targetHighlightLowerRight;
165 int16 _currentSiloIndex;
167 bool _playedInstructions;
Definition: neighborhood.h:111
Definition: globegame.h:44
Definition: globegame.h:70
Definition: globegame.h:95
Definition: globegame.h:113
Definition: notification.h:53
Definition: interaction.h:37
Definition: globegame.h:109
Definition: notification.h:83
Definition: elements.h:117
Definition: ai_action.h:33
Definition: surface.h:125