Home
last modified time | relevance | path

Searched refs:CritterProps (Results 1 – 11 of 11) sorted by relevance

/dports/games/shockolate/systemshock-0.8.2-43-ga9eb1b93/src/GameSrc/
H A Dai.c103 CritterProp cp = CritterProps[CPNUM(id)]; in ai_find_player()
323 if (CritterProps[CPNUM(id)].death_sound != 255) { in ai_critter_die()
324 damage_sound_fx = CritterProps[CPNUM(id)].death_sound; in ai_critter_die()
330 if (CritterProps[CPNUM(id)].flags & AI_FLAG_FLYING) in ai_critter_die()
560 corpse_trip = CritterProps[CPNUM(objCritters[osid].id)].corpse; in ai_critter_really_dead()
607 ca = CritterProps[CPNUM(id)].attacks[0]; in ai_autobomb_explode()
653 attack_mass = fix_make(CritterProps[cp_num].attacks[a].attack_mass, 0) * 20; in ai_attack_player()
682 if (CritterProps[cp_num].attacks[a].slow_proj == 0) { in ai_attack_player()
694 attack_object(hit_obj, CritterProps[cp_num].attacks[a].damage_type, in ai_attack_player()
695 CritterProps[cp_num].attacks[a].damage_modifier, in ai_attack_player()
[all …]
H A Dnewai.c313 play_digi_fx_obj(CritterProps[CPNUM(id)].notice_sound, 1, id); in ai_spot_player()
373 use_vis += CritterProps[CPNUM(id)].perception - MEDIAN_PERCEPTION; in do_stealth_stuff()
538 rng = CritterProps[cp_num].attacks[i].att_range; in check_attitude_adjustment()
551 if (CritterProps[cp_num].alt_perc == 0) in check_attitude_adjustment()
553 else if (CritterProps[cp_num].alt_perc == 0xFF) in check_attitude_adjustment()
650 … posture = (rand() % 255 < CritterProps[cp_num].alt_perc) ? ATTACKING2_CRITTER_POSTURE in run_combat_ai()
657 … ? player_struct.game_time + CritterProps[cp_num].attacks[0].speed in run_combat_ai()
658 … : player_struct.game_time + CritterProps[cp_num].attacks[1].speed; in run_combat_ai()
923 if (CritterProps[CPNUM(objCritters[osid].id)].flags & AI_FLAG_FLYING) in ai_run()
H A Dobjload.c133 if ((ObjLoadMeCheck(i)) && (CritterProps[i - tr].corpse)) in compute_complex_loadage()
134 ObjLoadMeSet(OPTRIP(CritterProps[i - tr].corpse)); in compute_complex_loadage()
H A Deffect.c542 asp = CritterProps[cptripnum].anim_speed; in increment_anim()
575 …curr_frames = (objs[id].subclass == CRITTER_SUBCLASS_CYBER) ? 4 : CritterProps[CPTRIP(triple)].fra… in increment_anim()
579 att_frame = (CritterProps[CPTRIP(triple)].fire_frame == 0) ? (curr_frames * 3) / 4 in increment_anim()
580 … : CritterProps[CPTRIP(triple)].fire_frame; in increment_anim()
H A Dobjapp.c75 {NUM_CRITTER, sizeof(CritterProp), (char *)&CritterProps},
H A Dobjsim.c230 ids += CritterProps[CPTRIP(MAKETRIP(CLASS_CRITTER, i, j))].views; in obj_init()
293 if (CritterProps[CPTRIP(triple)].frames[posture] == 0) in ref_from_critter_data()
296 curr_frames = CritterProps[CPTRIP(triple)].frames[posture]; in ref_from_critter_data()
1111 … if (!((objs[id].obclass == CLASS_CRITTER) && (CritterProps[CPNUM(id)].flags & AI_FLAG_FLYING))) { in obj_move_to_vel()
1802 CritterProp *crp = &CritterProps[i]; in obj_load_properties()
1906 if (CritterProps[i].views > 1) { in obj_set_secondary_properties()
1925 CritterProps[i].frames[j] = prt->numRefs; in obj_set_secondary_properties()
2311 … objs[new_id].info.current_frame = rand() % (lg_max(1, CritterProps[CPNUM(new_id)].frames[0] - 2)); in object_place()
H A Dphysics.c1465 attack_object(victim, CritterProps[cp_num].attacks[a].damage_type, in collide_objects()
1466 CritterProps[cp_num].attacks[a].damage_modifier, in collide_objects()
1467 CritterProps[cp_num].attacks[a].offense_value, in collide_objects()
1468CritterProps[cp_num].attacks[a].penetration, 0, 100, NULL, 0, 0, NULL); in collide_objects()
1686 … (((TRIP2CL(triple) == CLASS_CRITTER) && (CritterProps[CPTRIP(triple)].flags & AI_FLAG_FLYING)) || in instantiate_robot()
H A Dgamesys.c246 … if ((dist < NEAR_NOISE_RADIUS) && (CritterProps[CPTRIP(trip)].near_sound != 255) && in check_nearby_objects()
250 … play_digi_fx_obj(CritterProps[CPTRIP(trip)].near_sound, 1, objCritters[osid].id); in check_nearby_objects()
H A Dgrenades.c334 ? CritterProps[CPNUM(current_id)].hit_effect in do_explosion()
H A Ddamage.c1106 …(objs[target].obclass == CLASS_CRITTER) ? CritterProps[CPNUM(target)].hit_effect : NON_CRITTER_EFF… in player_attack_object()
/dports/games/shockolate/systemshock-0.8.2-43-ga9eb1b93/src/GameSrc/Headers/
H A Dobjcrit.h236 CritterProp CritterProps[NUM_CRITTER]; variable
243 extern CritterProp CritterProps[NUM_CRITTER];