Home
last modified time | relevance | path

Searched refs:moves (Results 1 – 25 of 271) sorted by relevance

1234567891011

/netbsd/src/games/hack/
Dhack.dog.c98 EDOG(mtmp)->hungrytime = 1000 + moves; in initedog()
173 (poisonous(obj) || obj->age + 50 <= moves || in dogfood()
207 if (moves <= edog->eattime) in dog_move()
211 whappr = (moves - EDOG(mtmp)->whistletime < 5); in dog_move()
212 if (moves > edog->hungrytime + 500 && !mtmp->mconf) { in dog_move()
221 } else if (moves > edog->hungrytime + 750 || mtmp->mhp < 1) { in dog_move()
246 edog->droptime = moves; in dog_move()
300 (gtyp != DOGFOOD && gtyp != APPORT && moves < edog->hungrytime)) { in dog_move()
377 mtmp2->mlstmv != moves && in dog_move()
400 (otyp < ACCFOOD || edog->hungrytime <= moves)) { in dog_move()
[all …]
Dhack.main.c374 if (moves % 2 == 0 || in main()
383 ++moves; in main()
390 if (u.uhp * 10 < u.uhpmax && moves - wailmsg > 50) { in main()
391 wailmsg = moves; in main()
399 if (Regeneration || !(moves % 3)) { in main()
406 (!(moves % (22 - u.ulevel * 2)))) { in main()
Dhack.save.c123 bwrite(fd, &moves, sizeof moves); in dosave0()
186 mread(fd, &moves, sizeof moves); in dorecover()
Dhack.lev.c100 bwrite(fd, &moves, sizeof(long)); in savelev()
243 long tmoves = (moves > omoves) ? moves - omoves : 0; in getlev()
Dhack.eat.c353 if (moves % 2) { in gethungry()
363 if (moves % 20 == 0) { /* jimt@asgb */ in gethungry()
467 if (let != 'a' && moves > otmp->age + 50 + rn2(100)) { in eatcorpse()
Dhack.mon.c104 if (mtmp->mlstmv < moves) in movemon()
110 mtmp->mlstmv = moves; in movemon()
138 if (mtmp->mspeed != MSLOW || !(moves % 2)) { in movemon()
155 if (warnlevel > lastwarnlev || moves > lastwarntime + 5) { in movemon()
172 lastwarntime = moves; in movemon()
245 if ((!(moves % 20) || strchr(MREGEN, mdat->mlet)) && in dochug()
Dhack.apply.c216 obj->age = moves - obj->age; /* actual age */ in in_ice_box()
239 obj->age = moves - obj->age; /* simulated point of time */ in out_ice_box()
307 EDOG(mtmp)->whistletime = moves; in use_whistle()
Dhack.worm.c127 if (wgrowtime[tmp] <= moves) { in worm_move()
129 wgrowtime[tmp] = moves + rnd(5); in worm_move()
Dhack.Decl.c98 long moves = 1; variable
Dhack.unix.c397 || moves < laststattime + MAILCKFREQ in ckmailstatus()
401 laststattime = moves; in ckmailstatus()
Dhack.engrave.c110 if (ep && ep->engr_time <= moves) { in sengr_at()
337 ep->engr_time = moves - multi; in doengrave()
Dhack.pri.c627 && obj->age + 250 < moves) in seeobjs()
633 && obj->age + 250 < moves) in seeobjs()
757 " %ld", moves); in bot()
Dhack.fight.c111 if (far != far_noise || moves - noisetime > 10) { in hitmm()
113 noisetime = moves; in hitmm()
/netbsd/src/games/larn/
Dscores.c74 …long moves; /* number of moves made by player … member
701 logg.moves = c[MOVESMADE]; in died()
787 if (logg.moves <= 0) in diedlog()
788 logg.moves = 1; in diedlog()
791 …lls cast: %ld\n", (long) (logg.bytin), (long) (logg.bytout), (long) (logg.moves), (long) (logg.kil… in diedlog()
792 …me per move: %ld ms\n", (long) (logg.bytout / logg.moves), (long) ((logg.cputime * 1000) / logg.mo… in diedlog()
/netbsd/src/games/gomoku/
Dmain.c119 fprintf(fp, "%s\n", stoc(game.moves[m])); in save_game()
509 board[game.moves[game.nmoves]].s_occ = EMPTY; in whatsup()
519 board[game.moves[game.nmoves]].s_occ = in whatsup()
527 debuglog("%s", stoc(game.moves[m])); in whatsup()
533 fprintf(fp, "%s", stoc(game.moves[m])); in whatsup()
535 fprintf(fp, " %s\n", stoc(game.moves[m])); in whatsup()
Dgomoku.h252 spot_index moves[BSZ * BSZ]; /* log of all played moves */ member
/netbsd/src/games/rogue/
Duse.c398 short moves; in eat() local
415 moves = get_rand(950, 1150); in eat()
422 moves = get_rand(750, 950); in eat()
427 rogue.moves_left += moves; in eat()
/netbsd/src/games/robots/
Dauto.c137 static const char moves[] = ".hjklyubn"; in find_moves() local
138 static char ans[sizeof moves]; in find_moves()
141 for (m = moves; *m; m++) { in find_moves()
/netbsd/src/games/snake/snake/
Dsnake.c109 static int moves; variable
294 length(moves); in mainloop()
346 moves++; in mainloop()
436 length(moves); in mainloop()
914 length(moves); in pushsnake()
971 length(moves); in stop()
/netbsd/src/external/gpl3/gcc/dist/gcc/config/i386/
Dx86-tune.def62 that can be partly masked by careful scheduling of moves. */
236 on 16-bit immediate moves into memory on Core2 and Corei7. */
254 /* X86_TUNE_INTEGER_DFMODE_MOVES: Enable if integer moves are preferred
300 compact prologues and epilogues by issuing a misaligned moves. This
301 requires target to handle misaligned moves and partial memory stalls
420 /* X86_TUNE_INTER_UNIT_MOVES_TO_VEC: Enable moves in from integer
421 to SSE registers. If disabled, the moves will be done by storing
424 no inter-unit moves is Buldozer. While this makes small regression on SPECfp
425 scores (sub 0.3%), disabling inter-unit moves penalizes noticeably hand
430 /* X86_TUNE_INTER_UNIT_MOVES_TO_VEC: Enable moves in from SSE
[all …]
/netbsd/src/games/backgammon/teachgammon/
Dttext1.c106 const char *const moves[] = { variable
Dtutor.h58 extern const char *const moves[];
Dteach.c104 if ((i = wrtext(moves)) != 0) in main()
/netbsd/src/external/bsd/nvi/dist/
DTODO122 <tab> moves to the next field
123 <bs> in column 0 moves to the previous field
/netbsd/src/external/gpl3/gcc/dist/gcc/config/frv/
Dfrv.opt53 Enable conditional execution other than moves/scc.
65 Enable conditional moves.

1234567891011