Home
last modified time | relevance | path

Searched refs:count_d (Results 1 – 25 of 46) sorted by relevance

12

/dports/games/dangen/dangen-0.5/spqr/
H A Dfragment.c82 count_d[0] = x; in fragment_new()
83 count_d[1] = y; in fragment_new()
84 count_d[2] = dx; in fragment_new()
85 count_d[3] = dy; in fragment_new()
162 my->count_d[0] += my->count_d[2]; in fragment_act()
163 my->count_d[1] += my->count_d[3]; in fragment_act()
167 my->count_d[suffix + 0] += my->count_d[suffix + 2]; in fragment_act()
168 my->count_d[suffix + 1] += my->count_d[suffix + 3]; in fragment_act()
169 my->count_d[suffix + 10] += my->count_d[suffix + 11]; in fragment_act()
244 a_x = my->count_d[0] + my->count_d[suffix + 0]; in fragment_draw()
[all …]
H A Dw-ko.c152 count_d[0] = 0.0; in w_ko_new()
153 count_d[1] = 0.0; in w_ko_new()
154 count_d[2] = 0.0; in w_ko_new()
155 count_d[3] = 60.0; in w_ko_new()
179 free(count_d); in w_ko_new()
372 my->count_d[i] = player->count_d[i] * (-0.75); in w_ko_act()
373 else if ((my->count_d[i] > -0.11) && (my->count_d[i] < 0.11)) in w_ko_act()
654 && (x * my->count_d[2] + y * my->count_d[3] > 0.0)) in w_ko_act()
692 && (x * my->count_d[2] + y * my->count_d[3] > 0.0)) in w_ko_act()
1523 count_d[3] = x; in w_ko_lock_on_new()
[all …]
H A Dcat-tail-grep.c2073 my->count_d[0] = my->count_d[2] + next_x - my->x; in cat_tail_grep_shot_s_act()
2074 my->count_d[1] = my->count_d[3] + next_y - my->y; in cat_tail_grep_shot_s_act()
2207 count_d[0] *= count_d[5]; in cat_tail_grep_shot_i_new()
2208 count_d[1] *= count_d[5]; in cat_tail_grep_shot_i_new()
2401 my->count_d[2] *= my->count_d[5]; in cat_tail_grep_shot_i_act()
2402 my->count_d[3] *= my->count_d[5]; in cat_tail_grep_shot_i_act()
2406 temp_x = my->count_d[7] - my->count_d[2]; in cat_tail_grep_shot_i_act()
2407 temp_y = my->count_d[8] - my->count_d[3]; in cat_tail_grep_shot_i_act()
2530 my->count_d[0] = my->count_d[2] + next_x - my->x; in cat_tail_grep_shot_i_act()
2779 my->count_d[0] = my->count_d[4]; in cat_tail_grep_shot_v_act()
[all …]
H A Dp-can.c42 double *count_d = NULL; in p_can_new() local
74 if (count_d == NULL) in p_can_new()
103 count_d[0] = 0.0; in p_can_new()
105 count_d[2] = 40.0; in p_can_new()
106 count_d[3] = 0.0; in p_can_new()
123 if (count_d != NULL) in p_can_new()
124 free(count_d); in p_can_new()
233 my->count_d[0] = 0.0; in p_can_next()
234 my->count_d[1] = 0.5; in p_can_next()
393 x = my->x + my->count_d[2] + my->count_d[3] * 3.0/4.0 * ((double) i); in p_can_act()
[all …]
H A Dnormal-enemy.c419 count_d[0] = count_d[6]; in normal_enemy_new()
420 count_d[1] = count_d[7]; in normal_enemy_new()
446 count_d[0] = count_d[6] in normal_enemy_new()
448 count_d[1] = count_d[7] in normal_enemy_new()
751 my->count_d[6] += my->count_d[2]; in normal_enemy_act()
752 my->count_d[7] += my->count_d[3]; in normal_enemy_act()
755 my->count_d[4] += my->count_d[6]; in normal_enemy_act()
756 my->count_d[5] += my->count_d[7]; in normal_enemy_act()
762 my->count_d[0] = my->count_d[6]; in normal_enemy_act()
781 my->count_d[0] = my->count_d[6] in normal_enemy_act()
[all …]
H A Dinsane-hand.c105 if (count_d == NULL) in insane_hand_new()
137 count_d[0] = 0.0; in insane_hand_new()
139 count_d[2] = 0.0; in insane_hand_new()
140 count_d[3] = 0.0; in insane_hand_new()
157 free(count_d); in insane_hand_new()
1415 count_d[0] = 0.0; in insane_hand_ship_new()
1753 count_d[0] = 0.0; in insane_hand_ship_bit_new()
1844 my->count_d[0] = (my->count_d[2] - my->x) / 100.0; in insane_hand_ship_bit_act()
1845 my->count_d[1] = (my->count_d[3] - my->y) / 100.0; in insane_hand_ship_bit_act()
2146 my->count_d[0] += my->count_d[2]; in insane_hand_ship_shot_act()
[all …]
H A Dempty-wind.c134 count_d[0] = 0.0; in empty_wind_new()
135 count_d[1] = 0.0; in empty_wind_new()
136 count_d[2] = 0.0; in empty_wind_new()
137 count_d[3] = 0.0; in empty_wind_new()
138 count_d[4] = 0.0; in empty_wind_new()
139 count_d[5] = 0.0; in empty_wind_new()
140 count_d[6] = 0.0; in empty_wind_new()
157 free(count_d); in empty_wind_new()
310 my->count_d[4] -= my->count_d[1] * 0.5; in empty_wind_act()
432 my->count_d[0] += my->count_d[2]; in empty_wind_act()
[all …]
H A Dexplosion.c28 double *count_d = NULL; in explosion_new() local
47 if (count_d == NULL) in explosion_new()
74 count_d[0] = x; in explosion_new()
75 count_d[1] = y; in explosion_new()
76 count_d[2] = dx; in explosion_new()
77 count_d[3] = dy; in explosion_new()
101 free(count_d); in explosion_new()
135 my->count_d[0] += my->count_d[2]; in explosion_act()
136 my->count_d[1] += my->count_d[3]; in explosion_act()
140 my->count_d[suffix + 0] += my->count_d[suffix + 2]; in explosion_act()
[all …]
H A Dplan-19.c45 double *count_d = NULL; in plan_19_more_1_new() local
54 if (count_d == NULL) in plan_19_more_1_new()
77 count_d[0] = 0.0; in plan_19_more_1_new()
78 count_d[1] = 3.0; in plan_19_more_1_new()
79 count_d[2] = 73.0; in plan_19_more_1_new()
95 if (count_d != NULL) in plan_19_more_1_new()
96 free(count_d); in plan_19_more_1_new()
128 my->count_d[1] = 3.0; in plan_19_more_1_act()
129 my->count_d[2] = 48.0; in plan_19_more_1_act()
162 my->count_d[1] += 0.05; in plan_19_more_1_act()
[all …]
H A Dhugin.c84 if (count_d == NULL) in hugin_new()
119 count_d[0] = 0.0; in hugin_new()
121 count_d[2] = 0.0; in hugin_new()
122 count_d[3] = 1.0; in hugin_new()
139 free(count_d); in hugin_new()
404 if (my->count_d[2] * my->count_d[2] in hugin_act()
405 + my->count_d[3] * my->count_d[3] < NEAR_ZERO) in hugin_act()
646 count_d[0] = 0.0; in munin_new()
648 count_d[2] = 0.0; in munin_new()
885 if (my->count_d[2] * my->count_d[2] in munin_act()
[all …]
H A Dnegation-engine.c38 double *count_d = NULL; in negation_engine_new() local
47 if (count_d == NULL) in negation_engine_new()
84 if (count_d != NULL) in negation_engine_new()
85 free(count_d); in negation_engine_new()
300 double *count_d = NULL; in negation_engine_triangle_new() local
341 if (count_d == NULL) in negation_engine_triangle_new()
365 count_d[0] = 0.0; in negation_engine_triangle_new()
366 count_d[1] = 4.0; in negation_engine_triangle_new()
367 count_d[2] = size; in negation_engine_triangle_new()
384 if (count_d != NULL) in negation_engine_triangle_new()
[all …]
H A Dplayer.c51 double *count_d = NULL; in player_new() local
89 if (count_d == NULL) in player_new()
110 count_d[0] = 0.0; in player_new()
111 count_d[1] = 0.0; in player_new()
154 if (count_d != NULL) in player_new()
155 free(count_d); in player_new()
419 my->count_d[0] * 0.5, my->count_d[1] * 0.5, in player_hit()
422 my->count_d[0] * 0.5, my->count_d[1] * 0.5, in player_hit()
429 my->count_d[0] = 0.0; in player_hit()
430 my->count_d[1] = 0.0; in player_hit()
[all …]
H A Dtenmado.c47 double *count_d = NULL; in tenmado_new() local
107 if (count_d == NULL) in tenmado_new()
143 count_d[0] = dx; in tenmado_new()
144 count_d[1] = 6.0; in tenmado_new()
145 count_d[2] = y; in tenmado_new()
163 free(count_d); in tenmado_new()
239 my->count_d[0] / 2.0, my->count_d[1]/ 2.0, in tenmado_hit()
325 my->count_d[1] = my->count_d[2] + 50.0 * tenm_sin(my->count[3] * 7) in tenmado_act()
537 count_d[0] = 0.0; in tenmado_shot_new()
538 count_d[1] = 12.0; in tenmado_shot_new()
[all …]
H A Dwatcher-below.c58 double *count_d = NULL; in watcher_below_new() local
86 if (count_d == NULL) in watcher_below_new()
118 count_d[0] = 0.0; in watcher_below_new()
119 count_d[1] = 0.0; in watcher_below_new()
137 free(count_d); in watcher_below_new()
253 my->count_d[0] = 0.0; in watcher_below_next()
411 else if ((my->count_d[0] > 0.0) && (my->count_d[0] < 1.0)) in watcher_below_act()
419 else if ((my->count_d[0] > -1.0) && (my->count_d[0] < NEAR_ZERO)) in watcher_below_act()
426 else if ((my->count_d[1] > 0.0) && (my->count_d[1] < 1.0)) in watcher_below_act()
433 else if ((my->count_d[1] > -1.0) && (my->count_d[1] < NEAR_ZERO)) in watcher_below_act()
[all …]
H A Dplayer-shot.c73 if (count_d == NULL) in player_shot_new()
90 count_d[0] = 0.0; in player_shot_new()
91 count_d[1] = -52.0; in player_shot_new()
95 count_d[0] = 0.0; in player_shot_new()
96 count_d[1] = 52.0; in player_shot_new()
100 count_d[0] = 48.0; in player_shot_new()
101 count_d[1] = -20.0; in player_shot_new()
105 count_d[0] = -48.0; in player_shot_new()
109 count_d[2] = x; in player_shot_new()
110 count_d[3] = y; in player_shot_new()
[all …]
H A Dnexus.c94 if (count_d == NULL) in nexus_new()
127 count_d[0] = 0.0; in nexus_new()
128 count_d[1] = 1.0; in nexus_new()
145 free(count_d); in nexus_new()
273 my->count_d[0] * 0.5, my->count_d[1] * 0.5, in nexus_signal_kill_hatch()
809 count_d[0] = 0.0; in nexus_hatch_new()
810 count_d[1] = 1.0; in nexus_hatch_new()
1131 count_d[0] = 0.0; in nexus_attacker_new()
1132 count_d[1] = 1.0; in nexus_attacker_new()
1377 count_d[0] = 0.0; in nexus_head_new()
[all …]
H A Dstrikers.c74 if (count_d == NULL) in strikers_new()
106 free(count_d); in strikers_new()
296 if (count_d == NULL) in striker_505_new()
331 count_d[0] = 0.0; in striker_505_new()
349 free(count_d); in striker_505_new()
892 count_d[0] = 0.0; in striker_446_new()
910 free(count_d); in striker_446_new()
1457 count_d[0] = 0.0; in striker_1341_new()
1459 count_d[2] = 0.0; in striker_1341_new()
1460 count_d[3] = 25.0; in striker_1341_new()
[all …]
H A Dhatsuda.c81 if (count_d == NULL) in hatsuda_new()
109 count_d[0] = 0.0; in hatsuda_new()
110 count_d[1] = 0.0; in hatsuda_new()
127 free(count_d); in hatsuda_new()
1093 count_d[1] = 0.0; in hatsuda_wall_triangle_new()
1094 count_d[2] = size; in hatsuda_wall_triangle_new()
1112 free(count_d); in hatsuda_wall_triangle_new()
1180 my->count_d[1] = my->count_d[0]; in hatsuda_wall_triangle_act()
1182 my->count_d[1] = -my->count_d[0]; in hatsuda_wall_triangle_act()
1545 count_d[0] = 0.0; in hatsuda_shroud_new()
[all …]
H A Dcat-tail.c61 double *count_d = NULL; in cat_tail_new() local
126 if (count_d == NULL) in cat_tail_new()
161 count_d[0] = 0.0; in cat_tail_new()
162 count_d[1] = 0.0; in cat_tail_new()
179 free(count_d); in cat_tail_new()
305 my->count_d[0] * 0.5, my->count_d[1] * 0.5, in cat_tail_second_form()
1118 count_d[0] = 0.0; in cat_tail_turret_new()
1119 count_d[1] = 0.0; in cat_tail_turret_new()
1155 free(count_d); in cat_tail_turret_new()
1486 length = tenm_sqrt((int) (my->count_d[2] * my->count_d[2] in cat_tail_turret_act()
[all …]
H A Dsilver-chimera.c67 double *count_d = NULL; in silver_chimera_new() local
112 if (count_d == NULL) in silver_chimera_new()
142 count_d[0] = 0.0; in silver_chimera_new()
159 if (count_d != NULL) in silver_chimera_new()
160 free(count_d); in silver_chimera_new()
267 my->count_d[0] = 0.0; in silver_chimera_explode()
268 my->count_d[1] = 0.5; in silver_chimera_explode()
721 if (count_d == NULL) in silver_chimera_spread_new()
761 free(count_d); in silver_chimera_spread_new()
1225 count_d[0] = 0.0; in silver_chimera_bit_new()
[all …]
H A Dgosanpachi.c42 double *count_d = NULL; in gosanpachi_new() local
74 if (count_d == NULL) in gosanpachi_new()
103 count_d[0] = 0.0; in gosanpachi_new()
105 count_d[2] = 0.0; in gosanpachi_new()
106 count_d[3] = 1.0; in gosanpachi_new()
123 if (count_d != NULL) in gosanpachi_new()
124 free(count_d); in gosanpachi_new()
233 my->count_d[0] = 0.0; in gosanpachi_next()
234 my->count_d[1] = 0.5; in gosanpachi_next()
317 my->count_d[0] = 0.0; in gosanpachi_act()
[all …]
H A Dafterdeath.c49 double *count_d = NULL; in afterdeath_new() local
81 if (count_d == NULL) in afterdeath_new()
111 count_d[0] = 0.0; in afterdeath_new()
113 count_d[2] = 0.0; in afterdeath_new()
131 free(count_d); in afterdeath_new()
249 my->count_d[0] = 0.0; in afterdeath_next()
250 my->count_d[1] = 0.5; in afterdeath_next()
368 if ((my->count_d[2] - 5.0 < my->y) && (my->count_d[2] + 5.0 > my->y)) in afterdeath_act()
684 count_d[0] = 6.0; in afterdeath_ship_new()
687 count_d[1] = 0.0; in afterdeath_ship_new()
[all …]
H A Dnet-can-howl.c132 if (count_d == NULL) in net_can_howl_core_new()
178 count_d[i] = 0.0; in net_can_howl_core_new()
194 free(count_d); in net_can_howl_core_new()
650 my->count_d[0], my->count_d[1], in net_can_howl_core_act()
714 my->count_d[2], my->count_d[3], in net_can_howl_core_act()
752 my->count_d[2], my->count_d[3], in net_can_howl_core_act()
970 dx = my->count_d[2] - my->count_d[4]; in net_can_howl_core_draw()
971 dy = my->count_d[3] - my->count_d[5]; in net_can_howl_core_draw()
1706 count_d[2] = 0.0; in senator_new()
1724 free(count_d); in senator_new()
[all …]
H A Drespiration.c42 double *count_d = NULL; in respiration_new() local
70 if (count_d == NULL) in respiration_new()
95 count_d[0] = 0.0; in respiration_new()
96 count_d[1] = 6.0; in respiration_new()
113 if (count_d != NULL) in respiration_new()
114 free(count_d); in respiration_new()
238 my->count_d[0] = 0.0; in respiration_act()
254 my->count_d[0] = 0.0; in respiration_act()
258 my->count_d[0] = 6.0; in respiration_act()
262 my->count_d[0] = 0.0; in respiration_act()
[all …]
H A Dtutor.c43 double *count_d = NULL; in tutor_new() local
135 if (count_d == NULL) in tutor_new()
182 if (count_d != NULL) in tutor_new()
183 free(count_d); in tutor_new()
219 count_d[0] = 0.0; in tutor_new()
221 count_d[1] = 4.0; in tutor_new()
223 count_d[1] = 5.0; in tutor_new()
225 count_d[1] = 5.0; in tutor_new()
241 if (count_d != NULL) in tutor_new()
242 free(count_d); in tutor_new()
[all …]

12