Home
last modified time | relevance | path

Searched refs:WRAP_DY (Results 1 – 17 of 17) sorted by relevance

/dports/games/xpilot/xpilot-4.5.5/src/server/
H A Dlaser.c409 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 Dcannon.c258 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 Drobotdef.c1107 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 Dserverconst.h91 #define WRAP_DY(dy) \ macro
H A Dcollision.c112 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 Dasteroid.c416 dpy = WRAP_DY(py - oy); in Place_asteroid()
H A Dmap.c1138 dy = WRAP_DY(dy); in Wrap_findDir()
1146 dy = WRAP_DY(dy); in Wrap_length()
H A Dship.c242 yd = WRAP_DY(obj2->pos.y - obj1->pos.y); in Obj_repel()
H A Dshot.c1502 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 Ditem.c600 dy = WRAP_DY(dy); in Do_deflector()
H A Dupdate.c102 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 Dserverconst.h69 #define WRAP_DY(dy) \ macro
H A Drobotdef.c867 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 Dmap.c673 dy = WRAP_DY(dy); in Wrap_findDir()
H A Dcannon.c330 tdy = WRAP_DY(npy - cpy); in Cannon_in_danger()
/dports/games/tomenet/tomenet-4.6.0/src/common/
H A Dconst.h173 #define WRAP_DY(dy) \ macro
/dports/games/xpilot/xpilot-4.5.5/doc/
H A DChangeLog1392 replaced with WRAP_DX, WRAP_DY, LENGTH and findDir to eliminate overhead.