| 530 | // aspect configuration found by the parent procedure. |
| 531 | |
| 532 | flag FPrintAspectConfig(int ac, int i1, int i2, int i3, int i4) |
| 533 | { |
| 534 | char sz[cchSzDef]; |
| 535 | |
| 536 | #ifdef EXPRESS |
| 537 | // Skip this aspect configuration if AstroExpression says to do so. |
| 538 | if (!us.fExpOff && FSzSet(us.szExpConfig)) { |
| 539 | ExpSetN(iLetterV, ac); |
| 540 | ExpSetN(iLetterW, i1); |
| 541 | ExpSetN(iLetterX, i2); |
| 542 | ExpSetN(iLetterY, i3); |
| 543 | ExpSetN(iLetterZ, i4); |
| 544 | if (!NParseExpression(us.szExpConfig)) |
| 545 | return fFalse; |
| 546 | } |
| 547 | #endif |
| 548 | AnsiColor(kAspA[rgAspConfig[ac]]); |
| 549 | sprintf(sz, "%-11s", szAspectConfig[ac]); PrintSz(sz); |
| 550 | AnsiColor(kDefault); |
| 551 | sprintf(sz, " %s ", ac == acS3 || ac == acGT || ac == acGC || |
| 552 | ac == acMR || ac == acS4 ? "with" : "from"); |
| 553 | PrintSz(sz); |
| 554 | AnsiColor(kObjA[i1]); |
| 555 | sprintf(sz, "%-3.3s: ", szObjDisp[i1]); PrintSz(sz); |
| 556 | if (!us.fParallel) |
| 557 | PrintZodiac(planet[i1]); |
| 558 | else |
| 559 | PrintAltitude(planetalt[i1]); |
| 560 | sprintf(sz, " %s ", ac == acS3 || ac == acGT || ac == acS4 ? "and" : "to "); |
| 561 | PrintSz(sz); |
| 562 | AnsiColor(kObjA[i2]); |
| 563 | sprintf(sz, "%-3.3s: ", szObjDisp[i2]); PrintSz(sz); |
| 564 | if (!us.fParallel) |
| 565 | PrintZodiac(planet[i2]); |
| 566 | else |
| 567 | PrintAltitude(planetalt[i2]); |
| 568 | sprintf(sz, " %s ", ac == acGC || ac == acC || ac == acMR ? "to " : "and"); |
| 569 | PrintSz(sz); |
| 570 | AnsiColor(kObjA[i3]); |
| 571 | sprintf(sz, "%-3.3s: ", szObjDisp[i3]); PrintSz(sz); |
| 572 | if (!us.fParallel) |
| 573 | PrintZodiac(planet[i3]); |
| 574 | else |
| 575 | PrintAltitude(planetalt[i3]); |
| 576 | if (ac == acGC || ac == acC || ac == acMR || ac == acS4) { |
| 577 | PrintSz(ac == acS4 ? " and " : " to "); |
| 578 | AnsiColor(kObjA[i4]); |
| 579 | sprintf(sz, "%-3.3s: ", szObjDisp[i4]); PrintSz(sz); |
| 580 | if (!us.fParallel) |
| 581 | PrintZodiac(planet[i4]); |
| 582 | else |
| 583 | PrintAltitude(planetalt[i4]); |
| 584 | } |
| 585 | PrintL(); |
| 586 | return fTrue; |
| 587 | } |
| 588 | |
| 589 |
no test coverage detected