DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download

⟦936857656⟧ TextFile

    Length: 305 (0x131)
    Types: TextFile
    Names: »xytoa.c«

Derivation

└─⟦b20c6495f⟧ Bits:30007238 EUUGD18: Wien-båndet, efterår 1987
    └─⟦this⟧ »EUUGD18/General/Empire.V/V1.1/EMPSUBS/xytoa.c« 

TextFile

char *
xytoa(x, y, cno)
int x, y, cno;
{
        static char buf[64], nxtbuf = 0;
        extern int capxof[], capyof[];

        nxtbuf = (nxtbuf + 1) & 03;
        sprintf(&buf[nxtbuf << 4], "%d,%d", xwrap(x - capxof[cno]),
                ywrap(y - capyof[cno]));
        return (&buf[nxtbuf << 4]);
}