| 1246 | // latitude, and a vector description of its outline. |
| 1247 | |
| 1248 | flag FReadWorldData(CONST char **nam, CONST char **loc, CONST char **lin) |
| 1249 | { |
| 1250 | static CONST char **psz = szWorldData; |
| 1251 | int i; |
| 1252 | |
| 1253 | *loc = *psz++; |
| 1254 | *lin = *psz++; |
| 1255 | *nam = *psz++; |
| 1256 | if (*loc[0]) { |
| 1257 | if (gs.fPrintMap && gi.fFile) { |
| 1258 | i = **nam - '0'; |
| 1259 | AnsiColor(i ? kRainbowA[i] : kDkBlueA); |
| 1260 | PrintSz(*nam+1); PrintL(); |
| 1261 | } |
| 1262 | return fTrue; |
| 1263 | } |
| 1264 | psz = szWorldData; // Reset stream when no data left. |
| 1265 | return fFalse; |
| 1266 | } |
| 1267 | |
| 1268 | |
| 1269 | // Enumerator to return line segments (and their color) composing Astrolog's |