/*
** Astrolog (Version 8.00) File: xdata.cpp
**
** IMPORTANT NOTICE: Astrolog and all chart display routines and anything
** not enumerated below used in this program are Copyright (C) 1991-2026 by
** Walter D. Pullen (Astara@msn.com, http://www.astrolog.org/astrolog.htm).
** Permission is granted to freely use, modify, and distribute these
** routines provided these credits and notices remain unmodified with any
** altered or distributed versions of the program.
**
** The main ephemeris databases and calculation routines are from the
** library SWISS EPHEMERIS and are programmed and copyright 1997-2008 by
** Astrodienst AG. Use of that source code is subject to license for Swiss
** Ephemeris Free Edition at https://www.astro.com/swisseph/swephinfo_e.htm.
** This copyright notice must not be changed or removed by any user of this
** program.
**
** Additional ephemeris databases and formulas are from the calculation
** routines in the program PLACALC and are programmed and Copyright (C)
** 1989,1991,1993 by Astrodienst AG and Alois Treindl (alois@astro.ch). The
** use of that source code is subject to regulations made by Astrodienst
** Zurich, and the code is not in the public domain. This copyright notice
** must not be changed or removed by any user of this program.
**
** The original planetary calculation routines used in this program have
** been copyrighted and the initial core of this program was mostly a
** conversion to C of the routines created by James Neely as listed in
** 'Manual of Computer Programming for Astrologers', by Michael Erlewine,
** available from Matrix Software.
**
** Atlas composed using data from https://www.geonames.org/ licensed under a
** Creative Commons Attribution 4.0 License. Time zone changes composed using
** public domain TZ database: https://data.iana.org/time-zones/tz-link.html
**
** The PostScript code within the core graphics routines are programmed
** and Copyright (C) 1992-1993 by Brian D. Willoughby (brianw@sounds.wa.com).
**
** More formally: This program is free software; you can redistribute it
** and/or modify it under the terms of the GNU General Public License as
** published by the Free Software Foundation; either version 2 of the
** License, or (at your option) any later version. This program is
** distributed in the hope that it will be useful and inspiring, but
** WITHOUT ANY WARRANTY; without even the implied warranty of
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
** General Public License for more details, a copy of which is in the
** LICENSE.HTM file included with Astrolog, and at http://www.gnu.org
**
** Initial programming 8/28-30/1991.
** X Window graphics initially programmed 10/23-29/1991.
** PostScript graphics initially programmed 11/29-30/1992.
** Last code change made 5/2/2026.
*/

#include "astrolog.h"


#ifdef GRAPH
/*
******************************************************************************
** Graphics Global Variables.
******************************************************************************
*/

GS gs = {
#ifdef ISG
  ftNone,
#else
  ftBmp,
#endif
  fTrue, fTrue, fFalse, fFalse, fTrue, fTrue, 0x000000, 0, 0, 0, 0, 0, 0,
  fFalse, fTrue, fTrue, fFalse, fFalse, fFalse, fFalse, fFalse, fFalse,
  fFalse, fFalse, fFalse, fFalse, fFalse, fFalse, fTrue, fTrue, fFalse,
  fFalse, fFalse, fFalse, fFalse, fTrue,
  DEFAULTX, DEFAULTY,
#ifdef WIN
  -10,
#else
  0,
#endif
  200, 100, 0, 0, 0, 3, 1, 0, 0.0, 0.0, oMoo, BITMAPMODE, 25.0, 1, 0,
  8.5, 11.0, NULL, 0, 25, 11, 1, kMax, NULL, oCore, 0.0, 1000, 0, 600,
  1, 1, 1, 2, 2, 1, fFalse, fFalse, fTrue, 7, 0, 0, NULL, NULL};

GI gi = {
  0, fFalse, 0, 0,
  NULL, 0, NULL, NULL, 0.0, fFalse, fFalse, 1.0,
  2, 1, 1, 1, 1, 20, 10, 0xb19438, kWhite, kBlack, kLtGray, kDkGray, 0, 0, 0, 0,
  -1, -1, NULL, 0, 0, NULL, NULL,
  fTrue, {0, 0, 0, NULL}, {0, 0, 0, NULL}, {0, 0, 0, NULL}, {0, 0, 0, NULL},
  {0, 0, 0, NULL},
#ifdef SWISS
  NULL, 0,
#endif
#ifdef ISG
  kMagenta, fFalse, 1, DEFAULTX, DEFAULTY,
#endif
#ifdef X11
  NULL, 0, 0, 0, 0, 0, 0, 0, 0,
#endif
#ifdef PS
  0, fFalse, 0, -1, 1,
#endif
#ifdef META
  NULL, MAXMETA, NULL, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
#endif
#ifdef SVG
  kMax, 0,
#endif
#ifdef WIRE
  NULL, 0, 0, -1, 0,
#endif
  };

#ifdef WIN
WI wi = {
  (HINSTANCE)NULL, (HWND)NULL, (HWND)NULL, (HMENU)NULL, (HMENU)NULL,
  (HACCEL)NULL, hdcNil, hdcNil, hdcNil, (HWND)NULL, (HPEN)NULL, (HBRUSH)NULL,
  (HFONT)NULL, (HBITMAP)NULL, (HBITMAP)NULL, (HBITMAP)NULL, (HANDLE)NULL,
  0, 0, 0, 0, 0, 0, 0, -1, -1, 1, 0, 0, 0, -1,
  fFalse, fTrue, fFalse, fFalse, fTrue, fFalse, fFalse, fFalse, fFalse,
  1, fFalse, {0, 0, 0, 0}, fFalse, fFalse, {0, 0, 0, NULL}, {0, 0, 0, NULL},
  {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
  0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
  0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
  0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0},
  {0,0,0,0,0,0,0,0},

  // Window user settings.
  fTrue, fTrue, fFalse, fTrue, fFalse, fFalse, fFalse, fFalse, fTrue, fFalse,
  fFalse, fFalse, 6, 0, 1000};

OPENFILENAME ofn = {
  sizeof(OPENFILENAME), (HWND)NULL, (HINSTANCE)NULL, NULL, NULL, 0, 1, NULL,
  cchSzMaxFile, NULL, cchSzMaxFile, NULL, NULL, OFN_OVERWRITEPROMPT, 0, 0,
  NULL, 0, NULL, NULL};

PRINTDLG prd = {
  sizeof(PRINTDLG), (HWND)NULL, (HGLOBAL)NULL, (HGLOBAL)NULL, hdcNil,
  PD_NOPAGENUMS | PD_NOSELECTION | PD_RETURNDC | PD_USEDEVMODECOPIES,
  0, 0, 0, 0, 1, (HINSTANCE)NULL, 0, NULL, NULL, (LPCSTR)NULL, (LPCSTR)NULL,
  (HGLOBAL)NULL, (HGLOBAL)NULL};

CHOOSECOLOR chc = {
  sizeof(CHOOSECOLOR), (HWND)NULL, (HWND)NULL, 0, NULL,
  CC_FULLOPEN | CC_RGBINIT, 0L, NULL, NULL};

char szFileName[cchSzMaxFile];
char szFileTitle[cchSzMaxFile];
char *szFileTemp = szFileTempCore;
#endif

#ifdef WCLI
WI wi = {
  (HINSTANCE)NULL, (HWND)NULL, (HWND)NULL, hdcNil, hdcNil, (HPEN)NULL,
  (HBRUSH)NULL, (HBITMAP)NULL, (HBITMAP)NULL, (HBITMAP)NULL,
  0, 0, 1, fFalse, fFalse, fFalse, fFalse, fFalse, 0, 0, 0,
  {0, 0, 0, NULL}};
#endif

// Color tables for Astrolog's graphics palette.

CONST KV rgbbmpDef[cColor2] = {
  0x000000, 0x00007f, 0x007f00, 0x007f7f, // Main colors
  0x7f0000, 0x7f007f, 0x7f7f00, 0xbfbfbf,
  0x7f7f7f, 0x0000ff, 0x00ff00, 0x00ffff,
  0xff0000, 0xff00ff, 0xffff00, 0xffffff,
  0x3f3f3f, 0x007fff, 0x7f7fff, 0x003f7f, // Extra colors
  0xff3f3f, 0x008000, 0x00a5ff, 0xdf3eff, 0xff3a00, 0xcc0099}; // Ray colors
CONST KV rgbbmpDef2[cColor2] = {
  0x000000, 0x00009f, 0x007f00, 0x007f7f, // Main colors
  0x7f0000, 0x9f009f, 0x7f7f00, 0xbfbfbf,
  0x7f7f7f, 0x0000ff, 0x009f00, 0x009f9f,
  0xff0000, 0xff00ff, 0x9f9f00, 0xffffff,
  0x3f3f3f, 0x007fff, 0x7f7fff, 0x003f7f, // Extra colors
  0x701919, 0x008000, 0x00a5ff, 0xdf3eff, 0xff3a00, 0xcc0099}; // Ray colors
KV rgbbmp[cColor2], rgbbmpRay[cRay+2];
#ifdef X11
KV rgbind[cColor2], fg, bg;
#endif
#ifdef WIN
CONST int ikPalette[cColor] =
  {-0, -1, 1, 4, 6, 3, -8, 5, -3, -2, -4, -5, -7, 2, 7, -6};
// Map _graphicschart enum to Windows commands
CONST int rgcmdMode[gMax] = {0,
  cmdChartList, cmdChartWheel, cmdChartGrid, cmdChartMidpoint, cmdChartHorizon,
  cmdChartOrbit, cmdChartSector, cmdChartCalendar, cmdChartInfluence,
  cmdChartEsoteric, cmdChartAstroGraph, cmdChartEphemeris, cmdChartRising,
  cmdChartLocal, cmdTransit, cmdTransit, cmdChartMoons, cmdChartExo,
  cmdChartSphere, cmdChartMap, cmdChartGlobe, cmdChartPolar, cmdChartTelescope,
  0/*cmdRelBiorhythm*/, cmdChartAspect, cmdChartArabic, cmdTransit, cmdTransit,
  cmdTransit, cmdTransit, cmdHelpSign, cmdHelpObject, cmdHelpAspect,
  cmdHelpConstellation, cmdHelpPlanetInfo, cmdHelpRay, cmdHelpMeaning,
  cmdHelpSwitch, cmdHelpObscure, cmdHelpKeystroke, cmdHelpCredit};
#endif
char *szWheelX[cRing+1] = {NULL, NULL, NULL, NULL, NULL, NULL, NULL};

// These are the actual color arrays and variables used by the program.
// Technically, Astrolog always assumes charts are being drawn in color.
// For B/W graphics, all the values below are filled with black or white.

KI kMainB[9], kRainbowB[cRainbow+1], kElemB[cElem], kAspB[cAspect+1],
  kObjB[objMax], kRayB[cRay+2];

CONST char *rgszFontName[cFont] = {szAppNameCore, "Wingdings", "Astro",
  "EnigmaAstrology", "HamburgSymbols", "Astronomicon", "StarFont Sans",
  "StarFont Serif", "Hanks Nakshatra", "Arial", "Courier New", "Consolas",
  "Lucida Console", "Cascadia Mono Regular"};
CONST char rgszFontAllow[6][cFont+1] = {"0---------ABCD", "01234567--ABCD",
  "01---5---9ABCD", "0-234567--ABCD", "0-234567--AB--", "0-------89ABCD"};

CONST real rgrObjRing[oNep-oJup+3][2] = {
  {129000.0, 0.0},      // Jupiter main ring outer radius
  {136780.0, 92000.0},  // Saturn "A" ring outer, "B" ring inner radius
  {51149.0,  0.0},      // Uranus "E" ring outer radius
  {53200.0,  62932.0},  // Neptune Adams ring, Lassell ring inner radius
  {2287.0,   0.0},      // Haumea ring radius
  {2520.0,   4057.0}};  // Quaoar rings radius
