last works ...
This commit is contained in:
@@ -5497,6 +5497,37 @@ bool HasInside(
|
||||
return result;
|
||||
}
|
||||
|
||||
bool IsZoneAffected(
|
||||
XOHCL &bar,
|
||||
XBoxZone &zone //
|
||||
)
|
||||
{
|
||||
//
|
||||
bool result = false;
|
||||
|
||||
//
|
||||
// Validate ...
|
||||
result = bar.IsValid() &&
|
||||
zone.IsValid();
|
||||
if (!result)
|
||||
{
|
||||
return result;
|
||||
}
|
||||
|
||||
//
|
||||
bool isActed = IsActed(bar, zone);
|
||||
bool isTested = IsTested(bar, zone);
|
||||
bool isFakeBreaked = IsFakeBreaked(bar, zone);
|
||||
|
||||
//
|
||||
result = isActed ||
|
||||
isTested ||
|
||||
isFakeBreaked;
|
||||
|
||||
//
|
||||
return result;
|
||||
}
|
||||
|
||||
/**
|
||||
* Extract Affected Zones for Specified Bar ...
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user