/dports/games/xpilot/xpilot-4.5.5/src/server/ |
H A D | command.c | 67 && (j = GetInd[i]) >= 0 in Get_player_index_by_name() 360 int ind = GetInd[pl->id]; in Cmd_team() 412 Detach_ball(GetInd[pl->id], -1); in Cmd_team() 436 Pick_startpos(GetInd[pl->id]); in Cmd_team() 498 Invite_player(GetInd[pl->id], i); in Cmd_ally() 501 Refuse_alliance(GetInd[pl->id], i); in Cmd_ally() 525 Cancel_invitation(GetInd[pl->id]); in Cmd_ally() 528 Refuse_all_alliances(GetInd[pl->id]); in Cmd_ally() 531 Accept_all_alliances(GetInd[pl->id]); in Cmd_ally() 534 Leave_alliance(GetInd[pl->id]); in Cmd_ally() [all …]
|
H A D | collision.c | 807 killer = GetInd[ball->owner]; in Player_collides_with_ball() 1040 killer = GetInd[mine->owner]; in Player_collides_with_mine() 1049 killer = GetInd[mine->id]; in Player_collides_with_mine() 1060 killer = GetInd[mine->id]; in Player_collides_with_mine() 1067 Players[GetInd[mine->owner]]->name, in Player_collides_with_mine() 1107 killer = GetInd[obj->id]; in Player_collides_with_debris() 1181 int owner = GetInd[pl->lock.pl_id]; in Player_collides_with_asteroid() 1248 Players[ killer=GetInd[obj->id] ]->name); in Player_collides_with_killing_shot() 1310 Players[killer=GetInd[obj->id]]->name); in Player_collides_with_killing_shot() 1569 int ind = GetInd[owner_id]; in AsteroidCollision() [all …]
|
H A D | ship.c | 188 player *pusher = Players[GetInd[obj->id]]; in Delta_mv() 225 player *pusher = Players[GetInd[obj2->id]]; in Delta_mv_elastic() 261 player *pusher = Players[GetInd[obj2->id]]; in Obj_repel() 269 player *pusher = Players[GetInd[obj1->id]]; in Obj_repel() 478 Player_join_alliance(GetInd[dummy->id], GetInd[pl->id]); in Tank_handle_detach() 496 && Players[ GetInd[Obj[i]->info] ] == pl) { in Tank_handle_detach() 502 Player_remove_tank(GetInd[pl->id], ct); in Tank_handle_detach()
|
H A D | frame.c | 407 lock_ind = GetInd[lock_id]; in Frame_status() 476 Players[GetInd[Get_player_id(conn)]]->status, in Frame_status() 821 && BIT(Players[GetInd[shot->id]]->status, PAUSE)) in Frame_shots() 878 && BIT(Players[GetInd[mine->id]]->status, PAUSE)) { in Frame_shots() 983 player *victim = Players[GetInd[trans->target]], in Frame_ships() 992 player *t = Players[GetInd[cannon->tractor_target]]; in Frame_ships() 1065 player *t = Players[GetInd[pl_i->lock.pl_id]]; in Frame_ships() 1182 && GetInd[pl->lock.pl_id] == i in Frame_radar() 1329 && pl->team == Players[GetInd[pl->lock.pl_id]]->team) in Frame_update() 1332 ind = GetInd[pl->lock.pl_id]; in Frame_update() [all …]
|
H A D | robotdef.c | 1292 ship = Players[GetInd[my_data->robot_lock_id]]; in Check_robot_target() 1295 ship = Players[GetInd[pl->lock.pl_id]]; in Check_robot_target() 1342 ship = Players[GetInd[pl->lock.pl_id]]; in Check_robot_target() 1387 if (Detect_hunt(ind, GetInd[pl->lock.pl_id]) in Check_robot_target() 1460 ship = Players[GetInd[my_data->robot_lock_id]]; in Check_robot_hunt() 2380 j = GetInd[my_data->robot_lock_id]; in Robot_default_play() 2400 ship_i = GetInd[my_data->robot_lock_id]; in Robot_default_play() 2487 ship = Players[GetInd[pl->lock.pl_id]]; in Robot_default_play() 2496 || !Detect_hunt(ind, GetInd[ship->id]) in Robot_default_play() 2575 Detect_hunt(ind, GetInd[pl->lock.pl_id])) { in Robot_default_play() [all …]
|
H A D | item.c | 96 Autopilot (GetInd[pl->id], 0); in Item_update_flags() 420 owner_ind = GetInd[pl->lock.pl_id]; in Detonate_items() 499 || BIT(Players[GetInd[pl->lock.pl_id]]->status, in Tractor_beam() 503 || BIT(Players[GetInd[pl->lock.pl_id]]->used, HAS_PHASING_DEVICE)) { in Tractor_beam() 515 GetInd[pl->lock.pl_id], pl->tractor_is_pressor); in Tractor_beam() 1003 owner = GetInd[shot->id]; in Fire_general_ecm() 1036 && pl->visibility[GetInd[pl->lock.pl_id]].canSee) in Fire_general_ecm() 1198 && pl->visibility[GetInd[pl->lock.pl_id]].canSee in Fire_general_ecm()
|
H A D | laser.c | 88 ind = GetInd[pulse_ptr->id]; in Laser_pulse_destroy_one() 203 ind = GetInd[pulse->id]; in Laser_pulse_hits_player() 340 ind = GetInd[pulse->id]; in Laser_pulse_check_player_hits() 467 ind = GetInd[pulse->id]; in Laser_pulse_collision()
|
H A D | netserver.c | 576 Players[GetInd[id]]->conn = NOT_CONNECTED; in Destroy_connection() 577 Delete_player(GetInd[id]); in Destroy_connection() 1621 player *pl = Players[GetInd[id]]; in Send_player() 2208 pl = Players[GetInd[connp->id]]; in Receive_keyboard() 2211 Handle_keyboard(GetInd[connp->id]); in Receive_keyboard() 2290 pl = Players[GetInd[connp->id]]; in Receive_power() 2861 pl = Players[GetInd[connp->id]]; in Receive_modifier_bank() 3155 pl = Players[GetInd[connp->id]]; in Receive_pointer_move() 3160 Autopilot(GetInd[connp->id], 0); in Receive_pointer_move() 3202 pl = Players[GetInd[connp->id]]; in Receive_fps_request() [all …]
|
H A D | shot.c | 689 || !pl->visibility[GetInd[pl->lock.pl_id]].canSee) in Fire_general_shot() 1167 Detach_ball(GetInd[ball->id], ind); in Delete_shot() 1241 player *pl = Players[GetInd[shot->id]]; in Delete_shot() 1325 pl = Players[GetInd[shot->id]]; in Delete_shot() 1486 player *pl = Players[ GetInd[ball->id] ]; in Move_ball() 1497 Detach_ball(GetInd[ball->id], ind); in Move_ball() 1560 player *pl = Players[ GetInd[ball->id] ]; in Move_ball() 1591 Detach_ball(GetInd[ball->id], ind); in Move_ball() 1652 pl = Players[ GetInd[shot->info] ]; in Move_smart_shot() 1754 pl = Players[GetInd[shot->info]]; in Move_smart_shot()
|
H A D | server.c | 89 int GetInd[NUM_IDS+1]; variable 548 if ((k = Robot_war_on_player(GetInd[pl->id])) != NO_ID) { in Server_info() 549 sprintf(name + strlen(name), " (%s)", Players[GetInd[k]]->name); in Server_info()
|
H A D | score.c | 135 && GetInd[Players[loser]->lock.pl_id] == winner)) { in Score_players()
|
H A D | walls.c | 993 pl = Players[GetInd[ball->owner]]; in Move_segment() 1007 SCORE(GetInd[pl->id], 5, in Move_segment() 1020 Players[GetInd[ball->owner]]->team) { in Move_segment() 1033 } else if (Punish_team(GetInd[ball->owner], in Move_segment() 1068 team = Players[GetInd[ball->owner]]->team; in Move_segment() 1600 killer = GetInd[ms->mip->obj->id]; in Cannon_dies() 1606 killer = GetInd[pl->id]; in Cannon_dies() 1650 killer = GetInd[obj->id]; in Object_hits_target() 2028 int ind = GetInd[pl->id]; in Player_crash() 2176 SCORE(GetInd[pusher->id], sc, in Player_crash() [all …]
|
H A D | event.c | 194 lock = GetInd[pl->lock.pl_id]; in Player_lock_closest() 476 j = i = GetInd[pl->lock.pl_id]; in Handle_keyboard() 521 && (i = GetInd[k]) > 0 in Handle_keyboard() 737 && Player_lock_allowed(ind, GetInd[*l])) { in Handle_keyboard()
|
H A D | update.c | 591 Players[GetInd[Ecms[i]->id]]->ecmcount--; in Update_objects() 658 int ind = GetInd[cannon->tractor_target]; in Update_objects() 774 SCORE(GetInd[pl->id], -sc, in Update_objects() 1271 Wrap_length(pl->pos.x - Players[GetInd[pl->lock.pl_id]]->pos.x, in Update_objects() 1272 pl->pos.y - Players[GetInd[pl->lock.pl_id]]->pos.y); in Update_objects()
|
H A D | global.h | 94 extern int GetInd[];
|
H A D | serverconst.h | 136 && (GetInd[Players[j]->lock.pl_id] == (i)))
|
/dports/games/tomenet/tomenet-4.6.0/src/server/ |
H A D | nserver.c | 1617 player = GetInd[connp->id]; in Destroy_connection() 1648 Delete_player(GetInd[id]); in Destroy_connection() 2677 GetInd[Id] = NumPlayers + 1; 3280 player = GetInd[connp->id]; 3468 player = GetInd[connp->id]; 3772 player = GetInd[connp->id]; 4506 Ind = GetInd[connp->id]; 7762 Ind = GetInd[connp->id]; 7792 player = GetInd[connp->id]; 7866 player = GetInd[connp->id]; [all …]
|
/dports/mail/exmh2/exmh-2.9.0/misc/mafe/ |
H A D | mafe | 349 $ind=&GetInd($CDtag,%distros); 432 $ind=&GetInd($CADc,%{$hname}); 460 $ind=&GetInd($word,%{$hname}); 485 $ind=&GetInd($word,%{$hname}); 530 $ind=&GetInd($word,%{$oname}); 538 sub GetInd {
|
/dports/games/xpilot-ng-server/xpilot-ng-4.7.3/src/server/ |
H A D | score.c | 177 i_tank_owner = GetInd(killer->lock.pl_id); in Handle_Scoring() 178 if (i_tank_owner == GetInd(victim->id)) in Handle_Scoring() 179 i_tank_owner = GetInd(killer->id); in Handle_Scoring()
|
H A D | event.c | 90 int i, j, ind = GetInd(pl->id); in Player_lock_next_or_prev() 96 j = i = GetInd(pl->lock.pl_id); in Player_lock_next_or_prev() 433 int i, k, ind = GetInd(pl->id); in Player_toggle_compass() 449 && (i = GetInd(k)) > 0 in Player_toggle_compass()
|
H A D | player.h | 351 int GetInd(int id); 365 return Player_by_index(GetInd(id)); in Player_by_id()
|
H A D | player.c | 38 int GetInd(int id) in GetInd() function 62 int ind = GetInd(pl->id), i, num_free, pick = 0, seen = 0, order, min_order = INT_MAX; in Pick_startpos() 162 int ind = GetInd(pl->id), i, dir, check; in Go_home() 1338 int ind = GetInd(pl->id), i, j, id = pl->id; in Delete_player() 1516 int i, ind = GetInd(pl->id); in Delete_spectator()
|
H A D | frame.c | 339 lock_ind = GetInd(lock_id); in Frame_status() 1015 && GetInd(pl->lock.pl_id) == i in Frame_radar() 1161 ind = GetInd(pl->lock.pl_id); in Frame_update() 1166 ind = GetInd(pl->lock.pl_id); in Frame_update()
|
/dports/editors/neovim/neovim-0.6.1/runtime/indent/ |
H A D | ocaml.vim | 65 function! s:GetInd(lnum, pat, lim) 152 return s:GetInd(v:lnum, s:letpat, s:letlim) 214 let ind = s:GetInd(v:lnum, s:letpat, s:letlim)
|
/dports/editors/vim/vim-8.2.3745/runtime/indent/ |
H A D | ocaml.vim | 65 function! s:GetInd(lnum, pat, lim) 152 return s:GetInd(v:lnum, s:letpat, s:letlim) 214 let ind = s:GetInd(v:lnum, s:letpat, s:letlim)
|