Searched refs:Overall_agitation (Results 1 – 5 of 5) sorted by relevance
/dports/games/d2x/d2x-0.2.5/main/ |
H A D | ai.c | 328 int Overall_agitation; variable 719 if (Overall_agitation > 70) { in do_ai_frame() 721 if (d_rand() * (Overall_agitation - 40) > F1_0*5) { in do_ai_frame() 723 create_path_to_player(obj, 4 + Overall_agitation/8 + Difficulty_level, 1); in do_ai_frame() 758 create_path_to_player(obj, 4 + Overall_agitation/8 + Difficulty_level, 1); in do_ai_frame() 1671 Overall_agitation++; in create_awareness_event() 1672 if (Overall_agitation > OVERALL_AGITATION_MAX) in create_awareness_event() 1673 Overall_agitation = OVERALL_AGITATION_MAX; in create_awareness_event() 1817 Overall_agitation = 0; in init_robots_for_level() 1830 fwrite( &Overall_agitation, sizeof(int), 1, fp ); in ai_save_state() [all …]
|
H A D | aistruct.h | 190 extern int Overall_agitation;
|
H A D | ai.h | 373 extern int Overall_agitation;
|
H A D | ai2.c | 601 if (dot > field_of_view - (Overall_agitation << 9)) { in player_is_visible_from_object()
|
/dports/games/dxx-rebirth/dxx-rebirth_20211220-src/similar/main/ |
H A D | ai.cpp | 152 static int Overall_agitation; variable 776 if (dot > field_of_view - (Overall_agitation << 9)) { in player_is_visible_from_object() 3425 if (Overall_agitation > 70) { in do_ai_frame() 3427 if (d_rand() * (Overall_agitation - 40) > F1_0*5) { in do_ai_frame() 3485 if (Overall_agitation > (50 - Difficulty_level*4)) in do_ai_frame() 4488 Overall_agitation++; in create_awareness_event() 4489 if (Overall_agitation > OVERALL_AGITATION_MAX) in create_awareness_event() 4490 Overall_agitation = OVERALL_AGITATION_MAX; in create_awareness_event() 4680 Overall_agitation = 0; in init_robots_for_level() 4769 PHYSFS_write(fp, &Overall_agitation, sizeof(int), 1); in ai_save_state() [all …]
|