Searched refs:p_gems (Results 1 – 5 of 5) sorted by relevance
/netbsd-src/games/phantasia/ |
H A D | misc.c | 204 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 D | phantstruct.h | 29 double p_gems; /* gems */ member
|
H A D | gamesupport.c | 112 mvprintw(3, 40, "Q:Gem %.0f\n", playerp->p_gems); in changestats() 297 dptr = &playerp->p_gems; in changestats()
|
H A D | fight.c | 434 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 D | interplayer.c | 254 collecttaxes(Other.p_gold, Other.p_gems); in battleplayer()
|