|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T n
Length: 726 (0x2d6) Types: TextFile Names: »no_detect.c«
└─⟦b20c6495f⟧ Bits:30007238 EUUGD18: Wien-båndet, efterår 1987 └─⟦this⟧ »EUUGD18/General/Galaxy/src/no_detect.c«
/* * %W% (mrdch&amnnon) %G% */ # include "header" nodetect (s) char *s; { planet * pp; int i; pp = getpl (s); /* get planet id */ assert_player (pp); /* see if legal planet + owner */ skipwhite (s); /* go to the money part */ i = atoi (s); /* take the amount */ assert_money (i); /* see if there is enough of it */ skipword (s); /* skip that no. */ assert_end (s); /* does it end good?? */ pp -> paint += i; /* raise the paint */ teller[player] -= i; /* take his money */ }