HomeSort by: relevance | last modified time | path
    Searched refs:gold (Results 1 - 25 of 25) sorted by relevancy

  /src/games/hack/
def.gold.h 1 /* $NetBSD: def.gold.h,v 1.6 2011/08/06 20:18:26 dholland Exp $ */
66 struct gold { struct
67 struct gold *ngold;
72 #define newgold() ((struct gold *) alloc(sizeof(struct gold)))
73 extern struct gold *fgold;
hack.lev.c 81 static void savegoldchn(int, struct gold *);
183 savegoldchn(int fd, struct gold *gold)
185 struct gold *gold2;
186 while (gold) {
187 gold2 = gold->ngold;
188 bwrite(fd, gold, sizeof(struct gold));
189 free(gold);
190 gold = gold2
211 struct gold *gold; local in function:getlev
    [all...]
hack.mkobj.c 208 struct gold *gold; local in function:mkgold
211 if ((gold = g_at(x, y)) != NULL)
212 gold->amount += amount;
214 gold = newgold();
215 gold->ngold = fgold;
216 gold->gx = x;
217 gold->gy = y;
218 gold->amount = amount;
219 fgold = gold;
    [all...]
hack.Decl.c 85 struct gold *fgold = 0;
hack.invent.c 225 freegold(struct gold *gold)
227 struct gold *gtmp;
229 if (gold == fgold)
230 fgold = gold->ngold;
233 while (gtmp->ngold != gold) {
238 gtmp->ngold = gold->ngold;
240 free(gold);
350 struct gold *
353 struct gold *gold = fgold local in function:g_at
843 struct gold *gold = NULL; local in function:dolook
    [all...]
hack.steal.c 88 struct gold *gold = g_at(u.ux, u.uy); local in function:stealgold
90 if (gold && (!u.ugold || gold->amount > u.ugold || !rn2(5))) {
91 mtmp->mgold += gold->amount;
92 freegold(gold);
95 pline("%s quickly snatches some gold from between your feet!",
hack.mon.c 424 /* look for gold or jewels nearby */
433 struct gold *gold; local in function:m_move
434 for (gold = fgold; gold; gold = gold->ngold)
435 if ((dd = DIST(omx, omy, gold->gx, gold->gy)) < mind) {
437 gx = gold->gx
549 struct gold *gold; local in function:mpickgold
    [all...]
hack.c 417 struct gold *gold; local in function:pickup
423 while ((gold = g_at(u.ux, u.uy)) != NULL) {
424 pline("%ld gold piece%s.", gold->amount, plur(gold->amount));
425 u.ugold += gold->amount;
427 freegold(gold);
extern.h 169 void freegold(struct gold *);
178 struct gold *g_at(int, int);
hack.read.c 313 * now that gold and traps no longer are of the same type.
339 struct gold *gtmp;
353 pline("You notice some gold between your feet.");
360 pline("You feel very greedy, and sense gold!");
  /src/games/rogue/
score.c 77 rogue.gold = ((rogue.gold * 9) / 10);
110 "%s with %ld gold", mechanism, rogue.gold);
214 * bytes 5-15 Score/gold
223 long gold; member in struct:score_entry
293 se->gold = lget_number(score_block+x);
321 rank+1, se->gold, se->username, se->death);
367 if (rogue.gold < scores[i].gold) {
    [all...]
message.c 238 Level: 99 Gold: 999999 Hp: 999(999) Str: 99(99) Arm: 99 Exp: 21/10000000 Hungry
260 mvaddstr(row, 10, "Gold: ");
262 if (rogue.gold > MAX_GOLD) {
263 rogue.gold = MAX_GOLD;
265 mvprintw(row, 16, "%-6ld", rogue.gold);
spec_hit.c 160 if ((rogue.gold <= 0) || rand_percent(10)) {
166 if (amount > rogue.gold) {
167 amount = rogue.gold;
169 rogue.gold -= amount;
257 obj->what_is = GOLD;
347 (obj->what_is == GOLD)) {
pack.c 133 if (obj->what_is == GOLD) {
134 rogue.gold += obj->quantity;
563 if (obj->what_is == GOLD) {
rogue.h 66 #define GOLD ((unsigned short) 020)
265 long gold; member in struct:fightr
  /src/games/phantasia/
Makefile 20 ALLFILES=gold lastdead mess monsters void motd characs scoreboard
21 FILES=gold lastdead mess monsters void motd
fight.c 430 /* gems turn to gold */
433 "%s transformed your gems into gold!", Enemyname);
483 /* take some gold and gems */
485 "%s took half your gold and gems and flew off.", Enemyname);
492 /* steal a gold piece and run */
494 "%s stole one gold piece and ran away.", Enemyname);
938 double gold = 0.0; /* gold awarded */ local in function:awardtreasure
950 /* gold and gems */
959 /* gold */
    [all...]
misc.c 177 addstr("You are at a trading post. All purchases must be made with gold.");
203 mvprintw(1, 0, "Gold: %9.0f Gems: %9.0f Level: %6.0f Charms: %6d\n",
231 printw("Mana is one per %.0f gold piece. How many do you want (%.0f max) ? ",
425 mvprintw(2, 0, "Quick :%3.0f(%3.0f) Strength:%9.0f(%9.0f) Gold :%9.0f %s\n",
797 dtemp = MAX(0.0, dtemp);/* gold slows player down */
892 playerp->p_gold = ROLL(50.0, 75.0) + 0.1; /* give some gold */
1022 collecttaxes(double gold, double gems)
1029 Player.p_gold += gold;
1033 taxes = N_TAXAMOUNT / 100.0 * (N_GEMVALUE * gems + gold);
1036 /* not enough gold to pay taxes, must convert some gems t
    [all...]
  /src/games/larn/
tok.c 156 i = (10 * mp->gold) / (10 + k);
157 mp->gold = (i > 32767) ? 32767 : i;
diag.c 52 (long) c[GOLD], (long) c[EXPERIENCE], (long) c[LEVEL], (long) level);
66 lprcat(" Monster Name LEV AC DAM ATT DEF GOLD HP EXP \n");
71 lprintf("%6ld %3ld %6ld\n", (long) monster[i].gold, (long) monster[i].hitpoints, (long) monster[i].experience);
256 c[GOLD] = c[BANKACCOUNT] = 0;
288 c[GOLD] = c[BANKACCOUNT] = 0;
373 c[GOLD] = c[BANKACCOUNT] = 0;
408 c[GOLD] = c[BANKACCOUNT] = 0;
header.h 44 short gold; member in struct:monst
84 #define GOLD 8
monster.c 72 * dropgold(amount) Function to drop some gold around player
1206 amt = monster[monst].gold;
1328 * dropgold(amount) Function to drop some gold around player
1331 * Enter with the number of gold pieces to drop
1490 * 8 leprechaun steal gold
1604 if (c[GOLD]) {
1606 if (c[GOLD] > 32767)
1607 c[GOLD] >>= 1;
1609 c[GOLD] -= rnd((int) (1 + (c[GOLD] >> 1)))
    [all...]
  /src/usr.bin/ctags/test/
ctags.test 18 enum color {red, green, gold, brown};
  /src/sys/external/isc/libsodium/dist/
configure 13493 *GNU\ gold*) supports_anon_versioning=yes ;;
  /src/sys/external/isc/libsodium/dist/m4/
libtool.m4 5048 *GNU\ gold*) supports_anon_versioning=yes ;;

Completed in 39 milliseconds