Reversed from Is_Selectable, w/o Select call
| 33 | |
| 34 | // Reversed from Is_Selectable, w/o Select call |
| 35 | static bool ObjectClass_IsSelectable(ObjectClass* pThis) |
| 36 | { |
| 37 | const auto pOwner = pThis->GetOwningHouse(); |
| 38 | return pOwner && pOwner->IsControlledByCurrentPlayer() |
| 39 | && pThis->CanBeSelected() && pThis->CanBeSelectedNow() |
| 40 | && !pThis->InLimbo; |
| 41 | } |
| 42 | |
| 43 | // Reversed from Tactical::Select |
| 44 | static bool Tactical_IsInSelectionRect(TacticalClass* pThis, LTRBStruct* pRect, const TacticalSelectableStruct& selectable) |
nothing calls this directly
no outgoing calls
no test coverage detected