Home
last modified time | relevance | path

Searched refs:WRAP_DCY (Results 1 – 9 of 9) sorted by relevance

/dports/games/xpilot-ng-server/xpilot-ng-4.7.3/src/server/
H A Dsuibotdef.c353 mv.delta.cy = WRAP_DCY(cy2 - cy1); in Wall_in_between_points()
394 delta_y= WRAP_DCY( shot->pos.cy - pl->pos.cy ); in Get_object_proximity()
486 delta_y= WRAP_DCY( shot->pos.cy - pl->pos.cy ); in Robot_evade_shot()
559 delta_y= WRAP_DCY( shot->pos.cy - pl->pos.cy ); in Robot_evade_shot()
649 y = WRAP_DCY( object->pos.cy - pl->pos.cy ); in Robot_ram_object()
810 dcy = WRAP_DCY(opponent->pos.cy - pl->pos.cy); in Robot_attack_player()
898 dcy = WRAP_DCY(dcy), dcy = ABS(dcy); in Wrap_length_min()
H A Dship.c182 yd = WRAP_DCY(obj2->pos.cy - obj1->pos.cy); in Delta_mv_partly_elastic()
191 yd = WRAP_DCY(obj2->prevpos.cy - obj1->prevpos.cy); in Delta_mv_partly_elastic()
231 yd = WRAP_DCY(obj2->pos.cy - obj1->pos.cy); in Obj_repel()
H A Dmap.c680 dcy = WRAP_DCY(dcy); in Wrap_cfindDir()
687 dcy = WRAP_DCY(dcy); in Wrap_length()
H A Dmap.h370 #define WRAP_DCY(dcy) \ macro
H A Dcannon.c467 tdy = WRAP_DCY(pl->pos.cy - c->pos.cy) / CLICK; in Cannon_aim()
520 tdy = WRAP_DCY(npy - c->pos.cy) / CLICK; in Cannon_aim()
H A Dupdate.c82 dy = WRAP_DCY(startpos.cy - pl->pos.cy); in Transport_to_home()
H A Ditem.c542 dy = WRAP_DCY(obj->pos.cy - pl->pos.cy); in Do_deflector()
H A Dshot.c1448 D.y = WRAP_DCY(pl->pos.cy - ball->pos.cy); in Update_connector_force()
H A Drobotdef.c757 dcy = WRAP_DCY(dcy), dcy = ABS(dcy); in Wrap_length_min()