/src/games/trek/ |
attack.c | 58 ** Under certain conditions you can get a critical hit. This 59 ** sort of hit damages devices. The probability that a given 69 ** it) depends on the amount of the hit and the "damfac[]" 80 int hit, i, l; local in function:attack 118 /* complete the hit */ 121 hit = Etc.klingon[i].power * pow(dustfac, tothe) * Param.hitfac; 126 /* see how much of hit shields will absorb */ 131 shldabsb = propor * chgfac * hit; 136 /* actually do the hit */ 137 printf("\aHIT: %d units", hit); [all...] |
phaser.c | 104 int hit; local in function:phaser 167 hit = getintpar("units"); 168 if (hit < 0) 170 if (hit == 0) 172 extra += hit; 179 b->units = hit; 180 hit = getintpar("course"); 181 if (hit < 0 || hit > 360) 183 b->angle = hit * 0.0174532925 [all...] |
/src/games/sail/ |
pl_3.c | 56 int guns, car, ready, shootat, hit; local in function:acceptcombat 146 hit = HDT[index][target-1]; 148 hit = HDTrake[index][target-1]; 150 hit++; 151 hit += QUAL[index][mc->qual-1]; 155 hit--; 157 hit -= 2; 161 hit++; 163 hit += 2; 167 hit-- [all...] |
dr_1.c | 276 int shootat, hit; local in function:compcombat 354 hit = HDT[indx][target-1]; 356 hit = HDTrake[indx][target-1]; 358 hit++; 359 hit += QUAL[indx][capship(sp)->specs->qual - 1]; 363 hit--; 365 hit -= 2; 374 hit++; 376 hit += 2; 380 hit-- [all...] |
/src/games/rogue/ |
Makefile | 6 SRCS= hit.c init.c inventory.c level.c machdep.c main.c \
|
/src/usr.bin/deroff/ |
deroff.c | 1441 int hit; local in function:comline 1486 hit = 1; 1488 printf("preliminary hit macro %c%c ", c1, c2); 1492 hit = YES; 1495 hit = (filesp == files); 1498 hit = !inmacro; 1501 hit = inmacro; 1504 hit = parag; 1507 hit = !keepblock; 1510 hit = 0 [all...] |
/src/games/larn/ |
diag.c | 37 int hit, dam; local in function:diag 74 lprcat("\n\nHere's a Table for the to hit percentages\n"); 77 lprcat("\n to hit: if (rnd(22) < (2[monst AC] + your level + dex + WC/8 -1)/2) then hit"); 79 lprcat("\n to hit: if rnd(22) < to hit then player hits\n"); 80 lprcat("\n Each entry is as follows: to hit / damage / number hits to kill\n"); 84 hit = 2 * monster[i].armorclass + 2 * monster[i].level + 16; 88 (long) (hit / 2), (long) max(0, dam + 2), (long) (monster[i].hitpoints / (dam + 2) + 1), 89 (long) ((hit + 2) / 2), (long) max(0, dam + 10), (long) (monster[i].hitpoints / (dam + 10) + 1) [all...] |
/src/regress/sys/uvm/pdsim/ |
pdsim.c | 53 int hit; member in struct:__anon6eb722e60108 196 stats[index].hit++; 280 stats[i].hit, stats[i].fault, irr[i]);
|
/src/usr.sbin/rpcbind/ |
pmap_svc.c | 153 register struct pmaplist *hit = NULL; local in function:find_service_pmap 160 hit = pml; 164 return (hit);
|
/src/sys/dev/qbus/ |
if_qtreg.h | 219 uint16_t hit; member in struct:qt_init
|
/src/distrib/mvme68k/miniroot/ |
install.md | 197 Default answers are displayed in brackets after the questions. You can hit 199 hit return. Also, quitting in the middle of installation may leave your
|
/src/sys/kern/ |
vfs_cache.c | 322 SDT_PROBE_DEFINE3(vfs, namecache, lookup, hit, "struct vnode *", 540 bool hit; local in function:cache_lookup 608 hit = false; 611 SDT_PROBE(vfs, namecache, lookup, hit, dvp, name, 614 hit = true; 617 return hit; 632 SDT_PROBE(vfs, namecache, lookup, hit, dvp, name, namelen, 0, 0); 763 SDT_PROBE(vfs, namecache, lookup, hit, dvp, name, namelen, 0, 0); 853 * The queue is partially sorted. Once we hit dots, nothing 864 * Record a hit on the entry. This is an unlocked read bu [all...] |
/src/sys/arch/sandpoint/ |
README | 73 FF00 0000 FF7F FFFF 32- or 64-bit Flash/ROM space (Can hit either local 75 FF80 0000 FFFF FFFF 8-, 32- or 64-bit Flash/ROM space (Can hit either
|
/src/sys/uvm/ |
uvm_stat.c | 153 UVM_RA_EVCNT_DEFINE(hit);
|
/src/sys/external/bsd/drm2/dist/drm/vmwgfx/ |
vmwgfx_binding.c | 1026 unsigned long hit = 0; local in function:vmw_binding_emit_dirty 1028 while ((hit = find_next_bit(&cbs->dirty, VMW_BINDING_NUM_BITS, hit)) 1031 switch (hit) { 1050 __clear_bit(hit, &cbs->dirty); 1051 hit++;
|
/src/sys/fs/nfs/server/ |
nfs_nfsdcache.c | 42 * - I think a false hit is more serious than a false miss 43 * - A false hit for an RPC that has Op(s) that order via seqid# must be 45 * - A valid hit will probably happen a long time after the original reply 77 * - a hit (reply from cache) 157 * hit. For V4, the non-idempotent Op will return NFSERR_RESOURCE in 609 int hit, ret = 0; local in function:nfsrc_gettcp 617 hit = 1; 649 hit = 0; 654 * Can be a hit only if one entry left. 655 * Note possible hit entry and put nfsrc_templist back on has [all...] |
/src/lib/libc/time/ |
zdump.c | 716 timestamps ranging from LOT through HIT. LOT and HIT disagree 723 hunt(timezone_t tz, time_t lot, time_t hit, bool only_ok) 739 /* T = average of LOT and HIT, rounding down. 741 int rem_sum = lot % 2 + hit % 2; 742 time_t t = (rem_sum == 2) - (rem_sum < 0) + lot / 2 + hit / 2; 754 } else hit = t; 756 return hit;
|
/src/games/hack/ |
hack.zap.c | 89 /* bhitm: monster mtmp was hit by the effect of wand otmp */ 98 hit("wand", mtmp, exclam(tmp)); 144 * object obj was hit by the effect of wand otmp 359 hit(const char *str, struct monst *mtmp, const char *force) function in typeref:typename:void 381 * or when a monster is hit; the monster is returned, and bhitpos is set to 391 /* fns called when mon/obj hit */ 469 if (rn2(20) >= 10 + u.ulevel) { /* we hit ourselves */ 574 hit(fltxt, mon, exclam(tmp));
|
/src/usr.bin/netstat/ |
vtw.c | 246 printf("\t\t%" PRIu64 " hit\n", stats.hit[0]); 255 printf("\t\t%" PRIu64 " hit\n", stats.hit[1]);
|
/src/sys/net/ |
route.h | 501 int hit; local in function:rtcache_lookup1 503 return rtcache_lookup2(ro, dst, clone, &hit);
|
/src/distrib/atari/floppies/prepare/ |
install.md | 82 Hit the <return> key when you have read this... 106 Hit the <return> key when you have read this... 147 You can hit Control-C at any time to quit, but if you do so at a 148 prompt, you may have to hit return.
|
/src/distrib/sun2/miniroot/ |
install.md | 128 Hit the <return> key when you have read this... 179 You can hit Control-C at any time to quit, but if you do so at a 180 prompt, you may have to hit return. Also, quitting in the middle of
|
/src/distrib/sun3/miniroot/ |
install.md | 128 Hit the <return> key when you have read this... 179 You can hit Control-C at any time to quit, but if you do so at a 180 prompt, you may have to hit return. Also, quitting in the middle of
|
/src/sys/netinet/ |
tcp_vtw.h | 289 uint64_t hit[2]; /* <! lookups that hit */ member in struct:vtw_stats
|
/src/sys/arch/hp300/dev/ |
dcm.c | 1300 int s, unit, brd, port, hit = 0; local in function:dcmmctl 1320 hit++; 1325 hit++; 1330 hit++; 1339 if (hit) {
|