CONST PT3R rgvObjRing[oNep-oJup+3] = {
  {-0.0133361,  0.0359933, -0.9992630},   // Jupiter ring vector
  {-0.0833346, -0.4629964, -0.8824339},   // Saturn  ring vector
  { 0.2059129,  0.9691102, -0.1357401},   // Uranus  ring vector
  {-0.3617850,  0.3226569, -0.8746452},   // Neptune ring vector
  {-0.3664383,  0.7179139, -0.5918805},   // Haumea  ring vector
  {-0.2104611, -0.3787784, -0.9012397}};  // Quaoar  ring vector

#ifdef X11
// Some X window variables dealing with the window itself.
XSizeHints hint;
char xkey[10];
#endif


/*
******************************************************************************
** Graphics Table Data.
******************************************************************************
*/

CONST char *szDrawSign[cSign+3] = {"",
  "ND4HU2HLGDFBR6EUHLGD2G",                 // Aries
  "BL3D2F2R2E2U2H2NE2L2NH2G2",              // Taurus
  "BLU3LHBR7GLNL3D6NL3RFBL7ERU3",           // Gemini
  "BFNDERFDGLNHGL2HLHBU3NEDFREUHNLER2FRF",  // Cancer
  "BF4H2UEU2H2L2G2D2FDGH",                  // Leo
  "BF4BLH2U3E2D5G2BU5U2HGND6HGND6H",        // Virgo
  "BGNL3HUER2FDGR3BD2L8",                   // Libra
  "BH4FND6EFND6EFD6FREU",                   // Scorpio
  "BG4E3NH2NF2E5NL2D2",                     // Sagittarius
  "BH3BLED4FND2EU2EUFNDERFDGLNHF2D2G",      // Capricorn #1
  "BG4EUEDFDEUEDFDEUEBU5GDGUHUGDGUHUGDG",   // Aquarius
  "NL4NR4BH4F2D4G2BR8H2U4E2",               // Pisces
  "BH4RFR2ER3G3D2GDFR2EU2HL3G2DG",          // Capricorn #2
  "BH4BRD3NG2NRD4FR2EU2NE2NU5LH2"};         // Ophiuchus

CONST char *szDrawSign2[cSign+3] = {"",
  "BD8U7HU3HU2H2L2G2D2F2BR12E2U2H2L2G2D2GD3G",      // Aries
  "BH6BU2FDFRFNR4GLGDGD4FDFRFR4EREUEU4HUHLHEREUE",  // Taurus
  "BL3U6LHLHBR14GLGLNL6D12NL6RFRFBL14ERERU6",       // Gemini
  "BF5NLRE2U2H2L2G2D2F2G2L4HL2H3BE6NH2D2G2L2H2U2E2R2E2R4FR2F3",  // Cancer
  "BF8H4U2E2U4HUHLHL4GLGDGD4FDFD2GL2HU",            // Leo
  "BF8BL2H3UHU5E4D9GDG3BU10U4H2G2ND12H2G2ND12H2",   // Virgo
  "",  // Libra
  "BH8F2ND12E2F2ND12E2F2D12F2RE2U3NGF",             // Scorpio
  "",  // Sagittarius
  "BH6BL2E2D4FD4FND4EU2EUEU2EUF2ND2E2R2F2D2G2L2NH2F4D4G2",  // Capricorn #1
  "BG8EUE2UEDFD2FDEUE2UEDFD2FDEUE2UEBU10GDG2DGUHU2HUGDG2DGUHU2HUGDG2DG",
    // Aquarius
  "NL8NR8BH8F3DFD6GDG3BR16H3UHU6EUE3",              // Pisces
  "BH8RFRFR4ER2ER4G5DGD2GDGD2F2R4E2U4H2L6G4DGDG",   // Capricorn #2
  ""};                                              // Ophiuchus

CONST char *szDrawSign3[cSign+3] = {"",
  "BD12U10HU4HU2HU2H3L3G3D3F3BR18E3U3H3L3G3D2GD2GD4",      // Aries
  "BL9D6FDF3RFR6ERE3UEU6HUH3LHNL6ERE3UEBL18FDF3RFGLG3DG",  // Taurus
  "BL4U9L2HLH2BR21G2LGL2NL9D18NL9R2FRF2BL21E2RER2U9",      // Gemini
  "BF3ND3E3R3F3D3G3L3NH3G2LGL6HLHLH4BU9NE3D3F3R3E3U3H3NL3E2RER6FRFRF4",
    // Cancer
  "BF12H6U3E2UEU5HUH3LHL6GLG3DGD5FDFDFD3G2L2H2U",          // Leo
  "BF12BL3H5UHU8E6D14GDG5BU15U7H2L2G2ND19H2L2G2ND19H2L",   // Virgo
  "",  // Libra
  "BH12RF2ND19E2R2F2ND19E2R2F2D20F2R3E2U5NG2F2",           // Scorpio
  "",  // Sagittarius
  "BH9BL3E3D4FD4FD4FND6EU2EUEU2EUEU2EUF3ND3E3R3F3D3G3L3NH3F5DFD4GDG2",
    // Capricorn #1
  "BG12E2UEUEUE2D2FDFDFD2E2UEUEUE2D2FDFDFD2E2UEUEUE2BU15"
    "G2DGDGDG2U2HUHUHU2G2DGDGDG2U2HUHUHU2G2DGDGDG2",       // Aquarius
  "NL12NR12BH12F4DFDFD8GDGDG4BR24H4UHUHU8EUEUE4",          // Pisces
  "BH12RFRFR2FR6ER2ER2ER4G8DGD3GDGDGD3F3R6E3U6H3L8GLG4DGDGDG2",
    // Capricorn #2
  ""};                                                     // Ophiuchus

CONST char *szDrawObjectDef[objMaxG] = {
  "ND4NL4NR4U4LGLDGD2FDRFR2ERUEU2HULHL",     // Earth
  "U0BH3DGD2FDRFR2ERUEU2HULHL2GL",           // Sun
  "BG3E2U2H2ER2FRDFD2GDLGL2H",               // Moon
  "BD4UNL2NR2U2REU2HNEL2NHGD2FR",            // Mercury
  "LHU2ER2FD2GLD2NL2NR2D2",                  // Venus
  "HLG2DF2RE2UHE4ND2L2",                     // Mars
  "BH3RFDGDGDR5NDNR2U6E",                    // Jupiter
  "BH3R2NUNR2D4ND2E2RFDGDF",                 // Saturn
  "BD4NEHURBFULU3NUNR2L2NU2DGBU5NFBR6GD3F",  // Uranus #1
  "BD4U2NL2NR2U6NFNGBL3NGD2F2R2E2U2F",       // Neptune
  "D2NL2NR2D2BU8GFEHBL3D2F2R2E2U2",          // Pluto  #1
  "BG2LDFEULU3NURFRFBU5GLGLU2",              // Chiron
  "BD4UNL3NR3U2RE2UH2L2G",                   // Ceres
  "BD4UNL3NR3UE2HUHNUGDGF2",                 // Pallas Athena
  "BD4UNL2NR2U4NL4NR4NE3NF3NG3NH3U3",        // Juno
  "BU4DBG3NLFDF2E2UERBH2GDGHUH",             // Vesta
  "BG2LGFEU2HU2E2R2F2D2GD2FEHL",             // North Node
  "BH2LHEFD2GD2F2R2E2U2HU2EFGL",             // South Node
  "BG4E8BG2FD2G2L2H2U2E2R2F",                // Lilith #1
  "NE2NF2NG2H2GD2F2R2E2U2H2L2G",             // Part of Fortune
  "U2NHNEBD4NGNFU2L2NHNGR4NEF",              // Vertex
  "BH4NR3D4NR2D4R3BR2U8R2FD2GL2",            // East Point
  "BG4U4NR2U3EFD7BR2NURU2HU2RDBR3ULD5RU",    // Ascendant
  "BH3ER4FD2GLGLG2DR6",                      // 2nd Cusp
  "BH3ER4FD2GNL3FD2GL4H",                    // 3rd Cusp
  "BH4R2NR2D8NL2R2BR4NUL2U8R2D",             // Nadir
  "BG3FR4EU2HL5U4R6",                        // 5th Cusp
  "BE3HL4GD6FR4EU2HL4G",                     // 6th Cusp
  "BH4D8REU6HLBF7DRU2HU2RDBG4NRU3NRU2R",     // Descendant
  "BL2GD2FR4EU2HNL4EU2HL4GD2F",              // 8th Cusp
  "BG3FR4EU6HL4GD2FR4E",                     // 9th Cusp
  "BG4U8F2ND6E2D8BR4NUL2U8R2D",              // Midheaven
  "BH3ED8NLRBR2RNRU8G",                      // 11th Cusp
  "BG4RNRU8GBR4ER2FD2GLG2D2R4",              // 12th Cusp
  "NU4D4NH3E3",                              // Vulcan
  "BH4BRFDG2DR8BG3UNL2NR2U5LUEFDL",          // Cupido
  "BENUNL2NR2D3ND2NR2L2H2U2E2R4",            // Hades
  "BU4NG2NF2D7NDBLHLBR6LGL2GLBR6LHL",        // Zeus
  "BU2D3ND3NR2L2BH2UE2R4F2D",                // Kronos
  "U3NLR2NRD3NL2NR2D4NRL2NLU4L4UEUH",        // Apollon
  "BUNU2NL2NR2D2ND3LHU2ENHR2NEFD2GL",        // Admetos
  "G2DGR6HUH2U4NG2F2",                       // Vulkanus
  "ND4U4BL3DF2R2E2UBD8UH2L2G2D",             // Poseidon
  "NU3D4EUNL2EUHNL2REUHBL4GDFRGDFDF",        // Hygiea
  "BG2LDFEULU6R3FDGL3",                      // Pholus
  "ND4NU4BUH2LBR6LG2BD2G2LBR6LH2",           // Eris
  "BDLDR2ULBU4LUR2DLBD2NR4L2NL2D3G2BR8H2U3", // Haumea
  "ND4U4L3GD2FBUURDLBR6LURDBDEU2HL3",        // Makemake
  "NR4L2NL2U2NL2NU2R4NU2NR2D5FEHL2GLGLHE",   // Gonggong
  "DFDRFRUHULHLBD4NEH4E4F4G",                // Quaoar
  "R2F2D2BH4U2NU2NRL3HEFG",                  // Sedna
  "BD2BREU2HL2GD2FNF2R5U4H2L4G2D4F2R4E2",    // Orcus
  "T", "T", "T", "T", "T", "T", "T", "T",    // Moons
  "T", "T", "T", "T", "T", "T", "T", "T",
  "T", "T", "T", "T", "T", "T", "T", "T",
  "T", "T", "T", "T", "T", "T", "T", "T",
  "T", "T", "T", "T", "T", "T", "T", "T",    // Stars
  "T", "T", "T", "T", "T", "T", "T", "T",
  "T", "T", "T", "T", "T", "T", "T", "T",
  "T", "T", "T", "T", "T", "T", "T", "T",
  "T", "T", "T", "T", "T", "T", "T", "T",
  "T", "T", "T", "T", "T", "T", "T", "T",
  "T", "T",
  "BD2D0BU6NG2NF2D4LGD2FR2EU2HL",            // Uranus #2
  "BL3R5EU2HL5D8R5",                         // Pluto  #2
  "ND4U4NG3F3",                              // Pluto  #3
  "BD4UNL2NR2U2RELHUERHL2G2DF2R",            // Lilith #2
  "NU4GDGNDHUHU4BF8UHUHUBR2DGBDGD",          // Vertex #2
  "BD4NH2NE2U4LHU2ER2FD2GL",                 // Eris   #2
  "BU3NGD8NLR",                              // 1st Cusp
  "BR3L2ND4NU4L5U4",                         // 4th Cusp
  "BH4BRR6DG6D",                             // 7th Cusp
  "BG4RNRU8GBR4ER2FD6GL2HU6"};               // 10th Cusp
CONST char *szDrawObject[objMaxG];

