Home
last modified time | relevance | path

Searched refs:WEIGHT (Results 1 – 12 of 12) sorted by relevance

/original-bsd/contrib/dungeon/
H A Ddso5.F114 INTEGER FUNCTION WEIGHT(RM,CN,AD)
119 WEIGHT=0
133 50 WEIGHT=WEIGHT+OSIZE(I)
H A Ddverb1.F205 600 IF((WEIGHT(0,PRSO,0)+WEIGHT(0,PRSI,0)+OSIZE(PRSO))
/original-bsd/games/battlestar/
H A Dcom1.c171 if (WEIGHT > 5) in news()
172 WEIGHT -= 5; in news()
174 WEIGHT = 0; in news()
185 WEIGHT = 0; in news()
188 if (carrying > WEIGHT || encumber > CUMBER) in news()
H A Dcypher.c211 … kilogram%s (%d%%)\n", carrying, (carrying == 1 ? "." : "s."),(WEIGHT ? carrying*100/WEIGHT : -1)); in cypher()
230 printf("\nYou can still carry up to %d kilogram%s\n",WEIGHT,(WEIGHT == 1 ? "." : "s.")); in cypher()
276 printf("WEIGHT (was %d) = ",WEIGHT); in cypher()
279 sscanf(buffer,"%d",&WEIGHT); in cypher()
H A Dsave.c30 fread(&WEIGHT, sizeof WEIGHT, 1, fp); in restore()
84 fwrite(&WEIGHT, sizeof WEIGHT, 1, fp); in save()
H A Dglobals.c14 int WEIGHT = MAXWEIGHT; variable
H A Dinit.c95 WEIGHT = 9; /* that'll get him! */
H A Dextern.h245 int WEIGHT; variable
H A Dcom7.c46 hurt = rnd(50)%(WEIGHT-carrying)-card(injuries,NUMOFINJURIES)-encumber - exhaustion;
H A Dcom5.c70 WEIGHT = MAXWEIGHT; in love()
H A Dcom3.c149 WEIGHT = MAXWEIGHT; in drink()
H A Dcom4.c32 heavy = (carrying + objwt[value]) <= WEIGHT;