14 #ifndef __diguyCharacterGroup_H
15 #define __diguyCharacterGroup_H
21 #define CPLUSPLUS_ONLY
26 class bdiScenarioCharacterGroup;
61 const char* get_name();
72 int set_name(
const char* name);
94 int add_all_characters_as_members();
118 int remove_all_members();
141 int get_num_members();
192 int set_all_members_enabled(
int enabled);
204 int update_all_members(
float t);
206 #ifdef CPLUSPLUS_ONLY
222 int draw_all_members();
238 int draw_pass1_all_members();
254 int draw_pass2_all_members();
273 int set_all_members_current_tin(
float tin);
289 int set_all_members_current_tout(
float tout);
328 void set_label_offset_above_centroid(
float offset);
335 float get_label_offset_above_centroid();
349 int get_num_variables();
420 int translate_all_paths(
float tx,
float ty,
float tz);
422 int rotate_all_paths_about_point(
float rz,
float rx,
float ry,
423 float rotation_pt_x,
float rotation_pt_y,
float rotation_pt_z);
425 int rotate_all_paths_about_current_waypoint(
float rz,
float rx,
float ry);
440 diguyCharacter* get_nearest_character_to_point(
float x,
float y,
float z);
455 diguyCharacter* get_farthest_character_to_point(
float x,
float y,
float z);
470 int get_group_centroid(
float* x,
float* y,
float* z);
487 int get_group_min_circle(
float* x,
float* y,
float* z,
float* radius);
506 int send_message_to_all_members(
const char* sender,
507 const char* message_type,
509 const char* message_params = NULL);
536 float desired_radius = -1.0f,
537 int require_sort = 1);
565 float desired_radius = -1.0f,
566 int require_sort = 1);
589 float desired_radius = -1.0f,
590 int require_sort = 1);
622 int sort_group_based_on_pos(
float x,
640 int get_num_active_members();
646 #ifdef CPLUSPLUS_ONLY
648 bdiScenarioCharacterGroup* get_scripted_object() {
return m_scripted_object;}
665 bdiScenarioCharacterGroup* m_scripted_object;
667 friend class bdiScenarioCharacterGroup;
The diguyViewLabel allows on screen 2D and 3D labels in diguy scenario and the opengl renderer...
Definition: diguyViewLabel.h:52
A group of DI-Guy characters, useful for organizing your scenarios.
Definition: diguyCharacterGroup.h:38
The class that represents a DI-Guy Entity in the world.
Definition: diguyCharacter.h:81
The diguyVariable class allows you to add per character named parameters. This can be handy for track...
Definition: diguyVariable.h:46