Home
last modified time | relevance | path

Searched refs:SPELLS (Results 1 – 7 of 7) sorted by relevance

/netbsd/src/games/larn/
Ddisplay.c69 if (cbak[SPELLS] <= -50 || (always)) { in bot_linex()
72 lprintf("Spells:%3ld(%3ld)", (long) c[SPELLS], (long) c[SPELLMAX]); in bot_linex()
74 lprintf("Spells:%3ld(%2ld) ", (long) c[SPELLS], (long) c[SPELLMAX]); in bot_linex()
100 botsub(makecode(SPELLS, 8, 18), "%3ld"); in bot_linex()
171 botsub(makecode(SPELLS, 9, 18), "%2ld"); in bot_spellx()
Dregen.c49 if (d[SPELLS] < d[SPELLMAX]) /* regenerate spells */ in regen()
52 d[SPELLS]++; in regen()
Dheader.h92 #define SPELLS 16 macro
405 #define clear() (lprcat("\33[2J\33[f"), cbak[SPELLS]= -50)
426 #define clear() (*lpnt++ =CLEAR, cbak[SPELLS]= -50)
Dglobal.c178 c[SPELLS] += x; in raisemspells()
191 if ((c[SPELLS] -= x) < 0) in losemspells()
192 c[SPELLS] = 0; in losemspells()
Dcreate.c39 c[SPELLMAX] = c[SPELLS] = 1; /* total # spells starts off as 3 */ in makeplayer()
57 cbak[SPELLS] = -50; in makeplayer()
Dmonster.c245 if (c[SPELLS] <= 0) { in cast()
250 --c[SPELLS]; in cast()
262 c[SPELLS]++; in cast()
Dstore.c496 c[SPELLS] = c[SPELLMAX]; /* he regenerated */ in oschool()