34 #ifndef __diguyImpact_H
35 #define __diguyImpact_H
40 #define CPLUSPLUS_ONLY
105 const char* get_impact_type_string();
121 const char* get_attacker_name();
137 const char* get_target_name();
153 const char* get_hit_link_name();
160 int get_hit_link_index();
168 const char* get_hit_shape_name();
175 int get_impact_number();
182 void set_impact_number(
int val);
189 void set_impact_been_processed();
196 int get_impact_been_processed();
224 void get_location(
float* x,
float* y,
float* z);
231 float get_impact_radius();
238 float get_impact_speed();
256 int get_location_in_link_coordinates(
float* link_x,
278 const char* get_munition_type();
302 float get_normal_x();
309 float get_normal_y();
316 float get_normal_z();
323 void get_impact_normal(
float* x,
float* y,
float* z);
340 void get_impact_velocity(
float* x,
float* y,
float* z);
348 int get_is_from_net_detonation();
363 int get_DIS_munition_septet_value(
int septet_index);
384 int get_DIS_event_number();
392 int get_DIS_munition_number();
399 int get_DIS_detonation_result();
407 int get_DIS_burst_warhead_type();
415 int get_DIS_burst_fuze();
423 int get_DIS_burst_quantity();
431 int get_DIS_burst_rate();
434 #ifdef CPLUSPLUS_ONLY
507 void set_valid_impact();
539 void set_location(
float x,
float y,
float z);
555 void set_normal(
float nx,
float ny,
float nz);
588 void set_hit_link_index(
int index);
600 void set_hit_shape_index(
int index);
612 friend class bdiScenarioEditorDIGS;
613 friend class bdiPublishedCharacter;
614 friend class bdiScenario;
615 friend class bdiScenarioCharacter;
616 friend class bdiScenarioCrowdWorkManager;
618 friend class bdiQGLWidget;
620 void set_munition_type(
const char* munition_type);
634 int shape_index = -1,
635 float* location = NULL,
636 float* normal = NULL,
637 float impact_speed = 0.0f,
639 const char* munition_type = NULL);
653 int m_impact_processed;
656 float m_impact_speed;
657 float m_impact_radius;
658 char m_munition_type[128];
664 int m_is_from_net_detonation;
665 int m_DIS_munition_septet[7];
668 int m_DIS_event_number;
669 int m_DIS_munition_number;
670 int m_DIS_detonation_result;
671 int m_DIS_burst_warhead_type;
672 int m_DIS_burst_fuze;
673 int m_DIS_burst_quantity;
674 int m_DIS_burst_rate;
675 float m_impact_velocity[3];