Home
last modified time | relevance | path

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

/netbsd-src/games/larn/
H A Ddisplay.c71 if (c[SPELLMAX] > 99) 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()
101 if (c[SPELLMAX] > 99) in bot_linex()
102 botsub(makecode(SPELLMAX, 12, 18), "%3ld)"); in bot_linex()
104 botsub(makecode(SPELLMAX, 12, 18), "%2ld) "); in bot_linex()
H A Dglobal.c177 c[SPELLMAX] += x; in raisemspells()
189 if ((c[SPELLMAX] -= x) < 0) in losemspells()
190 c[SPELLMAX] = 0; in losemspells()
H A Dregen.c49 if (d[SPELLS] < d[SPELLMAX]) /* regenerate spells */ in regen()
H A Dheader.h91 #define SPELLMAX 15 macro
H A Ddiag.c344 if (c[HPMAX] > 999 || c[SPELLMAX] > 125) in restoregame()
H A Dstore.c496 c[SPELLS] = c[SPELLMAX]; /* he regenerated */ in oschool()
H A Dcreate.c39 c[SPELLMAX] = c[SPELLS] = 1; /* total # spells starts off as 3 */ in makeplayer()