CONST char *szDrawObjectDef2[objMaxG] = {
  "ND8NL8NR8U8L2GLG3DGD4FDF3RFR4ERE3UEU4HUH3LHL2",  // Earth
  "U0BU8L2GLG3DGD4FDF3RFR4ERE3UEU4HUH3LHL2",        // Sun
  "BG6E3UEU2HUH3E2R4FRF3DFD4GDG3LGL4H2",            // Moon
  "",  // Mercury
  "",  // Venus
  "BELHL4G3D4F3R4E3U4HUE7ND5L5",       // Mars
  "BH6BRRF2D2GDGDGDGDR10ND2NR4U12E2",  // Jupiter
  "",  // Saturn
  "BD4LGD2FR2EU2HLU6NU2NR4L4NU4D2G2BU10NF2BR12G2D6F2",   // Uranus #1
  "BD8U4NL4NR4U12NF2NG2BL6NF2NG2D4FDFRFR4EREUEU4NG2NF2", // Neptune
  "D4NL4NR4D4BU16LGD2FR2EU2HLBL6D4FDFRFR4EREUEU4",       // Pluto  #1
  "BG4LGD2FR2EU2HLU7RF2RF2RFBU10GLG2LG2BLU5",            // Chiron
  "BD8U2NL6NR6U4R3E3U4H3L4G2",                           // Ceres
  "BD8U2NL6NR6U2E4HUHUHUHNUGDGDGDGF4",                   // Pallas Athena
  "BD8U2NL4NR4U8NL7NR7NE5NF5NG5NH5U6",                   // Juno
  "BU8D3BG5NL3DF2DF2DFEUE2UE2UR3BH4GDG2DGHUH2UH",        // Vesta
  "BG4BDHL2GD2FR2EU5H2U4E4R4F4D4G2D5FR2EU2HL2G",         // North Node
  "BH4BUGL2HU2ER2FD5G2D4F4R4E4U4H2U5ER2FD2GL2H",         // South Node
  "",  // Lilith #1
  "",  // Part of Fortune
  "",  // Vertex
  "",  // East Point
  "BG8U8NR4U6E2F2D14BR4NHREU3HLHU3ERFBR6HLGD8FRE",  // Ascendant
  "",  // 2nd Cusp
  "",  // 3rd Cusp
  "BH8R4NR4D16NL4R4BR8BUNUGL3HU14ER3FD",  // Nadir
  "",  // 5th Cusp
  "",  // 6th Cusp
  "BH8D16R2E2U12H2L2BF14BGFREU3HLHU3ERFBG9NR3U5NR3U5R3",  // Descendant
  "",  // 8th Cusp
  "",  // 9th Cusp
  "BG8U16F4ND12E4D16BR8BUNUGL3HU14ER3FD",  // Midheaven
  "",  // 11th Cusp
  "",  // 12th Cusp
  "",  // Vulcan
  "BH8BR2F2D2G2DG2DR16BG6U2NL4NR4U10LHU2ER2FD2GL",     // Cupido
  "",  // Hades
  "BU8NG4NF4D14ND2BLHL2HLBR12LGL2GL2GL2GLBR12LHL2HL",  // Zeus
  "",  // Kronos
  "U6NL2R4NR2D6NL4NR4D8NR2L4NL2U8L8UE2U3H2",           // Apollon
  "",  // Admetos
  "G2DG2DG2R12H2UH2UH2U8NG4F4",                        // Vulkanus
  "",  // Poseidon
  "NU6D8REU2HNL2RE2U2H2NL4R2E2U2H2BL8G2D2F2R2G2D2F2RGD2FR",     // Hygiea
  "BG4LGD2FR2EU2HLU12R6F2D2G2L6",                               // Pholus
  "ND8NU8BU2HUHLHL2BR12L2GLGDGBD4GDGLGL2BR12L2HLHUH",           // Eris
  "BDLGDFR2EUHLBU6LHUER2FDGLBD3NR8L4NL4D5GDG3BR16H3UHU5",       // Haumea
  "ND8U8L6G2D4F2BU3BRU2R2D2L2BR10L2U2R2D2BRBD3E2U4H2L6",        // Makemake
  "NR8L3NL5U4NL5NU4R6NU4NR5D10F2RE2UH2L3GLG3LGL2H2UE2R",        // Gonggong
  "DFDFD2R2FRFRUHUHU2L2HLHLBD8NE2H8E8F8G2",                     // Quaoar
  "R4F4D4BH8U4NU4NR2L7HU2ER2FD2G",                              // Sedna
  "BD4BR2E2U4H2L4G2D4F2NF4R9EU6HUH2LHL6GLG2DGD6FDF2RFR6ERE2U",  // Orcus
  "", "", "", "", "", "", "", "", "", "", "", "",  // Moons
  "", "", "", "", "", "", "", "", "", "", "", "",
  "", "", "", "", "", "", "", "",
  "", "", "", "", "", "", "", "", "", "",          // Stars
  "", "", "", "", "", "", "", "", "", "", 
  "", "", "", "", "", "", "", "", "", "", 
  "", "", "", "", "", "", "", "", "", "", 
  "", "", "", "", "", "", "", "", "", "",
  "",  // Uranus #2
  "",  // Pluto  #2
  "",  // Pluto  #3
  "BD8U2NL4NR4U3R2E2L2H2U3E2R2H2L4G4D3F4R2",           // Lilith #2
  "NU8GDGDGDGNDHUHUHUHU8BF16HUHUH2UHUHBR6GDGDG2DGDG",  // Vertex #2
  "",  // Eris   #2
  "",  // 1st Cusp
  "",  // 4th Cusp
  "",  // 7th Cusp
  ""}; // 10th Cusp
CONST char *szDrawObject2[objMaxG];

CONST char *szDrawHouse[cSign+1] = {"",
  "BD2NLNRU4L", "BHBUR2D2L2D2R2", "BHBUR2D2NL2D2L2",
  "BHBUD2R2NU2D2", "BEBUL2D2R2D2L2", "NLRD2L2U4R2",
  "BHBUR2DG2D", "NRLU2R2D4L2U2", "NRLU2R2D4L2",
  "BH2NLD4NLRBR2U4R2D4L2", "BH2NLD4NLRBR2RNRU4L", "BH2NLD4NLRBR2NR2U2R2U2L2"};

CONST char *szDrawHouse2[cSign+1] = {"",
  "BD4NL2NR2U8G2", "BH2BUER2FD2G4DR4", "BH2BUER2FD2GNLFD2GL2H",
  "BH2BU2D4R3NU4NRD4", "BE2BU2L4D4R3FD2GL2H", "NL2RFD2GL2HU6ER2F",
  "", "NRLHU2ER2FD2GFD2GL2HU2E", "NR2LHU2ER2FD6GL2H",
  "BH4NG2D8NL2R2BR5HU6ER2FD6GL2", "BH4NG2D8NL2R2BR4R2NR2U8G2",
  "BH4NG2D8NL2R2BR4NR4UE4U2HL2G"};

CONST char *szDrawHouse3[cSign+1] = {"",
  "BD6NL3NR3U12G3", "BH3BU2ER4FD4G6DR6", "BH3BU2ER4FD3G2NL2F2D3GL4H",
  "BH3BU3D6R5NU6NRD6", "BE3BU3L6D6R5FD4GL4H", "NL3R2FD4GL4HU10ER4F",
  "", "NR2L2HU4ER4FD4GFD4GL4HU4E", "NR3L2HU4ER4FD10GL4H",
  "BH6NG3D12NL3R3BR7HU10ER4FD10GL4", "BH6NG3D12NL3R3BR6R3NR3U12G3",
  "BH6NG3D12NL3R3BR6NR6UE6U4HL4G"};

CONST char *szDrawAspectDef[cAspect3+1] = {"",
  "HLG2DF2RE2UHE4",                         // Conjunction
  "BGL2GDFREU2E2U2ERFDGL2",                 // Opposition
  "BH4R8D8L8U8",                            // Square
  "BU4GDGDGDGDR8UHUHUHUH",                  // Trine
  "BLNH3NG3RNU4ND4RNE3F3",                  // Sextile
  "BG4EUEUEUEUNL4NR4BDFDFDFDF",             // Inconjunct
  "BH4FDFDFDFDNL4NR4BUEUEUEUE",             // SemiSextile
  "BE4G8R8",                                // SemiSquare
  "BD2L3U6R6D6L3D2R2",                      // SesquiQuadrate
  "F4BU3U2HULHL2GLDGD2FDRFR2E3",            // Quintile
  "BD2U3NR3NU3L3BD5R6",                     // BiQuintile
  "BU2D3NR3ND3L3BU5R6",                     // SemiQuintile
  "BH3R6G6",                                // Septile
  "BR3L5HUER4FD4GL4H",                      // Novile
  "BF2UHL2GFR3DGL3BE6LNLU2NRLBL4LNLD2NLR",  // BiNovile
  "BL2R4G4BE6LNLU2NRLBL4LNLD2NLR",          // BiSeptile
  "BL2R4G4BE6L7NLU2NLR3ND2R3ND2R",          // TriSeptile
  "BF2UHL2GFR3DGL3BU6LNLU2NLRBR2F2E2",      // QuatroNovile
  "BL3BDED4NLRBR3NHEU2HGND2BE3L7NLU2NLR3ND2R3ND2R", // TriDecile
  "BH3BDED6NLRBR2RNRU6G",                           // Undecile
  "BL3BDED4NLRBR2RNRU4GBE3LNLU2NRLBL4LNLD2NLR",     // BiUndecile
  "BL3BDED4NLRBR2RNRU4GBE3L7NLU2NLR3ND2R3ND2R",     // TriUndecile
  "BL3BDED4NLRBR2RNRU4GBH3LNLU2NLRBR2F2E2",         // QuadUndecile
  "BL3BDED4NLRBR2RNRU4GBU3BLNH2E2",                 // QuinUndecile
  "BU4BLD8BR2U8",                           // Parallel
  "BU4BLD8BR2U8BF3BLL6BD2R6",               // Contraparallel
  "ND3NL3HND5LND5GND3NR3GNR5DNR5FNR3FRE2UHE4",       // Conjunction Eclipse
  "BGL2ND3GNR3DNR3FRNU3EU2E2U2NR3END3RND3FDNL3GL2"}; // Opposition Eclipse
CONST char *szDrawAspect[cAspect3+1];

CONST char *szDrawAspectDef2[cAspect3+1] = {"",
  "BELHL4G3D4F3R4E3U4HUE7",                      // Conjunction
  "BG3HL2G2D2F2R2E2U2HE6HU2E2R2F2D2G2L2H",       // Opposition
  "",  // Square
  "BU8GDGDGDGDGDGDGDGDR16UHUHUHUHUHUHUHUH",      // Trine
  "BU8D16BL8BU2E3RE3R2E3RE3BL16F3RF3R2F3RF3",    // Sextile
  "BG8EUEUEUEUEUEUEUEUNL8NR8BDFDFDFDFDFDFDFDF",  // Inconjunct
  "BH8FDFDFDFDFDFDFDFDNL8NR8BUEUEUEUEUEUEUEUE",  // Semisextile
  "",  // SemiSquare
  "",  // SesquiQuadrate
  "BFF7BU6U4HUH3LHL4GLG3DGD4FDF3RFR4E6",         // Quintile
  "",  // BiQuintile
  "",  // SemiQuintile
  "",  // Septile
  "",  // Novile
  "",  // BiNovile
  "",  // BiSeptile
  "",  // TriSeptile
  "",  // QuatroNovile
  "BL6BD2E2D8NL2R2BR5NHR2EU6HL2GND6BDBE6L14NL2U4NL2R6ND4R6ND4R2", // TriDecile
  "",  // Undecile
  "",  // BiUndecile
  "",  // TriUndecile
  "",  // QuadUndecile
  "",  // QuinUndecile
  "",  // Parallel
  "",  // Contraparallel
  "BELHND10L2ND10L2ND10G3NR10D2NR10D2NR10F3R4E3U4HUE7", // Conjunction Eclipse
  "BG3HND6L2ND6G2NR6D2NR6F2R2E2U2HE6HNR6U2NR6E2ND6R2ND6F2D2G2L2H"};
    // Opposition Eclipse
CONST char *szDrawAspect2[cAspect3+1];

