Searched refs:shot_angle (Results 1 – 5 of 5) sorted by relevance
/dports/devel/allegro5/allegro5-5.2.7.0/demos/cosmic_protector/src/ |
H A D | UFO.cpp | 21 float shot_angle = atan2(py-y, px-x); in logic() local 22 LargeSlowBullet *b = new LargeSlowBullet(x, y, shot_angle, this); in logic()
|
/dports/games/xpilot-ng-server/xpilot-ng-4.7.3/src/server/ |
H A D | shot.c | 1027 int i, shot_angle; in Can_shoot_normal_shot() local 1038 int i, shot_angle; in Fire_normal_shots() local 1046 shot_angle = MODS_SPREAD_MAX - Mods_get(pl->mods, ModsSpread); in Fire_normal_shots() 1051 Fire_left_shot(pl, OBJ_SHOT, MOD2(pl->dir + (1 + i) * shot_angle, in Fire_normal_shots() 1055 Fire_main_shot(pl, OBJ_SHOT, MOD2(pl->dir + (1 + i) * shot_angle, in Fire_normal_shots() 1063 Fire_main_shot(pl, OBJ_SHOT, MOD2(pl->dir - (1 + i) * shot_angle, in Fire_normal_shots() 1071 + ((pl->item[ITEM_REARSHOT] - 1 - 2 * i) * shot_angle) / 2, in Fire_normal_shots() 1077 + ((pl->item[ITEM_REARSHOT] - 1 - 2 * i) * shot_angle) / 2, in Fire_normal_shots() 1084 + ((pl->item[ITEM_REARSHOT] - 1 - 2 * i) * shot_angle) / 2, in Fire_normal_shots() 1090 + ((pl->item[ITEM_REARSHOT] - 1 - 2 * i) * shot_angle) / 2, in Fire_normal_shots() [all …]
|
/dports/games/xpilot/xpilot-4.5.5/src/server/ |
H A D | shot.c | 1075 int i, shot_angle; in Fire_normal_shots() local 1082 shot_angle = MODS_SPREAD_MAX - pl->mods.spread; in Fire_normal_shots() 1087 Fire_left_shot(ind, OBJ_SHOT, MOD2(pl->dir + (1 + i) * shot_angle, in Fire_normal_shots() 1091 Fire_main_shot(ind, OBJ_SHOT, MOD2(pl->dir + (1 + i) * shot_angle, in Fire_normal_shots() 1095 Fire_right_shot(ind, OBJ_SHOT, MOD2(pl->dir - (1 + i) * shot_angle, in Fire_normal_shots() 1099 Fire_main_shot(ind, OBJ_SHOT, MOD2(pl->dir - (1 + i) * shot_angle, in Fire_normal_shots() 1107 + ((pl->item[ITEM_REARSHOT] - 1 - 2 * i) * shot_angle) / 2, in Fire_normal_shots() 1112 + ((pl->item[ITEM_REARSHOT] - 1 - 2 * i) * shot_angle) / 2, in Fire_normal_shots() 1119 + ((pl->item[ITEM_REARSHOT] - 1 - 2 * i) * shot_angle) / 2, in Fire_normal_shots() 1124 + ((pl->item[ITEM_REARSHOT] - 1 - 2 * i) * shot_angle) / 2, in Fire_normal_shots() [all …]
|
/dports/games/powermanga/powermanga-0.93.1/src/ |
H A D | shots.h | 87 float shot_angle);
|
H A D | shots.c | 945 Sint32 cannon_pos, float shot_angle) in shot_calulated_spaceship_add() argument 956 bullet->angle = shot_angle; in shot_calulated_spaceship_add()
|