@@ -342,6 +342,7 @@ friend class Drawable; // for selection/deselection transactions
342342 ACTIONTYPE_MAKE_DEFECTOR ,
343343 ACTIONTYPE_SET_RALLY_POINT ,
344344 ACTIONTYPE_COMBATDROP_INTO ,
345+ ACTIONTYPE_SABOTAGE_BUILDING ,
345346
346347 NUM_ACTIONTYPES
347348 };
@@ -538,10 +539,12 @@ friend class Drawable; // for selection/deselection transactions
538539 void setCameraRotateRight ( Bool set ) { m_cameraRotatingRight = set; }
539540 void setCameraZoomIn ( Bool set ) { m_cameraZoomingIn = set; }
540541 void setCameraZoomOut ( Bool set ) { m_cameraZoomingOut = set; }
542+ void setCameraTrackingDrawable ( Bool set ) { m_cameraTrackingDrawable = set; }
541543 Bool isCameraRotatingLeft () const { return m_cameraRotatingLeft; }
542544 Bool isCameraRotatingRight () const { return m_cameraRotatingRight; }
543545 Bool isCameraZoomingIn () const { return m_cameraZoomingIn; }
544546 Bool isCameraZoomingOut () const { return m_cameraZoomingOut; }
547+ Bool isCameraTrackingDrawable () const { return m_cameraTrackingDrawable; }
545548 void resetCamera ();
546549
547550 virtual void addIdleWorker ( Object *obj );
@@ -586,6 +589,9 @@ friend class Drawable; // for selection/deselection transactions
586589 void registerWindowLayout (WindowLayout *layout); // register a layout for updates
587590 void unregisterWindowLayout (WindowLayout *layout); // stop updates for this layout
588591
592+ void triggerDoubleClickAttackMoveGuardHint ();
593+
594+
589595public:
590596 // World 2D animation methods
591597 void addWorldAnimation ( Anim2DTemplate *animTemplate,
@@ -647,7 +653,7 @@ friend class Drawable; // for selection/deselection transactions
647653 struct MilitarySubtitleData
648654 {
649655 UnicodeString subtitle; // /< The complete subtitle to be drawn, each line is separated by L"\n"
650- UnsignedInt index; // /< the current index that we are at through the sibtitle
656+ UnsignedInt index; // /< the current index that we are at through the subtitle
651657 ICoord2D position; // /< Where on the screen the subtitle should be drawn
652658 DisplayString *displayStrings[MAX_SUBTITLE_LINES ]; // /< We'll only allow MAX_SUBTITLE_LINES worth of display strings
653659 UnsignedInt currentDisplayString; // /< contains the current display string we're on. (also lets us know the last display string allocated
@@ -726,6 +732,8 @@ friend class Drawable; // for selection/deselection transactions
726732 Int m_maxSelectCount; // /< Max number of objects to select
727733 UnsignedInt m_frameSelectionChanged; // /< Frame when the selection last changed.
728734
735+ Int m_duringDoubleClickAttackMoveGuardHintTimer; // /< Frames left to draw the doubleClickFeedbackTimer
736+ Coord3D m_duringDoubleClickAttackMoveGuardHintStashedPosition;
729737
730738 // Video playback data
731739 VideoBuffer* m_videoBuffer; // /< video playback buffer
@@ -930,6 +938,7 @@ friend class Drawable; // for selection/deselection transactions
930938 Bool m_cameraRotatingLeft;
931939 Bool m_cameraRotatingRight;
932940 Bool m_cameraZoomingIn;
941+ Bool m_cameraTrackingDrawable;
933942 Bool m_cameraZoomingOut;
934943
935944 Bool m_drawRMBScrollAnchor;
0 commit comments