// Vector font for smaller 6x10 unit characters.
CONST char *szDrawCh[256-32] = {"",
  "BR2D4BD2D0", "BRD2BR2U2", "BD2R4BD2L4BFU4BR2D4", "BR2D6BENL3EHL2HER3",
  "RDLNUBR4G4BR4DLUR", "BD2NF4UEFDG2DFRE2", "BR2DG", "BR3G2D2F2", "BRF2D2G2",
  "BD2FNGRNU2ND2RNEF", "BD3R2NU2ND2R2", "BD5BR2DG", "BD3R4", "BD6BRRULD",
  "BD5E4", // Special Characters

  "BDD4NE4FR2EU4HL2G", "BFED6NLR", "BDER2FDG4R4", "BDER2FDGNLFDGL2H",
  "D3R3NU3ND3R", "NR4D3R3FDGL2H", "BR3NFL2GD4FR2EUHL3", "R4DG4D",
  "BDDFNR2GDFR2EUHEUHL2G", "BD5FR2EU4HL2GDFR3", // Numbers

  "BR2BD2D0BD2D0", "BR2BD2D0BD2G", "BR3G3F3", "BD2R4BD2L4", "BRF3G3",
  "BDER2FDGLDBD2D0", "BF2DFEU2HL2GD4FR2", // Special Characters

  "BD6U4E2F2D2NL4D2", "D6R3EUHNL3EUHL3", "BR3NFL2GD4FR2E", "D6R2E2U2H2L2",
  "NR4D3NR3D3R4", "NR4D3NR3D3", "BR3NFL2GD4FR2EU2L2", "D3ND3R4NU3D3",
  "BRRNRD6NLR", "BD4DFR2EU5", "D3ND3RNE3F3", "D6R4", "ND6F2NDE2D6",
  "ND6F4ND2U4", "BDD4FR2EU4HL2G", "R3FDGL3NU3D3", "BDD4FRENHNFEU3HL2G",
  "ND6R3FDGL2NLF3", "BR3NFL2GDFR2FDGL2H", "R2NR2D6", "D5FR2EU5",
  "D2FDFNDEUEU2", "D6E2NUF2U6", "DF4DBL4UE4U", "D2FRND3REU2",
  "R4DG4DR4", // Upper Case Letters

  "BR3L2D6R2", "BDF4", "BRR2D6L2", "BD2E2F2", "BD6R4", "BR2DF", // Symbols

  "BF4G2LHU2ER2FD3", "D5NDFR2EU2HL2G", "BF4BUHL2GD2FR2E", "BR4D5NDGL2HU2ER2F",
  "BD4R4UHL2GD2FR3", "BD3RNR3ND3U2ERF", "BD8R3EU4HL2GD2FR2E", "D3ND3ER2FD3",
  "BR2D0BD2D4", "BR3D0BD2D5GLH", "D4ND2REREBD4HLH", "BR2D6",
  "BD2DND3EFNDEFD3", "BD2DND3ER2FD3", "BD3D2FR2EU2HL2G", "BD2DND5ER2FD2GL2H",
  "BR4BD8U5HL2GD2FR2E", "BD2DND3ER2F", "BD6R3EHL2HER3", "BR2D2NL2NR2D4",
  "BD2D3FRE2NU2D2", "BD2DFDFEUEU", "BD2D3FENUFEU3", "BD2F2NG2NE2F2",
  "BD2D3FR2ENU3D2GL3", "BD2R4G4R4", // Lower Case Letters

  "BR3GDGFDF", "BR2D2BD2D2", "BRFDFGDG", "BFEFE", "", // Symbols

  "BR3NFLGDNRNLD2NRNLDFRE", "BR2FGHE", "BR2BD4DG", "BR4LGD2NRNLD2GL",
  "BD6EBFE", "BD6D0BR2D0BR2D0", "BR2DNL2NR2D4", "BR2DNL2NR2D4NL2NR2D",
  "BR2NGF", "RDLNUBR4G2L2BD2RDLUBR3RDLU", "BD5FR2EUHL2HUER2NFBU2GH", "BF2FG",
  "BRNRGD4FRNR2U3NR2U3R2", "", "R4DG4DR4BU8BLGH", "", // 80-8F

  "", "BR3GD", "BR2DG", "BFNDEBFNED", "BD2EUBR2DG", "BD3BRRDLU", "BD3BRR2",
  "BD3R4", "BFEFE", "RND2RBRND2FNDED2", "BD6R3EHL2HENR3BU3FE", "BF2GF",
  "BD3NED2FRNR2U2R2UHLNLD2", "", "BD6NR4E4L4BU3BRFE",
  "D2FRND3REU2BUBHD0BL2D0", // 90-9F

  "", "BR2D0BD2D4", "BR2DND6NLRFBL4NED3FR2E", "BD6RNR3U3NLNR2U2ERF",
  "BDFEFNEFGNFGHNGHE", "F2NE2DNL2NR2D2NL2NR2D", "BR2D2BD2D2",
  "BD6R3EHNL2EHL2GFBU2HER3", "BRD0BR2D0", "BD2ER2FD2GL2HU2BR3LGFR",
  "BF4U2NUG2LHU2ER2FBD5L4", "BD3NFEBR3GF", "BD2R4D", "BD3BRR2",
  "BD2ER2FD2GL2HU2BRND2R2DLNLF", "BRR2", // A0-AF

  "BR2FGHE", "BR2D2NL2NR2D2BG2R4", "BRR2DL2DR2", "BRR2DNLDL2", "BR3G",
  "BD3D2ND3FRE2NUD2", "BR4ND6L2ND6LGDFR", "BR2BD3D0", "BR2BD5DL", "BRRD2NLR",
  "BDD2FR2EU2HL2G", "BD2FGBR3EH", "RND2BR3BDG4BDBR4UNULU",
  "RND2BR3BDG4BDBR4LURUL", "RD2LBURBR3G4BDBR4UNULU",
  "BR2D0BD2DLGDFR2E", // B0-BF

  "BD6U4E2F2D2NL4D2BU7BLH", "BD6U4E2F2D2NL4D2BU7BL3E",
  "BD6U4E2F2D2NL4D2BU7BLHG", "BD6U4E2F2D2NL4D2BU8GHG",
  "BD6U4E2F2D2NL4D2BU8BLD0BL2D0", "BD6U4E2F2D2NL4D2BU8BL2D0",
  "BD6U2NR2U2E2NR2D3NR2D3R2", "BR3NFL2GD4FR2EBG2DL", "NR4D3NR3D3R4BU7BLH",
  "NR4D3NR3D3R4BU7BL3E", "NR4D3NR3D3R4BU7BLHG", "NR4D3NR3D3R4BU8BLD0BL2D0",
  "BRRNRD6NLRBU7H", "BRRNRD6NLRBU7BL2E", "BRRNRD6NLRBU7HG",
  "BRRNRD6NLRBU8D0BL2D0", // C0-CF

  "BD3RNRD3RE2U2H2LD3", "ND6F4ND2U4BU2GHG", "BRGD4FR2EU4HNL2BUH",
  "BRGD4FR2EU4HL2BUE", "BRGD4FR2EU4HL2BUEF", "BRGD4FR2EU4HL2BUEFE",
  "BRGD4FR2EU4HL2BU2D0BR2D0", "BDF2NE2NG2F2", "BRGD4FR2EU4HNL2BRGDG2DG",
  "D5FR2EU5BHBLH", "D5FR2EU5BHBLE", "D5FR2EU5BHHG", "D5FR2EU5BHBUD0BL2D0",
  "D2FRND3REU2BHBLE", "D5NDR3EU2HL3", "BD6U5ERFDGF2GL", // D0-DF

  "BF4G2LHU2ER2FD3BU6BLH", "BF4G2LHU2ER2FD3BU6BL2E", "BF4G2LHU2ER2FD3BU6BLHG",
  "BF4G2LHU2ER2FD3BU7GHG", "BF4G2LHU2ER2FD3BU6BLD0BL2D0",
  "BF4G2LHU2ER2FD3BU6BL2D0", "BD2R3FDL3GDR2NR2U4", "BF4BUHL2GD2FR2EBG3RU2",
  "BD4R4UHL2GD2FR3BU6BL2H", "BD4R4UHL2GD2FR3BU7BLG", "BD4R4UHL2GD2FR3BU6BLHG",
  "BD4R4UHL2GD2FR3BU6BLD0BL2D0", "BEFBD2D4", "BR2NEBD2D4", "BRENFBD3D4",
  "BRD0BR2D0BLBD2D4", // E0-EF

  "BR3DNLNRD2FDGL2HUER2", "BD2DND3ER2FD3BU7GHG", "BD3D2FR2EU2HL2NGBU3F",
  "BD3D2FR2EU2HL2NGBUBEE", "BD3D2FR2EU2HL2NGBU2EF", "BD3D2FR2EU2HL2NGBU2EFE",
  "BD3D2FR2EU2HL2NGBU2D0BR2D0", "BD3R4BH2D0BD4D0", "BD3D2FR2EU2HL2GD2BDE4",
  "BD2D3FRE2ND2U2BH2H", "BD2D3FRE2ND2U2BH2E", "BD2D3FRE2ND2U2BUBHHG",
  "BD2D3FRE2ND2U2BHBUD0BL2D0", "BD8R3EU2NU3GL2HU3BE2E", "D5ND3FR2EU2HL2G",
  "BD8R3EU2NU3GL2HU3BEBUD0BR2D0"}; // F0-FF

