Searched refs:WRAP_DY (Results 1 – 17 of 17) sorted by relevance
/dports/games/xpilot/xpilot-4.5.5/src/server/ |
H A D | laser.c | 409 dy = WRAP_DY(dy); in Laser_pulse_get_object_list() 533 dy = WRAP_DY(dy); in Laser_pulse_collision() 612 ady = WRAP_DY(ady); in Laser_pulse_collision()
|
H A D | cannon.c | 258 tdy = WRAP_DY(npy - cpy); in Cannon_in_danger() 397 tdy = WRAP_DY(pl->pos.y - cpy); in Cannon_aim() 443 tdy = WRAP_DY(npy - cpy); in Cannon_aim()
|
H A D | robotdef.c | 1107 dy = item_y - pl->pos.y, dy = WRAP_DY(dy); in Check_robot_target() 1528 dy = ship->pos.y - pl->pos.y, dy = WRAP_DY(dy); in Detect_hunt() 1837 dy = WRAP_DY(dy), ABS(dy)) < fuel_dist in Robot_default_play_check_map() 1858 dy = WRAP_DY(dy), ABS(dy)) < target_dist in Robot_default_play_check_map() 1904 dy = WRAP_DY(dy), ABS(dy)) < cannon_dist in Robot_default_play_check_map() 1995 dy = WRAP_DY(shot->pos.y - pl->pos.y); in Robot_default_play_check_objects() 2097 dy = WRAP_DY(dy), ABS(dy)) < *mine_dist in Robot_default_play_check_objects() 2110 dy = WRAP_DY(dy), in Robot_default_play_check_objects() 2202 dy = (long)WRAP_DY(pl->pos.y - pulse->pos.y); in Robot_default_play_check_lasers() 2396 dy = ship->pos.y - pl->pos.y, dy = WRAP_DY(dy); in Robot_default_play() [all …]
|
H A D | serverconst.h | 91 #define WRAP_DY(dy) \ macro
|
H A D | collision.c | 112 dy = WRAP_DY(q2y - p2y); 117 doy = WRAP_DY(p1y - q1y); 122 dpy = WRAP_DY(p2y - p1y); 124 dqy = WRAP_DY(q2y - q1y);
|
H A D | asteroid.c | 416 dpy = WRAP_DY(py - oy); in Place_asteroid()
|
H A D | map.c | 1138 dy = WRAP_DY(dy); in Wrap_findDir() 1146 dy = WRAP_DY(dy); in Wrap_length()
|
H A D | ship.c | 242 yd = WRAP_DY(obj2->pos.y - obj1->pos.y); in Obj_repel()
|
H A D | shot.c | 1502 F.y = WRAP_DY(pl->pos.y - ball->pos.y) * c; in Move_ball() 1569 D.y = WRAP_DY(pl->pos.y - ball->pos.y); in Move_ball()
|
H A D | item.c | 600 dy = WRAP_DY(dy); in Do_deflector()
|
H A D | update.c | 102 dy = WRAP_DY(by - pl->pos.y); in Transport_to_home()
|
/dports/games/xpilot-ng-server/xpilot-ng-4.7.3/src/server/ |
H A D | serverconst.h | 69 #define WRAP_DY(dy) \ macro
|
H A D | robotdef.c | 867 dy = CLICK_TO_PIXEL(item_pos.cy - pl->pos.cy), dy = WRAP_DY(dy); in Check_robot_target() 1662 dy = WRAP_DY(dy); in Robot_default_play_check_objects() 1739 dy = (int)WRAP_DY(dy), ABS(dy)) < *mine_dist in Robot_default_play_check_objects() 1755 dy = WRAP_DY(dy), in Robot_default_play_check_objects()
|
H A D | map.c | 673 dy = WRAP_DY(dy); in Wrap_findDir()
|
H A D | cannon.c | 330 tdy = WRAP_DY(npy - cpy); in Cannon_in_danger()
|
/dports/games/tomenet/tomenet-4.6.0/src/common/ |
H A D | const.h | 173 #define WRAP_DY(dy) \ macro
|
/dports/games/xpilot/xpilot-4.5.5/doc/ |
H A D | ChangeLog | 1392 replaced with WRAP_DX, WRAP_DY, LENGTH and findDir to eliminate overhead.
|