Searched refs:curobjp (Results 1 – 7 of 7) sorted by relevance
/dports/games/d2x/d2x-0.2.5/main/ |
H A D | laser.c | 1017 if (curobjp->type == OBJ_ROBOT) { in find_homing_object() 1096 object *curobjp = &Objects[objnum]; in find_homing_object_complete() local 1098 if ((curobjp->type != track_obj_type1) && (curobjp->type != track_obj_type2)) in find_homing_object_complete() 1100 …if ((curobjp->type == OBJ_WEAPON) && ((curobjp->id == PROXIMITY_ID) || (curobjp->id == SUPERPROX_I… in find_homing_object_complete() 1113 if (curobjp->type == OBJ_PLAYER) in find_homing_object_complete() 1125 if (curobjp->type == OBJ_ROBOT) { in find_homing_object_complete() 1126 if (curobjp->ctype.ai_info.CLOAKED) in find_homing_object_complete() 2087 object *curobjp = &Objects[objnum]; in create_smart_children() local 2089 …if ((((curobjp->type == OBJ_ROBOT) && (!curobjp->ctype.ai_info.CLOAKED)) || (curobjp->type == OBJ_… in create_smart_children() 2092 if (curobjp->type == OBJ_PLAYER) in create_smart_children() [all …]
|
H A D | escort.c | 617 object *curobjp = &Objects[objnum]; in exists_in_mine_2() local 620 if (curobjp->flags & OF_PLAYER_DROPPED) in exists_in_mine_2() 624 if (curobjp->type == objtype) { in exists_in_mine_2() 626 if ((curobjp->type == OBJ_ROBOT) && (Robot_info[curobjp->id].companion)) in exists_in_mine_2() 629 …if ((objtype == OBJ_POWERUP) && (curobjp->id != POW_KEY_BLUE) && (curobjp->id != POW_KEY_GOLD) && … in exists_in_mine_2() 633 } else if (curobjp->id == objid) in exists_in_mine_2() 638 if (curobjp->contains_count) in exists_in_mine_2() 639 if (curobjp->contains_type == OBJ_POWERUP) in exists_in_mine_2() 640 if (curobjp->contains_id == objid) in exists_in_mine_2() 643 objnum = curobjp->next; in exists_in_mine_2()
|
H A D | ai2.c | 1915 object *curobjp = &Objects[curobjnum]; in check_object_object_intersection() local 1916 …if ((curobjp->type == OBJ_PLAYER) || (curobjp->type == OBJ_ROBOT) || (curobjp->type == OBJ_CNTRLCE… in check_object_object_intersection() 1917 if (vm_vec_dist_quick(pos, &curobjp->pos) < size + curobjp->size) in check_object_object_intersection() 1920 curobjnum = curobjp->next; in check_object_object_intersection()
|
/dports/games/dxx-rebirth/dxx-rebirth_20211220-src/similar/main/ |
H A D | laser.cpp | 1119 range_for (const auto &&curobjp, vmobjptridx) in find_homing_object_complete() 1124 if ((curobjp->type != track_obj_type1) && (curobjp->type != track_obj_type2)) in find_homing_object_complete() 1127 …if ((curobjp->type == OBJ_WEAPON) && (is_proximity_bomb_or_player_smart_mine(get_weapon_id(curobjp… in find_homing_object_complete() 1143 if (curobjp->type == OBJ_PLAYER) in find_homing_object_complete() 1157 if (curobjp->type == OBJ_ROBOT) { in find_homing_object_complete() 1158 if (curobjp->ctype.ai_info.CLOAKED) in find_homing_object_complete() 1182 best_objnum = curobjp; in find_homing_object_complete() 2171 …if (((curobjp->type == OBJ_ROBOT && !curobjp->ctype.ai_info.CLOAKED) || curobjp->type == OBJ_PLAYE… in create_smart_children() 2173 if (curobjp->type == OBJ_PLAYER) in create_smart_children() 2184 if (curobjp->type == OBJ_ROBOT) { in create_smart_children() [all …]
|
/dports/games/dxx-rebirth/dxx-rebirth_20211220-src/d2x-rebirth/main/ |
H A D | escort.cpp | 632 if (curobjp->flags & OF_PLAYER_DROPPED) in exists_in_mine_2() 633 return curobjp; in exists_in_mine_2() 636 if (curobjp->type == objtype) { in exists_in_mine_2() 638 if ((curobjp->type == OBJ_ROBOT) && (Robot_info[get_robot_id(curobjp)].companion)) in exists_in_mine_2() 641 return curobjp; in exists_in_mine_2() 642 } else if (curobjp->id == objid) in exists_in_mine_2() 643 return curobjp; in exists_in_mine_2() 647 if (curobjp->contains_count) in exists_in_mine_2() 648 if (curobjp->contains_type == OBJ_POWERUP) in exists_in_mine_2() 649 if (curobjp->contains_id == objid) in exists_in_mine_2() [all …]
|
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/ai/ |
H A D | aicode.cpp | 2578 void create_path_to_point(vec3d *curpos, vec3d *goalpos, object *curobjp, object *goalobjp, int sub… in create_path_to_point() argument 2581 if (pp_collide(curpos, goalpos, goalobjp, curobjp->radius)) { in create_path_to_point() 2604 if (pp_collide(&tan1, curpos, goalobjp, curobjp->radius)) in create_path_to_point() 2610 if (pp_collide(goalpos, &tan1, goalobjp, curobjp->radius)) in create_path_to_point()
|
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/ai/ |
H A D | aicode.cpp | 2693 void create_path_to_point(vec3d *curpos, vec3d *goalpos, object *curobjp, object *goalobjp, int sub… in create_path_to_point() argument 2696 if (pp_collide(curpos, goalpos, goalobjp, curobjp->radius)) { in create_path_to_point() 2719 if (pp_collide(&tan1, curpos, goalobjp, curobjp->radius)) in create_path_to_point() 2725 if (pp_collide(goalpos, &tan1, goalobjp, curobjp->radius)) in create_path_to_point()
|