// Vector font for larger 9x15 unit characters.
CONST char *szDrawCh2[256-32] = {"",
  "BR3D5BD3D", "BR2D3BR3U3", "BD3R6BD3L6BF2U7BR2D7",
  "BR3D9BH2BLFR4EU2HL4HUER4F", "RDLNUBR6G6BR6DLUR", "BD3NF6U2ERFD2G3D2FR2E3",
  "BR3DG", "BR4G3D3F3", "BR2F3D3G3", "BD2F2NG2RNU3ND3RNE2F2", "BD4R3NU3ND3R3",
  "BR3BD8DG", "BD4R6", "BD9BR2RULD", "BD7E6", // Special Characters

  "BD2D5NE5F2R2E2U5NLH2L2G2", "BR3NG2D9NL2R2", "BD2E2R2F2DG6R6",
  "BD2E2R2F2G2NLF2DG2L2H2", "D5R4NU5ND4R2", "NR6D4R4F2DG2L2H2",
  "BR4NF2L2G2D5F2R2E2UH2L2G2", "R6DG6D2", "BD2F2NR2G2DF2R2E2UH2E2H2L2G2",
  "BD7F2R2E2U5H2L2G2DF2R2E2", // Numbers

  "BR2BD2DRULBD4DRUL", "BR2BD2DRULBD4RDG", "BR4G4F4", "BD3R6BD3L6", "BRF4G4",
  "BD2E2R2F2DG2LD2BD2D0", "BF3RDLNUDFREU3H2L2G2D5F2R3E", // Special Characters

  "BD9U6E3F3D3NL6D3", "D9R4E2UH2NL4E2H2L4", "BR4NF2L2G2D5F2R2E2",
  "D9R3E3U3H3L3", "NR6D4NR5D5R6", "NR6D5NR5D4", "BR4NF2L2G2D5F2R2E2U2L3",
  "D4ND5R6NU4D5", "BRR2NR2D9NL2R2", "BD6DF2R2E2U7", "D4ND5R2NE4F4D", "D9R6",
  "ND9F3ND2E3D9", "ND9F2DFDFDF2U9", "BD2D5F2R2E2U5H2L2G2", "ND9R4F2DG2L4",
  "BD2D5F2R2ENFNH2EU5H2L2G2", "ND9R4F2DG2L2NL2F4", "BR4NF2L2G2F2R2F2DG2L2H2",
  "R3NR3D9", "D7F2R2E2U7", "D3FDFDFNDEUEUEU3", "D9E3NU2F3U9",
  "DF6D2BL6U2E6U", "D3F2RND4RE2U3", "R6DG6D2R6", // Upper Case Letters

  "BR4L3D9R3", "BDF6", "BRR3D9L3", "BD3E3F3", "BD9R6", "BR3DF", // Symbols

  "BF6G3LH2U2E2R3FD5", "D7ND2F2R2E2U2H2L2G2", "BR6BD4HL3G2D2F2R3E",
  "BR6D7ND2G2L2H2U2E2R2F2", "BD6R6UH2L2G2D2F2R3E", "BD4R2NR4ND5U3ER2F",
  "BD11FR3E2U5H2L2G2D2F2R2E2", "D5ND4E2R2F2D4", "BR3DBD3D5", "BR4DBD3D7GL2H",
  "D6ND3REREREBD6HLHLH", "BR3D9", "BD3DND5ERFND2ERFD5", "BD3D2ND4E2R2F2D4",
  "BD5D2F2R2E2U2H2L2G2", "BD3D2ND7E2R2F2D2G2L2H2",
  "BR6BD12U7NU2H2L2G2D2F2R2E2", "BD3D2ND4E2R2F2", "BD8FR4EUHL4HUER4F",
  "BR3D4NL3NR3D5", "BD3D4F2R2E2NU4D2", "BD3DFDFDFEUEUEU", "BD3D5FRENU2FREU5",
  "BD3F3NG3NE3F3", "BD3D4F2R2E2NU4D3G2L4", "BD3R6G6R6", // Lower Case Letters

  "BR4LGD2GFD2FR", "BR3D3BD3D3", "BRRFD2FGD2GL", "BFERFRE", "", // Symbols

  "BR5NFL2G2DNR2NLD2NR2NLD2F2R2E", "BR3FGHE", "BR3BD8DG", "BR5LGD3NR2NL2D4GL",
  "BD9BREBFE", "BD9BRD0BR2D0BR2D0", "BR3BDD2NL2NR2D5",
  "BR3BDD2NL2NR2D3NL2NR2D2", "BR3NGF", "BRFGHNEBR6GLG2LGBD3EFGHBR4EFGH",
  "BU3BR2FEBD3NF2L2G2F2R2F2DG2L2H2", "BR3BD2F2G2", "BR2NRG2D5F2RNR3U5NR2U4R3",
  "", "R6DG6D2R6BU12BL2GH", "", // 80-8F

  "", "BR4GD", "BR3DG", "BFNDEBR3GD", "BRBD2EUBR3DG", "BD4BR3RDLU", "BD4BRR4",
  "BD4R6", "BRBFEFE", "RND2RBR2ND2FNDED2", "BD8FR4EUHL4HUER4FBH4FE",
  "BR4BD2G2F2", "BD4NED4FREU4HLBR3NGRFD2L3BD2FRE", "", "BD3R6G6R6BU9BL2GH",
  "D3F2RND4RE2U3BH2D0BL2D0", // 90-9F

  "", "BR3DBD3D5", "BR3D2ND7NL2R2FBL6NED3FR4E", "BD9RNR5U4NLNR4U3E2R2F",
  "DFER2FEUBD3NHD2BD3UHNEGL2HGDBU3NFU2E", "F3NE3D2NL2NR2D2NL2NR2D2",
  "BR3D3BD3D3", "BD8FR4EUHNL4EUHL4GDFBU3HUER4F", "BR2D0BR2D0",
  "BD3E2R2F2D2G2L2H2U2BR4LGFR", "BRBF4U2NUG2LHU2ER2FBD5L4", "BD4NF2E2BR4G2F2",
  "BD4R6D2", "BD4BRR4", "BD2E2R2F2D2G2L2H2U2BR2ND2R2DLNLF", "BRR4", // A0-AF

  "BR3FGHE", "BR3D3NL3NR3D3BG3R6", "BRR3FGL2GDR4", "BRR3FGNL3FGL3", "BR4G",
  "BD3D4ND5F2RE2NU4DF", "BR6ND9L3ND9LG2D2F2R", "BR3BD4D0", "BR3BD8DL",
  "BRR2D4NL2R2", "BR3GD2FR2EU2HL2BLBD6R4", "BD2F2G2BR4E2H2",
  "RD3NLRBR4BU2G6BR6ND2NU2L2U2", "RD3NLRBR4BU2G6BR6BD2L2U2R2U2L2",
  "R2D2NL2D2L2BR6BU2G6BDBR6UNU2L2U2", "BR3D0BD2D2LG2DF2R2E2", // B0-BF

  "BD9U6E3F3D3NL6D3BU10BL2H", "BD9U6E3F3D3NL6D3BU10BL4E",
  "BD9U6E3F3D3NL6D3BU10BL2HG", "BD9U6E3F3D3NL6D3BU11BLGHG",
  "BD9U6E3F3D3NL6D3BU11BL2D0BL2D0", "BD9U6E3F3D3NL6D3BU11BL3D0",
  "BD9U3NR3U3E3NR3D4NR3D5R3", "BR4NF2L2G2D5F2R2E2BG3DL",
  "NR6D4NR5D5R6BU10BL3H", "NR6D4NR5D5R6BU10BL3E", "NR6D4NR5D5R6BU10BL2HG",
  "NR6D4NR5D5R6BU11BL2D0BL2D0", "BRR2NR2D9NL2R2BU10BL2H",
  "BRR2NR2D9NL2R2BU10BL2E", "BRR2NR2D9NL2R2BU10BLHG",
  "BRR2NR2D9NL2R2BU11BLD0BL2D0", // C0-CF

  "BD4RNRD5R2E3U3H3L2D4", "ND9F2DFDFDF2U9BU2BLGHG", "BR2G2D5F2R2E2U5H2L2BEH",
  "BR2G2D5F2R2E2U5H2L2BEE", "BR2G2D5F2R2E2U5H2L2BUEF",
  "BR2G2D5F2R2E2U5H2L2BUEFE", "BR2G2D5F2R2E2U5H2L2BU2D0BR2D0", "BDF3NE3NG3F3",
  "BR2G2D5F2R2E2U5H2L2BR4G2DGDGDG2", "D7F2R2E2U7BL3BUH", "D7F2R2E2U7BL3BUE",
  "D7F2R2E2U7BL2BUHG", "D7F2R2E2U7BH2D0BL2D0", "D3F2RND4RE2U3BL3BUE",
  "D7ND2R4E2UH2L4", "BD9U7E2R2FDG2DFRFDGL3", // D0-DF

  "BF6G3LH2U2E2R3FD5BU8BL3H", "BF6G3LH2U2E2R3FD5BU8BL3E",
  "BF6G3LH2U2E2R3FD5BU8BL2HG", "BF6G3LH2U2E2R3FD5BU9BLGHG",
  "BF6G3LH2U2E2R3FD5BU8BL2D0BL2D0", "BF6G3LH2U2E2R3FD5BU8BL3D0",
  "BD4ERFD4GLHUER5U2HLGD4FRE", "BR6BD4HL3G2D2F2R3EBG2NUDL",
  "BD6R6UH2L2G2D2F2R3EBU7BL3H", "BD6R6UH2L2G2D2F2R3EBU7BL3E",
  "BD6R6UH2L2G2D2F2R3EBU7BL2HG", "BD6R6UH2L2G2D2F2R3EBU7BL2D0BL2D0",
  "BR2FBD2D6", "BR4GBD2D6", "BR3NGNFBD3D6", "BR2BDD0BR2D0BLBD2D6", // E0-EF

  "BR4DNLNRD3FD2G2L2H2U2E2R2F", "BD3D2ND4E2R2F2D4BU9BLGHG",
  "BD5D2F2R2E2U2H2L2G2BE4BLH", "BD5D2F2R2E2U2H2L2G2BE4BLE",
  "BD5D2F2R2E2U2H2L2G2BE4HG", "BD5D2F2R2E2U2H2L2G2BE4NEHG",
  "BD5D2F2R2E2U2H2L2G2BE4D0BL2D0", "BD4R6BU3BL3D0BD6D0",
  "BD5D2F2R2E2U2H2L2NG2BR4G6", "BD3D4F2R2E2ND2U4BH2H",
  "BD3D4F2R2E2ND2U4BH2BUG", "BD3D4F2R2E2ND2U4BH2HG",
  "BD3D4F2R2E2ND2U4BH2D0BL2D0", "BD3D4F2R2E2NU4D3G2L4BU11BR3E",
  "D7ND5F2R2E2U2H2L2G2", "BD3D4F2R2E2NU4D3G2L4BU11BR2D0BR2D0"}; // F0-FF

