Home
last modified time | relevance | path

Searched refs:p_gems (Results 1 – 5 of 5) sorted by relevance

/netbsd-src/games/phantasia/
H A Dmisc.c204 Player.p_gold, Player.p_gems, Player.p_level, Player.p_charms); in tradingpost()
382 (double) N_GEMVALUE, Player.p_gems); in tradingpost()
385 if (numitems > Player.p_gems || numitems < 0) in tradingpost()
389 Player.p_gems -= numitems; in tradingpost()
446 mvprintw(15, 0, "Gems : %9.0f", Player.p_gems); in allstatslist()
795 dtemp = ((Player.p_gold + Player.p_gems / 2.0) - 1000.0) / Statptr->c_goldtote in adjuststats()
823 Player.p_gems = floor(Player.p_gems) + 0.1; in adjuststats()
887 playerp->p_gems = in initplayer()
1030 Player.p_gems += gems; in collecttaxes()
1042 if (Player.p_gems >= dtemp) in collecttaxes()
[all …]
H A Dphantstruct.h29 double p_gems; /* gems */ member
H A Dgamesupport.c112 mvprintw(3, 40, "Q:Gem %.0f\n", playerp->p_gems); in changestats()
297 dptr = &playerp->p_gems; in changestats()
H A Dfight.c434 Player.p_gold += Player.p_gems; in monsthits()
435 Player.p_gems = 0.0; in monsthits()
487 Player.p_gems /= 2.0; in monsthits()
H A Dinterplayer.c254 collecttaxes(Other.p_gold, Other.p_gems); in battleplayer()