/src/games/phantasia/ |
misc.c | 164 double numitems; /* number of items to purchase */ local in function:tradingpost 233 cost = (numitems = floor(infloat())) * Menu[0].cost; 235 if (cost > Player.p_gold || numitems < 0) 243 Player.p_mana += numitems; 250 cost = (numitems = floor(infloat())) * Menu[1].cost; 252 if (numitems == 0.0) 255 if (cost > Player.p_gold || numitems < 0) 258 if (numitems < Player.p_shield) 266 Player.p_shield = numitems; 273 cost = (numitems = floor(infloat())) * Menu[2].cost [all...] |
misc.c | 164 double numitems; /* number of items to purchase */ local in function:tradingpost 233 cost = (numitems = floor(infloat())) * Menu[0].cost; 235 if (cost > Player.p_gold || numitems < 0) 243 Player.p_mana += numitems; 250 cost = (numitems = floor(infloat())) * Menu[1].cost; 252 if (numitems == 0.0) 255 if (cost > Player.p_gold || numitems < 0) 258 if (numitems < Player.p_shield) 266 Player.p_shield = numitems; 273 cost = (numitems = floor(infloat())) * Menu[2].cost [all...] |
/src/bin/csh/ |
file.c | 457 free_items(Char **items, size_t numitems) 461 for (i = 0; i < numitems; i++) 466 #define FREE_ITEMS(items, numitems) { \ 472 free_items(items, numitems);\ 487 size_t name_length, nignored, numitems; local in function:tsearch 491 numitems = 0; 512 for (numitems = 0; (entry = getentry(dir_fd, looking_for_lognames)) != NULL;) { 520 if ((size_t)numitems >= maxitems) { 524 items[numitems] = xreallocarray(NULL, 526 copyn(items[numitems], entry, MAXNAMLEN) 642 size_t numitems; local in function:tenex [all...] |
file.c | 457 free_items(Char **items, size_t numitems) 461 for (i = 0; i < numitems; i++) 466 #define FREE_ITEMS(items, numitems) { \ 472 free_items(items, numitems);\ 487 size_t name_length, nignored, numitems; local in function:tsearch 491 numitems = 0; 512 for (numitems = 0; (entry = getentry(dir_fd, looking_for_lognames)) != NULL;) { 520 if ((size_t)numitems >= maxitems) { 524 items[numitems] = xreallocarray(NULL, 526 copyn(items[numitems], entry, MAXNAMLEN) 642 size_t numitems; local in function:tenex [all...] |