CONST char *szWorldData[62*3] = {
"-031+70",
"LLRRHLLLLDULLGLLLDULGLLLGLRREDEGGLGGLGLGLLGDRLDRLFFRRERFDFRRREUEEHLUERERUERR\
FGLGLDDFRRRRREFRLGLLLLLGEFDLHGDDLGHLGLLHGLHURDLRRELLLRHUGLDFDLGLLFHGGLGLLLDLL\
LDRRFFDDGLLLLLLGDFGDDRRFRERREEUEREUEFRRERRFFFRFRDDLLLLRFRUREURULHLHHHEF",
"5EUROPE",
"+006+50", "RRERRRRUELLUHHLLREULLELLDGHDUFDEGRDRRLFDLLRGRRGGL", "5ENGLAND",
"+008+55", "GLFGRRREUULL", "5IRELAND",
"+023+64", "RRFRERRREHLLLLLGHLLRFLLRFL", "5ICELAND",
"-011+80", "DDURFRERLGRRLLFRRREEFRRRLHGELLLHRRFRRRRERLLLLLLLLLLLDHGULLL",
"5SVALBARD",
"-014+45",
"FRFRFDDFRDRRLLFRURFHHUERRRRRHUUEERRRRGRDERRLHLRRERRGGRFRFFGLLLLHLLLLGLLDLLLF\
GRFFRERFRERDDDGDGLLDFFEUDDFFDFFDDFFFDFDDDRRERRERRRUERRERURUEEHHLHUGGLLLUUGUHU\
HURRFFRFRRRDRRFRRRRRRRF",
"5MIDDLE EAST",
"-009+41", "DDRUULEUGD", "5SARDINIA",
"-024+35", "RRLL", "5CRETE",
"-032+35", "RRLL", "5CYPRUS",
"-052+37", "LLHUURHUHUHERERRRDDLLLFFDDURFLLDFDDL", "0CASPAIN SEA",
"-060+44", "LLUEERDFLDL", "0ARAL SEA",
"-068+24",
"FRGFRREDDDDDFDFDDFDDFERUEUUUUEEEEEREURRREFDFRDDDDRREFDDFDDGDDRFDDFDFFRUHUUHH\
HULUEUUURDRFDFRDEEREUUUHHHUUEERRDDEURRERREREEEUEULLREUHUHLEERRHLGLULUREERDLDR\
ERRFGRFDGRRREUHHUREUE",
"6ASIA S",
"-140+36",
"DEUUEUHURREREEGLLHHDDGLDRGDDGGLGLLLGGLDLRDFEUHRRGEERDLLRGLRERRERRE",
"6JAPAN",
"-121+25", "GDFUEUL", "6TAIWAN",
"-080+10", "DDDDREUHH", "6SRI LANKA",
"-121+18", "LDDDRDDRHRRFFDDDLLEHDULRHDFDDGERDDREUUULUUHHLHEUUL",
"2PHILIPPINES",
"-131+43",
"EFREEREEEUUUEUHLLUDLULEERERERRRRRRERRFLRRRRLUERERRRDRERURRGDLGLGLGLGGDDFDFEU\
RRUERUURULEEREDERRFRERERRRERRHLHLRRRREURDRRFRFRUURRHLLLDHHLLHLLHLLLLLLLDLLHRL\
LLLLLLGHULLLLLLLLLLULLLGL",
"6SIBERIA",
"-145+71",
"RELLRHLLLLGDHGHLLLLGLLHUHLLLLLDLLLLHLLLLLDULUDLGLLLLRRERERRRELHLLLLLLLELLLLG\
DLLLLLUDLLLLLGLLLDLLLLLLLDFRDDHELLLLLLDRRLLHUDLGFGRRRRFRLHLLDGLGLLHRRREUHUUUL\
LGGLDRFGHLLLHLLLLRFGHLGLLLULGLLLGLLHRHLDDDLLLLDLLLFLLHUHLRRFRRRREHLLHLLLHLLL",
"6RUSSIA",
"-143+54", "GDDDDDDDEDUUURUUHUU", "6SAKHALIN",
"-180+72", "GRRRRULLL", "6WRANGEL I.",
"-137+76", "DRRRRRRRELLLLLLLL", "6SIBERIAN I.",
"-091+80", "FERDRRRRRRULLLLLRRULLLLGL", "6SEVERNAYA",
"-101+79", "GRRRRELLLL", "6ZEMLYA",
"-068+77", "LLGLLLLLLGLLGGLGLRFRRRRLHERERERRRERRRREL", "6NOVAYA",
"+123+49",
"FGULLFDDDGFDDDFFDFRFRFDFFFDLFFRDFFEHHHHUHHUFRDFFFRDFFFDFGFRFRFRRFRRRRFFRRFRF\
FDRFFRFEUUGLHHUUEUHLLLLLEUUEULLLGDLLGLHHUHUUUEHEERERRFRRHRREFRRFDFDFEUUHUUUEE\
RERUUUHFDEUHFEURRRELUERRE",
"4NORTH AMERICA S",
"+113+42", "FH", "0SALT LAKE",
"+156+20", "DRULHLHL", "4HAWAII",
"+085+22", "RERFRRFRGRRRRHLHLHLLLLLG", "4CUBA",
"+070+18", "RRHHLLLFLLLFRRRRRR", "4HAITI",
"+078+18", "RRHLLF", "4JAMAICA",
"+066+18", "ELLDR", "4PUERTO RICO",
"+078+24", "UD", "4NASSAU",
"+067+45",
"REFLGDERERREHDLLLHUELLLGLGLREEERRRRRRREERRGGDGRRRFEFUUHLLLEUUHHGLRELLHHUHHHD\
GLGHHULLHLLLLLDFGFDDGLLFDDGHHUULLLLHLLHLLLUHUUEREEREERRRREUUHLLLDDGHULLLHLUHL\
GDRFGGULLLLLLLLLHLLGFLHLLLLLRHLLLLLHLLLLLLHGLLLLGUGLLLHLL",
"4CANADA",
"+088+49",
"LGLGRRRRRRRFLLLGRGDDREUURUFRGRFGFERERREEREERLGGLGLLLGRLLGLEUERHLLLHULHL",
"0GREAT LAKES",
"+117+61", "REHRFRRERGLGLLLL", "0SLAVE LAKE",
"+125+66", "RRERRRGREDLFHGLLLERLLLL", "0BEAR LAKE",
"+097+50", "UULHURFDFG", "0LAKE WINNIPEG",
"+090+72",
"FRRLLFRRRRRRRRRRFRRGLLGRREEFRFLGLFLLLLFRERFRFRRFRRHLHFRRRUHLHRRFRURELLHLLLHR\
RHLHLHGHLHLLGLLEHFRRRHLLLLLLGLDFHLUELLGG",
"4BAFFIN I.",
"+125+72",
"RFRREERRRLLGFFRRRRRLLLLLFRRRRRRRREFRRRRHRRLHLHHLRRULGLFLHLDLLULLLLHLLLLLLLDG",
"4VICTORIA I.",
"+141+70",
"LLLLLLLLHGLHLLLHGLLGLLGLLDRRFRRDLLLULGLLFRRRRRRDLGLLGFDRRRDRRRRRGGGLLGLLGGLL\
RRERERRRERREERRELEERRRLLGDRERRURRFRRRRRFRRFUDRUDDHFDURDURLURDDLFRULURDHFFRGFE\
GRFFRFRFLHLHLFFRFE",
"4ALASKA",
"+045+60",
"REUEREUERRRRERERRRERRRRERLLLLLLHRRRGERHFRRRRHLUDLLHLRERFRERLEUHRRHLEERLLURRR\
RRRRRELLLLLLLLLLGLLLRERHGLRELLLLLLLELLLLLLLLLLGLLLLLLGLLLLLLGLULLLLLLLFRLLLLL\
GLRRRGLLLLLLLGRRRRRRRGLLLLRRFRRRRRRRRRRFDFDLFREFRDLLLDERRFGLLGFFDRFFFRRRF",
"4GREENLAND",
"+080+10",
"DRFDFDDGGGDDGRDGDDFFDFDFFDFFRFFFDDDDDDGDDDDGDDDDGDGFGDDDEUDDDGUDDLDRGDDDFDFR\
FRRFERRLHLUHUURUEELHEREURULURREURREREUHUUDFRREEEEEUEUUEERERRREUEUEUUUUUEEEEUU\
UHLHLHLLLLHLHLGEHLGEUHUUHLHLLLHHLHULEDLLELLGHLLHLGDDHUELLGLGDGHHL",
"3SOUTH AMERICA",
"+060-51", "LDRRELL", "3FALKLAND ISLANDS",
"+092+00", "FUL", "3GALAPAGOS I.",
"-032+32",
"LLGLHLLLLHLGDGHLLHHLLHLEUULLLLLLLLLGLGLLLLHDGLGDGDGGLDGGGDGDFDDDDGDDFFFFDFRF\
FRRRRRRRRERERRFFRRFFDDDGDFFFDFDDDFDGDGDDDFDFDFDDDFDFDFDDFFERRRRRREEEEEEUUEREU\
UHUEEEREEUUUUHUUUHUEUEEEEEREEUEUEEUUULLGLLLLHUHHLHUUHHUUHHUUHUHHUU",
"1AFRICA",
"-049-12", "DGGGLGDDDDGDDFFREUEUEUUUEUUUUH", "1MADAGASCAR",
"-032+00", "DDDREUELLL", "0LAKE VICTORIA",
"-014+14", "LRFLU", "0LAKE CHAD",
"-124-16",
"LGDGGLGLLGLDDDGFDDFDFDGFRRRERRRRURERRRRRRRFFFEEDDRFDFRFREFRERRUUEUEEUUUUUUUH\
HHHHHHUUHHHUULDDDDGDGHLHLHEUELLLHLFLLULDRGDDLLHLGG",
"2AUSTRALIA",
"-173-35", "FFDGFDREURULHHHL", "2NEW ZEALAND N",
"-174-41", "LLDGLGLGGRFREEUREEU", "2NEW ZEALAND S",
"-145-41", "DFRRUUUDLLL", "2TASMANIA",
"-178-17", "GRRURUGDH", "2FIJI",
"-130+00", "FRFRLGFEFRFRFDGRRFRRUERFFFRRRLHHHHRHLHHLHLLHGGLHUHLGH",
"2NEW GUINEA",
"-115-04", "RUUEEURHUUEHHGGGGLLDDHLDDFDDRRDERF", "2BORNEO",
"-095+06", "DFFFFFFDFFFFRUUUHFRHLHLUHHHHHLLH", "2SUMATRA",
"-106-06", "GRFRRRRRRFRRHLHLLLLLHL", "2JAVA",
"-120+00", "DGDDRDFHUEDFRHUHREFHLGHURRRRELLLLG", "2CELEBES",
"+000-70",
"ULDLLLLLLLLGLLGLLLGLLGLLLLGLGLLGLLLLGLLLLLHLGLLLLLHLLLLLHLLLLHLLUERLEUUUUUUE\
ERRRULLGLLLLGLGGLLLDRUDRDLGHLLGLLFGRRFLLLLLLLDHLLLLHLLLLLGLLLLHLLLLLLLGRFDLLL\
ULLLGHLLLLLLLLLLHGHLLGLLLLLLLGLLLLLLLLLLLGLLLGLLLLLLLLGLLLLLLLLLLLLLLLLLLLLL",
"7ANTARCTICA W",
"+180-78",
"LLLLLLLHLLGHLLGHLUEERRERREHLLLLHLLLLLLHLLLLLLLLLLLHLHLLLLLHLLULDLLLLLDLLHLLL\
LGHFLLLLLHLLLLLLGLHLLHLGLLLLHLGLLGLLLULLLGLLHDFLLLGLGLLLELLLLHLLLLLLLLLLHLLLH\
LLLLGGHGHGLLLGLDLLLLHLLGHGLLLLLLLLLLLLLLHLGLLLLLLLLLLLLLL",
"7ANTARCTICA E",
"", "", ""};

