Searched refs:frontLength (Results 1 – 9 of 9) sorted by relevance
90 void growFront(SINT frontLength) { in growFront() argument91 DEBUG_ASSERT(frontLength >= 0); in growFront()93 first -= frontLength; in growFront()95 first += frontLength; in growFront()110 void shrinkFront(SINT frontLength) { in shrinkFront() argument111 DEBUG_ASSERT(frontLength >= 0); in shrinkFront()112 DEBUG_ASSERT(frontLength <= length()); in shrinkFront()114 first += frontLength; in shrinkFront()116 first -= frontLength; in shrinkFront()135 IndexRange splitAndShrinkFront(SINT frontLength);
9 IndexRange IndexRange::splitAndShrinkFront(SINT frontLength) { in splitAndShrinkFront() argument10 DEBUG_ASSERT(frontLength >= 0); in splitAndShrinkFront()11 DEBUG_ASSERT(frontLength <= length()); in splitAndShrinkFront()13 auto startRange = forward(first, frontLength); in splitAndShrinkFront()14 DEBUG_ASSERT(startRange.length() == frontLength); in splitAndShrinkFront()15 first += frontLength; in splitAndShrinkFront()19 auto startRange = backward(first, frontLength); in splitAndShrinkFront()20 DEBUG_ASSERT(startRange.length() == frontLength); in splitAndShrinkFront()21 first -= frontLength; in splitAndShrinkFront()
34 , frontLength(0.0f) in CSelectedUnitsHandlerAI()326 frontLength=centerPos.distance(rightPos)*2; in MakeFrontMove()328 if (frontLength > sumLength*2*8) { in MakeFrontMove()329 addSpace = (frontLength - sumLength*2*8)/(selectedUnitsHandler.netSelected[player].size() - 1); in MakeFrontMove()334 sd.y=frontLength/2; in MakeFrontMove()338 numColumns=(int)(frontLength/columnDist); in MakeFrontMove()424 if ((nextCornerPos.x - addSpace) > frontLength) { in MoveToPos()
30 float frontLength; variable
164 size_t frontLength = front_.length(); in eraseIf() local166 size_t erased = frontLength - front_.length(); in eraseIf()
268 const float frontLength = forwardDif.Length(); in CheckForCollision() local270 const float minOrtoDif = (unit->radius + owner->radius) * 2.0f + frontLength * 0.1f + 10; in CheckForCollision()273 dist = frontLength; in CheckForCollision()