MCPcopy Create free account
hub / github.com/CruiserOne/Astrolog / InterpretAstroGraph

Function InterpretAstroGraph

intrpret.cpp:686–708  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

684// astrocartography chart. This is called from the ChartAstroGraph() routine.
685
686void InterpretAstroGraph(int obj1, int cusp1, int obj2, int cusp2)
687{
688 char sz[cchSzMax];
689 int c1 = (cusp1 - oAsc) / 3, c2 = (cusp2 - oAsc) / 3;
690
691 if (!FInterpretObj(obj1) || !FInterpretObj(obj2))
692 return;
693 FieldWord("Near this location");
694 if (us.nRel >= rcNone) {
695 FieldWord(szPerson0);
696 FieldWord("can more easily");
697 sprintf(sz, "%s their %s, and also %s their %s.",
698 szAngle[c1], szMindPart[obj1], szAngle[c2], szMindPart[obj2]);
699 } else {
700 FieldWord(szPerson1);
701 FieldWord("can more easily");
702 sprintf(sz,
703 "%s their %s, at the same time %s can more easily %s their %s.",
704 szAngle[c1], szMindPart[obj1], szPerson2, szAngle[c2], szMindPart[obj2]);
705 }
706 FieldWord(sz);
707 FieldWord(NULL);
708}
709
710
711/*

Callers 2

ChartAstroGraphRelationFunction · 0.85
ChartAstroGraphFunction · 0.85

Calls 1

FieldWordFunction · 0.85

Tested by

no test coverage detected