#ifdef CONSTEL
CONST char *szDrawConstel[cCnstl+1] = {"",
"550210+51DDd3r8d2Rr7d2Rr3Dd5l2d3r10uru6rUu2Rr2ur4u2RrUUu3Ll7d2l3DdLl5d2Lu2l4\
Uul8Dd2Ll3Uul7", // Andromeda
"660913-25d2Ll5Dl5d2l4d4LlDRRr8Uu5l6", // Antlia
"561804-68DDd3RRRRRr2Uu9LLLLl3Uu2Ll4", // Apus
"362213+02Dd3Ll14DDd5RRrUUur7Dd4Rr6UUu2Ll9ul3dLl13", // Aquarius
"562003+16Ddl3d7l3Dd9r7Dd2RRUu6r5Uu2l4u4r3Uu2l3u7Lld2l13dLl3", // Aquila
"641803-45Dd7Rr5Dd8Ru3rur2u3r3UUu5LLl3", // Ara
"560307+31DDrd9RRr3Uu6Llu2l7UuLl7", // Aries
"650604+56d2l6Dl4d6Ll7Dd5Rr5Dd2RuRr2Ur4u6l3UUu3Ll3u3Ll4", // Auriga
"431504+55d2l8DDdr4d7r4Dd5rDDd2RRr6UUu8LlUlUUu5Ll4", // Bootes
"560501-27DDd3Rr2d3r5d3r4Uu3l5Ul2u3Ll", // Caelum
"751407+86DdRr6d3RRr6u3Rr2UuRr9Dd7Rr12DDRr12u2Rr11Dd4Rr12d3RRr8u2r2u2rUu8l6Uu\
7lULLl6u5LLLl5uLLLLLLl7", // Camelopardalis
"550906+33DDDd3Rr14URrULu8l2Uu3Ll6", // Cancer
"551309+52Dd2Ll2DDrd2Rr9UuRr8u2r5Uu4lUu2Ll9", // Canes Venatici
"550707-11DDd3Rr12UUu9Ll7", // Canis Major
"660714+13DLld3l2DRr10ur3Uu2l7ul5", // Canis Minor
"562114-09DDd5r7d2Rr13UUul7Dd4Ll7Uul7", // Capricornus
"360804-51d2l4d2l5d2LLLl5DDd5RRRUu6RRr2Uu2r4u3r6u2r2u2LLl4", // Carina
"440310+77Dd2r6Dd3Rr6u2Rdr3d3r4d4r4DdRd2r10u2Rr5Uur3u2RrULl4u4l6u3Ll6Uu7LLLl1\
0", // Cassiopeia
"551501-30Dd3Rr11Dd5l6Dd4RRrUu5RrDd4r9Uu3r4UUu4Ll5u2l5ULLLl", // Centaurus
"850805+88d3RRRr9DRRr4d3RRRr9Dd3Rr5d3r6DRrd3r7dr3d3r3u2RRr5UurdRu2l7u5l3Uu5r9\
Uul12u5LLl14u2LLLLLLLLLLl5", // Cepheus
"560306+11DDdRr4DDd4Rr4dRRrUUu4Ll7Uu3LLl2UuLl6", // Cetus
"561313-75Dd3RRRRRRr6Uu5LLLLLLl13", // Chamaeleon
"341507-55Ddr2d3r3d4RrDdRr2Uu5r2uLl10Uu5Ll7", // Circinus
"660603-27Dd3l7Dd3Rr14UUu3Ll3", // Columba
"561207+33d2Ll6Dd2l3Dd6RrdRUu8l2Uu3l5", // Coma Berenices
"561905-37Dd5RRUu3Ll5", // Corona Australis
"451606+39Dd4r2dRr11Uu2l4u7Ll6", // Corona Borealis
"551214-12Dd3r4d2RrUu8Ll14", // Corvus
"551114-07DDd5RrUrUu3Ll14", // Crater
"561214-55Dd4RrUu5Ll14", // Crux
"552010+61Dd5LLlDd5RdrDd4r2Dd2RuRr4d2r6Ulu7lUu4r4u4rUu6l5u2l5ULl9ul",
// Cygnus
"542010+21DLl2d8RrDd4rd4r7u7r3Uu6l2Uul5", // Delphinus
"570408-49Dd4Lld3l7DdLd3l8DRRr6Uur3u3r5u3Rr2u2Ll2Uul6", // Dorado
"352013+86d5r12Dd5l9Dd3r3d5RDr3d2r5d2r5Dd2Rr10UuRr14uRRr3ur8u2Rr8Uu2Rr7uRr14u\
3Rr8Uu3RRr9UuLl13DdLl9d3LLlDdLd4Ll10ULl8u5Ll7Ul7u6LLLl13", // Draco
"562107+13Dd8Rr2u4lUu2Ll3ul4", // Equuleus
"430411+00d4Ll3DdRd3rDd7r3Dr2d7r5DRrd4r7d2r6d3Rr4Ddr4d3r4d4Rr8u5l3u2l4Uu2Ll6U\
Llul7u4l4Uu6Rr4UUu9Ll10ULl11", // Eridanus
"550312-24Dd5r4d4r7DRRr4Uu6LLl12", // Fornax
"560713+35d2Ll2Dd2RDrd7r5dr7Dru2Rr9u6rUu2Ru6l10Uu5Ll13", // Gemini
"442307-36DDd6Rr13UuRr8Uu4LLl7", // Grus
"551805+51Dd2rDDl3d4l7Dd8r8u2Rr9dRr2Dd6r10Uu6RUu2l2u3l2ul2Uu9Rr3UUu2LLldLl5",
// Hercules
"770404-40d9r2DdRr2d2r5d4r4Dd7Rr12Uu6l4u3l4UuLlu3l6u2l7ULl4", // Horologium
"760910+07DDd2Ll13Dld5LLl10u2LLl6d2LlDRRRr5d4r5d2RRru4r4Ur5u3Rr2u2r10URr5u2r3\
u7r4UUu7Ll10", // Hydra
"560203-58Dd7LLl9Dd5Rr8Dd2RRRr14Uu6l12dLl6UUu2Ll3", // Hydrus
"742107-45d4Ll2DDd7Ll7Dd4RRr8UURr8Uu5Ll7", // Indus
"562214+57DDd5r13uRrUu4LulUu3l3u3l3ul7", // Lacerta
"551200+28DDr6Dd7Rr2Uu7Rr9UUUu3LDd2l9d5l4u2Ll2u3L", // Leo
"451004+41Ddl9d6Ll2Dd5Rr2d2r4u5RUu3r9u6l5UuLl4", // Leo Minor
"550603-11Dd7RRrUu6Lu3Ll3", // Lepus
"551600-04DDdr3Dr11u5Rr9UUu2l6u7Ll3d3L", // Libra
"331602-30Dd2Rr3d6r5Dd4r4dRr11Uu7LlUULl2", // Lupus
"640703+62DLl9Dd4Ll5d5l6Ddr5d6RRr2u2r6Uu4RrUr4u4r6Uu2Ll3", // Lynx
"551903+48d4l4Dd3rDrd5Rrur7Ur3Uu8Ll3", // Lyra
"560608-70d5Ll9Dd5RRRRr8Uu5Ll9ULLl8", // Mensa
"552107-27DDd5Rr8UUu3Ll7", // Microscopium
"470701+12Dld9l3DLl3DdRRRrUu6Ll5UUlu2Ll", // Monoceros
"561311-64dl2Dd5RRr10Uu6LLl11", // Musca
"561609-42DDRr8u5r4ul4Uu2l5u6Ll9", // Norma
"270000-74lDd2LLLl7d3LLLLl9u2LLLLLLLLLLLl4Uu6LLLLLL", // Octans
"641806+14d2l5Dd4r5d2l2dr2DRrd4LlDRr3d2rUr7d6l7DDRr2u5r7UlurUu2Ru4l6Uu4l7Uu3L\
l6uLl6", // Ophiuchus
"560600+23dl5Dd2lDrDd4RrDdr11Uu6Rr4UrUu5Llul5dl4d3l3u6rUu3L", // Orion
"552007-57DLl7Dd4RRRr11Uu2Rr5Uu3LLLl7", // Pavo
"552201+36dLl9d2l4dLl2Ddld6lDd7r2d2RrDd2Rr2d6Rr3ur3dr2Uu3r4drUl3u4l3u4l4Uu6Ll\
", // Pegasus
"460209+59d2Ll5d2l2d2Ll12DDd4r3d5RRr2u3r2u3rUUur7Dd2Rr3Uur4u4l4u3Lul9",
// Perseus
"650206-40d8RrDdr4d2r3d5RRr8UULLLl6", // Phoenix
"640601-43Dd3l2d2l6d3l4Dd4Ru3r7Uu3r7u3Rr7Uu4l5u3LLl", // Pictor
"450108+33Ddl4Dd9Ll2Dd7RRr8Dd6Rru3Rr2Uu8Ll14UuLl2u2l2Uu2l10u3r2Uu3Ll8",
// Pisces
"562302-25Dd6RRr8Uu5LLl2", // Piscis Austrinus
"570807-11DDDd3r6DdRRr14Uu7l9Uu7Ll7UUu9Ll7", // Puppis
"560810-18DLl3d5l4Dd7Rr8UUu2l3", // Pyxis
"560401-53d3l5d3l3Dd7Rr11Uu3l4u4Ll", // Reticulum
"452005+22Dd4Rrur13u2RrUu2Ll5Dl9u2Ll5", // Sagitta
"552002-12Dd7l5DDd5Rr10Uu3RRUr4Uu4LLu4Ll2", // Sagittarius
"471606-08Dd9lDrd5l7DLLDd5Rr6u3r7UURr3u9LUUu2l6", // Scorpius
"560111-25DDRRr8u4r5Uu5LLl11", // Sculptor
"551900-04Dd6r9Uu6L", // Scutum
"861814+06d4r4Dd4r4Dd6Rr11Ul7d2lu2Llu6RrULl6u3l2ur2u2l8bRbRbRbUbUd4l3Dd6l3Dd4\
Rr12UUUu5Ll2d3RD", // Serpens
"551013+07DDd2Rr5UUu7Ll13", // Sextans
"640600+29d6r3Dd2ld6r3u3r4ur5dRr5DDRr5dr4UUUlUuLl9Dl4dLL", // Taurus
"552007-45Dd7RRr12Uu5LLl7", // Telescopium
"560211+37d3l2d3r5Dd2r7d2Rr3u3r4Uu5Ll2u2l9", // Triangulum
"561609-60dl3d3l2dLd3l3DdRRRrUu2Ll2u4l3u3l2ULl9", // Triangulum Australe
"360106-58DDd5Rr2uRr8Uu3Rr13Uu4Ll7d2LLl6", // Tucana
"641107+73Dd4Lld3Ll8dLl7Dd5r5Dd2Rr6Uu2Rr12Dd6rDDd2Rr13Uu3Rr2u6r9UuRr10u5Rr6UU\
r6Uu3LLLl7", // Ursa Major
"342200+86RRRRrDr7d5Rr7DRr5d5RRu4r14Uu6l8u3Ll7Uu6RRRRRRr10u2RRRRRRRRRRrd2R",
// Ursa Minor
"560907-37DLLlDd7RRRr2u2r5u2r4u2r3Uu7l6Uu3Ll7", // Vela
"551309+14Dd2LLl3DdRr3d7r6DDd3RRrUu8RrUu3r5UULu3l14uLl9", // Virgo
"560900-64Dd5RRr7Uu6LLL", // Volans
"462100+29dl8d4r3DRr5ur5uRrDr9u2Rru3Ll5u2l6u2LL"}; // Vulpecula

