You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Generals/Code/GameEngine/Include/GameClient/InGameUI.h
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -440,6 +440,7 @@ friend class Drawable; // for selection/deselection transactions
440
440
virtual Drawable *getFirstSelectedDrawable( void ); ///< get the first selected drawable (if any)
441
441
virtual DrawableID getSoloNexusSelectedDrawableID( void ) { return m_soloNexusSelectedDrawableID; } ///< Return the one drawable of the nexus if only 1 angry mob is selected
442
442
virtual Bool isDrawableSelected( DrawableID idToCheck ) const; ///< Return true if the selected ID is in the drawable list
443
+
virtual Bool areAllObjectsSelected(std::vector<Object*> objectsToCheck) const; ///< Return true if all of the selected objects are in the drawable list
443
444
virtual Bool isAnySelectedKindOf( KindOfType kindOf ) const; ///< is any selected object a kind of
444
445
virtual Bool isAllSelectedKindOf( KindOfType kindOf ) const; ///< are all selected objects a kind of
Copy file name to clipboardExpand all lines: GeneralsMD/Code/GameEngine/Include/GameClient/InGameUI.h
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -455,6 +455,7 @@ friend class Drawable; // for selection/deselection transactions
455
455
virtual Drawable *getFirstSelectedDrawable( void ); ///< get the first selected drawable (if any)
456
456
virtual DrawableID getSoloNexusSelectedDrawableID( void ) { return m_soloNexusSelectedDrawableID; } ///< Return the one drawable of the nexus if only 1 angry mob is selected
457
457
virtual Bool isDrawableSelected( DrawableID idToCheck ) const; ///< Return true if the selected ID is in the drawable list
458
+
virtual Bool areAllObjectsSelected(std::vector<Object*> objectsToCheck) const; ///< Return true if all of the selected objects are in the drawable list
458
459
virtual Bool isAnySelectedKindOf( KindOfType kindOf ) const; ///< is any selected object a kind of
459
460
virtual Bool isAllSelectedKindOf( KindOfType kindOf ) const; ///< are all selected objects a kind of
0 commit comments