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

⟦83499dc39⟧ TextFile

    Length: 306 (0x132)
    Types: TextFile
    Names: »getmyship.c«

Derivation

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

TextFile

#define D_NATSTAT
#define D_SHPSTR
#include "empdef.h"

getmyship(n, str)
int n;
struct shpstr *str;
{

        if (getship(n, str) == -1 || ((cnum != str->shp_own) && (nstat != STAT_GOD))) {
                printf("%d is not your ship.\n", n);
                return (-1);
        }
        return (0);
}