14 #ifndef __diguyCharacterGroup_H
15 #define __diguyCharacterGroup_H
21 #define CPLUSPLUS_ONLY
26 class bdiScenarioCharacterGroup;
62 const char* get_name();
73 int set_name(
const char* name);
95 int add_all_characters_as_members();
119 int remove_all_members();
142 int get_num_members();
193 int set_all_members_enabled(
int enabled);
205 int update_all_members(
float t);
207 #ifdef CPLUSPLUS_ONLY
223 int draw_all_members();
239 int draw_pass1_all_members();
255 int draw_pass2_all_members();
274 int set_all_members_current_tin(
float tin);
290 int set_all_members_current_tout(
float tout);
329 void set_label_offset_above_centroid(
float offset);
336 float get_label_offset_above_centroid();
350 int get_num_variables();
421 int translate_all_paths(
float tx,
float ty,
float tz);
423 int rotate_all_paths_about_point(
float rz,
float rx,
float ry,
424 float rotation_pt_x,
float rotation_pt_y,
float rotation_pt_z);
426 int rotate_all_paths_about_current_waypoint(
float rz,
float rx,
float ry);
441 diguyCharacter* get_nearest_character_to_point(
float x,
float y,
float z);
456 diguyCharacter* get_farthest_character_to_point(
float x,
float y,
float z);
471 int get_group_centroid(
float* x,
float* y,
float* z);
488 int get_group_min_circle(
float* x,
float* y,
float* z,
float* radius);
507 int send_message_to_all_members(
const char* sender,
508 const char* message_type,
510 const char* message_params = NULL);
537 float desired_radius = -1.0f,
538 int require_sort = 1);
566 float desired_radius = -1.0f,
567 int require_sort = 1);
590 float desired_radius = -1.0f,
591 int require_sort = 1);
623 int sort_group_based_on_pos(
float x,
641 int get_num_active_members();
647 #ifdef CPLUSPLUS_ONLY
649 bdiScenarioCharacterGroup* get_scripted_object() {
return m_scripted_object;}
666 bdiScenarioCharacterGroup* m_scripted_object;
668 friend class bdiScenarioCharacterGroup;
Definition: diguyViewLabel.h:44
A group of DI-Guy characters, useful for organizing your scenarios.
Definition: diguyCharacterGroup.h:39
The class that represents a DI-Guy Entity in the world.
Definition: diguyCharacter.h:78
static double t
4 Header files and forward declarations
Definition: simple_playback_ogl.cpp:53
Definition: diguyVariable.h:38