CONST char *szDrawConstelLine[(cCnstl+1)*2+1] = {
"Bharani,Hamal,Sheratan,Mesarthim", "0_1_2_3", // Aries
"Elnath,Ain,Secunda Hyadum,Prima Hyadum,Althaur,Ushakaron,Furibundus,Phaesula\
,Aldebaran,Al Hecka", "0_1_2_3_4_5_6,3_7_8_9", // Taurus
"Castor,taGem,Propus iotGem,upGem,Pollux,Nageba,Mebsuta,nuGem,Tejat,Propus,Al\
 Krikab,Wasat,Mekbuda,Alhena,Kebash,Alzirr", "0_1_2_3_4,5_1_6_7,6_8_9,10_3_11\
_12_13,11_14_15", // Gemini
"Decapoda,Asellus Borealis,Asellus Australis,Acubens,Al Tarf", "0_1_2_3,2_4",
// Cancer
"Zosma,Denebola,Coxa,Algieba,Adhafera,Ras Elased Borealis,Alminhar,Alterf,Ras\
 Elased Australis,Al Jabhah,Regulus,Tse Tseng,Shishimai", "0_1_2_0_3_4_5_6_7_\
8_9_10,3_9_2_11_12,5_8", // Leo
"109Vir,taVir,Heze,Porrima,Zaniah,omiVir,nuVir,Zavijava,Vindemiatrix,Auva,thV\
ir,Spica,Syrma,Rijl al Awwa", "0_1_2_3_4_5_6_7_4,8_9_3_10_11,2_12_13",
// Virgo
"taLib,upLib,Zubenelakrab,Zubeneshamali,Zubenelgenubi,Brachium", "0_1_2_3_4_5\
,2_4", // Libra
"Fuyue,Shaula,Lesath,Girtab,io-1Sco,Sargas,etSco,ze-2Sco,Xamidimura,Wei,taSco\
,Antares,Alniyat,Dschubba,Jabbah,Graffias,Fang,Iklil", "0_1_2_3_4_5_6_7_8_9_1\
0_11_12_13,14_15_13_16_17", // Scorpius
"Sephdar,Kaus Australis,Ascella,Hecatebolus,Nunki,Nanto,Kaus Borealis,Kaus Me\
dia,Alnasl,Polis", "0_1_2_3_4_5_6_7_8_1,1_7_5_2,6_9", // Sagittarius
"Deneb Algedi,Nashira,Dorsum,Algedi,Dabih,Pazan,Baten Algiedi,Marakk,Castra",
"0_1_2_3_4_5_6_7_8_0", // Capricornus
"Albali,muAqr,Sadalsuud,Sadalmelek,Seat,Sadaltager,Hydria,Sadalachbia,Ancha,E\
kkhysis,phAqr,ps-1Aqr,Skat,ta-2Aqr,98Aqr,88Aqr,ioAqr", "0_1_2_3_4_5_6,5_7_3_8\
_9_10_11_12_13_9,14_11_15,2_16", // Aquarius
"phPsc,upPsc,Anunitum,Al Pherg,Torcularis Septentrionalis,Alrischa,nuPsc,Kaht\
,Vernalis,ioPsc,laPsc,kaPsc,Simmah,thPsc", "0_1_2_0_3_4_5_6_7_8_9_10_11_12_13\
_9", // Pisces
"Almaak,Mirach,muAnd,nuAnd,Nembus,deAnd,Alpheratz,epAnd,zeAnd,piAnd,ioAnd,kaA\
nd,laAnd,omiAnd", "0_1_2_3_4,1_5_6,1_9_5_7_8,9_10_11_12,10_13", // Andromeda
"ioAnt,alAnt,epAnt", "0_1_2", // Antlia
"gaAps,beAps,de-1Aps,alAps", "0_1_2_3", // Apus
"Alshain,Altair,Tarazed,Delta Aquilae,Bazak,Tseen Foo,Al Thalimaim Posterior,\
Al Thalimaim Anterior,Bered,Deneb el Okab Australis,Deneb el Okab Borealis",
"0_1_2_3_4_5_6_7_8,9_3_7_9_10", // Aquila
"thAra,Ara,beAra,ep-1Ara,zeAra,etAra,deAra,gaAra", "0_1_2,1_3_4_5_6_7", // Ara
"Menkalinan,Prijipati,Capella,Bogardus,chAur,Hasseleh,Hoedus II,Maaz,Haedi",
"0_1_2_0_3_4_5_6_2_7_8_6", // Auriga
"zeBoo,Arcturus,Mufrid,taBoo,Izar,Princeps,Nekkar,Seginus,Hemelein Prima,Xuan\
ge,Asellus Primus,Asellus Tertius", "0_1_2_3,1_4_5_6_7_8_1,7_9_10_11_9",
// Bootes
"beCae,alCae,deCae", "0_1_2", // Caelum
"7Cam,beCam,alCam,gaCam", "0_1_2_3", // Camelopardalis
"Cor Caroli,Asterion", "0_1", // Canes Venatici
"Sirius,Mirzam,Adara,Wezen,Aludra,Muliphein,thCMa", "0_1_2_3_4,3_0_5_6",
// Canis Major
"Procyon,Gomeisa", "0_1", // Canis Minor
"Miaplacidus,Simiram,Vathorz Posterior,qCar,Foramen,Scutulum,Avior,Drus,Canop\
us", "0_1_2_3_4,3_5_6_7_8", // Carina
"Segin,Ruchbah,Tsih,Schedar,Caph", "0_1_2_3_4", // Cassiopeia
"Rigil Kentaurus,Hadar,Birdun,Muhlifain,siCen,rhCen,deCen,piCen,zeCen,Kabkent\
 Tertia,etCen,Ke Kwan,psCen,Menkent,Kabkent Secunda,dCen,Alhakim", "0_1_2_3_4\
_5,4_6_7,2_8_9_10_11,9_12_13_14_8_3,14_15_16", // Centaurus
"Alvahet,Alrai,Alphirk,Alradif,Kurhah,Phicares,Erakis,Alderamin,Alagemin,Alki\
dr", "0_1_2_0_3_4_5_6_7_2,7_8_9", // Cepheus
"Kaffaljidhma,Menkar,muCet,xi-2Cet,Phycochroma,Mira,Baten Kaitos,Altawk,Deneb\
 Algenubi,Deneb Kaitos,Diphda,taCet", "0_1_2_3_0_4_5_6_7_8_9_10_11_6",
// Cetus
"alCha,gaCha,beCha,de-2Cha", "0_1_2_3_1", // Chamaeleon
"alCir,beCir", "0_1", // Circinus
"Ghusn al Zaitun,gaCol,Wazn,Phact,epCol,etCol", "0_1_2_3_4,2_5", // Columba
"Diadem,Aldafirah,Kissin", "0_1_2", // Coma Berenices
"gaCrA,Alfecca Meridiana,beCrA,deCrA,thCrA", "0_1_2_3_4", // Corona Australis
"ioCrB,epCrB,deCrB,gaCrB,Alphecca,Nusakan,thCrB", "0_1_2_3_4_5_6",
// Corona Borealis
"Alchiba,Minkar,Kraz,Algorab,Gienah", "0_1_2_3_4_1", // Corvus
"thCrt,epCrt,Labrum,Alkes,Alsharasif,gaCrt,zeCrt,etCrt", "0_1_2_3_4_5_6_7,2_5\
", // Crater
"Gacrux,Acrux,Mimosa,Decrux", "0_1,2_3", // Crux
"Deneb,nuCyg,zeCyg,Gienah Cygni,Sador,Albireo,Ruc,io-2Cyg,kaCyg", "0_1_2_3_4_\
0,5_4_6_7_8,7_0", // Cygnus
"Rotanev,deDel,ga-2Del,Sualocin,Deneb Dulphim", "0_1_2_3_0_4", // Delphinus
"gaDor,alDor,zeDor,beDor,deDor", "0_1_2_3_4,3_1", // Dorado
"Tyl,Nodus II,Grumium,Eltanin,Alwaid,Kuma,Batentaban Australis,Batentaban Bor\
ealis,Nodus I,Aldhibain,thDra,Edasich,Thuban,Ketu,Giansar", "0_1_2_3_4_5_2,1_\
6_7,6_8_9_10_11_12_13_14", // Draco
"Kitalpha,deEqu,gaEqu", "0_1_2", // Equuleus
"Cursa,muEri,nuEri,Beid,Zaurak,piEri,Rana,Ran,Azha,Al Sadr al Ketus,ta-1Eri,t\
a-3Eri,ta-4Eri,ta-5Eri,ta-6Eri,ta-8Eri,ta-9Eri,up-1Eri,Theemin,Beemim,up-4Eri\
,gEri,eEri,Acamar,ioEri,kaEri,chEri,Achernar", "0_1_2_3_4_5_6_7_8_9_10_11_12_\
13_14_15_16_17_18_19_20_21_22_23_24_25_26_27", // Eridanus
"Fornacis,beFor,nuFor", "0_1_2", // Fornax
"zeGru,epGru,Gruid,Alnair,de-1Gru,laGru,Aldhanab", "0_1_2_3_4_2,4_5_6",
// Grus
"omiHer,xiHer,Melkarth,Masym,Sarin,Ras Algethi,Kornephoros,gaHer,Kajam omeHer\
,Al Jathiyah,Rukbalgethi Genubi,rhHer,Fudail,Kajam epsHer,Rutilicus,Sofian,si\
Her,Rukbalgethi Shemali,phHer,chHer", "0_1_2_3_4_5_6_7_8,9_10_11_12_13_14_15_\
16_17_18_19,12_15,4_13,6_14", // Hercules
"alHor,ioHor,etHor,zeHor,muHor,beHor", "0_1_2_3_4_5", // Horologium
"Sataghni,Cauda Hydrae,beHya,xiHya,Pleura,muHya,laHya,up-2Hya,Zhang,Alphard,i\
oHya,thHya,Hydrobius,Ashlesha,Mautinah,Al Minliar al Shuja,etHya", "0_1_2_3_4\
_5_6_7_8_9_10_11_12_13_14_15_16_13", // Hydra
"alHyi,beHyi,gaHyi", "0_1_2_0", // Hydrus
"alInd,etInd,beInd,deInd,thInd", "0_1_2_3_4_0", // Indus
"5Lac,alLac,beLac,4Lac,2Lac,6Lac,1Lac", "0_1_2_3_0_4_5_6", // Lacerta
"Praecipua,beLMi,21LMi", "0_1_2", // Leo Minor
"Arneb,zeLep,etLep,deLep,gaLep,Nihal,Sasin,muLep,laLep", "0_1_2_3_4_5_0_7_6_5\
,7_8", // Lepus
"Kakkab,zeLup,epLup,Thusia,Hilasmus,Kekouan,etLup,chLup,ph-1Lup", "0_1_2_3_4_\
5,1_6_7_8_6_3", // Lupus
"Alvashak,Maculosa,Alsciaukat,21Lyn,15Lyn,2Lyn", "0_1_2_3_4_5", // Lynx
"Vega,ep-2Lyr,ze-2Lyr,de-2Lyr,Sulaphat,Sheliak", "0_1_2_3_4_5_2_0", // Lyra
"alMen,gaMen,etMen,beMen", "0_1_2_3", // Mensa
"alMic,gaMic,epMic,th-1Mic", "0_1_2_3", // Microscopium
"alMon,zeMon,deMon,beMon,gaMon,18Mon,epMon,13Mon", "0_1_2_3_4,2_5_6_7_5",
// Monoceros
"alMus,beMus,deMus,gaMus,epMus,laMus", "0_1_2_3_0_4_5", // Musca
"deNor,epNor,ga-2Nor,etNor", "0_1_2_3_0", // Norma
"beOct,deOct,nuOct", "0_1_2_0", // Octans
"Sinistra,Al Durajah,Celbalrai,Rasalhague,Helkath,Marfik,Yed Prior,Yed Poster\
ior,Han,Sabik,Imad,45Oph", "0_1_2_3_4_5_6_7_8_9_10_11,2_9,4_8", // Ophiuchus
"ch-2Ori,xiOri,nuOri,muOri,Betelgeuse,Meissa,Bellatrix,Tabit,pi-2Ori,pi-1Ori,\
omi-1Ori,pi-5Ori,pi-6Ori,Saiph,Alnitak,Alnilam,Mintaka,Rigel", "0_1_2,1_3_4_5\
_6_7_8_9_10,7_11_12,13_14_15_16_17,14_4_6_16", // Orion
"dePav,Peacock,gaPav,bePav,laPav,xiPav,etPav,epPav,zePav", "0_1_2_3_0_4_5_6_0\
_7,0_8", // Pavo
"pi-2Peg,Matar,Scheat,psPeg,Algenib,Markab,Homam,Biham,Enif,muPeg,Sadalbari,i\
oPeg,Jih", "0_1_2_3_4_5_6_7_8,5_2_9_10_11_12", // Pegasus
"laPer,muPer,dePer,Mirfak,gaPer,Miram,taPer,ioPer,thPer,phPer,Misam,Algol,Gor\
gona Tertia,epPer,Menkib,zePer,Atik", "0_1_2_3_4_5_6_7_8_9,4_6,3_7_8_9,7_10_1\
1_12,11_13_14_15_16,2_13", // Perseus
"Ankaa,bePhe,gaPhe,dePhe,Wurren,epPhe", "0_1_2_3_4_1_5_0", // Phoenix
"bePic,gaPic,alPic", "0_1_2", // Pictor
"Fomalhaut,epPsA,muPsA,thPsA,ioPsA,Tien Kang,gaPsA,Aboras", "0_1_2_3_4_2_5_6_\
7_0", // Piscis Austrinus
"Naos,Turais,Azmidiske,k01Pup,pPup,Ahadi,Kaimana,Al Rihla", "0_1_2_3_4_5_6_7",
// Puppis
"gaPyx,alPyx,bePyx", "0_1_2", // Pyxis
"alRet,beRet,deRet,ioRet,epRet", "0_1_2_3_4_0", // Reticulum
"Sham,deSge,beSge,gaSge", "0_1_2,1_3", // Sagitta
"alScl,deScl,gaScl,beScl", "0_1_2_3", // Sculptor
"alSct,beSct,deSct,gaSct", "0_1_2_3_0", // Scutum
"Chow,kaSer,Ainalhai,Qin,Unukalhai,Nulla Pambu,Leiolepis", "0_1_2_0_3_4_5_6",
// Serpens Caput
"Alya,Gliese 710,Nehushtan,nuSer", "0_1_2_3", // Serpens Cauda
"deSex,beSex,alSex,gaSex", "0_1_2_3", // Sextans
"epTel,alTel,zeTel", "0_1_2", // Telescopium
"Ras Mutallah,beTri,gaTri", "0_1_2_0", // Triangulum
"Atria,beTrA,gaTrA", "0_1_2_0", // Triangulum Australe
"alTuc,gaTuc,be-2Tuc,zeTuc,epTuc", "0_1_2_3_4_0", // Tucana
"Alkaid,Mizar,Alioth,Megrez,Phecda,Merak,Dubhe,23UMa,Muscida,upUMa,Al Haud,Ta\
litha Australis,Talitha,El Kophrah,psUMa,Tania Australis,Tania Borealis,Alula\
 Borealis,Alula Australis", "0_1_2_3_4_5_6_7_8_9_10_11_12,3_6,7_9_5,4_13_14_1\
5_16,13_17_18", // Ursa Major
"Polaris,Yildun,Urodelus,Alifa Al Farkadain,etUMi,Pherkad,Kochab", "0_1_2_3_4\
_5_6_3", // Ursa Minor
"Suhail al Muhlif,Alsuhail,psVel,qVel,Peregrini,Tseen Ke,Markeb,Alsephina", "\
0_1_2_3_4_5_6_7_0", // Vela
"alVol,beVol,epVol,deVol,ga-2Vol", "0_1_2_3_4_2_0", // Volans
"Anser,12Vul", "0_1", // Vulpecula
NULL};
#endif // CONSTEL
#endif // GRAPH

/* xdata.cpp */
