Home
last modified time | relevance | path

Searched refs:new_float_dir (Results 1 – 2 of 2) sorted by relevance

/dports/games/xpilot-ng-server/xpilot-ng-4.7.3/src/server/
H A Dplayer.h747 static inline void Player_set_float_dir(player_t *pl, double new_float_dir) in Player_set_float_dir() argument
749 if (options.ngControls && new_float_dir != pl->float_dir) { in Player_set_float_dir()
750 pl->float_dir = new_float_dir; in Player_set_float_dir()
754 pl->float_dir = new_float_dir; in Player_set_float_dir()
H A Dupdate.c597 double new_float_dir; in Players_turn() local
632 new_float_dir = pl->float_dir; in Players_turn()
634 new_float_dir += pl->turnvel; in Players_turn()
636 while (new_float_dir < 0) in Players_turn()
637 new_float_dir += RES; in Players_turn()
638 while (new_float_dir >= RES) in Players_turn()
639 new_float_dir -= RES; in Players_turn()
641 Player_set_float_dir(pl, new_float_dir); in Players_turn()