Searched refs:winddir (Results 1 – 10 of 10) sorted by relevance
/openbsd/games/sail/ |
H A D | game.c | 67 if (dir == winddir) in maxmove() 69 else if (dir == winddir + 2 || dir == winddir - 2 || dir == winddir - 6 || dir == winddir + 6) in maxmove() 71 else if (dir == winddir + 3 || dir == winddir - 3 || dir == winddir - 5 || dir == winddir + 5) in maxmove() 73 else if (dir == winddir + 4 || dir == winddir - 4) in maxmove()
|
H A D | pl_7.c | 324 maxmove(ms, winddir + 3, -1) + '0', in draw_stat() 325 maxmove(ms, winddir + 3, 1) + '0'); in draw_stat() 328 maxmove(ms, winddir + 2, -1) + '0', in draw_stat() 329 maxmove(ms, winddir + 2, 1) + '0'); in draw_stat() 332 maxmove(ms, winddir + 1, -1) + '0', in draw_stat() 333 maxmove(ms, winddir + 1, 1) + '0'); in draw_stat() 335 maxmove(ms, winddir, -1) + '0', in draw_stat() 336 maxmove(ms, winddir, 1) + '0'); in draw_stat() 396 (void) wmove(slot_w, Y - dr[winddir], 1 - dc[winddir]); in draw_slot() 397 switch (winddir) { in draw_slot() [all …]
|
H A D | dr_1.c | 439 winddir = 1; in next() 444 winddir++; in next() 447 winddir--; in next() 450 winddir += 2; in next() 453 winddir -= 2; in next() 456 if (winddir > 8) in next() 457 winddir -= 8; in next() 458 if (winddir < 1) in next() 459 winddir += 8; in next() 473 Write(W_WIND, SHIP(0), winddir, windspeed, 0, 0); in next()
|
H A D | dr_main.c | 78 winddir = cc->winddir; in dr_main()
|
H A D | pl_main.c | 97 winddir = cc->winddir; in initialize()
|
H A D | dr_2.c | 212 *row -= dr[winddir]; in move_ship() 213 *col -= dc[winddir]; in move_ship()
|
H A D | dr_3.c | 249 sp->file->row -= dr[winddir]; in step() 250 sp->file->col -= dc[winddir]; in step()
|
H A D | extern.h | 225 char winddir; /* 0 */ member 291 extern int winddir;
|
H A D | globals.c | 552 int winddir; variable
|
H A D | sync.c | 475 winddir = a; in sync_update()
|