DI-Guy SDK Documentation  13.8
diguy_changes.h
Go to the documentation of this file.
1 /*****************************************************************************
2  **
3  *t DI-Guy Changes and Version History
4  */
5 /****************************************************************************/
6 
7 /*****************************************************************************
8  *****************************************************************************
9  **
10  *2 DI-Guy Version 12.5
11  **
12  *****************************************************************************
13  *****************************************************************************
14  **
15 
16  **************************************
17  *3 DI-Guy API
18  **************************************
19  **
20  *b Note that most changes to the DI-Guy API also apply to DI-Guy Scenario.
21  **
22  *4 Version 12.5.3
23  **
24  *- - Fixed a bug in diguyApp::set_num_rendering_passes() where it would not effect
25  *- rendering in the graphics API.
26  *- - Added support for two pass transparency rendering in the Graphics API
27  *- - Fixed appearances not instantly broadcasting a PDU when character appearance changed.
28  *- - Fixed position pop when character appearance changed.
29  *- - Fixed hard crash when preloading appearances with legacy character types.
30  *- - Fixed bug with handling of uppercase extensions on geometry data.
31  **
32  *4 Version 12.5.2
33  **
34  *- - Fixed precision issue in diguyCharacter::get_position_double().
35  *- - Fixed xref bounds issue on initial scene object load.
36  *- - Fixed dae LOD issue where lod's after 0 were not loaded.
37  *- - Added diguyCharacter::get_num_appearances_of_type() and
38  *- diguyCharacter::get_appearance_name_at_index() accessors for various appearances.
39  *- - Vehicles that aren't sending custom PDU's will still generate repulsive
40  *- bounds for crowds.
41  **
42  *4 Version 12.5.1
43  **
44  *- - Fixed bug where customer sourced dds files failed to load because we assumed
45  *- they were lz4'ed.
46  *- - Fixed bug where files with capitalized extensions eg "FLT" failed to load.
47  *- - Fixed bug where invalid xrefs caused parent bounding boxes to fail to register
48  *- as possibly valid.
49  *- - Fixed hard crash when drawing empty octtree.
50  *- - Fixed matrix state glitch when drawing octtree and scene object bounds
51  *- - Fixed path planning bug in funnel code when far above the z origin.
52  *- - Fixed bug where browsing for a new scene object file name didn't force octtree
53  *- recreation.
54  *- - Fixed logic bug in check visibility code.
55  *- - Fixed bug where changing appearances could cause single frame muzzle flashes and
56  *- loss of character skinning matrices.
57  *- - Fixed bug where flt files were unable to have their material edited by
58  *- the character viewer
59  *- - Fixed bug where changing character type caused all action beads to collapse
60  *- on a path.
61  *- - Added additional guide example showing differences between similar and dissimilar
62  *- character types.
63  *- - Fixed bug in built-in OpenGL renderer where fixed function mode didn't properly
64  *- bind textures. Fixes textureless segmented characters rendering in Motion Editor.
65  *- - Fixed joystick not properly loading in I-Guy mode.
66  *- - Fixed ray testing against scaled scene objects.
67  *- - Fixed off by one error in link combo in character viewer.
68  *- - Fixed bug in Lua debugger. "Step over" and "Step out" buttons were not working correctly
69  *- - General improvements to code that tests get_enabled() and get_dead() on a character, the
70  *- code will now also test the character's t_out compared to current time.
71  *- - Added diguyAgentParams:set_influence_box_enabled() (and get)
72  *- - Fixed bug with ground clamping on large scenarios.
73  *- - Fixed performance issue with receiving props over the network.
74  *- - Improved shadow pass rendering performance.
75  *- - Shader cleanup.
76  *- - Changed Graphics API shader samples to default point light #define to off.
77  *- - Fixed crash when executing gesture that wasn't made for a character.
78  *- - Fixed crash when loading degenerate flt file xrefs.
79  *- - Improved memory use when decompressing many dds files.
80  *- - diguyCharacter::set_orientation() now checks if the character has a vehicle
81  *- controller and if so, it now allows the caller to hard-set the vehicle's
82  *- orientation. Previously, only the vehicle controller determined this.
83  *- - diguyCharacter::find_path() now checks if the character_type contains the
84  *- substring 'vehicle' and if so, the path produced will be wide enough to allow
85  *- the character to pass, based upon character's bounding-box's width.
86  *- - Added a number of try/catch blocks to deal with running out of memory while
87  *- loading extremely large scenarios.
88  *- - Added code/UI to allow DI-Guy Scenario to unload textures when not used for
89  *- a long time. Off by default.
90  *- - Added diguyCharacter::trigger_shader_refresh(), a function that triggers
91  *- a refresh of the shader for a character.
92  *- - Added a number of experimental diguyApp memory management functions:
93  *>
94  *- - diguyApp::set_threshold_to_unload_textures()
95  *- - diguyApp::get_threshold_to_unload_textures()
96  *- - diguyApp::set_texture_unload_frequency()
97  *- - diguyApp::get_texture_unload_frequency()
98  *- - diguyApp::get_unload_unused_after_scenario_load()
99  *- - diguyApp::set_unload_unused_after_scenario_load()
100  **
101  *4 Version 12.5.0
102  **
103  *b CRITICAL api changes
104  *- - C++ callback:<br>
105  *b float AltitudeFunction( diguyScenario* scenario, float x, float y, float old_z); <br>
106  *- has been replaced with <br>
107  *b float AltitudeFunction( diguyScenario* scenario, float x, float y, float old_z, int * valid);<br>
108  *- code will need to be updated before recompiling.
109  *- - Graphics API
110  *>
111  *- - bdiGraphicsInitGraphicsAPI.use_4x3_shader_matrices must be set to 0 if you
112  *- aren't planning on upgrading shaders to use 4x3 matrices.
113  *- - As a performance optimization we are no longer transposing our internal matrix
114  *- representation in C++ before sending to OpenGL.
115  *- 4x4 matrix bind should get updated to
116  *e glUniformMatrix4fv(m_bind_location_ufrm_link_matrices, // uniform var location
117  *e num_mats, // number of matrices
118  *e !get_transposed_matrix_data(), // whether to transpose matrix
119  *e mat_data); // pointer to matrix data
120  *- where bdiGraphicsInitGraphicsAPI.transpose_shader_matrices has been properly set
121  *- see diguyOglGraphicsShaderProgram.cpp for example.
122  *<
123  **
124  *b New Features
125  *- - New adaptive guide allowing characters to fix dead reckoning errors with appropriate
126  *- step and strafe motions. Now the default in the networking system as well as featured
127  *- in the guide example.
128  *- - New texture variation system allowing for infinite variations on next-gen
129  *- characters. See diguyCharacter::set_use_texture_variations().
130  *- - Next-gen characters now have a number of multiple available head appearances.
131  *- - Motion engine should now be fully multi-threaded, thread control api is part of diguyApp.
132  *- - New C++ documentation system, utilizing doxygen.
133  *- - Fixed matrix update issues with motion lod system and skinned characters,
134  *- motion lod system can be used again with them, same issues had been happening with
135  *- segmented characters as well. We recommend using multi-threaded pipeline instead
136  *- of motion lods at this point.
137  *- - New ground clamp option 'g' - approximation based on ground clamping vehicle bounds
138  *- - Scene objects can now be collada DAEs.
139  *- - Added support for bump maps on scene objects.
140  *- - New multi-threaded asynchronous texture loader, controllable via scenario UI and
141  *- diguyCharacter::set_texture_load_behavior() and diguySceneObject::set_texture_load_behavior()
142  *-
143  *- - Collision Infrastructure Improvements:
144  *>
145  *- - Improved performance of ray tests with scenes with many props.
146  *- - Scene Object spatial partitioning system has been overhauled allowing scene objects
147  *- to be reposition without recreating the octtree.
148  *- - Octtree memory usage has been reduced by 10%.
149  *- - Octtree is now available for end users who's objects are not flt files, see
150  *- scene_object_mesh programming example.
151  *<
152  *- - New Scene Object collision control API functions:
153  *>
154  *- - diguyScenario::create_user_defined_scene_object()
155  *- - diguySceneObject::add_vertex_to_user_defined()
156  *- - diguySceneObject::add_triangle_to_user_defined()
157  *- - diguySceneObject::add_vertex_array_to_user_defined();
158  *- - diguySceneObject::add_triangle_array_to_user_defined()
159  *- - diguySceneObject::add_triangle_to_user_defined();
160  *- - diguySceneObject::build_user_defined();
161  *<
162  *- - New API functions:
163  *>
164  *- - diguyCharacter::get_facefx_node_value()
165  *- - diguyCharacter::get_max_shader_quality_level()
166  *- - diguyCharacter::get_texture_load_behavior()
167  *- - diguyCharacter::get_use_texture_variations()
168  *- - diguyCharacter::set_max_shader_quality_level()
169  *- - diguyCharacter::set_texture_load_behavior()
170  *- - diguyCharacter::set_use_texture_variations()
171  *- - diguyCharacter::set_use_texture_variations()
172  *- - diguyCharacter::set_current_hand_item_appearance(const char* hand_item_appearance)
173  *- - diguyCharacter::get_current_hand_item_appearance()
174  *- - diguyCharacter::get_num_supplementary_appearances_of_type(diguySupplementaryAppearanceTypes appearance_type)
175  *- - diguyCharacter::get_supplementary_appearance_name(diguySupplementaryAppearanceTypes appearance_type, int index)
176  *- - diguyImpact::get_impact_velocity(float* x, float* y, float* z)
177  *- - diguyImpact::get_is_from_net_detonation()
178  *- - diguyImpact::get_DIS_munition_septet_value(int septet_index)
179  *- - diguyImpact::get_DIS_site()
180  *- - diguyImpact::get_DIS_host()
181  *- - diguyImpact::get_DIS_event_number()
182  *- - diguyImpact::get_DIS_munition_number()
183  *- - diguyImpact::get_DIS_detonation_result()
184  *- - diguyImpact::get_DIS_burst_warhead_type()
185  *- - diguyImpact::get_DIS_burst_fuze()
186  *- - diguyImpact::get_DIS_burst_quantity()
187  *- - diguyImpact::get_DIS_burst_rate()
188  *- - diguyScenario::get_character_type_from_appearance();
189  *- - diguyScenario::get_num_character_types_with_appearance()
190  *- - diguyScenario::get_weapon_fire_effects_enabled()
191  *- - diguyScenario::set_default_intersection_function()
192  *- - diguyScenario::set_intersection_function()
193  *- - diguyScenario::set_particle_module_disabled()
194  *- - diguyScenario::set_weapon_fire_effects_enabled()
195  *- - diguySceneObject::get_max_shader_quality_level()
196  *- - diguySceneObject::get_texture_load_behavior()
197  *- - diguySceneObject::set_max_shader_quality_level()
198  *- - diguySceneObject::set_texture_load_behavior()
199  *- - diguy_ogl_apply_active_lights();
200  *<
201  *- - Upgraded lua/C++ binding library. Should greatly improve the readablity of error warnings
202  *- when lua improperly calls C++.
203  *- - diguyCharacter::get_ai_state_string() signature has changed to have flags for
204  *- optionally including callstack info.
205  *- - diguyCharacter::is_within_distance_n_of_member_of_group() factors in if a character
206  *- is enabled.
207  *- - Fixes to the bead constraints system (and user interface) renamed beads should
208  *- keep the script and decision constraints attached to them.
209  *- - Fixed bugs where script and decision beads attached to the end of paths and stop
210  *- signs didn't always trigger, or triggered later then might be expected. This might
211  *- introduce slight timing changes to existing scenarios.
212  *- - Characters are now sorted before drawing, and depending on the rendering pass
213  *- drawn front to back or back to front.
214  *- - Fixed bug in diguyCharacter::force_partial_path() when a target action bead is specified.
215  *- - Fixed crash in diguyScenario::preload_appearance() when a non-existant appearance is specified.
216  *- - diguyScenario::preload_appearance() should now preload textures for appearances
217  *- that are based on material swaps.
218  *- - References to aim algorithm 7 have been removed.
219  *- - Deprecated Functions Removed:
220  *>
221  *- - diguyApp::create_load_manager() replaced with diguyScenario::create_load_manager()
222  *- - diguyApp::get_load_manager() replaced with diguyScenario::get_character_load_manager()
223  *- - diguyApp::get_load_manager() replaced with diguyScenario::get_character_load_manager()->set_enabled(0)
224  *- - diguyCharacter::set_max_impact_hits() replaced with diguyCharacter::set_weapon_max_impacts()
225  *- - diguyCharacter::get_paused() replaced with diguyCharacter::get_is_network_paused()
226  *- - diguyCharacter::get_visible() replaced with diguyCharacter::get_is_drawn()
227  *- - diguyCharacter::set_aim_param_desired_locate_time()
228  *- - diguyCharacter::get_aim_param_desired_locate_time()
229  *- - diguyCharacter::set_aim_param_seek_tolerance()
230  *- - diguyCharacter::get_aim_param_seek_tolerance()
231  *- - diguyCharacter::set_aim_interpolation_flag()
232  *- - diguyCharacter::get_aim_interpolation_flag()
233  *- - diguyCharacter::set_aim_smooth_flag()
234  *- - diguyCharacter::get_aim_smooth_flag()
235  *- - diguyCharacter::set_aim_divisions()
236  *- - diguyCharacter::set_aim_param_time_constant() replaced with set_aim_param_acquire_factor()
237  *- - diguyCharacter::get_aim_param_time_constant() replaced with get_aim_param_acquire_factor()
238  *- - diguyCharacter::set_aim_param_time_constant2() replaced with set_aim_param_new_aim_duration()
239  *- - diguyCharacter::get_aim_param_time_constant2() replaced with get_aim_param_new_aim_duration()
240  *- - diguyCharacter::set_aim_param_reset_time_constant() replaced with set_aim_param_new_aim_factor()
241  *- - diguyCharacter::get_aim_param_reset_time_constant() replaced with get_aim_param_new_aim_factor()
242  *<
243  *- - Deprecated Callbacks Removed:
244  *>
245  *- - diguyCrowd::CALLBACK_ID_NEW_FOCUS_CHARACTER use diguyCharacter::CALLBACK_ID_AGENT_NEW_FOCUS_CHARACTER
246  *- - diguyCrowd::CALLBACK_ID_ATTACKER_OUT_OF_TARGETS use diguyCharacter::CALLBACK_ID_AGENT_ATTACK_OUT_OF_TARGETS
247  *- - diguyCrowd::CALLBACK_ID_ATTACKER_NO_VISIBLE_TARGETS use diguyCharacter::CALLBACK_ID_AGENT_ATTACK_NO_VISIBLE_TARGETS
248  *- - diguyCrowd::CALLBACK_ID_PURSUED_CHARACTER_REACHED use diguyCharacter::CALLBACK_ID_AGENT_PURSUE_TARGET_REACHED
249  *- - diguyCrowd::CALLBACK_ID_WANDER_TARGET_REACHED use diguyCharacter::CALLBACK_ID_AGENT_WANDER_TARGET_REACHED
250  *<
251  *- - Fixed bug with T-in/T-out and review data on scene object characters.
252  *- - Updated perl header file examples with lua equivalents.
253  *- - Character viewer debug shader can now be used on scene objects
254  *- - Fixed bug on blinking characters when t-in was not 0.
255  *- - Fixed Expressive Faces pop when interacting with gaze code.
256  *- - Added the ability to pause the shadow map update and lower the update frequency.
257  *- - Added controls for adjusting the shadow map frustum and shadow acne fudge factor.
258  *- - Character culling is now based on the base link, not the position link.
259  *- - New DI-Guy Author APIs:
260  *>
261  *- - diguyAuthorInterface
262  *- - diguyAuthorVisualMaterial
263  *- - diguyAuthorVisualMultiline
264  *- - diguyAuthorVisualObjectHandle
265  *- - diguyAuthorVisualObjectHandle
266  *- - diguyAuthorVisualRegionMesh
267  *- - diguyAuthorVisualRegionPaintbrush
268  *- - diguyAuthorVisualWaypoint
269  *<
270  **
271  **************************************
272  *3 DI-Guy Scenario
273  **************************************
274  **
275  *4 Version 12.5.0
276  **
277  *- - New lighting system triggered by particle effects and weapons fire.
278  *- - Improvements to 3d visuals for path editing.
279  *- - Merged some subwidgets in character page.
280  *- - Improved interactive Face Expression Editing.
281  *- - Improved determinism of fast forward, and setting current time via the VCR UI.
282  *- - Streamlined performance settings. Crowd Load Manager, Load Manager tabs have
283  *- been phased out, settings are now located in the performance page.
284  *- - Changing camera settings will now force a motion update on all characters.
285  *- - Property tree UI's now have slider widgets, easier to change values interactively.
286  *- - Labels above character's heads now autoscale and draw z-sorted.
287  *- - Right click menu now contains a shortcut to turning on the debug label.
288  *- - Right click on log window selection can now go to package selected or Character
289  *- selected.
290  *- - Shader UI includes the ability to edit character variation texture colors.
291  *- - Physx library has been rewritten to use Physx 3.2, this is upgraded from version 2.8, Physx
292  *- installer should no longer be needed.
293  *- - Fixed a number of sound looping issues.
294  *- - Hand items are no longer baked into separate character appearances, but are selectable from a
295  *- menu of multiple options associated with a single character appearance. This is similar to
296  *- how head appearances work.
297  **
298  **************************************
299  *3 DI-Guy AI
300  **************************************
301  **
302  *4 Version 12.5.0
303  **
304  *- - Improved turning motion system, now on by default.
305  *- - Variant system now treats the normal variant as an indicator to automatically
306  *- pick an appropriate variant for the character. Controlled by
307  *- diguyCharacter::agent_set_auto_variant_selection()
308  *- - System will now cycle through appropriate motions randomly.
309  *- - LuaCharacter - sleep_ignore_messages avoids resuming the coroutine.
310  *- - AI movement callbacks are now queued up and triggered at the end of the
311  *- multi-threaded update.
312  *- - New AI State Inspector - mini lua watch window, activate via right click menu.
313  *- - Added diguyCrowdProfile::create_character() short cut for using a profile to
314  *- create a character.
315  *- - Significantly improved speed of collision influence calculation for crowds.
316  *- - Crowd profiles have been updated to use new variation system.
317  *- - Performance improvement for adding/deleting/transforming scene objects.
318  *- - Performance improvement for intersection testing against scene objects and props.
319  *- - New API functions:
320  *>
321  *- - diguyAgentParams::set_turning_motions_enabled()
322  *- - diguyAgentParams::get_turning_motions_enabled()
323  *- - diguyCharacter::agent_set_auto_variant_selection()
324  *- - diguyCharacter::agent_get_auto_variant_selection()
325  *- - diguyCrowdProfile::create_character()
326  *<
327  ***
328  **************************************
329  *3 Graphics API Changes
330  **
331  *4 Version 12.5.3
332  *- - Fix for automatic graphics LOD switching not working in graphics api.
333  **
334  *4 Version 12.5.2
335  *- - Fix in OpenSceneGraph implementation for leaking nodes when using
336  *- variation textures.
337  **
338  *4 Version 12.5.1
339  *- - Added functionality to support color picking intersection testing for
340  *- scene graph implementations.
341  *- - Added sample code demonstrating intersection testing with OpenSceneGraph.
342  *- - New API Functions:
343  *>
344  *- - diguyGraphicsShape::get_bind_color_array()
345  *<
346  *4 Version 12.5.0
347  *- - Modified diguyOsgGraphicsMesh::build() to load appearance textures
348  *- on demand instead of pre-loading all appearance textures.
349  *- - Added support for 4x3 skinned matrices, saves 25% of the bandwidth and
350  *- uniform constants sent per character draw call. Now the default for OpenGL.
351  *- Configurable via bdiGraphicsInitOgl.use_4x3_shader_matrices and
352  *- bdiGraphicsInitGraphicsAPI.use_4x3_shader_matrices.
353  *- diguy_graphics_get_osg_defaults() and diguy_graphics_get_dx9_defaults()
354  *- have been added to make it a bit easier to get the defaults set up.
355  *- - Added sample code demonstrating use of 4x3 matrices for transform data.
356  *- - Greatly expanded shader techniques API, diguyGraphicsShaderTechnique can
357  *- now be subclassed and end users can create new shaders on the fly with
358  *- diguyGraphicsShaderTechnique::find_or_create_shader_variation(). End users
359  *- can override existing functionality and return alternatively compiled shaders
360  *- depending on their own criteria, sample code is provided demonstrating
361  *- conditionally compiling in point light support but only using shader when
362  *- necessary.
363  *- - Fixed matrix transpose mistake in diguyOglGraphicsLink.cpp
364  *- - Cleaned up computation of local space camera.
365  *- - Removed use of display lists from diguyOglGraphicsMaterial.cpp
366  *- - Cleaned up diguyOglGraphicsShaderInstance.cpp to reflect the use of shader
367  *- techniques.
368  *- - Added sample code demonstrating updating lighting state for simple point
369  *- lights on characters.
370  *- - Added sample code demonstrating using #defines to control compilation of
371  *- various shader features.
372  *- - Added support for variation system to sample code, this is shown in diguyOglGraphicsShape
373  *- and diguyOsgGraphicsShape.
374  *- - Added diguyOglGraphicsShaderTechnique demonstrating how to modify built-in
375  *- shaders and overriding our existing shader LOD system.
376  *- - New API Functions:
377  *>
378  *- - diguyGraphicsShaderProgram::get_num_additional_feature_names()
379  *- - diguyGraphicsShaderProgram::get_additional_feature_name()
380  *- - diguyGraphicsShaderProgram::has_additional_feature()
381  *- - diguyGraphicsShaderProgram::get_vertex_shader_filename()
382  *- - diguyGraphicsShaderProgram::get_pixel_shader_filename()
383  *- - diguyGraphicsShaderProgram::get_transposed_matrix_data()
384  *- - diguyGraphicsShaderProgram::load()
385  *- - diguyGraphicsShaderProgram::get_use_4x3_shader_matrix_data()
386  *- - diguyGraphicsShaderTechnique::get_shader_by_distance()
387  *- - diguyGraphicsShaderTechnique::get_program_index_by_distance()
388  *- - diguyGraphicsShaderTechnique::get_shadow_pass_shader()
389  *- - diguyGraphicsShaderTechnique::find_or_create_shader_variation()
390  *- - diguyGraphicsShaderTechnique::pick_shader_program()
391  *- - diguyGraphicsShaderTechnique::build();
392  *- - diguyGraphicsShaderTechnique::add_additional_shader()
393  *- - diguyGraphicsShaderTechnique::get_num_additional_shaders()
394  *- - diguyGraphicsShaderTechnique::get_additional_shader_at_index()
395  *- - diguyGraphicsShape::get_variation_texture()
396  *- - diguyGraphicsShape::get_variation_texture_size()
397  *- - diguyGraphicsShape::update_variation_texture()
398  *- - Init params: bdiGraphicsInitGraphicsAPI.transpose_shader_matrices
399  *- - Init params: bdiGraphicsInitGraphicsAPI.use_4x3_shader_matrices
400  *<
401  **************************************
402  *3 DI-Guy Networking Changes
403  **************************************
404  **
405  *4 Version 12.5
406  **
407  *- - New API Functions:
408  *>
409  *- - diguyNetInterface::set_use_adaptive_guide()
410  *- - diguyNetInterface::get_use_adaptive_guide()
411  *<
412  *- - New Custom PDU's ( Note: Functionality currently limited to DIS. )
413  *>
414  *- - DIGUY_CUSTOM_PDU_ID_SET_SHAPE_VARIATION replicates variation texture over the network
415  *- - DIGUY_CUSTOM_PDU_ID_EXECUTE_GESTURE replicates the diguyCharacter::execute_gesture()
416  *- call over the network
417  *- - DIGUY_CUSTOM_PDU_ID_CHARACTER_SCALE replicates the diguyCharacter::set_scale()
418  *- value over the network.
419  *<
420  *- - DIGUY_CUSTOM_PDU_ID_SET_CHAR_APPEARANCE Now contains a second optional
421  *- string for head appearances
422 
423  *****************************************************************************
424  *****************************************************************************
425  **
426  *2 DI-Guy Version 12.0
427  **
428  *****************************************************************************
429  *****************************************************************************
430  **
431  **************************************
432  *3 DI-Guy Scenario
433  **************************************
434  **
435  *4 Version 12.0.1
436  **
437  *- - Added visualization option for gaze vectors.
438  *- - Restored missing default face expressions and chain settings
439  *- libraries to new.dss.
440  *- - Added display of more callback information to the Event Mapper User
441  *- Interface.
442  *- - Fixed bugs with water shader.
443  **
444 
445  **************************************
446  *3 DI-Guy AI
447  **************************************
448  **
449  **************************************
450  *3 DI-Guy API
451  **************************************
452  **
453  *b Note that most changes to the DI-Guy API also apply to DI-Guy Scenario.
454  **
455  *4 Version 12.0.3
456  **
457  *- - Updated network model map for vehicles and also resolved issue with vehicles
458  *- stuttering on paths.
459  *- - Made fire and detonation PDUs use matching event ids. Added velocities to Fire
460  *- PDUs. M16 velocity is used by default for all weapons but can be overridden in
461  *- munition config file.
462  *- - Fixed DI-Guy Scenario bugs in copy/paste paths, action spreadsheet.
463  *- - Fixed minor content bugs involving missing torso on insurgent.
464  **
465  *4 Version 12.0.2
466  **
467  *- - Fixed diguyApp::reload_shader_programs() to support the graphics API.
468  *- See diguyOglGraphicsShaderProgram.cpp for minor change: shaders that
469  *- are already loaded must be detached on reload.
470  *- - Added diguyCharacter::set_shader_lod() and
471  *- diguyCharacter::get_shader_lod().
472  *- - Modified diguyCharacter::set_face_expression() to support a strength
473  *- multiplier.
474  *- - Modified diguyOsgGraphicsMesh::build() to load appearance textures
475  *- on demand instead of pre-loading all appearance textures.
476  *- - Call callbacks with id CALLBACK_ID_SCENE_OBJECT_IMPACT if
477  *- diguyScenario::trigger_detonation() or
478  *- diguyCharacter::trigger_detonation_on_character() are called.
479  *- - Values in diguy_dis_constants.h now available in scripting.
480  *- - Added a number of DIS detonation data values to diguyImpact; e.g.,
481  *- diguyImpact::get_DIS_detonation_result().
482  **
483  *4 Version 12.0.1
484  **
485  *- - AI flee code now properly uses feeler callback to pick the longest
486  *- available flee route when near buildings.
487  *- - Fleshed out FaceFX api, fixed a number of after action review issues,
488  *- added the following functions:
489  *>
490  *- - diguyCharacter::stop_facefx_animations()
491  *- - diguyCharacter::get_num_facefx_nodes();
492  *- - diguyCharacter::get_facefx_node_name();
493  *- - diguyCharacter::find_facefx_node_index();
494  *- - diguyCharacter::set_facefx_node_value();
495  *<
496  *- - Updates to FaceFX sample content.
497  **
498  *- - Added the following functions to help enable advanced shader materials
499  *- in the graphics api:
500  *>
501  *- - diguyOglGraphicsShaderProgram::bind_uniform_with_location()
502  *- - diguyOglGraphicsShaderProgram::bind_uniform_with_location()
503  *- - diguyOglGraphicsShaderProgram::get_attrib_bind_location()
504  *- - diguyOglGraphicsShaderProgram::get_uniform_bind_location()
505  *<
506  *- - Streamlined shader bind and unbind calls.
507  *- - Fixed issue where even with only 1 update thread was used some of the
508  *- multi-threaded infrastructure was active.
509  *- - Added warnings to various add_callback_script functions to warn if
510  *- the same callback is repeatedly added.
511  *- - Update Middle Eastern AI's to avoid perpetual memory growth.
512  *-
513  *- - Changed multi-threading to only use the Qt threading framework when
514  *- more than one thread is allocated to DI-Guy.
515  **
516  *4 Version 12.0.0
517  **
518  *- - In API programs shadow disks are off by default. Now the
519  *- "set_draw_character_shadow_disks" setting in .dss files will be
520  *- ignored. To turn shadow disks on or off an explicit call to
521  *- diguyScenario::set_draw_character_shadow_disks() needs to be made.
522  *- - Fixed diguyCharacter::agent_set_current_params_from_profile() so
523  *- arguments are in proper order. *Note*: If you have existing calls
524  *- to agent_set_initial_params_from_profile(), verify that you are
525  *- getting proper behavior.
526  *- - Added the following functions:
527  *>
528  *- - diguyAgentParams::set_wander_max_wander_dist()
529  *- - diguyAgentParams::set_wander_sets_desired_orientation()
530  *<
531  *- - Removed the following experimental functions; should use minds
532  *- instead:
533  *>
534  *- - diguyCharacter::add_state_machine_instance()
535  *- - diguyCharacter::remove_state_machine_instance()
536  *- - diguyCharacter::remove_all_state_machine_instances()
537  *- - diguyCharacter::find_state_machine_instance()
538  *- - diguyScenario::get_num_state_machines()
539  *- - diguyScenario::create_state_machine()
540  *- - diguyScenario::destroy_state_machine()
541  *- - diguyScenario::get_state_machine_at_index()
542  *- - diguyScenario::find_state_machine()
543  *- - diguyScenario::get_num_state_machine_instances()
544  *- - diguyScenario::add_state_machine_instance()
545  *- - diguyScenario::remove_state_machine_instance()
546  *- - diguyScenario::get_this_state_machine_instance()
547  *- - diguyCrowd::all_members_add_state_machine_instance()
548  *- - diguyCrowd::all_members_remove_state_machine_instance()
549  *<
550  *- - Removed the following deprecated functions:
551  *>
552  *- - diguyApp::set_student_log_callback()
553  *- - diguyApp::student_log_print()
554  *- - diguyApp::set_user_query_yes_no_callback()
555  *- - diguyApp::user_query_yes_no()
556  *- - diguyApp::set_user_query_text_callback()
557  *- - diguyApp::set_user_query_item_callback()
558  *- - diguyApp::user_query_item()
559  *- - diguyApp::set_user_inform_callback()
560  *- - diguyApp::user_inform()
561  *<
562  **************************************
563  *4 Graphics API Changes
564  **
565  */
566 
567 /*****************************************************************************
568  *****************************************************************************
569  **
570  *2 DI-Guy Version 11
571  **
572  *****************************************************************************
573  *****************************************************************************
574  **
575  **************************************
576  *3 DI-Guy API
577  **************************************
578  **
579  *b Note that most changes to the DI-Guy API also apply to DI-Guy Scenario.
580  **
581  *4 Version 11.6.0
582  **
583  *- - Added diguyRegionPaintbrushMode enum to diguy_constants.h.
584  *- - Fixed problem with agent_set_current_params_from_profile() use in
585  *- decision clauses.
586  *- - Made the following functions callable from decisions:
587  *>
588  *- - diguyCharacter::agent_move_on()
589  *- - diguyCharacter::agent_move_to_region()
590  *- - diguyCharacter::agent_path_follow()
591  *- - diguyCharacter::agent_resume_path_follow()
592  *- - diguyCharacter::agent_set_current_focus_character()
593  *- - diguyCharacter::agent_set_current_focus_group()
594  *<
595  *- - Added the following functions:
596  *>
597  *- - diguyApp::set_region_paintrush_mode()
598  *- - diguyApp::get_region_paintrush_mode()
599  *- - diguyApp::set_munition_type_DIS_impact_septet()
600  *- - diguyApp::set_munition_type_DIS_tracer_septet()
601  *- - diguyCharacter::trigger_detonation_on_character()
602  *- - diguyCharacter::get_vehicle_body_orientation()
603  *- - diguyScenario::trigger_decision_delayed()
604  *- - diguyScenario::trigger_script_delayed()
605  *- - diguyScenario::get_altitude_from_point()
606  *- - diguyScenario::destroy_region()
607  *- - diguyScenario::save()
608  *- - diguyScenario::save_as()
609  *- - diguyScenario::get_filename()
610  *- - diguyScenario::get_filename_without_directory()
611  *- - diguyScenario::get_unsaved()
612  *- - diguyScenario::set_unsaved(int unsaved)
613  *- - diguyRegion::get_random_factor()
614  *<
615  *- - Remove unused playback mode enum DIGUY_SCENARIO_PLAYBACK_MODE_RECORD.
616  *- - Made changes to some scenario call operations. Previously the
617  *- diguyScenario::post_draw() call had no effect; it now allows various
618  *- post draw type operations to be optionally invoked. Previously
619  *- these operations were automatically done at the end of
620  *- diguyScenario::draw_pass2().
621  *- - Added the following functions:
622  *>
623  *- - diguyScenario::set_overall_history_type()
624  *- - diguyScenario::get_overall_history_type()
625  *- - diguyScenario::manually_invoke_callbacks_now()
626  *- - diguyScenario::set_current_region()
627  *- - diguyScenario::get_current_region()
628  *<
629  **
630  **************************************
631  *4 Graphics API Changes
632  **
633  *- - Moved the following functions from diguyGraphicsShaderInstance to
634  *- diguyGraphicsShaderProgram:
635  *>
636  *- - diguyGraphicsShaderInstance::bind_link_matrices()
637  *- - diguyGraphicsShaderInstance::bind_color_array()
638  *<
639  ** Your Graphics API subclasses will need to be updated.
640  ** bind_link_matrices() will now potentially be called multiple times per
641  ** character depending on its complexity. For example, animated faces
642  ** from facefx will cause multiple matrix binds.
643  **
644  ** The signature for diguyGraphicsTexture::bind_now() has changed to
645  ** diguyGraphicsTexture::bind_now(diguyTextureMapType texture_type) to
646  ** support multi-texturing. Your Graphics API subclasses need to be
647  ** updated.
648  **
649  **************************************
650  *4 Version 11.0.x
651  **
652  *- - Added ability to hear sounds when history is enabled and time is
653  *- rewound to a point midway in the sound. Note that the function
654  *- diguyScenario::set_history_max_sound_instances() lets users set how
655  *- many sound instances to be remembered; default is 100.
656  *- - Updated where DI-Guy looks for its license file. It is looked for
657  *- in this order:
658  *>
659  *- - file specified by the environment variable DIGUY_LICENSE_FILE
660  *- - file specified by the environment variable BDILM_LICENSE_FILE
661  *- - file specified by the environment variable LM_LICENSE_FILE
662  *- - license.dat in DI-Guy installation flexlm subdir
663  *<
664  *- - Turned off character shadow disks by default when using SDK; they're
665  *- still on by default in DI-Guy Scenario.
666  **
667  *4 Version 11.0.4
668  **
669  *- - Resolved issues with wheeled vehicles on paths, force_action, and resume_path
670  *>
671  *- - Problem with vehicles not resuming their path and remaining motionless after force_action("still")
672  *- - Problem with vehicles resuming path and wheels not spinning
673  *- - Problems with position discontinuities when force_action("still") is applied to a vehicle on a path
674  *<
675  *4 Version 11.0.2
676  **
677  *- - Updated where DI-Guy looks for its license file. It is looked for
678  *- in this order:
679  *>
680  *- - file specified by the environment variable DIGUY_LICENSE_FILE
681  *- - file specified by the environment variable BDILM_LICENSE_FILE
682  *- - file specified by the environment variable LM_LICENSE_FILE
683  *- - license.dat in DI-Guy installation flexlm subdir
684  *<
685  *- - Turned off character shadow disks by default when using SDK; they're
686  *- still on by default in DI-Guy Scenario.
687  *- - Removed use of glCallList in materials for the Graphics API sample
688  *- code and the internal OpenGL renderer. Call lists are deprecated
689  *- and have more overhead then just calling material functions
690  *- directly.
691  *- - Added early out sample code for materials to graphics API; end users
692  *- should now have the tools to skip unnecessary material binds.
693  *- - Added a new geode/mesh merge as part of the bdg creation; should
694  *- cut number of meshes and draw calls in half for most of the non-
695  *- skinned characters.
696  *- - Added new draw stats profiler to improve feedback on pipeline
697  *- bottlenecks. Profiler now available in Character Viewer. (Press
698  *- Ctrl-P a few times.)
699  *- - Added linear draw pipeline init argument.
700  *- - Updated Benchmark sample program with new options and statistics.
701  *- - Fixed bug where get link positions would not take character scale
702  *- into effect.
703  *- - Added the following functions to DI-Guy Graphics API:
704  *>
705  *- - diguyGraphicsLink::get_link_transformation_matrix()
706  *- - diguyGraphicsLink::begin_character_draw()
707  *- - diguyGraphicsLink::end_character_draw()
708  *- - diguyGraphicsLink::get_use_linear_traversal_draw()
709  *- - diguyGraphicsLink::set_use_linear_traversal_draw()
710  *- - diguyGraphicsTexture::get_last_bound_texture()
711  *- - diguyGraphicsTexture::clear_last_bound_texture()
712  *<
713  *- - Added sample code to the OpenGL graphics API reference
714  *- implementation demonstrating the use of the link local
715  *- transformation matrix to simplify the number of OpenGL function
716  *- made.
717  *- - Added sample code to the OpenGL graphics API reference
718  *- implementation to demonstrate using
719  *- diguyGraphicsTexture::get_last_bound_texture() to minimize state
720  *- changes.
721  *- - Added the following functions to DI-Guy OpenGL rendering API:
722  *>
723  *- - diguy_ogl_get_num_frame_stats()
724  *- - diguy_ogl_frame_stat_name()
725  *- - diguy_ogl_get_frame_stat();
726  *- - diguy_ogl_clear_all_frame_stats()
727  *<
728  *4 Version 11.0.1
729  **
730  *- - Added the following functions to DI-Guy Graphics API:
731  *>
732  *- - diguyGraphicsMaterial::get_last_bound_material()
733  *- - diguyGraphicsMaterial::clear_last_bound_material()
734  *<
735  *- - Added sample code to the OpenGL Graphics API reference
736  *- implementation to demonstrate using
737  *- diguyGraphicsMaterial::get_last_bound_material() to minimize state
738  *- changes.
739  *- - Fixed binary geometry serialization bug on x64 machines.
740  *- - Added diguyScenario::is_valid_character_group_pointer()
741  **
742  *4 Version 11.0.0
743  **
744  *- - Removed deprecated functions:
745  *>
746  *- - diguyChainSimulation::set_connection_character()
747  *<
748  *- - New APIs:
749  *>
750  *- - diguyFormation
751  *- - diguyVehicleController
752  *- - diguyViewButtonPanel (DI-Guy Scenario only)
753  *<
754  *4 Version 10.5.1
755  **
756  *- - Removed deprecated functions:
757  *>
758  *- - diguyScenario::set_tin()
759  *- - diguyScenario::get_tin()
760  *- - diguyScenario::trigger_script_event()
761  *- - diguyScenario::add_custom_appearance()
762  *- - diguyScenario::add_custom_appearance_based_on_existing_appearance()
763  *- - diguyScenario::add_named_callback()
764  *- - diguyScenario::remove_named_callback()
765  *- - diguyScenario::call_named_callback()
766  *- - diguyScenario::set_iguy_character()
767  *<
768  **
769  *4 Version 10.1.7
770  **
771  *- - Added the following functions:
772  *>
773  *- - diguyCharacter::set_max_unprocessed_impacts()
774  *- - diguyCharacter::get_max_unprocessed_impacts()
775  *- - diguyScenario::set_max_unprocessed_impacts()
776  *- - diguyScenario::get_max_unprocessed_impacts()
777  *- - diguyCharacter::reset_shader_program_to_default()
778  *- - diguySceneObject::reset_shader_program_to_default()
779  *<
780  *4 Version 10.1.6
781  **
782  *- - Added functions to diguyViewCamera and diguyViewCameraSettings:
783  *>
784  *- - diguyViewCamera::set_speed_fov_degrees_per_wheel_click()
785  *- - diguyViewCamera::get_speed_fov_degrees_per_wheel_click()
786  *- - diguyViewCameraSettings::set_speed_fov_degrees_per_wheel_click()
787  *- - diguyViewCameraSettings::get_speed_fov_degrees_per_wheel_click()
788  *<
789  *- - Added flag to diguyScenario that explicitly enables or disables
790  *- tout ("T Out") for the scenario, instead of using the arbitrary
791  *- value of 60000 seconds to mean tout should have no effect.
792  *- - Added flag similar to above that enables or disables character tout.
793  *>
794  *- - diguyScenario::set_tout_enabled()
795  *- - diguyScenario::get_tout_enabled()
796  *- - diguyCharacter::set_tout_enabled()
797  *- - diguyCharacter::get_tout_enabled()
798  *<
799  *- - Added the following functions:
800  *>
801  *- - diguyCharacter::get_muzzle_link()
802  *- - diguyCharacter::get_muzzle_offset()
803  *- - diguyCharacter::stop_appearance_effect()
804  *- - diguyCharacter::set_weapon_tracers_enabled()
805  *- - diguyCharacter::get_weapon_tracers_enabled()
806  *- - diguyCharacter::set_weapon_shell_eject_enabled()
807  *- - diguyCharacter::get_weapon_shell_eject_enabled()
808  *- - diguyCharacter::set_weapon_smoke_enabled()
809  *- - diguyCharacter::get_weapon_smoke_enabled()
810  *<
811  *4 Version 10.1.4
812  **
813  *- - Added diguyCharacter::CALLBACK_ID_AGENT_MIND_CURRENT_STATE_CHANGED.
814  *- - Added the following functions for getting and setting mind data.
815  *>
816  *- - diguyCharacter::get_mind_current_state_name()
817  *- - diguyCharacter::set_mind_field_as_string()
818  *- - diguyCharacter::set_mind_field_as_float()
819  *- - diguyCharacter::get_mind_field_as_float()
820  *- - diguyCharacter::set_mind_field_as_int()
821  *- - diguyCharacter::get_mind_field_as_int()
822  *<
823  *- - Added the following functions for setting agent params, and other
824  *- agent behavior.
825  *>
826  *- - diguyCharacter::agent_set_initial_params_from_profile()
827  *- - diguyCrowd::set_initial_params_from_profile()
828  *- - diguyAgentParams::set_move_on_t_min()
829  *- - diguyAgentParams::get_move_on_t_min()
830  *- - diguyAgentParams::set_move_on_t_max()
831  *- - diguyAgentParams::get_move_on_t_max()
832  *- - diguyCharacter::agent_move_on()
833  *<
834  *4 Version 10.1.3
835  **
836  *- - Added the following blink functions to diguyCharacter.
837  *>
838  *- - diguyCharacter::set_automatic_blink_duration_in()
839  *- - diguyCharacter::get_automatic_blink_duration_in()
840  *- - diguyCharacter::set_automatic_blink_duration_out()
841  *- - diguyCharacter::get_automatic_blink_duration_out()
842  *- - diguyCharacter::set_automatic_blink_target_in()
843  *- - diguyCharacter::get_automatic_blink_target_in()
844  *- - diguyCharacter::set_automatic_blink_target_out()
845  *- - diguyCharacter::get_automatic_blink_target_out()
846  *- - diguyCharacter::set_automatic_blinks_enabled()
847  *- - diguyCharacter::get_automatic_blinks_enabled()
848  *<
849  *- - Added the following gesture functions to diguyCharacter.
850  *>
851  *- - diguyCharacter::execute_table_gesture()
852  *- - diguyCharacter::set_executing_table_gesture_desired_action()
853  *- - diguyCharacter::end_executing_gesture()
854  *- - diguyCharacter::abort_executing_gesture()
855  *<
856  *- - Added the following misc functions to diguyCharacter.
857  *>
858  *- - diguyCharacter::get_gaze_is_active()
859  *- - diguyCharacter::get_lpoint_is_active()
860  *<
861  *4 Version 10.1.1
862  **
863  *- - Added the following functions to diguyCharacter.
864  *>
865  *- - diguyCharacter::get_is_aiming()
866  *<
867  *4 Version 10.1.0
868  **
869  *- - Added the following functions for improved LOD handling.
870  *>
871  *- - diguyScenario::set_scale_graphics_lod_ranges_from_view_settings()
872  *- - diguyScenario::get_scale_graphics_lod_ranges_from_view_settings()
873  *- - diguyLoadManager::set_scale_zone_extents_from_view_settings()
874  *- - diguyLoadManager::get_scale_zone_extents_from_view_settings()
875  *<
876  *- - Added the following functions to diguyCharacter.
877  *>
878  *- - diguyCharacter::set_graphics_ptr()
879  *- - diguyCharacter::get_num_pose_overrides()
880  *- - diguyCharacter::get_pose_override_at_index()
881  *<
882  **
883  **************************************
884  *3 DI-Guy Scenario
885  **************************************
886  **
887  *4 Version 11.5.1
888  **
889  *- - Fixed intersection test issue with scene objects
890  *- - Fixed bogus fog changed notification
891  *- - Improved sound history recording and playback
892  **
893  *4 Version 11.0.1
894  **
895  *- - Fixed crash with using qt_invoke without lqt loaded.
896  **
897  **************************************
898  *3 DI-Guy Motion Editor
899  **************************************
900  **
901  *4 Version 11.0.1
902  **
903  *- - Fixed Motion Arc extended info handling.
904  *- - Fixed issue with the poser not being available on some skinned
905  *- character links.
906  **
907  *4 Version 11.0.0
908  **
909  *- - Initial support for handling skinned characters.
910  **
911  **************************************
912  *3 DI-Guy Character Viewer
913  **************************************
914  **
915  *4 Version 11
916  **
917  *- - Added Shadow and normal previewer.
918  *- - Added LOD picker.
919  **
920  **************************************
921  *3 DI-Guy for Vega Prime
922  **************************************
923  **
924  *4 Version 11.5.1
925  **
926  *- - Initial support for vegaPrime 5.x.
927  *- - fixed crash on exit using some modules.
928  *- - Changed setScriptPerlEnable default from true to false.
929  **
930  *4 Version 11.0.1
931  **
932  *- - Initial support for vegaPrime 4.x.
933  **
934  **************************************
935  *3 DI-Guy Networking
936  **************************************
937  **
938  *4 Version 11.0.1
939  **
940  *- - Fixed a number of bugs with transmitting gazing and aiming behavior
941  *- over network.
942  *- - Improvements to log messages.
943  **
944  */
945 
946 /*****************************************************************************
947  *****************************************************************************
948  **
949  *2 DI-Guy Applications Version 10
950  **
951  *****************************************************************************
952  *****************************************************************************
953  **
954  **************************************
955  *3 DI-Guy API 10
956  **************************************
957  **
958  *b Note that most changes to the DI-Guy API also apply to DI-Guy Scenario.
959  **
960  *4 Version 10.0.10
961  **
962  *- - Impact processing on characters now considers mind wakeup callbacks
963  *- when deciding how the impact affects the character, in addition to
964  *- the straight callbacks that are considered now.
965  *- - Added functions:
966  *>
967  *- - diguyAgentParams::set_vehicle_base_influence_box()
968  *- - diguyAgentParams::get_vehicle_base_influence_box()
969  *<
970  *- - Added the following diguyCharacter callbacks that report when
971  *- an agent is being push around by other characters of vehicles.
972  *>
973  *- - diguyCharacter::CALLBACK_ID_AGENT_NON_ZERO_REPULSION
974  *- - diguyCharacter::CALLBACK_ID_AGENT_ZERO_REPULSION
975  *<
976  **
977  *4 Version 10.0.8
978  **
979  *- - Added merging of regions during scenario merge.
980  *- - Fixed merging of crowds to include merging of crowd behavior
981  *- regions.
982  *- - Added diguyScenario::CALLBACK_ID_PLAYBACK_MODE_CHANGED.
983  *- - Added diguy_set_diguy_base_dir_path() function.
984  *- - Added remove_on_scenario_load argument to most
985  *- add_default_*_callback() functions; allows for "permanent" callbacks
986  *- to be added that persist through scenario loads. The default is
987  *- 0, meaning remove the callback when a scenario is loaded.
988  *-
989  *4 Version 10.0.6
990  **
991  *- - Fixed visual issues of skinned appearances when the character is
992  *- scaled or is using a motion LOD greater than 1.
993  *- - Fixed issue where default scenario callbacks were not being called.
994  *- - Added functions:
995  *>
996  *- - diguyCharacter::set_graphics_api_node_ptr()
997  *- - diguyCharacter::get_graphics_api_node_ptr()
998  *- - diguyScenario::set_graphics_api_node_ptr()
999  *- - diguyScenario::get_graphics_api_node_ptr()
1000  *<
1001  *4 Version 10.0.5
1002  **
1003  *- - Fixed hard crashes with on-screen labels outside of the ogl pipeline.
1004  *- - Fixed issues with octtree creation and visibility checks.
1005  *- - Fix for vc8 mdd examples using lua.
1006  *- - Added missing header file for DI-Guy Bench Marking example.
1007  *- - Added infrastructure for hooking up callbacks so visibility tests
1008  *- can work in the SDK. See the following functions:
1009  *>
1010  *- - diguyScenario::set_default_point_los_function()
1011  *- - diguyScenario::set_default_character_los_function()
1012  *- - diguyCharacter::set_point_los_function()
1013  *- - diguyCharacter::get_point_los_function()
1014  *- - diguyCharacter::set_character_los_function()
1015  *- - diguyCharacter::get_character_los_function()
1016  *<
1017  *4 Version 10.0.4
1018  **
1019  *- - Fixed bug where green boxes were appearing at the origin in some
1020  *- DI-Guy Graphics API examples.
1021  *- - Characters with skinned appearances specified will switch to their
1022  *- default unskinned appearance on platforms without skinning support.
1023  *- - Added diguyScenario::get_altitude_function() and
1024  *- diguyScenario::set_altitude_function() mainly needed for force local
1025  *- path via the API.
1026  *- - Added bdiGraphicsInitGraphicsAPI::characters_have_world_space_triangle_query
1027  *- and bdiGraphicsInitGraphicsAPI::scene_objects_have_world_space_triangle_query
1028  *- function allow octtree to be built from internally loaded scene objects.
1029  *- *Note*: this functionality requires that diguyGraphicsMesh::free_loader_memory()
1030  *- not be called.
1031  **
1032  *4 Version 10.0.3
1033  **
1034  *- - Changed diguyScenario::set_default_lod_ranges() to accept "all"
1035  *- for the character type. Passing "all" will set the default LOD
1036  *- ranges for all character types, not just one specific one.
1037  *- - Added the following functions to DI-Guy Graphics API for more
1038  *- flexibility in handling graphics LODs.
1039  *>
1040  *- - diguyGraphicsShape::set_graphics_lod_ranges()
1041  *- - diguyGraphicsShape::set_graphics_lod()
1042  *- - diguyGraphicsShape::get_graphics_lod()
1043  *<
1044  *4 Version 10.0.1
1045  **
1046  *- - Fixed bugs with intersecting characters added to the octtree.
1047  *- - Fixed bugs where custom directory env variable was being ignored when
1048  *- looking up lua scripts.
1049  *- - Added functions diguyCharacter::create_complete_pose_override() and
1050  *- diguyCharacter::destroy_complete_pose_override().
1051  *- - Fixed bug where OGL skinned characters were missing some polygons;
1052  *- please see graphics API samples if you are seeing this bug. Your VBO
1053  *- class may need slight changes.
1054  **
1055  *4 Version 10.0.0
1056  **
1057  *- - Added support for character "type maps". Type maps add extra data
1058  *- to characters that make it easier to decide which character type
1059  *- and appearance best match the desired role for characters to be
1060  *- added to the scenario. See the class diguyCharacterTypeMap, and
1061  *- information about the "Appearance Wizard" for DI-Guy Scenario.
1062  *- - Added the following functions to diguyCharacter API:
1063  *>
1064  *- - diguyCharacter::get_nearest_character_type_map()
1065  *<
1066  *- - The DI-Guy Graphics API example directories osg_12_examples and
1067  *- osg_22_examples have been removed. They have been replaced with
1068  *- osg_2_examples.
1069  *- - The osg_2_examples reference implementation now has support for
1070  *- skinned appearances. It uses the DI-Guy built-in geometry loader
1071  *- instead of OSG's, as DI-Guy has some specific requirements for
1072  *- loaded skinned geometry.
1073  *- - diguyScenario::add_callback() and diguyScenario::add_callback_script()
1074  *- have been modified with an addition argument that specifies whether
1075  *- the callback should remain after a new scenario has been loaded. The
1076  *- previous behavior was for the callback to not be removed, which could
1077  *- cause problems. Users will now need to explicitly request that the
1078  *- callback remain.
1079  **
1080  *4 Version 9.1.5
1081  **
1082  *- - The ability to show bar graph information has been added to the
1083  *- diguyViewLabel class. See diguyViewLabel::enable_bar_graph().
1084  *- - Added the following functions to diguyCharacter API:
1085  *>
1086  *- - diguyCharacter::set_weapon_munition_type_override()
1087  *- - diguyCharacter::get_weapon_munition_type_override()
1088  *- - diguyCharacter::get_weapon_muzzle_munition_type()
1089  *- - diguyCharacter::get_default_muzzle_munition_type()
1090  *<
1091  *- - Added the following functions to DI-Guy Graphics API:
1092  *>
1093  *- - diguyGraphicsLink::post_build()
1094  *- - diguyGraphicsLink::set_shader_instance()
1095  *- - diguyGraphicsMaterial::get_is_unlit()
1096  *<
1097  *- - Added new DI-Guy Graphics API classes: diguyGraphicsShaderProgram
1098  *- and diguyGraphicsShaderInstance.
1099  *- - Added time_to_live to network.cfg file.
1100  *- - Removed the following experimental functions:
1101  *>
1102  *- - diguyScenario::load_shader()
1103  *- - diguyScenario::reload_shader_programs()
1104  *<
1105  *- - Added new DI-Guy functions to allow SDK users to intercept fire
1106  *- requests and plug in their own intersection test; see
1107  *- diguyScenario::set_fire_weapon_intersection_function() for more info.
1108  **
1109  *4 Version 9.1.4
1110  **
1111  *- - Added the following functions to diguyCharacter API:
1112  *>
1113  *- - diguyCharacter::set_initial_path()
1114  *- - diguyCharacter::get_initial_path()
1115  *<
1116  *- - The way that weapon sounds are handled has been changed.
1117  *>
1118  *- Previously weapon sounds were largely determined by the
1119  *- character's default weapon sound setting, as set by
1120  *- set_default_weapon_sound(). Weapon sounds (and other data) are
1121  *- now set automatically based on the munition type(s) of the weapon
1122  *- the character is carrying. The default munition type sound can
1123  *- be overridden by calling set_weapon_sound_override(). Note that
1124  *- existing, deprecated calls to set_default_weapon_sound() will
1125  *- have the same effect as calling set_weapon_sound_override().
1126  **
1127  *- - The following functions have been deprecated:
1128  *>
1129  *- - diguyCharacter::set_default_weapon_sound()
1130  *- - diguyCharacter::get_default_weapon_sound()
1131  *- - diguyCharacter::set_default_weapon_sound_gain()
1132  *- - diguyCharacter::get_default_weapon_sound_gain()
1133  *<
1134  *- - The above deprecated functions are replaced by:
1135  *>
1136  *- - diguyCharacter::set_weapon_sound_override()
1137  *- - diguyCharacter::get_weapon_sound_override()
1138  *- - diguyCharacter::set_weapon_sound_gain_override()
1139  *- - diguyCharacter::get_weapon_sound_gain_override()
1140  *<
1141  *<
1142  *- - Added the following diguyCharacter callbacks to make it easier to
1143  *- tie events to editing characters in the UI.
1144  *>
1145  *- - diguyCharacter::CALLBACK_ID_UI_MOUSE_DOWN
1146  *- - diguyCharacter::CALLBACK_ID_UI_MOUSE_UP
1147  *<
1148  *- - Added diguyViewPainter class that allows the drawing of lines and
1149  ** other primitives in DI-Guy Scenario 3D view windows. For access to
1150  ** this object call diguyApp::get_painter().
1151  *- - Added diguyScenario::CALLBACK_ID_POST_DRAW, allowing the scripting
1152  *- engine a chance to draw in the 3D view in DI-Guy Scenario.
1153  *- Characters with minds are also given the opportunity to draw; see
1154  *- the default luaCharacter script.
1155  **
1156  *4 Version 9.1.2
1157  **
1158  *- - Added diguyImpact::get_impact_type() and diguyImpact::get_impact_type_string()
1159  *- which provide information about how the impact was generated. New
1160  *- accessors for querying normal information are also available.
1161  *- - Added new Lua Scripting module:
1162  *>
1163  *- - The Lua module has all the functionality of the current Perl
1164  *- module.
1165  *- - Lua is popular in the game development industry for it's speed
1166  *- and efficiency. Lua script execution is much less performance
1167  *- intensive than a similar Perl script.
1168  *- - Lua is the basis for the new DI-Guy AI Mind framework.
1169  *<
1170  *- - Scripts are no longer limited in length (was 32K).
1171  *- - Deprecated functions:
1172  *>
1173  *- - diguyCharacter::get_base_link() replaced with
1174  *- diguyCharacter::get_position_link()
1175  *<
1176  *- - Added the following diguyCharacter callbacks to make it easier to
1177  *- tie events to editing characters in the UI.
1178  *>
1179  *- - diguyCharacter::CALLBACK_ID_UI_PRE_TRANSLATION
1180  *- - diguyCharacter::CALLBACK_ID_UI_POST_TRANSLATION
1181  *<
1182  **
1183  *4 Version 9.1.1
1184  **
1185  *- - Added the following function to diguyCharacter API:
1186  *>
1187  *- - diguyCharacter::get_random_factor()
1188  *<
1189  *- - Added the following functions to diguyCharacter API for getting
1190  *- and setting character variables with a compact function name:
1191  *>
1192  *- - diguyCharacter::set_ivar()
1193  *- - diguyCharacter::get_ivar()
1194  *- - diguyCharacter::set_fvar()
1195  *- - diguyCharacter::get_fvar()
1196  *- - diguyCharacter::set_svar()
1197  *- - diguyCharacter::get_svar()
1198  *<
1199  *- - Sound Module Improvements:
1200  *>
1201  *- - Adding looping flag to diguyCharacter::play_3d_sound() and
1202  *- diguyCharacter::play_sound() allows sounds to repeat until
1203  *- explicitly stopped with diguyCharacter::stop_sound() or
1204  *- diguyCharacter::stop_all_sounds()
1205  *- - 3D Sounds should now Doppler shift depending on the velocity of
1206  *- the emitter and listener.
1207  *- - More a number of diguySound functions have been added to allow
1208  *- querying a sounds properties.
1209  *<
1210  *- - Fixed problem with the OpenFlight geometry loader. Light point
1211  *- records were causing the loader to fail.
1212  *- - Added two new diguyCharacter callback ids:
1213  *>
1214  *- - diguyCharacter::CALLBACK_ID_POST_CREATE_GEOMETRY
1215  *- - diguyCharacter::CALLBACK_ID_PRE_DESTROY_GEOMETRY
1216  *<
1217  *- - Added new plugin function, post_reset(). Allows plugins to do
1218  *- reset operations at the end of a scenario reset, instead of only
1219  *- at the beginning.
1220  **
1221  *4 Version 9.1.0
1222  **
1223  *- - Added the following functions to diguyCharacter API:
1224  *>
1225  *- - diguyCharacter::get_current_traveled_path_is()
1226  *- - diguyCharacter::get_current_appearance_is()
1227  *- - diguyCharacter::get_current_head_appearance_is()
1228  *- - diguyCharacter::execute_table_gesture()
1229  *<
1230  **
1231  **************************************
1232  *3 DI-Guy Scenario 10
1233  **************************************
1234  **
1235  *b Note that most changes to the DI-Guy API also apply to DI-Guy Scenario.
1236  **
1237  *4 Version 10.0.2
1238  **
1239  *- - Fixed the appearance of state functions in the code browser.
1240  **
1241  *4 Version 10.0.0
1242  **
1243  *- - Added the "Appearance Wizard" to places where character type and
1244  *- appearance can be selected. The Appearance Wizard provides an
1245  *- interactive UI for selecting desired attributes of the character
1246  *- to be created, such as category, age, sex, race, military branch,
1247  *- carried object, etc.
1248  *- - Character types and appearances are now marked as "Recommended" and
1249  *- "Not Recommended". Many older character types and appearances have
1250  *- been nominally replaced with newer versions which should be
1251  *- preferred over the older ones. By default DI-Guy Scenario will show
1252  *- only the preferred ones, but can be changed to show all of them.
1253  *- Scenarios that currently use now not-recommended character types and
1254  *- appearances will still work as before.
1255  **
1256  *4 Version 9.1.3
1257  **
1258  *- - Improvements to autocomplete, including DIGUY_* constants as well as
1259  *- dynamic analysis of lua objects.
1260  **
1261  *4 Version 9.1.2
1262  **
1263  *- - Added new documentation viewer, accessible under the help menu.
1264  **
1265  *4 Version 9.1.1
1266  **
1267  *- - When selecting which agents' parameters are going to be edited,
1268  *- multi-select can now be used.
1269  *- - Replaced Scenario Elements, Character Elements, View Settings,
1270  *- Event Handlers, and DI-Guy AI Elements windows with a single
1271  *- revamped Scenario Elements window that has collapsible tab groups.
1272  *- - Removed experimental, incomplete "Merge Blitz" capability.
1273  **
1274  *4 Version 9.1.0
1275  **
1276  *- - Script editing now uses an editing component based on Scintilla,
1277  *- this provides syntax highlighting/coloring, line numbering, basic
1278  *- auto-complete, and code folding.
1279  *- Currently supported control keys:
1280  *>
1281  *- - Ctrl '{' or Ctrl '}' - jump to matching brace
1282  *- - Ctrl f - find dialog
1283  *- - F3 - find again
1284  *<
1285  *- - Added a number of ui improvements:
1286  *>
1287  *- - Beads now display the time they occur instead of just an index.
1288  *- - The Action Spreadsheet is available in the character elements
1289  *- page.
1290  *- - A number of element types can now be sorted in their selector
1291  *- view at the top of the page. Most widgets can be sorted by index
1292  *- and name. Some add the ability to be sorted by time, appearance,
1293  *- character type, etc.
1294  *- - The path page has a sorted list of all beads on a path.
1295  *<
1296  **
1297  **************************************
1298  *3 DI-Guy AI 10
1299  **************************************
1300  **
1301  *4 Version 10.0.4
1302  **
1303  *- - Added new AI_Populate SDK example; demonstrates populating the
1304  *- environment with lua minds based Agents via the SDK.
1305  **
1306  *4 Version 10.0.3
1307  **
1308  *- - Improved behavior of paintbrush far from origin and at different
1309  *- heights.
1310  *- - Added bright red log/package indicator on lua syntax errors.
1311  *- - Improved behavior of code browser recompile button, pops up log
1312  *- window on syntax errors.
1313  **
1314  *4 Version 10.0.2
1315  **
1316  ** - Fixed hard crash in path planner when pursuing with no behavior
1317  ** region set.
1318  ** - Fixed a number of bugs with agents colliding with props.
1319  ** - Fixed bug with crowd awareness code far from the origin.
1320  **
1321  *4 Version 9.1.4
1322  **
1323  *- - Significant improvements to A* path planning performance, 10x speed
1324  *- up in most cases.
1325  **
1326  *4 Version 9.1.3
1327  **
1328  *- - Improvements to path planning API, added the following functions to
1329  *- diguyCharacter API for navigating the world
1330  *>
1331  *- - diguyCharacter::agent_move_to_point()
1332  *- - diguyCharacter::agent_move_to_point_via_subregions()
1333  *- - diguyCharacter::agent_move_to_region()
1334  *- - diguyCharacter::agent_move_to_region_via_subregions()
1335  *<
1336  **
1337  *4 Version 9.1.2
1338  **
1339  *- - New Lua based mind framework:
1340  *>
1341  *- - New Lua Mind Editor in UI
1342  *- - The crowd/people blitzers can now create characters with minds.
1343  *<
1344  **
1345  *- - Added the following functions to diguyCharacter API:
1346  *>
1347  *- - diguyCharacter::agent_get_crowd()
1348  *- - diguyCharacter::agent_flee_crowd()
1349  *<
1350  *- - Added diguyCharacter::CALLBACK_ID_AGENT_VEHICLE_COLLISION; this
1351  *- callback is triggered on a vehicle when a vehicle hits an agent.
1352  *- - Added diguyRegion, an API wrapper for painted meshes. Retrievable
1353  *- with the function diguyScenario::find_region().
1354  *- - Vehicle bounds are now smoothed when the vehicle changes speed.
1355  *- - Added simple gazing model into agent focus behavior.
1356  *- - Added Idle Behavior, agent will stop moving and be responsive
1357  *- to focus and simple requests but won't spontaneously move.
1358  *- - Added diguyCharacter::agent_begin_behavior() allows starting a
1359  *- behavior by name. Typically some of the more elaborate functions are
1360  *- preferred, but this can be useful for idling and such.
1361  *- - Changes to None behavior. Agent will attempt to do less and clear
1362  *- out some transient state to make the behavior of the behavior more
1363  *- consistent.
1364  **
1365  *4 Version 9.1.1
1366  **
1367  *- - The following diguyCrowd callbacks are deprecated, and have been
1368  *- replaced with diguyCharacter equivalents.
1369  *>
1370  *- - diguyCrowd::CALLBACK_ID_NEW_FOCUS_CHARACTER
1371  *- - diguyCrowd::CALLBACK_ID_ATTACKER_NO_VISIBLE_TARGETS
1372  *- - diguyCrowd::CALLBACK_ID_ATTACKER_OUT_OF_TARGETS
1373  *- - diguyCrowd::CALLBACK_ID_PURSUED_CHARACTER_REACHED
1374  *- - diguyCrowd::CALLBACK_ID_WANDER_TARGET_REACHED
1375  *- - diguyCrowd::agents_flee_crowd()
1376  *<
1377  *- - Added the following diguyCharacter callbacks to make it easier to
1378  *- detect important events in agent behavior.
1379  *>
1380  *- - diguyCharacter::CALLBACK_ID_AGENT_NEW_BEHAVIOR
1381  *- - diguyCharacter::CALLBACK_ID_AGENT_NEW_FOCUS_CHARACTER
1382  *- - diguyCharacter::CALLBACK_ID_AGENT_ATTACK_OUT_OF_TARGETS
1383  *- - diguyCharacter::CALLBACK_ID_AGENT_ATTACK_NO_VISIBLE_TARGETS
1384  *- - diguyCharacter::CALLBACK_ID_AGENT_PURSUE_TARGET_REACHED
1385  *- - diguyCharacter::CALLBACK_ID_AGENT_PURSUE_TARGET_LOST
1386  *- - diguyCharacter::CALLBACK_ID_AGENT_MINGLE_TARGET_REACHED
1387  *- - diguyCharacter::CALLBACK_ID_AGENT_MINGLE_TARGET_LOST
1388  *- - diguyCharacter::CALLBACK_ID_AGENT_WANDER_TARGET_REACHED
1389  *- - diguyCharacter::CALLBACK_ID_AGENT_WANDER_TARGET_LOST
1390  *- - diguyCharacter::CALLBACK_ID_AGENT_FLEE_AREA_LEFT
1391  *- - diguyCharacter::CALLBACK_ID_AGENT_FLEE_AREA_ENTERED
1392  *- - diguyCharacter::CALLBACK_ID_AGENT_TRAVEL_WAYPOINT_REACHED
1393  *- - diguyCharacter::CALLBACK_ID_AGENT_TRAVEL_FORWARD_DEST_REACHED
1394  *- - diguyCharacter::CALLBACK_ID_AGENT_TRAVEL_BACKWARD_DEST_REACHED
1395  *<
1396  *- - DI-Guy AI agents can now flee from multiple characters, groups, and
1397  *- locations instead of just one.
1398  *- - Functions diguyCharacter::agent_set_current_params_from_profile()
1399  *- and diguyCrowd::set_current_params_from_profile() have a new
1400  *- argument, retain_focus_objects. Setting this to 1 allows the
1401  *- specified to be loaded without changing the agents' current focus
1402  *- character or group.
1403  **
1404  **************************************
1405  *3 DI-Guy Motion Editor
1406  **************************************
1407  **
1408  *- - Added support for filtering the action table editor, eases editing
1409  *- of large action tables.
1410  *- - Added code to reverse motions.
1411  *- - Grabbing a pose on a Linear Offset should interpolate properly.
1412  *- - Motion arc list and action table motion list are now in sync.
1413  **
1414  **************************************
1415  *3 DI-Guy Character Viewer 10
1416  **************************************
1417  **
1418  *4 Version 10.0.0
1419  **
1420  *- - Added "Appearance Wizard" button to make selecting an appropriate
1421  *- character type and appearance easier.
1422  **
1423  **************************************
1424  *3 DI-Guy for Vega Prime 10
1425  **************************************
1426  **
1427  *4 Version 10.0.4
1428  **
1429  *- - Initial release compiling with vp 3.0.
1430  **
1431  *4 Version 9.1.2
1432  **
1433  *- - Added support for turning on DI-Guy AI from vpDiguySettings UI.
1434  *- DI-Guy AI functionality is limited inside of Vega Prime
1435  *- - Added support for turning on Lua scripting module from the
1436  *- the UI.
1437  *- - Fixed long standing issue with character's having link offsets
1438  *- applied multiple times. (Also in 9.0.4)
1439  **
1440  **************************************
1441  *3 DI-Guy Networking
1442  **************************************
1443  **
1444  *4 Version 9.1.6
1445  **
1446  *- - Fire PDUs position should now be the muzzle of the gun, the entity
1447  *- type should match the munition type fired, and the velocity should
1448  *- be the normalized direction of the muzzle.
1449  *- - Fixed issue where agents on non-flat terrains were sending erroneous
1450  *- z values.
1451  **
1452  **
1453  */
1454 
1455 /*****************************************************************************
1456  *****************************************************************************
1457  **
1458  *2 DI-Guy Applications, 9.0 and Earlier
1459  **
1460  *****************************************************************************
1461  *****************************************************************************
1462  **
1463  **************************************
1464  *3 DI-Guy API
1465  **************************************
1466  **
1467  *b Note that most changes to the DI-Guy API also apply to DI-Guy Scenario.
1468  **
1469  *4 Version 9.0.4
1470  **
1471  *- - Added new argument to diguyCharacter::force_action() that allows
1472  *- the forced action to begin partway into the action.
1473  *- - Added the following functions to diguyCharacter API:
1474  *>
1475  *- - diguyCharacter::get_most_recent_forced_action()
1476  *- - diguyCharacter::get_most_recent_forced_action_t()
1477  *- - diguyCharacter::get_most_recent_forced_action_t_offset()
1478  *<
1479  *4 Version 9.0.1
1480  **
1481  *- - Added new guide example, see $DIGUY/programming_examples/diguy_ogl/guide_example
1482  *- - Added the following functions to diguyCharacter API:
1483  *>
1484  *- - diguyCharacter::get_distance_to_impact()
1485  *- - diguyCharacter::set_is_scene_object()
1486  *- - diguyCharacter::get_is_scene_object()
1487  *- - diguyCharacter::set_apply_actor_scale_to_action_bead_xy_travel() deprecated;
1488  *- use diguyCharacter::set_apply_actor_scale_to_action_bead_travel() instead
1489  *- - diguyCharacter::get_apply_actor_scale_to_action_bead_xy_travel() deprecated;
1490  *- use diguyCharacter::get_apply_actor_scale_to_action_bead_travel() instead
1491  *<
1492  *- - Manually invoking a diguyCharacter perl script callback via
1493  *- diguyCharacter::manually_invoke_event_handler() will now have the
1494  *- $callback_object variable properly set.
1495  *- - Minor munition system improvements:
1496  *>
1497  *- - Munitions sound effects now include sound gain.
1498  *- - Added diguyScenario::trigger_detonation(), a function for
1499  *- creating a detonation at an arbitrary xyz location.
1500  *- - Fixed bug with location of munition particle effects.
1501  *<
1502  *- - Added new Munition system demonstration; see AI_Munitions_Demo.dss in
1503  *- scenarios directory.
1504  *- - Improved default 3d sound behavior; prior default 3d sound falloff
1505  *- was much too aggressive. Future DI-Guy releases will make more of
1506  *- these values tuneable.
1507  **
1508  *4 Version 9.0.0
1509  **
1510  *- - Promoted the following functions from experimental to
1511  *- official status:
1512  *>
1513  *- - diguyScenario::find_character_at_screen_coords()
1514  *- - diguyScenario::get_impact_at_screen_coords()
1515  *- - diguyScenario::get_intersection_at_screen_coords()
1516  *- - diguyScenario::force_octtree_generation()
1517  *- - diguyScenario::intersect_static_geometry()
1518  *- - diguyScenario::add_character_to_octtree()
1519  *- - diguyScenario::remove_character_from_octtree()
1520  *- - diguyCharacter::set_apply_actor_scale_to_action_bead_xy_travel()
1521  *- - diguyCharacter::get_apply_actor_scale_to_action_bead_xy_travel()
1522  *<
1523  *- - Added functions to allow user to specify custom feeler functions:
1524  *>
1525  *- - diguyScenario::set_default_agent_feeler_function()
1526  *- - diguyCharacter::agent_set_feeler_function()
1527  *- - diguyCharacter::agent_get_feeler_function()
1528  *<
1529  *- - Fixed more issues with recent changes to reduce path memory overhead.
1530  *- - Changing current appearance will now complain less if the resulting
1531  *- change doesn't require recompilation of path data.
1532  *- - diguy_dis_constants.h now includes custom PDU enumeration.
1533  *- - Changes made to aim algorithm 8 parameter functions in an effort
1534  *- to make them more descriptive. Note that only the set functions
1535  *- are listed; the corresponding get functions have changed, too.
1536  *>
1537  *- - diguyCharacter::set_aim_param_time_constant() deprecated;
1538  *- use diguyCharacter::set_aim_param_acquire_factor() instead
1539  *- - diguyCharacter::set_aim_param_reset_time_constant() deprecated;
1540  *- use diguyCharacter::set_aim_param_new_aim_factor() instead
1541  *- - diguyCharacter::set_aim_param_time_constant2() deprecated;
1542  *- use diguyCharacter::set_aim_param_new_aim_duration() instead
1543  *<
1544  *4 Version 8.6.3
1545  **
1546  *- - Fixed some issues with recent changes to reduce path memory overhead.
1547  **
1548  *4 Version 8.6.2
1549  **
1550  *- - Changes made to support multiple active formations. New arguments
1551  *- added to diguyCharacter::call_formation() and
1552  *- diguyCharacter::break_formation() to support multiple formations.
1553  *- Default behavior remains the same as before.
1554  *- - Significant memory savings when dealing with characters with
1555  *- long paths.
1556  *- - Added new argument to diguyCharacter::set_current_appearance()
1557  *- function: allow_actor_change. Previously changes to a character's
1558  *- appearance that would result in an actor (size of character) change
1559  *- were not allowed. Passing 1 (the default) for this argument now
1560  *- allows such a change.
1561  **
1562  *4 Version 8.6.1
1563  **
1564  *- - Added function diguyCharacter::get_current_traveled_path().
1565  *- - Improved logic for picking dead action.
1566  *- - Removed deprecated functions:
1567  *>
1568  *- - diguyLoadManager::set_max_update_period()
1569  *- - diguyLoadManager::set_nonvisible_update_rate()
1570  *- - diguyLoadManager::set_zone_bounds()
1571  *- - diguyLoadManager::set_zone_parameters()
1572  *<
1573  *- - Improved DIS/HLA Networking:
1574  *>
1575  *- - Added support for Flat Earth and Geocentric coordinates.
1576  *- - Coordinate system changes can now be applied while the system is
1577  *- connected to the network.
1578  *- - DI-Guy characters can now have different Munition types which are
1579  *- sent over the network as part of the detonation pdus.
1580  *<
1581  *- - Improved Munition Support:
1582  *>
1583  ** Heavy rewrite/solidification of our munition and detonation code.
1584  *>
1585  *- - Characters now have a munition type, defaults to "m16".
1586  *- - Munition definitions are stored in the munition_type.cfg file.
1587  *- They have a number of required and optional fields including
1588  *- septet, radius, and special effects to create when triggered.
1589  *- - The munition name and radius is now part of diguyImpact
1590  *- structure. This allows the end user to build damage models in
1591  *- scripts that are based on the munition type of an impact, along
1592  *- with fall-off effects based on distance from impact location.
1593  *- - Characters hit by broadcast detonations will now call the
1594  *- CALLBACK_ID_IMPACT callback if they have one, this emulates what
1595  *- happens when characters are shot by other DI-Guys. If they are
1596  *- members of a crowd and the crowd has an impact callback that will
1597  *- be called, if no impact callback exists they will die.
1598  *- - Crowds should now react to remote detonations.
1599  *- - Impacting a scene object will now transmit a detonation.
1600  *<
1601  *<
1602  *4 Version 8.5.0
1603  **
1604  *- - Many new function calls available from decisions.
1605  *- - Changed default aim algorithm from 7 to 8. To change it back to 7,
1606  *- call diguyCharacter::set_aim_algorithm(), passing 7 as the
1607  *- aim_algorithm argument.
1608  *- - Improved diguyCharacter::check_character_visibility(). Character
1609  *- will now use the cervical joint as the source point, and test
1610  *- multiple positions on the target.
1611  *- - Promoted diguyCharacter version 8 aim algorithm functions from
1612  *- experimental to official.
1613  *- - Characters that are flagged as scene object are no longer baked
1614  *- into the world octtree. Editing them no longer requires an expensive
1615  *- octtree rebuild.
1616  *- - Fixed access bug in diguyScenario::find_path_shape().
1617  *- - Added functions:
1618  *>
1619  *- - diguyCharacter::get_last_impact_is_from_vehicle()
1620  *- - diguyCharacter::get_last_impact_speed_is_greater_than()
1621  *- - diguyCharacterGuide::set_position_acquired()
1622  *- - diguyCharacterGuide::set_orientation_acquired()
1623  *- - diguyImpact::get_impact_speed()
1624  *<
1625  *4 Version 8.1.0
1626  **
1627  *- - Added function diguyScenario::preload_sound()
1628  *- - Added callback id diguyScenario::CALLBACK_ID_SAVE_SCENARIO_FILE
1629  *- - Added experimental functions:
1630  *>
1631  *- - diguyCharacter::get_nearest_waypoint_index_in_path()
1632  *- - diguyCharacter::set_desired_orientation_to_current_orientation()
1633  *- - diguyCharacter::check_character_visibility()
1634  *<
1635  *4 Version 8.0.6
1636  **
1637  *- - Fixed issue where turreted vehicles broadcast angle did not match
1638  *- the DIS standard.
1639  *- - Added experimental aim functions. These functions are for the new
1640  *- DI-Guy version 8 aim algorithm.
1641  *>
1642  *- - diguyCharacter::set_aim_algorithm()
1643  *- - diguyCharacter::get_aim_algorithm()
1644  *- - diguyCharacter::set_aim_param_seek_tolerance()
1645  *- - diguyCharacter::get_aim_param_seek_tolerance()
1646  *- - diguyCharacter::set_aim_param_time_constant()
1647  *- - diguyCharacter::get_aim_param_time_constant()
1648  *- - diguyCharacter::set_aim_param_time_constant2()
1649  *- - diguyCharacter::get_aim_param_time_constant2()
1650  *- - diguyCharacter::set_aim_param_reset_time_constant()
1651  *- - diguyCharacter::get_aim_param_reset_time_constant()
1652  *- - diguyCharacter::set_aim_param_azimuth_acquired_range()
1653  *- - diguyCharacter::get_aim_param_azimuth_acquired_range()
1654  *- - diguyCharacter::set_aim_param_elevation_acquired_range()
1655  *- - diguyCharacter::get_aim_param_elevation_acquired_range()
1656  *- - diguyCharacter::set_aim_param_max_per_frame_adj_factor()
1657  *- - diguyCharacter::get_aim_param_max_per_frame_adj_factor()
1658  *- - diguyCharacter::set_aim_converge_every_frame()
1659  *- - diguyCharacter::get_aim_converge_every_frame()
1660  *- - diguyCharacter::aim_converge()
1661  *<
1662  *4 Version 8.0.5
1663  **
1664  *- - Fixed issue with TXP geometry loader. If external textures are
1665  *- marked as "Unknown" format, the actual format is now derived from
1666  *- the filename extension in the case of .rgb, .rgba, .int, and .inta
1667  *- texture files.
1668  **
1669  *4 Version 8.0.4
1670  **
1671  *- - Improved documentation for function diguyScenario::update().
1672  *- - Fixed some issues with I-Guy and its use of joystick input. I-Guy
1673  *- input for DI-Guy 8 now more closely matches that of previous
1674  *- versions.
1675  *- - Fixed some issues with muzzle flashes. In particular, muzzle
1676  *- flashes were not consistently showing up in DI-Guy Scenario, both
1677  *- during initial simulation and during review data playback.
1678  *- - DI-Guy now includes a DIGuyLicenseTool application that makes it
1679  *- easier to gather the appropriate information needed to request a
1680  *- license from Boston Dynamics. This utility program can be run
1681  *- during Applications installation, or, after installation is
1682  *- complete, from the DI-Guy folder in the Start Menu.
1683  *- - Fixed a problem with programming examples that used OpenAL
1684  *- with the VC7 static libs (Makefile.vc7_md, for example)
1685  *- would crash when an .ogg file was loaded.
1686  **
1687  *4 Version 8.0.3
1688  **
1689  *- - Fixed some issues with I-Guy:
1690  *>
1691  *- - Firing the I-Guy's weapon now correctly uses the trajectory
1692  *- to the crosshair, instead of along the weapon barrel.
1693  *- - Keyboard control of looking up and down now possible; use
1694  *- 'Page Up' and 'Page Down' keys.
1695  *<
1696  *- - Fixed problem with networked characters climbing hills.
1697  *- - Fixed problem with networked characters transitioning too quickly.
1698  *- - Added Visual Studio 7.1 solution for diguy_ogl/simple_playback
1699  *- example.
1700  *- - Fixed issue with diguyCharacter::stop_all_sounds() and
1701  *- diguyScenario::stop_all_sounds() not saving history events.
1702  **
1703  *4 Version 8.0.2
1704  **
1705  *- - Fixed problem with some textures not loading properly.
1706  *- - Fixed problem with DirectX examples not shutting down cleanly
1707  *- if there is a license problem.
1708  **
1709  *4 Version 8.0.1
1710  **
1711  *- - Fixed issues with temporary characters not always being destroyed.
1712  *- - Fixed issues with temporary characters showing up in review
1713  *- playback.
1714  *- - Fixed issues with appearance effects being recycled properly.
1715  *- - Fixed problem with eyes not participating in gazing.
1716  *- - Rework of many examples in the programming_examples directory.
1717  *- Some new examples added, some older ones removed.
1718  *- - Added README.txt files to diguy_plugin examples that better describe
1719  *- what the examples show, and how to use them in DI-Guy Scenario.
1720  **
1721  *4 Version 8.0.0
1722  **
1723  *- - Initial 8.0 release candidate.
1724  *- - Setting of tin (T In) and tout (T Out) calls for characters have
1725  *- been tightened up. For example, a character's tin can no longer
1726  *- be set to before the current scenario t. It could be before, but
1727  *- would cause potential problems. Warning messages are printed to
1728  *- the log when improper tin or tout times are attempted.
1729  **
1730  *4 Version 7.1.20
1731  **
1732  *- - Added new diguySignal and diguyScenario functions:
1733  *>
1734  *- - diguySignal::set_info_text()
1735  *- - diguySignal::get_info_text()
1736  *- - diguyScenario::signal_palette_show_all()
1737  *- - diguyScenario::signal_palette_hide_all()
1738  *<
1739  *- - The signal info_text field allows signals to be tagged in the DI-Guy
1740  *- Scenario Signal Palette with text different than the signal name.
1741  *- The new show all and hide all functions take an optional filter
1742  *- that can be used to make the operation work on a subset of the
1743  *- signals.
1744  **
1745  *4 Version 7.1.19
1746  **
1747  *- - Fixed problem with vehicle_wheels character in which first frame
1748  *- of playback had wheels in incorrect position.
1749  *- - Improved documentation for diguyCharacter Performance Functions.
1750  *- - Improved documentation for diguyCharacter functions that
1751  *- deal with enabling and disabling characters in various ways.
1752  *- - Added functions:
1753  *>
1754  *- - diguyLoadManager::set_zone_all_blends_disabled()
1755  *- - diguyLoadManager::get_zone_all_blends_disabled()
1756  *- - diguyLoadManager::set_zone_shape_switches_disabled()
1757  *- - diguyLoadManager::get_zone_shape_switches_disabled()
1758  *- - diguyLoadManager::set_zone_shape_callbacks_disabled()
1759  *- - diguyLoadManager::get_zone_shape_callbacks_disabled()
1760  *- - diguyLoadManager::set_zone_graphics_api_shape_update_disabled()
1761  *- - diguyLoadManager::get_zone_graphics_api_shape_update_disabled()
1762  *- - diguyCharacter::get_is_active()
1763  *- - diguyCharacter::set_invisible_flag()
1764  *- - diguyCharacter::get_invisible_flag()
1765  *<
1766  *- - Added function diguyCharacterGroup::get_is_network_paused(), and
1767  *- deprecated function diguyCharacterGroup::get_paused()
1768  *- - Added function diguyCharacterGroup::get_visible(), and
1769  *- deprecated function diguyCharacterGroup::get_is_drawn()
1770  *- - Made the following functions callable from decisions:
1771  *>
1772  *- - diguyCharacter::get_is_network_paused()
1773  *- - diguyCharacter::get_is_network_published()
1774  *- - diguyCharacter::get_is_network_reflected()
1775  *<
1776  *4 Version 7.1.18
1777  **
1778  *- - Added functions:
1779  *>
1780  *- - diguy_extract_translation_and_euler_angles_from_matrix()
1781  *- - diguy_create_matrix_from_translation_and_euler_angles()
1782  *- - diguyCharacter::set_appearance()
1783  *- - diguyCharacter::get_aim_is_possible()
1784  *<
1785  *- - Changed the name of several experimental functions:
1786  *>
1787  *- - diguyCharacter::start_appearance_effect() -> diguyCharacter::begin_appearance_effect()
1788  *- - diguyCharacter::stop_appearance_effect() -> diguyCharacter::end_appearance_effect()
1789  *<
1790  *- - The following experimental functions were promoted to
1791  *- official API status:
1792  *>
1793  *- - diguyScenario::create_temporary_character()
1794  *- - diguyScenario::send_character_to_recycle_bin()
1795  *- - diguyScenario::retrieve_character_from_recycle_bin()
1796  *- - diguyScenario::set_playback_mode()
1797  *- - diguyScenario::set_playback_mode_stop()
1798  *- - diguyScenario::set_playback_mode_play()
1799  *- - diguyCharacter::get_is_temporary()
1800  *- - diguyCharacter::translate_all_paths()
1801  *- - diguyCharacter::rotate_all_paths_about_point()
1802  *- - diguyCharacter::rotate_all_paths_about_current_waypoint()
1803  *- - diguyCharacter::manually_invoke_event_handler()
1804  *<
1805  *- - The ability to change the tin ("T In") time of a scenario has been
1806  *- removed. THIS CHANGE WILL AFFECT SCENARIOS THAT USED THIS
1807  *- FUNCTIONALITY. Setting the tin of a scenario to anything other than
1808  *- 0 has always had unintended side-effects for DI-Guy, which is why
1809  *- this capability has been removed. The functions
1810  *- diguyScenario::set_tin() and diguyScenario::get_tin() are now
1811  *- deprecated as a result. (Note that diguyCharacter::set_tin()
1812  *- has not been changed.)
1813  **
1814  *4 Version 7.1.16
1815  **
1816  *- - Added the following functions:
1817  *>
1818  *- - diguyCharacter::set_initial_up_vector()
1819  *- - diguyCharacter::get_initial_up_vector()
1820  *- - diguyCharacter::get_up_vector()
1821  *<
1822  *4 Version 7.1.14
1823  **
1824  *- - Fixed issues with scenario merging. Chain settings and particle
1825  *- systems in particular did not merge well.
1826  **
1827  *4 Version 7.1.13
1828  **
1829  *- - The following experimental functions were promoted to
1830  *- official API status:
1831  *>
1832  *- - diguyCharacter::set_minimum_cpl()
1833  *- - diguyCharacter::get_minimum_cpl()
1834  *- - diguyCharacter::get_maximum_possible_current_cpl()
1835  *- - diguyCharacter::maximize_current_cpl()
1836  *- - diguyCharacter::set_automatic_cpl_switching_enabled()
1837  *- - diguyCharacter::get_automatic_cpl_switching_enabled()
1838  *- - diguyCharacter::set_current_cpl()
1839  *- - diguyCharacter::get_current_cpl()
1840  *- - diguyCharacter::set_position_accumulation_disabled()
1841  *- - diguyCharacter::get_position_accumulation_disabled()
1842  *- - diguyCharacter::set_all_blends_disabled()
1843  *- - diguyCharacter::get_all_blends_disabled()
1844  *- - diguyCharacter::set_shape_switches_disabled()
1845  *- - diguyCharacter::get_shape_switches_disabled()
1846  *- - diguyCharacter::set_shape_callbacks_disabled()
1847  *- - diguyCharacter::get_shape_callbacks_disabled()
1848  *- - diguyCharacter::set_graphics_api_shape_update_disabled()
1849  *- - diguyCharacter::get_graphics_api_shape_update_disabled()
1850  *- - diguyCharacter::optimized_update()
1851  *- - diguyCharacter::get_is_recycled()
1852  *- - diguyCharacter::get_last_impact_record()
1853  *- - diguyCharacter::get_last_impact_number()
1854  *- - diguyCharacter::get_last_impact_been_processed()
1855  *- - diguyCharacter::set_last_impact_been_processed()
1856  *- - diguyCharacter::get_last_impact_link()
1857  *- - diguyCharacter::get_last_impact_link_is()
1858  *- - diguyCharacter::set_weapon_projectile_is_visible()
1859  *- - diguyCharacter::get_weapon_projectile_is_visible()
1860  *- - diguyCharacter::start_appearance_effect()
1861  *- - diguyCharacter::stop_appearance_effect()
1862  *- - diguyApp::set_precompute_quaternions_enabled()
1863  *- - diguyApp::get_precompute_quaternions_enabled()
1864  *- - diguyApp::set_num_rendering_passes()
1865  *- - diguyApp::get_num_rendering_passes()
1866  *<
1867  *- - The following deprecated functions were removed:
1868  *>
1869  *- - diguyApp::set_use_varsets_enabled()
1870  *- - diguyApp::get_use_varsets_enabled()
1871  *- - diguyCharacterGroup::set_all_members_t()
1872  *<
1873  *4 Version 7.1.12
1874  **
1875  *- - Added new functions to diguyCharacter:
1876  *>
1877  *- - diguyCharacter::set_position_to_other_character_position()
1878  *- - diguyCharacter::set_desired_position_to_current_position()
1879  *- - diguyCharacter::set_desired_position_to_waypoint()
1880  *- - diguyCharacter::set_desired_position_to_path_waypoint()
1881  *- - diguyCharacter::set_desired_position_to_path_shape_waypoint()
1882  *- - diguyCharacter::find_guide()
1883  *<
1884  *4 Version 7.1.11
1885  **
1886  *- - The following functions were added to diguySensorRegion that
1887  *- make it easier to write callback handlers for sensor regions:
1888  *>
1889  *- - get_autosense_callback_candidate_entered()
1890  *- - get_autosense_callback_candidate_left()
1891  *<
1892  *- - Characters now fire live rounds by default when
1893  *- diguyCharacter::fire_weapon() is called. THIS IS A CHANGE
1894  *- FROM PREVIOUS DEFAULT BEHAVIOR.
1895  *- The old behavior can be restored in two ways:
1896  *>
1897  *- - In DI-Guy Scenario, the Weapon Params tab on the Character
1898  *- Elements palette has a checkbox called "Weapon Fires Live
1899  *- Rounds". The checkbox can be unchecked, followed by pressing
1900  *- the "Copy to All Characters" button.
1901  *- - In a program using the DI-Guy API, the function
1902  *- diguyCharacter::set_weapon_fires_live_rounds() can be called.
1903  *<
1904  *- - Character Labels Visibility is now set to 'None' in the default
1905  *- .dss file.
1906  *- - Added function to diguyCharacterGuide:
1907  *>
1908  *- - diguyCharacterGuide::remove_all_disabled_guides()
1909  *<
1910  *- - Made the following functions available to Decision Beads and Decision
1911  *- Events:
1912  *>
1913  *- - diguyCharacter::remove_all_guides()
1914  *- - diguyCharacter::remove_all_disabled_guides()
1915  *<
1916  *- - Removed DI-Guy Graphics API programming example
1917  *- ogl_examples_high_precision/simple_playback_high_precision.
1918  *- Replaced it with streamlined example
1919  *- ogl_examples/simple_playback_far_positions.
1920  *- - Fixed problem with props/scene objects showing up at origin
1921  *- in after-action review.
1922  **
1923  *4 Version 7.1.10
1924  **
1925  *- - Fixed a problem with the DI-Guy Graphics API that prevented
1926  *- textures on some characters from being correctly bound under
1927  *- certain circumstances.
1928  **
1929  *4 Version 7.1.9
1930  **
1931  *- - The following optional functions were added to plugins:
1932  *>
1933  *- - void key_press()
1934  *- - void key_release()
1935  *<
1936  *- - Added diguyIGuyController class for C++ and script control over
1937  *- the I-Guy character.
1938  *- - Setting the dead reckoning time threshold is now done by setting the
1939  *- variable time_threshold in the network.cfg file. The variable
1940  *- tick_period has been deprecated and will no longer have any effect.
1941  *- The default value is 5 seconds.
1942  **
1943  *4 Version 7.1.8
1944  **
1945  *- - Added callback and event handling support for scenario variables:
1946  *>
1947  *- - diguyScenario::add_default_variable_callback()
1948  *- - diguyScenario::remove_default_variable_callback()
1949  *- - diguyScenario::remove_default_variable_callback_with_user_data()
1950  *- - diguyScenario::add_default_variable_callback_script()
1951  *- - diguyScenario::remove_default_variable_callback_script()
1952  *- - diguyScenario::register_variable_event_handler()
1953  *- - diguyScenario::register_variable_event_handler_from_library()
1954  *- - diguyScenario::register_variable_event_handler_script()
1955  *- - diguyScenario::has_registered_variable_event_handler()
1956  *- - diguyScenario::unregister_variable_event_handler()
1957  *- - diguyVariable::CALLBACK_ID_VALUE_CHANGED
1958  *- - diguyVariable::add_callback()
1959  *- - diguyVariable::remove_callback()
1960  *- - diguyVariable::remove_callback_with_user_data()
1961  *- - diguyVariable::add_callback_script()
1962  *- - diguyVariable::remove_callback_script()
1963  *- - diguyVariable::map_event_handler_to_callback_id()
1964  *- - diguyVariable::unmap_event_handler_from_callback_id()
1965  *<
1966  *4 Version 7.1.7
1967  **
1968  *- - Added parameters polygon_offset_factor and polygon_offset_units
1969  *- to bdiGraphicsInitOgl structure to allow for better control
1970  *- over subface rendering in OpenGL.
1971  *- - Addressed some issues with diguyGraphicsLink and far positions.
1972  **
1973  *4 Version 7.1.6
1974  **
1975  *- - Added functions to diguySensorRegion:
1976  *>
1977  *- - diguySensorRegion::contains_character_from_group()
1978  *<
1979  *- - Added experimental functions
1980  *- diguyScenario::create_temporary_character() and
1981  *- diguyCharacter::get_is_temporary(). These functions allow
1982  *- for the creation of 'temporary' characters that are not saved
1983  *- in a .dss file and are recycled on scenario reset. Temporary
1984  *- characters are useful as fired munitions, effects, etc.
1985  *- - Added functions to diguyCharacterGuide:
1986  *>
1987  *- - diguyCharacterGuide::get_position_acquired()
1988  *- - diguyCharacterGuide::get_orientation_acquired()
1989  *<
1990  *- - Added new callbacks to diguyCharacter:
1991  *>
1992  *- - diguyCharacter::CALLBACK_ID_GUIDE_POSITION_ACQUIRED
1993  *- - diguyCharacter::CALLBACK_ID_GUIDE_POSITION_UNACQUIRED
1994  *- - diguyCharacter::CALLBACK_ID_GUIDE_ORIENTATION_ACQUIRED
1995  *- - diguyCharacter::CALLBACK_ID_GUIDE_ORIENTATION_UNACQUIRED
1996  *- - diguyCharacter::CALLBACK_ID_CURRENT_TOUT_REACHED
1997  *<
1998  *- - Added function diguyCharacter::set_custom_orientation_rx_and_ry().
1999  *- This function allows the roll and pitch components of a
2000  *- character to be set without taking the character off of its
2001  *- current path, if there is one. The character's up vector
2002  *- (as set by diguyCharacter::set_up_vector()) must be 'c'
2003  *- (custom) for these values to have an effect.
2004  *- - Added new distance calculation functions:
2005  *>
2006  *- - diguyCharacter::get_distance_to_character()
2007  *- - diguyCharacter::get_distance_xy_to_character()
2008  *- - diguyCharacter::get_distance_to_path()
2009  *<
2010  *- - Added new experimental functions for locating a nearby character.
2011  *- These functions have a check_visibility argument; if 1, the
2012  *- function will do a simple ray trace against scene object geometry.
2013  *>
2014  *- - diguyCharacter::get_nearest_active_character()
2015  *- - diguyCharacter::get_nearest_active_character_in_group()
2016  *<
2017  *- - Added diguySensorRegion::contains_character_by_type()
2018  *- - Added diguyCharacter::force_local_path() new function that
2019  *- can grab a preexisting path. copy and transform it into the
2020  *- local space of the character and switch to it.
2021  *- - Removed function diguy_dis_get_action_from_entity_state() from
2022  *- diguy_module_dis.h. diguyCharacter::get_action_from_entity_state()
2023  *- should be called instead to map DIS values to an action.
2024  **
2025  *4 Version 7.1.5
2026  **
2027  *- - Added experimental transformation functions for paths:
2028  *>
2029  *- - diguyCharacterPath::translate()
2030  *- - diguyCharacterPath::rotate_about_point()
2031  *- - diguyPathShape::translate()
2032  *- - diguyPathShape::rotate_about_point()
2033  *<
2034  *- - Added experimental performance tuning functions:
2035  *>
2036  *- - diguyScenario::send_character_to_recycle_bin()
2037  *- - diguyScenario::retrieve_character_from_recycle_bin()
2038  *<
2039  *- - Deprecated experimental performance tuning functions:
2040  *>
2041  *- - diguyApp::set_use_varsets_enabled()
2042  *- - diguyApp::get_use_varsets_enabled()
2043  *<
2044  *4 Version 7.1.4
2045  **
2046  *- - Added function diguyCharacterPath::get_path_shape(), that
2047  *- provides access to a path's underlying path shape.
2048  *- - Added functions diguyCharacter::get_nearest_active_character()
2049  *- and diguyCharacter::get_nearest_active_character_in_group().
2050  *- These functions will walk through either all characters or all
2051  *- characters in a group, and return the nearest character that is
2052  *- both alive and enabled. An optional argument specifies whether
2053  *- to skip characters that are invisible to the caller because a
2054  *- scene object is in the way.
2055  *- - Added convenience functions diguyCharacter::get_distance() and
2056  *- diguyCharacter::get_distance_xy() for getting the distance
2057  *- between two characters.
2058  **
2059  *4 Version 7.1.3
2060  **
2061  *- - Deprecated diguyChainSimulation::set_connection_character()
2062  *- function. Replaced with
2063  *- diguyChainSimulation::set_chain_mass_connection_character().
2064  *- - Added ability to set all chain mass positions in the
2065  *- call diguyChainSimulation::set_chain_mass_position()
2066  *- by passing -1 for the chain_mass_index.
2067  *- - Added ability to fix all chain mass positions in the
2068  *- call diguyChainSimulation::set_chain_mass_position_is_fixed()
2069  *- by passing -1 for the chain_mass_index.
2070  *- - Added aiming ability for characters with turrets.
2071  *- - Fixed problems with debug versions of programming examples
2072  *- that caused heap corruption on some Windows systems.
2073  **
2074  *4 Version 7.1.2
2075  **
2076  *- - Added new callback to diguyCharacter:
2077  *>
2078  *- - diguyCharacter::CALLBACK_ID_DESIRED_ACTION_REACHED
2079  *<
2080  *4 Version 7.1.1
2081  **
2082  *- - Added a new experimental character type called "chain_simulation"
2083  *- that can do realtime simulation of chains, ropes, and hoses.
2084  *- The appearance of the chain_simulation character determines its
2085  *- simulation settings. Chain simulation settings are created and
2086  *- on the DI-Guy Scenario Chain Sim Settings page, or via the
2087  *- diguyChainSettings class. Runtime parameters of the chain
2088  *- simulation are set by obtaining a diguyChainSimulation object
2089  *- via the diguyCharacter::get_chain_simulation() call.
2090  *- - Fixed issues with diguyCharacter::set_current_appearance().
2091  *- 0 was returned even if appearance change failed; not correctly
2092  *- returns -1 on failure.
2093  *- - Added new experimental functions to event bead classes. These
2094  *- functions make it possible to specify that event beads should
2095  *- begin and/or when a specific action bead or waypoint is reached.
2096  *- Members are:
2097  *>
2098  *- - diguyCharacterPathAimBead::get_begin_at_object_name()
2099  *- - diguyCharacterPathAimBead::set_begin_at_object_name()
2100  *- - diguyCharacterPathAimBead::get_end_at_object_name()
2101  *- - diguyCharacterPathAimBead::set_end_at_object_name()
2102  *- - diguyCharacterPathDecisionBead::get_begin_at_object_name()
2103  *- - diguyCharacterPathDecisionBead::set_begin_at_object_name()
2104  *- - diguyCharacterPathDecisionBead::get_end_at_object_name()
2105  *- - diguyCharacterPathDecisionBead::set_end_at_object_name()
2106  *- - diguyCharacterPathGazeBead::get_begin_at_object_name()
2107  *- - diguyCharacterPathGazeBead::set_begin_at_object_name()
2108  *- - diguyCharacterPathGazeBead::get_end_at_object_name()
2109  *- - diguyCharacterPathGazeBead::set_end_at_object_name()
2110  *- - diguyCharacterPathScriptBead::get_begin_at_object_name()
2111  *- - diguyCharacterPathScriptBead::set_begin_at_object_name()
2112  *- - diguyCharacterPathScriptBead::get_end_at_object_name()
2113  *- - diguyCharacterPathScriptBead::set_end_at_object_name()
2114  *<
2115  *- - Function diguyApp::load_plugin() has three new optional arguments:
2116  *- required_by_scenario, unload_on_scenario_close, and
2117  *- accepts_mouse_input.
2118  *- - Added functions to diguyImpact:
2119  *>
2120  *- - diguyImpact::get_location_in_link_coordinates()
2121  *<
2122  *- - Added functions to diguyScenario:
2123  *>
2124  *- - diguyScenario::get_impact_at_screen_coords()
2125  *<
2126  *- - Added functions to diguyCharacter:
2127  *>
2128  *- - diguyCharacter::set_label_text_shadow_color()
2129  *- - diguyCharacter::get_label_text_shadow_color()
2130  *- - diguyCharacter::set_label_text_shadow_is_visible()
2131  *- - diguyCharacter::get_label_text_shadow_is_visible()
2132  *<
2133  *- - Character label information is now saved in the scenario
2134  *- file and restored when the scenario is loaded.
2135  **
2136  *4 Version 7.1.0
2137  **
2138  *- - Added function diguy_get_app(), a cleaner function for
2139  *- retrieving the diguyApp object than diguyApp::get_app().
2140  *- - Added experimental transformation functions for paths:
2141  *>
2142  *- - diguyCharacter::translate_all_paths()
2143  *- - diguyCharacter::rotate_all_paths_about_point()
2144  *- - diguyCharacter::rotate_all_paths_about_current_waypoint()
2145  *- - diguyCharacterGroup::translate_all_paths()
2146  *- - diguyCharacterGroup::rotate_all_paths_about_point()
2147  *- - diguyCharacterGroup::rotate_all_paths_about_current_waypoint()
2148  *<
2149  *- - Added functions diguyApp::get_diguy_base_dir() and
2150  *- diguyApp::get_diguy_subdir().
2151  *- - Added diguyCharacter::get_parent() function.
2152  *- - Added diguyViewLight::set_shadowmap_size() and
2153  *- diguyViewLight::get_shadowmap_size(); allows setting shadow
2154  *- map resolution.
2155  *- Must be a power of 2.
2156  *- - Made various internal performance enhancements for scenario
2157  *- updates.
2158  *- - Fixed a problem with motion LODs updating all links every
2159  *- now and then, even if the current action hasn't changed.
2160  *- - Made the scenario be able to go past 60000 seconds. Now a
2161  *- scenario tout greater than 60000 seconds is interpreted as
2162  *- unlimited.
2163  *- - Fixed a problem with motion LODs updating too many links.
2164  *- - Made various internal performance enhancements for scenario
2165  *- updates.
2166  *- - Added performance tuning functions:
2167  *>
2168  *- - diguyCharacter::set_automatic_cpl_switching_enabled()
2169  *- - diguyCharacter::get_automatic_cpl_switching_enabled()
2170  *- - diguyCharacter::set_minimum_cpl()
2171  *- - diguyCharacter::get_minimum_cpl()
2172  *- - diguyCharacter::get_maximum_possible_current_cpl()
2173  *- - diguyCharacter::maximize_current_cpl()
2174  *- - diguyCharacter::get_current_cpl()
2175  *- - diguyCharacter::set_position_accumulation_disabled()
2176  *- - diguyCharacter::get_position_accumulation_disabled()
2177  *- - diguyCharacter::set_all_blends_disabled()
2178  *- - diguyCharacter::get_all_blends_disabled()
2179  *- - diguyCharacter::set_shape_switches_disabled()
2180  *- - diguyCharacter::get_shape_switches_disabled()
2181  *- - diguyCharacter::set_shape_callbacks_disabled()
2182  *- - diguyCharacter::get_shape_callbacks_disabled()
2183  *- - diguyCharacter::set_graphics_api_shape_update_disabled()
2184  *- - diguyCharacter::get_graphics_api_shape_update_disabled()
2185  *- - diguyCharacter::optimized_update()
2186  *- - diguyScenario::optimized_update()
2187  *- - diguyScenario::send_character_to_recycle_bin()
2188  *- - diguyScenario::retrieve_character_from_recycle_bin()
2189  *- - diguyGraphicsLink::get_data_ptr()
2190  *- - diguyGraphicsLink::get_translation_data_index()
2191  *- - diguyGraphicsLink::get_rotation_data_index()
2192  *- - diguyGraphicsLink::get_scale_data_index()
2193  *- - diguyGraphicsLink::get_quat_data_ptr()
2194  *- - diguyGraphicsLink::get_quat_data_index()
2195  *- - diguyApp::set_use_varsets_enabled()
2196  *- - diguyApp::get_use_varsets_enabled()
2197  *- - diguyApp::set_precompute_quaternions_enabled()
2198  *- - diguyApp::get_precompute_quaternions_enabled()
2199  *<
2200  *4 Version 7.0.9
2201  **
2202  *- - Rewrote portions of network mapping code, custom pdus/specialized
2203  *- motions will now work with more characters.
2204  *- This requires a new version of data, but any character that has
2205  *- been properly tagged with variants and postures should transmit
2206  *- better.
2207  *- - Rewrote speed code, networked characters should scale speed to
2208  *- try and match packets that are coming in.
2209  **
2210  *4 Version 7.0.8
2211  **
2212  *- - Trying to get the position of a invalid link will behave a bit
2213  *- better.
2214  **
2215  *4 Version 7.0.6
2216  **
2217  *- - Creating a path when a character has none will properly set
2218  *- the initial path name.
2219  **
2220  *4 Version 7.0.5
2221  **
2222  *- - Fixed a crash that sometimes happened while reading comments
2223  *- out of texture .attr files.
2224  **
2225  *4 Version 7.0.3
2226  **
2227  *- - Fixed a problem with the diguyGraphicsShape::update() function not
2228  *- always being called.
2229  *- - Fixed various bugs with VR-Link and DI-Guy time sync code.
2230  *- - Added warning if diguyCharacter::set_desired_action() is called
2231  *- with 0.0f as the speed.
2232  **
2233  *4 Version 7.0.2
2234  **
2235  *- - Fixed a problem with gazing and aiming not zeroing in on the
2236  *- correct positions when using DI-Guy for Vega.
2237  **
2238  *4 Version 7.0.1
2239  **
2240  *- - Deprecated "named_callback" functions in diguyApp. Event handler
2241  *- functions should be used instead.
2242  *- - Renamed some diguyViewCamera functions:
2243  *>
2244  *- - diguyViewCamera::get_world_offset_position() has become
2245  *- diguyViewCamera::get_segment_origin()
2246  *- - diguyViewCamera::get_local_position() has become
2247  *- diguyViewCamera::get_position_segment_offset()
2248  *- - diguyViewCamera::get_local_fix() has become
2249  *- diguyViewCamera::get_fix_segment_offset()
2250  *<
2251  *- - Added function diguyCharacterGroup::update_all_members(), and
2252  *- deprecated function diguyCharacterGroup::set_all_members_t()
2253  *- - Fixed problem with deleting one scenario and creating another
2254  *- causing a crash.
2255  *- - Fixed crash problem with function diguy_set_cfg_file().
2256  *- - Changed the default settings of automatic switching of graphics
2257  *- LODs and motion LODs, as set by
2258  *- diguyScenario::set_automatic_graphics_lod_switching() and
2259  *- diguyScenario::set_automatic_motion_lod_switching(). Previously
2260  *- automatic LOD switching was always enabled unless explicitly
2261  *- disabled by calling the above functions. Now automatic LOD
2262  *- switching will be disabled by default in DI-Guy API applications,
2263  *- but remain enabled by default in DI-Guy Scenario.
2264  *- - Added the following functions for adding and removing appearances:
2265  *>
2266  *- - diguyScenario::add_appearance()
2267  *- - diguyScenario::add_appearance_based_on_existing_appearance()
2268  *- - diguyScenario::remove_appearance()
2269  *<
2270  *- - diguyScenario::add_custom_appearance() deprecated;
2271  *- use diguyScenario::add_appearance().
2272  *- - diguyScenario::add_custom_appearance_based_on_existing_appearance()
2273  *- deprecated; use
2274  *- diguyScenario::add_appearance_based_on_existing_appearance().
2275  *- - Promoted the following functions from experimental to
2276  *- official status:
2277  *>
2278  *- - diguyCharacter::get_label_text()
2279  *- - diguyCharacter::set_label_text()
2280  *- - diguyCharacter::get_label_is_visible()
2281  *- - diguyCharacter::set_label_is_visible()
2282  *- - diguyCharacter::set_label_text_color()
2283  *- - diguyCharacter::get_label_text_color()
2284  *- - diguyCharacter::set_label_background_color()
2285  *- - diguyCharacter::get_label_background_color()
2286  *<
2287  *- - Removed diguyLoadManager camera functions (load manager camera
2288  *- now always tracks the scenario's primary view camera):
2289  *>
2290  *- - diguyLoadManager::add_camera()
2291  *- - diguyLoadManager::add_view_camera()
2292  *- - diguyLoadManager::move_camera()
2293  *- - diguyLoadManager::change_view_camera_settings()
2294  *- - diguyLoadManager::remove_camera()
2295  *- - diguyLoadManager::remove_all_cameras()
2296  *<
2297  *4 Version 7.0.0
2298  **
2299  *- - Fixed problem with diguyCharacter::set_speed(). The set speed
2300  *- was being reset to the action's default speed after a short time,
2301  *- which is not correct behavior.
2302  *- - Changed values returned by diguyCharacter::get_aim_azimuth()
2303  *- and diguyCharacter::get_aim_elevation() to be character-
2304  *- relative rather than world-relative.
2305  **
2306  *4 Version 6.1.10
2307  **
2308  *- - Fixed event propagation bug when event tout is -1 and scenario
2309  *- tout is changed.
2310  *- - Added optional actor argument to
2311  *- diguyScenario::add_custom_appearance() function. This
2312  *- fixes a problem with characters not being able to switch
2313  *- to custom appearances with
2314  *- diguyCharacter::set_current_appearance() because of actors
2315  *- being different.
2316  *- - Added simple_playback_high_precision and view_far_position that
2317  *- demonstrate off the use of high precision position values.
2318  **
2319  *4 Version 6.1.9
2320  **
2321  *- - Fixed problem with various diguyWaypoint "get" functions
2322  *- that return angles (e.g., diguyWaypoint::get_yaw_in());
2323  *- they weren't properly returning angles in degrees.
2324  *- - Fixed problem with merging scenarios: merged waypoints at
2325  *- the origin were not being rotated correctly.
2326  *- - Fixed problem with config file appearance syntax. The
2327  *- item "shapeset:shape" format caused a crash; it now works
2328  *- again.
2329  *- - Fixed problems with required plug-in list not saving or
2330  *- resetting properly.
2331  **
2332  *4 Version 6.1.8
2333  **
2334  *- - Far positions rendering are now off by default, though
2335  *- DI-Guy Scenario and DI-Guy Scenario UI V6 turn them on.
2336  *- Practically this means that while internally things are
2337  *- done at a higher precision format, the render camera being
2338  *- in local space will be a change that needs to be explicitly
2339  *- asked for.
2340  *- - Added the following functions for controlling far position
2341  *- state:
2342  *>
2343  *- - diguy_ogl_get_use_far_positions()
2344  *- - diguy_ogl_set_use_far_positions()
2345  *- - diguy_graphics_get_use_far_positions()
2346  *- - diguy_graphics_set_use_far_positions()
2347  *<
2348  *- - Added accessors for setting character and scene object culling
2349  *- on/off.
2350  *>
2351  *- - diguyScenario::set_character_culling_enabled()
2352  *- - diguyScenario::get_character_culling_enabled()
2353  *- - diguyScenario::set_scene_object_culling_enabled()
2354  *- - diguyScenario::get_scene_object_culling_enabled()
2355  *<
2356  *- - Added accessors for setting character and scene object bounding
2357  *- volume visualization on/off. (only works for OpenGL)
2358  *>
2359  *- - diguyScenario::set_character_visualize_bounds_enabled()
2360  *- - diguyScenario::get_character_visualize_bounds_enabled()
2361  *- - diguyScenario::set_scene_object_visualize_bounds_enabled()
2362  *- - diguyScenario::get_scene_object_visualize_bounds_enabled()
2363  *<
2364  *- - Fixed a bug with diguyCharacter::set_current_appearance().
2365  *- - Added warning message if a proposed appearance change is null;
2366  *- fixes crash bug.
2367  *- - diguyScenario::trigger_script_event() deprecated;
2368  *- use diguyScenario::trigger_script().
2369  *- - Added function diguyScenario::trigger_decision().
2370  **
2371  *4 Version 6.1.7
2372  **
2373  *- - Added new experimental functions. (Experimental
2374  *- functions are typically for probationary features whose final
2375  *- functionality or API has not been fully worked out.)
2376  *>
2377  *- - diguyCharacter::set_weapon_projectile_is_visible()
2378  *- - diguyCharacter::get_weapon_projectile_is_visible()
2379  *- - diguyCharacter::get_label_text()
2380  *- - diguyCharacter::set_label_text()
2381  *- - diguyCharacter::get_label_is_visible()
2382  *- - diguyCharacter::set_label_is_visible()
2383  *- - diguyCharacter::set_label_text_color()
2384  *- - diguyCharacter::get_label_text_color()
2385  *- - diguyCharacter::set_label_background_color()
2386  *- - diguyCharacter::get_label_background_color()
2387  *- - diguyScenario::find_character_at_screen_coords()
2388  *- - diguyScenario::set_playback_mode()
2389  *- - diguyScenario::set_playback_mode_stop()
2390  *- - diguyScenario::set_playback_mode_play()
2391  *<
2392  *- - Removed the function diguyLoadManager::set_enable_culling().
2393  *- - Added optional arguments initial_posture and initial_variant
2394  *- to diguyScenario::set_iguy_character().
2395  *- - Added function diguyScenario::get_time_of_day().
2396  *- - Fixed bug in diguyCharacter::is_speaking(). It was
2397  *- sometimes improperly returning FALSE.
2398  *- - Added the following functions that control whether the scenario
2399  *- will be reset (as if diguyScenario::reset() were called) when
2400  *- a merge happens:
2401  *>
2402  *- - diguyScenarioMergeSettings::set_reset_flag()
2403  *- - diguyScenarioMergeSettings::get_reset_flag()
2404  *<
2405  *- - Now incoming XC_MERGE_SCENARIO PDUs do not cause the running
2406  *- scenario to stop and reset.
2407  *- - Now incoming XC_MERGE_SCENARIO PDUs cause a
2408  *- XC_MERGE_SCENARIO_COMPLETE PDU to be sent when the merge
2409  *- operation is done.
2410  *- - Now incoming XC_LOAD_SCENARIO PDUs cause a
2411  *- XC_LOAD_SCENARIO_COMPLETE PDU to be sent when the load
2412  *- operation is complete.
2413  *- - Added the following functions:
2414  *>
2415  *- - diguyExerciseInterface::send_pdu_xc_eval_script()
2416  *- - diguyExerciseInterface::send_pdu_xc_time_now()
2417  *<
2418  *- - Now incoming XC_TIME_NOW messages cause the scenario to chase
2419  *- sync.
2420  *- - Now incoming XC_EVAL_SCRIPT messages cause the script therein
2421  *- to be evaluated.
2422  *- - diguyScenario::load() has been changed to not accept .flt
2423  *- filenames. The new function diguyScenario::create_scene_object()
2424  *- should be used instead.
2425  *- - Added the following functions:
2426  *>
2427  *- - diguyScenario::create_scene_object()
2428  *- - diguyScenario::destroy_scene_object()
2429  *<
2430  *- - Fixed problem with DX99 version of the library that prevented
2431  *- gazing from working correctly.
2432  *- - Added better detection of and error message for missing
2433  *- DI-Guy Data installation.
2434  *- - Renamed experimental "shot" class, function names, and
2435  *- callback ids to use the more generic term "impact":
2436  *>
2437  *- - diguyShot
2438  *>
2439  *- - diguyShot (class name) -> diguyImpact
2440  *- - get_shooter_name() -> get_attacker_name()
2441  *- - get_shooter() -> get_attacker()
2442  *- - get_shot_number() -> get_impact_number()
2443  *- - set_shot_number() -> set_impact_number()
2444  *- - get_shot_been_processed() -> get_impact_been_processed()
2445  *- - set_shot_been_processed() -> set_impact_been_processed()
2446  *<
2447  *- - diguyCharacter
2448  *>
2449  *- - CALLBACK_ID_GOT_SHOT -> CALLBACK_ID_IMPACT
2450  *- - CALLBACK_ID_SHOT_SUCCESS -> CALLBACK_ID_FIRE_WEAPON_SUCCESS
2451  *- - get_last_shot_record() -> get_last_impact_record()
2452  *- - get_last_shot_number() -> get_last_impact_number()
2453  *- - get_last_shot_been_processed() -> get_last_impact_been_processed()
2454  *- - set_last_shot_been_processed() -> set_last_impact_been_processed()
2455  *- - get_last_shot_link() -> get_last_impact_link()
2456  *- - get_last_shot_link_is() -> get_last_impact_link_is()
2457  *- - set_max_shot_hits() -> set_max_impact_hits()
2458  *<
2459  *- - diguyScenario
2460  *>
2461  *- - CALLBACK_ID_ENVIRONMENTAL_DETONATION -> CALLBACK_ID_SCENE_OBJECT_IMPACT
2462  *- - get_last_env_shot_info() -> get_last_env_impact_info()
2463  *<
2464  *<
2465  *- - Added function diguyExerciseInterface::send_pdu_xc_time_now().
2466  *- - Added code to properly respond to incoming XC_TIME_NOW PDUs.
2467  **
2468  *4 Version 6.1.6
2469  **
2470  *- - Added functions and diguyExerciseInterface class for
2471  *- enhanced networking support:
2472  *>
2473  *- - diguyApp::get_exercise_interface()
2474  *- - diguyExerciseInterface::send_pdu_xc_load_scenario()
2475  *- - diguyExerciseInterface::send_pdu_xc_merge_scenario()
2476  *- - diguyExerciseInterface::send_pdu_xc_trigger_script()
2477  *- - diguyExerciseInterface::send_pdu_xc_control()
2478  *- - diguyScenario::set_tin_time_of_day()
2479  *- - diguyScenario::get_tin_time_of_day()
2480  *<
2481  *- - Added new functions diguyView::get_width() and
2482  *- diguyView::get_height().
2483  *- - Experimental plugin infrastructure has been reworked a fair amount.
2484  *>
2485  *- - Function diguyScenario::add_plugin() has been changed to
2486  *- diguyApp::load_plugin().
2487  *- - Function diguyScenario::remove_plugin() has been changed to
2488  *- diguyApp::unload_plugin().
2489  *- - The following functions will be imported when a plugin
2490  *- is loaded. Note that not only diguy_version() must be
2491  *- implemented:
2492  *>
2493  *- - void diguy_version(int* version_major, int* version_minor, int* version_point)
2494  *- - void initialize_plugin(diguyApp* app)
2495  *- - void deinitialize_plugin(diguyApp* app)
2496  *- - void initialize(diguyScenario* s)
2497  *- - void deinitialize(diguyScenario* s)
2498  *- - void pre_update(diguyScenario* s)
2499  *- - void post_update(diguyScenario* s)
2500  *- - void pre_draw(diguyScenario* s)
2501  *- - void post_draw(diguyScenario* s)
2502  *- - void reset(diguyScenario* s)
2503  *- - diguyPluginMouseCursor get_mouse_cursor(diguyScenario* s)
2504  *- - void mouse_press(diguyScenario* s, diguyPluginMouseEvent* mouse_event)
2505  *- - void mouse_drag(diguyScenario* s, diguyPluginMouseEvent* mouse_event)
2506  *- - void mouse_release(diguyScenario* s, diguyPluginMouseEvent* mouse_event)
2507  *- - void mouse_move(diguyScenario* s, diguyPluginMouseEvent* mouse_event)
2508  *- - void save_review_data(diguyScenario* s, const char* filename)
2509  *- - void load_review_data(diguyScenario* s, const char* filename)
2510  *<
2511  *<
2512  *- - Added an additional argument, merge_settings, to the
2513  *- diguyScenario::merge() function.
2514  *- - Added the following functions to enable better control of
2515  *- merging scenarios:
2516  *>
2517  *- - diguyScenario::create_merge_settings()
2518  *- - diguyScenario::destroy_merge_settings()
2519  *<
2520  *- - Added the following functions:
2521  *>
2522  *- - diguyCharacter::revive_now()
2523  *<
2524  *- - Added the following functions in support of 3D positional sound:
2525  *>
2526  *- - diguyCharacter::set_default_weapon_sound()
2527  *- - diguyCharacter::get_default_weapon_sound()
2528  *- - diguyCharacter::set_default_weapon_sound_gain()
2529  *- - diguyCharacter::get_default_weapon_sound_gain()
2530  *- - diguyCharacter::play_3d_sound()
2531  *- - diguySoundInstance::set_is_3d_sound_flag()
2532  *- - diguySoundInstance::get_is_3d_sound_flag()
2533  *<
2534  *- - Added new optional argument "gain" to diguyCharacter::play_sound()
2535  *- function.
2536  *- - Made following functions available to Decision Beads and Decision
2537  *- Events:
2538  *>
2539  *- - diguyCharacter::aim_at_character()
2540  *- - diguyCharacter::end_aim()
2541  *- - diguyCharacter::end_gaze()
2542  *- - diguyCharacter::end_lpoint()
2543  *- - diguyCharacter::gaze_at_character()
2544  *- - diguyCharacter::lpoint_at_character()
2545  *- - diguyCharacter::resume_interrupted_path()
2546  *- - diguyCharacter::play_3d_sound()
2547  *<
2548  *- - Removed unused variable "working_directory" from bdiExFaceInit
2549  *- structure. Replaced with variable "placeholder", leaving the
2550  *- option open for future init variables. Calls passing NULL for
2551  *- the bdiExFaceInit structure to diguy_exface_initialize() will
2552  *- not need to change.
2553  *- - Fixed problem with Decision Bead that incorrectly put function
2554  *- variable_less_than_string() in variable query functions instead
2555  *- of character query functions.
2556  *- - Added script_type argument to diguyScenario::eval_script() and
2557  *- diguyScenario::eval_script_file() functions.
2558  **
2559  *4 Version 6.1.5
2560  **
2561  *- - Fixed problem that newly created characters were not
2562  *- appearing until the next scenario tick dt boundary was
2563  *- crossed.
2564  *- - diguyCharacter::set_t() deprecated;
2565  *- use diguyCharacter::update().
2566  *- - Added new function diguyCharacterPath::get_length().
2567  *- - Fixed potential crash from call to function
2568  *- diguyCharacterPath::update().
2569  *- - Character positions now stored in higher precision format.
2570  *>
2571  *- - Added new functions:
2572  *>
2573  *- - diguyCharacter::set_position_double()
2574  *- - diguyCharacter::get_position_double()
2575  *- - diguyCharacter::get_link_position_double()
2576  *- - diguyCharacter::get_link_position_with_offset_double()
2577  *- - diguyGraphicsLink::get_translation_double()
2578  *- - diguyViewCamera::get_position_double()
2579  *<
2580  *- - New local space camera. DI-Guy can now render in the local
2581  *- space of the camera. This allows DI-Guy to avoid putting
2582  *- large values on the rendering stack, avoiding numerical
2583  *- imprecision on objects that are far from the origin.
2584  *- - Added new local space camera functions:
2585  *>
2586  *- - diguyScenario::set_render_camera()
2587  *- - diguyViewCamera::get_local_fix()
2588  *- - diguyViewCamera::get_local_position()
2589  **
2590  ** In OpenGL, use gluLookAt(local_position_x, local_position_y,
2591  ** local_position_z, local_fix_x, local_fix_y, local_fix_z,
2592  ** 0.0, 0.0, 1.0); to emulate the DI-Guy camera.
2593  *<
2594  *<
2595  *4 Version 6.1.4
2596  **
2597  *- - Added new function diguyGraphicsShape::get_is_hidden().
2598  *- - Added new functions to diguyCharacterGroup class:
2599  *>
2600  *- - diguyCharacterGroup::get_num_members()
2601  *- - diguyCharacterGroup::get_member_at_index()
2602  *<
2603  *- - Added new functions to diguySensorRegion class:
2604  *>
2605  *- - diguySensorRegion::add_characters_in_region_to_group()
2606  *- - diguySensorRegion::add_candidate_characters_in_region_to_group()
2607  *<
2608  *- - Removed unused functions from diguySensorRegion class:
2609  *>
2610  *- - diguySensorRegion::get_characters_in_region()
2611  *- - diguySensorRegion::update_characters_in_region()
2612  *- - diguySensorRegion::update_candidate_characters_in_region()
2613  *<
2614  *4 Version 6.1.3
2615  **
2616  *- - Added new utility function diguy_convert_euler_angle_order().
2617  *- This function should help DI-Guy API users convert the DI-Guy
2618  *- standard Euler angle order of ZXY (yaw then roll then pitch)
2619  *- into other Euler angle orders.
2620  *- - Added new argument rampup_interval to function
2621  *- diguyCharacter::add_motion_texture(). This function makes it
2622  *- possible to more smoothly enter a motion texture. Previously
2623  *- the rampup was hard-coded to 0.2 seconds. If the function
2624  *- is to end existing motion textures, it also uses the passed
2625  *- rampup interval as the rampdown interval for ending the
2626  *- existing motion textures.
2627  *- - Fixed annoying error message that was printed when motion textures
2628  *- ended.
2629  *- - Added new variants that can be added to custom motions:
2630  *>
2631  *- - DIGUY_MOTION_VARIANT_MISC0
2632  *- - DIGUY_MOTION_VARIANT_MISC1
2633  *- - DIGUY_MOTION_VARIANT_MISC2
2634  *- - DIGUY_MOTION_VARIANT_MISC3
2635  *- - DIGUY_MOTION_VARIANT_MISC4
2636  *- - DIGUY_MOTION_VARIANT_MISC5
2637  *- - DIGUY_MOTION_VARIANT_MISC6
2638  *- - DIGUY_MOTION_VARIANT_MISC7
2639  *- - DIGUY_MOTION_VARIANT_MISC8
2640  *- - DIGUY_MOTION_VARIANT_MISC9
2641  *<
2642  *4 Version 6.1.2
2643  **
2644  *- - Changed win32 programming examples so that when examples are
2645  *- compiled for different versions of LIBC (i586_md_debug as
2646  *- opposed to i586_md, for example), the object files will be
2647  *- placed in separate directories.
2648  *- - Added new function calls that will free memory allocated by
2649  *- the DI-Guy Graphics API loader once platform-specific objects
2650  *- have been created:
2651  *>
2652  *- - diguyGraphicsMaterial::free_loader_memory()
2653  *- - diguyGraphicsMesh::free_loader_memory()
2654  *- - diguyGraphicsState::free_loader_memory()
2655  *- - diguyGraphicsTexture::free_loader_memory()
2656  *<
2657  *- - Fixed a problem with gazing in which a character with orientation
2658  *- change enabled would do an extra shuffle to the left and back
2659  *- again when the character was already facing the gaze angle at
2660  *- gaze start.
2661  *- - Added new side-effects to characters that die, including those
2662  *- for which the diguyCharacter::die_now() function is called:
2663  *>
2664  *- - all aiming is ended
2665  *- - all gazing is ended
2666  *- - all pointing is ended
2667  *- - head nodding and shaking are stopped
2668  *- - all gestures are aborted
2669  *- - all sounds originated by the character are stopped
2670  *<
2671  *- - Added new function call limitations to dead characters. The
2672  *- following function calls will have no effect on dead characters:
2673  *>
2674  *- - diguyCharacter::add_motion_texture()
2675  *- - diguyCharacter::aim_at_angle()
2676  *- - diguyCharacter::aim_at_angle_local()
2677  *- - diguyCharacter::aim_at_character()
2678  *- - diguyCharacter::aim_at_point()
2679  *- - diguyCharacter::aim_at_point_local()
2680  *- - diguyCharacter::create_and_force_bridge_path()
2681  *- - diguyCharacter::execute_gesture()
2682  *- - diguyCharacter::execute_1stage_gesture()
2683  *- - diguyCharacter::execute_2stage_gesture()
2684  *- - diguyCharacter::execute_3stage_gesture()
2685  *- - diguyCharacter::fire_screen_space_bullet()
2686  *- - diguyCharacter::fire_weapon()
2687  *- - diguyCharacter::fire_weapon_n_times()
2688  *- - diguyCharacter::force_action()
2689  *- - diguyCharacter::force_action_and_path_shape()
2690  *- - diguyCharacter::force_action_with_duration()
2691  *- - diguyCharacter::force_partial_path()
2692  *- - diguyCharacter::force_path()
2693  *- - diguyCharacter::gaze_at_angle()
2694  *- - diguyCharacter::gaze_at_angle_local()
2695  *- - diguyCharacter::gaze_at_character()
2696  *- - diguyCharacter::gaze_at_point()
2697  *- - diguyCharacter::gaze_at_point_local()
2698  *- - diguyCharacter::lpoint_at_angle()
2699  *- - diguyCharacter::lpoint_at_angle_local()
2700  *- - diguyCharacter::lpoint_at_character()
2701  *- - diguyCharacter::lpoint_at_point()
2702  *- - diguyCharacter::lpoint_at_point_local()
2703  *- - diguyCharacter::nod_head()
2704  *- - diguyCharacter::play_sound()
2705  *- - diguyCharacter::push_path()
2706  *- - diguyCharacter::resume_interrupted_path()
2707  *- - diguyCharacter::set_aim()
2708  *- - diguyCharacter::set_desired_action()
2709  *- - diguyCharacter::set_nod()
2710  *- - diguyCharacter::shake_head()
2711  *<
2712  *- - Added diguyCharacterPath::get_point_at_distance() function that
2713  *- makes it possible to sample path points. The function is very
2714  *- similar to diguyPathShape::get_point_at_distance().
2715  *- - Changed diguyScenario::create_waypoint() function to take an
2716  *- additional argument. Waypoints created with the function can
2717  *- now have different initial weights for entering and leaving the
2718  *- waypoint.
2719  **
2720  *4 Version 6.1.1
2721  **
2722  *- - Added new member function:
2723  *>
2724  *- - diguyLoadManager::remove_all_cameras()
2725  *<
2726  *- - Added new member functions to diguyVariable that allow for
2727  *- setting and getting the initial value of the variable, and
2728  *- for retrieving the scenario and/or character the variable
2729  *- belongs to:
2730  *>
2731  *- - diguyVariable::get_scenario()
2732  *- - diguyVariable::get_character()
2733  *- - diguyVariable::get_initial_value_as_int()
2734  *- - diguyVariable::get_initial_value_as_float()
2735  *- - diguyVariable::get_initial_value_as_string()
2736  *- - diguyVariable::set_initial_value_as_int()
2737  *- - diguyVariable::set_initial_value_as_float()
2738  *- - diguyVariable::set_initial_value_as_string()
2739  *<
2740  *- - Added character variables to characters. Character variables
2741  *- are almost exactly like scenario variables but are local to each
2742  *- character instead of being shared across the scenario. For
2743  *- example, all characters in a scenario could be given a variable
2744  *- named "panic_level" that tracks how panicked the character is.
2745  *- Character variables use the same class as scenario variables:
2746  *- diguyVariable. The following functions are available for
2747  *- accessing character variables:
2748  *>
2749  *- - diguyCharacter::get_num_variables()
2750  *- - diguyCharacter::get_variable_at_index()
2751  *- - diguyCharacter::find_variable()
2752  *- - diguyCharacter::find_or_create_variable()
2753  *- - diguyCharacter::destroy_variable()
2754  *- - diguyCharacter::variable_equal_to_int()
2755  *- - diguyCharacter::variable_greater_than_int()
2756  *- - diguyCharacter::variable_less_than_int()
2757  *- - diguyCharacter::variable_equal_to_float()
2758  *- - diguyCharacter::variable_greater_than_float()
2759  *- - diguyCharacter::variable_less_than_float()
2760  *- - diguyCharacter::variable_equal_to_string()
2761  *- - diguyCharacter::variable_greater_than_string()
2762  *- - diguyCharacter::variable_less_than_string()
2763  *<
2764  *4 Version 6.1.0
2765  **
2766  *- - Added new functions to the DI-Guy Graphics API to make it easier
2767  *- to know which character links or shapes belong to, and to easily
2768  *- get a pointer to the character's base link:
2769  *>
2770  *- - diguyGraphicsLink::get_character()
2771  *- - diguyGraphicsShape::get_character()
2772  *- - diguyCharacter::get_position_link()
2773  *<
2774  *- - Added new function diguyGraphicsLink::get_transformation_matrix().
2775  *- This function provides access to the link transformation in matrix
2776  *- form rather than separate vectors for translation, rotation, etc.
2777  *- - Added new blend functions "StepHalfway" and "Waver". The
2778  *- "StepHalfway" blend function makes an instant step from 0 to 1
2779  *- halfway through the blend. The "Waver" blend function wavers from 0
2780  *- to 1 back to 0 and back to 1 using a three-quarter sine wave.
2781  *- - Added functions to diguyScenario API:
2782  *>
2783  *- - diguyScenario::get_character_type_num_gestures()
2784  *- - diguyScenario::get_character_type_gesture_at_index()
2785  *<
2786  *- - Added functions to diguyCharacterGesture API:
2787  *>
2788  *- - diguyCharacterGesture::force_table_action()
2789  *<
2790  *4 Version 6.0.8
2791  **
2792  *- - Changed DI-Guy Graphics API to not print a warning if a geometry
2793  *- file is not found. This allows external loaders to load their
2794  *- own version of a geometry file without warnings, and without the
2795  *- file having to be present in $DIGUY/geometry.
2796  *- - Added function diguyCharacter::is_group_member().
2797  *- - For Windows, added the DI-Guy version number as a suffix to the
2798  *- .dll that gets installed in the bin directory.
2799  **
2800  *4 Version 6.0.6
2801  **
2802  *- - Changed default for gaze parameter "orientation enabled for
2803  *- gaze". In DI-Guy 5.x this parameter defaulted to 0 for all
2804  *- characters except the sergeant. In earlier versions of 6.0 this
2805  *- was changed to "1 if character has turning actions, else 0".
2806  *- This change has, however, resulted in too much confusion and
2807  *- user astonishment. The new (and hopefully final) change
2808  *- is to default the parameter to 0 for *all* characters. This fixes
2809  *- a backwards incompatibility problem where some version 5 characters
2810  *- that were gazing would leave their path on version 6 and thus not
2811  *- complete the actions specified by their path.
2812  *- - Implemented function diguyCharacter::end_aim(). This function
2813  *- had been omitted from the DI-Guy API.
2814  *- - Fixed problem with initial value of scenario variables, where
2815  *- the integer value of each variable was initialized to zero,
2816  *- even if the intended initial value was nonzero.
2817  *- - Fixed problem when merging two scenarios with different
2818  *- values for tick dt. Decision beads, Script event beads, Aim
2819  *- beads and Gaze beads were being improperly scheduled.
2820  **
2821  *4 Version 6.0.5
2822  **
2823  *- - Fixed diguyCharacter::get_aim_azimuth() and
2824  *- diguyCharacter::get_aim_elevation(). They were returning
2825  *- zero. Now they return meaningful values if the character is
2826  *- aiming.
2827  **
2828  *4 Version 6.0.4
2829  **
2830  *- - DI-Guy can now use OpenGL's multitexturing mechanism. The
2831  *- OpenGL texture unit that DI-Guy will use can be set by
2832  *- setting the bdiGraphicsInitOgl::use_multitexture_extension
2833  *- and bdiGraphicsInitOgl::texture_unit initialization variables.
2834  **
2835  *4 Version 6.0.3
2836  **
2837  *- - Fixed a problem with DI-Guy Graphics API functions not being
2838  *- correctly declared for DLL use.
2839  *- - Fixed a problem with calling path edit functions on a path
2840  *- that is in use. The change was not being fully propagated
2841  *- to the character's motions.
2842  *- - Eliminated GoThere camera instability at low frame rates.
2843  *- - Eliminated aiming instability at low frame rates and at low
2844  *- desired locate times.
2845  **
2846  *4 Version 6.0.2
2847  **
2848  *- - No changes.
2849  **
2850  *4 Version 6.0.1
2851  **
2852  *- - Fixed problem with motion scaling where the scale factor was
2853  *- being applied twice in some cases. (PR 3029)
2854  *- - Removed deprecated diguyCharacter functions:
2855  *>
2856  *- - diguyCharacter::force_action_by_name()
2857  *- - diguyCharacter::get_desired_action_name()
2858  *- - diguyCharacter::set_desired_action_by_name()
2859  *- - diguyCharacter::force_partial_path_by_name()
2860  *- - diguyCharacter::force_path_by_name()
2861  *- - diguyCharacter::push_path_by_name()
2862  *- - diguyCharacter::set_parent_by_name()
2863  *<
2864  *- - Removed deprecated diguySensorRegion function
2865  *- diguySensorRegion::contains_character_by_name().
2866  *- - Removed deprecated diguySignal function diguySignal::play_sound().
2867  *- - Removed deprecated diguyScenario function
2868  *- diguyScenario::find_or_create_face_expression().
2869  **
2870  *4 Version 6.0.0
2871  **
2872  *- - Made aiming precise. Characters now actually aim at the
2873  *- targets specified by aim beads, rather than giving an
2874  *- approximation of proper aim.
2875  *- - Made aiming dynamic. Character aiming motion is now much more
2876  *- realistic, homing in on the specified target.
2877  *- - Added new diguyCharacter functions:
2878  *>
2879  *- - diguyCharacter::aim_at_angle()
2880  *- - diguyCharacter::aim_at_angle_local()
2881  *- - diguyCharacter::aim_at_point()
2882  *- - diguyCharacter::aim_at_point_local()
2883  *- - diguyCharacter::aim_at_character()
2884  *- - diguyCharacter::set_aim_param_desired_locate_time()
2885  *- - diguyCharacter::get_aim_param_desired_locate_time()
2886  *- - diguyCharacter::get_aim_is_acquired()
2887  *- - diguyCharacter::get_aim_is_steady()
2888  *- - diguyCharacter::set_weapon_near_range()
2889  *- - diguyCharacter::set_weapon_far_range()
2890  *<
2891  *- - Added diguyLoadManager class. Members are:
2892  *>
2893  *- - diguyLoadManager::add_camera()
2894  *- - diguyLoadManager::add_view_camera()
2895  *- - diguyLoadManager::move_camera()
2896  *- - diguyLoadManager::change_view_camera_settings()
2897  *- - diguyLoadManager::remove_camera()
2898  *- - diguyLoadManager::set_enable_culling()
2899  *- - diguyLoadManager::set_nonvisible_update_rate()
2900  *- - diguyLoadManager::set_zone_bounds()
2901  *- - diguyLoadManager::set_zone_parameters()
2902  *- - diguyLoadManager::set_max_update_period()
2903  *<
2904  *- - Added new diguyApp functions:
2905  *>
2906  *- - diguyApp::create_load_manager()
2907  *- - diguyApp::get_load_manager()
2908  *- - diguyApp::destroy_load_manager()
2909  *<
2910  *- - Added new diguyCharacter functions:
2911  *>
2912  *- - diguyCharacter::get_bounding_radius()
2913  *- - diguyCharacter::get_default_bounding_radius()
2914  *- - diguyCharacter::set_bounding_radius()
2915  *<
2916  *- - Added new diguyApp class. There is only one diguyApp object per
2917  *- application. It is available after the diguy_*_initialize() call
2918  *- by calling the static function diguyApp::get_app(). The diguyApp
2919  *- object will hold data that is application-wide, which in the past
2920  *- has been somewhat artificially placed in the diguyScenario class.
2921  *- - Removed support for character history types
2922  *- DIGUY_HISTORY_TYPE_FIRST and DIGUY_HISTORY_TYPE_LAST. Characters
2923  *- saved using these history types will have their history type
2924  *- set to DIGUY_HISTORY_TYPE_COMPLETE.
2925  *- - Moved some static functions from diguyScenario to diguyApp:
2926  *>
2927  *- - diguyScenario::add_default_callback() deprecated;
2928  *- use diguyApp::add_default_scenario_callback()
2929  *- - diguyScenario::remove_default_callback() deprecated;
2930  *- use diguyApp::remove_default_scenario_callback()
2931  *- - diguyScenario::remove_default_callback_with_user_data() deprecated;
2932  *- use diguyApp::remove_default_scenario_callback_with_user_data()
2933  *- - diguyScenario::add_default_callback_script() deprecated;
2934  *- use diguyApp::add_default_scenario_callback_script()
2935  *- - diguyScenario::remove_default_callback_script() deprecated;
2936  *- use diguyApp::remove_default_scenario_callback_script()
2937  *<
2938  *- - Deprecated two diguyCharacterPath callback ids. A decision
2939  *- bead or script bead at the appropriate place in the path
2940  *- should be used instead of the deprecated callbacks:
2941  *>
2942  *- - CALLBACK_ID_TIME_LEFT has been changed to
2943  *- CALLBACK_ID_TIME_LEFT_DEPRECATED
2944  *- - CALLBACK_ID_TIME_INTO has been changed to
2945  *- CALLBACK_ID_TIME_INTO_DEPRECATED
2946  *<
2947  *- - Fixed problem with gestures not range checking stage
2948  *- argument. If 0 was passed as the stage in some functions,
2949  *- memory overwrites could have occurred or garbage results could
2950  *- have been returned. Also updated doc of affected functions
2951  *- to specify that stages are between 1 and 3.
2952  *- - Added functions to character for manually applying path
2953  *- bead effects:
2954  *>
2955  *- - diguyCharacter::apply_aim_bead()
2956  *- - diguyCharacter::apply_decision_bead()
2957  *- - diguyCharacter::apply_gaze_bead()
2958  *- - diguyCharacter::apply_script_bead()
2959  *<
2960  *- - Added new diguyCharacterPathDecisionBead class. Members are:
2961  *>
2962  *- - diguyCharacterPathDecisionBead::get_name()
2963  *- - diguyCharacterPathDecisionBead::set_name()
2964  *- - diguyCharacterPathDecisionBead::get_distance_into_path()
2965  *- - diguyCharacterPathDecisionBead::set_distance_into_path()
2966  *- - diguyCharacterPathDecisionBead::get_length()
2967  *- - diguyCharacterPathDecisionBead::set_length()
2968  *- - diguyCharacterPathDecisionBead::get_tin()
2969  *- - diguyCharacterPathDecisionBead::set_tin()
2970  *- - diguyCharacterPathDecisionBead::get_duration()
2971  *- - diguyCharacterPathDecisionBead::set_duration()
2972  *<
2973  *- - Added new diguyCharacterPathAimBead class. Members are:
2974  *>
2975  *- - diguyCharacterPathAimBead::get_name()
2976  *- - diguyCharacterPathAimBead::set_name()
2977  *- - diguyCharacterPathAimBead::get_distance_into_path()
2978  *- - diguyCharacterPathAimBead::set_distance_into_path()
2979  *- - diguyCharacterPathAimBead::get_length()
2980  *- - diguyCharacterPathAimBead::set_length()
2981  *- - diguyCharacterPathAimBead::get_tin()
2982  *- - diguyCharacterPathAimBead::set_tin()
2983  *- - diguyCharacterPathAimBead::get_duration()
2984  *- - diguyCharacterPathAimBead::set_duration()
2985  *<
2986  *- - Added new diguyCharacterPathGazeBead class. Members are:
2987  *>
2988  *- - diguyCharacterPathGazeBead::get_name()
2989  *- - diguyCharacterPathGazeBead::set_name()
2990  *- - diguyCharacterPathGazeBead::get_distance_into_path()
2991  *- - diguyCharacterPathGazeBead::set_distance_into_path()
2992  *- - diguyCharacterPathGazeBead::get_length()
2993  *- - diguyCharacterPathGazeBead::set_length()
2994  *- - diguyCharacterPathGazeBead::get_tin()
2995  *- - diguyCharacterPathGazeBead::set_tin()
2996  *- - diguyCharacterPathGazeBead::get_duration()
2997  *- - diguyCharacterPathGazeBead::set_duration()
2998  *<
2999  *- - Added function diguyCharacter::find_waypoint(). This
3000  *- function finds a waypoint by name.
3001  *- - Added functions to access new bead types. Also added find
3002  *- functions for action beads and script beads. The following
3003  *- functions have been added to diguyCharacterPath:
3004  *>
3005  *- - diguyCharacterPath::find_waypoint()
3006  *- - diguyCharacterPath::find_action_bead()
3007  *- - diguyCharacterPath::find_script_bead()
3008  *- - diguyCharacterPath::get_num_aim_beads()
3009  *- - diguyCharacterPath::get_aim_bead_at_index()
3010  *- - diguyCharacterPath::find_aim_bead()
3011  *- - diguyCharacterPath::get_num_decision_beads()
3012  *- - diguyCharacterPath::get_decision_bead_at_index()
3013  *- - diguyCharacterPath::find_decision_bead()
3014  *- - diguyCharacterPath::get_num_gaze_beads()
3015  *- - diguyCharacterPath::get_gaze_bead_at_index()
3016  *- - diguyCharacterPath::find_gaze_bead()
3017  *<
3018  *- - Added functions to diguyCharacterGesture API:
3019  *>
3020  *- - diguyCharacterGesture::set_table_action_begin()
3021  *- - diguyCharacterGesture::get_table_action_begin()
3022  *- - diguyCharacterGesture::set_table_action_end()
3023  *- - diguyCharacterGesture::get_table_action_end()
3024  *- - diguyCharacterGesture::get_table_action_now()
3025  *- - diguyCharacterGesture::get_table_action_next()
3026  *- - diguyCharacterGesture::get_rampup_duration()
3027  *- - diguyCharacterGesture::set_rampup_duration()
3028  *- - diguyCharacterGesture::get_rampup_blend_function_name()
3029  *- - diguyCharacterGesture::set_rampup_blend_function_name()
3030  *- - diguyCharacterGesture::get_rampdown_duration()
3031  *- - diguyCharacterGesture::set_rampdown_duration()
3032  *- - diguyCharacterGesture::get_rampdown_blend_function_name()
3033  *- - diguyCharacterGesture::set_rampdown_blend_function_name()
3034  *- - diguyCharacterGesture::get_table_action_rep_duration()
3035  *- - diguyCharacterGesture::get_table_transition_duration()
3036  *- - diguyCharacterGesture::get_default_blend_duration()
3037  *- - diguyCharacterGesture::get_num_table_actions()
3038  *- - diguyCharacterGesture::get_table_action_at_index()
3039  *<
3040  *- - Added functions for setting initial motion texture parameters:
3041  *>
3042  *- - diguyCharacter::set_initial_motion_texture()
3043  *- - diguyCharacter::get_initial_motion_texture()
3044  *- - diguyCharacter::set_initial_motion_texture_gain()
3045  *- - diguyCharacter::get_initial_motion_texture_gain()
3046  *<
3047  *- - Plugins require a license.
3048  *- - Moved to flexlm 10.1 on Windows for license management.
3049  *- - Particles now work in locked scenarios.
3050  *- - Made characters with non default actors display properly in
3051  *- Vega Prime.
3052  *- - Saving review data now saves all generated data, not just up to
3053  *- the time slider.
3054  *- - Fixed a bug with history saving.
3055  **
3056  *4 Version 5.3.5
3057  **
3058  *- - Fixed problem with .flt loader not dealing well with .flt files that
3059  *- contain multiple nodes that have the same name. The .flt loader now
3060  *- more vigorously checks for name collisions.
3061  *- - Removed one unused level of Motion LODs. The unused LOD 6 was not
3062  *- mentioned in documentation nor was it used in motion generation
3063  *- code. This change requires use of DI-Guy Data 5.3.5.
3064  *- - Worked on diguyCharacterGesture API:
3065  *>
3066  *- - diguyCharacterGesture::get_num_stages() deprecated;
3067  *- use diguyCharacterGesture::get_num_progression_stages()
3068  *- - diguyCharacterGesture::set_stage_duration() deprecated;
3069  *- use diguyCharacterGesture::set_progression_stage_duration()
3070  *- - diguyCharacterGesture::get_stage_duration() deprecated;
3071  *- use diguyCharacterGesture::get_progression_stage_duration()
3072  *- - diguyCharacterGesture::get_stage_optimal_duration() deprecated;
3073  *- use diguyCharacterGesture::get_progression_stage_optimal_duration()
3074  *<
3075  *- - Worked on diguyCharacterGesture documentation. Added more
3076  *- which functions can be called for which gesture types.
3077  *- - Added type diguyCharacterGestureType and corresponding function
3078  *- diguyCharacterGesture::get_type().
3079  *- - New experimental shooting functionality:
3080  *>
3081  *- - Added callback diguyCharacter::CALLBACK_ID_GOT_SHOT.
3082  *- - Added callback diguyCharacter::CALLBACK_ID_SHOT_SUCCESS.
3083  *- - Added new find all hits functionality.
3084  *- - Added new diguyShot class accessible from scripts,
3085  *- records who got shot and where.
3086  *- - Characters can now shoot multiple targets; added
3087  *- max_shot_hits to control the maximum number of
3088  *- shots to report. By default scene objects stop bullets.
3089  *- - Weapon spread shots test against the octtree first (speed up).
3090  *<
3091  *- - Fixed some bugs with review data.
3092  *- - Experimental plugin infrastructure:
3093  *>
3094  *- - Added functions diguyScenario::add_plugin() and
3095  *- diguyScenario::remove_plugin().
3096  *- - The following functions can be exported from the dll to plug
3097  *- into DI-Guy code:
3098  *>
3099  *- - void initialize(diguyScenario* s)
3100  *- - void deinitialize(diguyScenario* s)
3101  *- - void pre_draw(diguyScenario* s)
3102  *- - void post_draw(diguyScenario* s)
3103  *- - void update(diguyScenario* s)
3104  *- - void reset(diguyScenario* s)
3105  *- - void save_review_data(const char* filename)
3106  *- - void load_review_data(const char* filename)
3107  *<
3108  *- - See Documentation for more information.
3109  *<
3110  **
3111  *4 Version 5.3.4
3112  **
3113  *- - Added new callbacks for use with the diguyCharacter::add_callback()
3114  *- function:
3115  *>
3116  *- - CALLBACK_ID_CURRENT_APPEARANCE_CHANGED
3117  *- - CALLBACK_ID_CURRENT_HEAD_APPEARANCE_CHANGED
3118  *<
3119  *- - Added new gesture type: table gestures. Table gestures are much
3120  *- like character action tables, and allow a single gesture to employ
3121  *- many different motions.
3122  **
3123  *4 Version 5.3.3
3124  **
3125  *- - Improved SDK's initialization time. Version 5.3.3 should take about
3126  *- half the time of version 5.3.2 to initialize.
3127  *- - Changed default override stage of function
3128  *- diguyCharacter::create_pose_override() from 2 to 3.
3129  *- - Improved documentation for diguyCharacter "Pose Functions"
3130  *- section.
3131  *- - Improved documentation for
3132  *- diguyScenario::set_automatic_motion_lod_switching() function.
3133  *- - Added function diguyCharacter::end_all_gestures(), a gentler way
3134  *- than diguyCharacter::abort_all_gestures() to stop a character's
3135  *- active gestures.
3136  *- - Fixed problem with changing an existing character's type via the
3137  *- diguyCharacter::set_character_type() function. The geometry of the
3138  *- character wasn't displaying properly until the scenario was reset.
3139  *- This has been fixed.
3140  *- - Fixed documentation for the
3141  *- diguyCharacterPoseOverride::get_pose_in_radians() function; it was
3142  *- incorrectly implying that it could be used to read the current pose
3143  *- of the character, when it really only returns the most recent pose
3144  *- as set by diguyCharacterPoseOverride::set_pose_in_radians().
3145  *- - Fixed problem where specifying a non-existent default appearance
3146  *- for a character caused a crash.
3147  *- - Fixed problem where characters with no links due to config file
3148  *- syntax errors caused a crash.
3149  **
3150  *4 Version 5.3.2
3151  **
3152  *- - Added missing initial position and orientation functions to
3153  *- diguyCharacter:
3154  *>
3155  *- - diguyCharacter::set_initial_position()
3156  *- - diguyCharacter::get_initial_position()
3157  *- - diguyCharacter::set_initial_orientation()
3158  *- - diguyCharacter::get_initial_orientation()
3159  *<
3160  *- - Added set_name() functions to most DI-Guy API objects.
3161  *- - Added better access to path data such as waypoints and action
3162  *- beads. The following functions have been added to
3163  *- diguyCharacterPath:
3164  *>
3165  *- - diguyCharacterPath::update()
3166  *- - diguyCharacterPath::get_num_waypoints()
3167  *- - diguyCharacterPath::get_waypoint_at_index()
3168  *- - diguyCharacterPath::create_waypoint()
3169  *- - diguyCharacterPath::get_num_action_beads()
3170  *- - diguyCharacterPath::get_action_bead_at_index()
3171  *- - diguyCharacterPath::create_action_bead()
3172  *- - diguyCharacterPath::destroy_action_bead()
3173  *- - diguyCharacterPath::get_num_script_beads()
3174  *- - diguyCharacterPath::get_script_bead_at_index()
3175  *- - diguyCharacterPath::create_script_bead()
3176  *- - diguyCharacterPath::destroy_script_bead()
3177  *<
3178  *- - Added better access to path shape data such as waypoints. The
3179  *- following functions have been added to diguyPathShape:
3180  *>
3181  *- - diguyPathShape::update()
3182  *- - diguyPathShape::get_num_waypoints()
3183  *- - diguyPathShape::get_waypoint_at_index()
3184  *- - diguyPathShape::create_waypoint()
3185  *<
3186  *- - Added new diguyCharacterPathActionBead class. Members are:
3187  *>
3188  *- - diguyCharacterPathActionBead::get_name()
3189  *- - diguyCharacterPathActionBead::get_action()
3190  *- - diguyCharacterPathActionBead::set_action()
3191  *- - diguyCharacterPathActionBead::get_distance_into_path()
3192  *- - diguyCharacterPathActionBead::set_distance_into_path()
3193  *- - diguyCharacterPathActionBead::get_length()
3194  *- - diguyCharacterPathActionBead::set_length()
3195  *- - diguyCharacterPathActionBead::get_derive_length_flag()
3196  *- - diguyCharacterPathActionBead::set_derive_length_flag()
3197  *- - diguyCharacterPathActionBead::get_tin()
3198  *- - diguyCharacterPathActionBead::set_tin()
3199  *- - diguyCharacterPathActionBead::get_duration()
3200  *- - diguyCharacterPathActionBead::set_duration()
3201  *- - diguyCharacterPathActionBead::get_derive_duration_flag()
3202  *- - diguyCharacterPathActionBead::set_derive_duration_flag()
3203  *- - diguyCharacterPathActionBead::get_desired_duration()
3204  *- - diguyCharacterPathActionBead::set_desired_duration()
3205  *- - diguyCharacterPathActionBead::get_derive_desired_duration_flag()
3206  *- - diguyCharacterPathActionBead::set_derive_desired_duration_flag()
3207  *- - diguyCharacterPathActionBead::get_motion_reps()
3208  *- - diguyCharacterPathActionBead::set_motion_reps()
3209  *- - diguyCharacterPathActionBead::get_derive_motion_reps_flag()
3210  *- - diguyCharacterPathActionBead::set_derive_motion_reps_flag()
3211  *- - diguyCharacterPathActionBead::get_transition_before_bead_flag()
3212  *- - diguyCharacterPathActionBead::set_transition_before_bead_flag()
3213  *<
3214  *- - Added new diguyCharacterPathScriptBead class. Members are:
3215  *>
3216  *- - diguyCharacterPathScriptBead::get_name()
3217  *- - diguyCharacterPathScriptBead::set_name()
3218  *- - diguyCharacterPathScriptBead::get_script()
3219  *- - diguyCharacterPathScriptBead::set_script()
3220  *- - diguyCharacterPathScriptBead::get_distance_into_path()
3221  *- - diguyCharacterPathScriptBead::set_distance_into_path()
3222  *- - diguyCharacterPathScriptBead::get_length()
3223  *- - diguyCharacterPathScriptBead::set_length()
3224  *- - diguyCharacterPathScriptBead::get_tin()
3225  *- - diguyCharacterPathScriptBead::set_tin()
3226  *- - diguyCharacterPathScriptBead::get_duration()
3227  *- - diguyCharacterPathScriptBead::set_duration()
3228  *<
3229  *- - Changed API of diguyWaypoint object to have more intuitive function
3230  *- names. Old function names have been deprecated but will still work.
3231  *- - Improved behavior of reflected characters when the remote scenario is
3232  *- reset. After remote reset, on remote play, local reflected
3233  *- characters now immediately perform their desired actions rather than
3234  *- gradually transitioning into them.
3235  *- - Switched to using asynchronous I/O for DIS networking. This improves
3236  *- DI-Guy's robustness on networks with lots of entities.
3237  *- - Fixed problem with diguyPathShape::get_length(). The
3238  *- diguyPathShape::update() function must be called after waypoints have
3239  *- been added to the path shape for the length to be updated. After
3240  *- the update() call, get_length() will return a valid length. (PR 2852)
3241  *- - Fixed problem with diguyCharacter::get_current_path_index()
3242  *- function. The value 0 was being returned when the character was not
3243  *- on a path, and when the character was on the first path. The return
3244  *- value for "not on a path" has been changed to -1. (PR 2856)
3245  *- - Fixed problem with diguyCharacter::get_path_name_at_index() function.
3246  *- An empty string was being returned when the path at the specified
3247  *- index had a zero-length name, and when there was no path at the
3248  *- specified index. The return value for no path at index has been
3249  *- changed to NULL.
3250  *- - Fixed problem which, under DIS using DI-Guy custom information,
3251  *- caused newly created reflected characters not to receive custom action
3252  *- information for up to five seconds. Now custom action information is
3253  *- sent immediately after the first entity state PDU is sent.
3254  **
3255  *4 Version 5.3.1
3256  **
3257  *- - Added support for "live reckoning". Live reckoning provides more
3258  *- accurate display of the behavior of remote characters, using less
3259  *- networking bandwidth.
3260  *- - Added network support for multiple concurrent scenario instances.
3261  *- Characters in all scenarios are published to the network. Incoming
3262  *- entities are created in the scenario which is passed to
3263  *- diguy_dis_go_online() or diguy_hla_go_online().
3264  *- - Improved behavior of reflected entities when the local scenario is
3265  *- reset.
3266  *- - Removed some options from network.cfg. It is recommended that the
3267  *- current network.cfg be deleted and let DI-Guy recreate it.
3268  *- - Improved behavior of reflected entities when the remote scenario is
3269  *- paused. Now they can move to their correct location even when
3270  *- paused, rather than staying still in a location that is suboptimal.
3271  *- - Fixed bug preventing incoming (reflected) non-soldier characters from
3272  *- walking when DI-Guy custom action information is not available.
3273  *- - Removed Review Data dt data member from diguyScenario objects
3274  *- and from the DI-Guy Scenario UI. Any scenario review data is
3275  *- now recorded at the scenario's tick dt.
3276  *- - Added access to the DirectX 9 world stack used by DI-Guy through
3277  *- the new function diguy_dx9_get_world_stack(). This allows users
3278  *- of DI-Guy for DirectX 9 to offset the origin used by characters
3279  *- from 0,0,0. Use of the new function is demonstrated in the
3280  *- example program $DIGUY/programming_examples/diguy_dx9/offset_example.
3281  *- - Made it possible to set the tick dt of a scenario using the
3282  *- function diguyScenario::set_tick_dt(). This was previously
3283  *- possible only in the DI-Guy Scenario UI.
3284  *- - Made it possible to turn off review data generation for scenarios.
3285  *- By default, scenarios created in the DI-Guy Scenario editor will
3286  *- have review data enabled; scenarios created using the DI-Guy API
3287  *- will have review data disabled. Turning on review data can add
3288  *- significantly to memory usage. Changing review data settings can
3289  *- be done using the function diguyScenario::set_history_type().
3290  *- - Turned off review data by default for characters created using the
3291  *- DI-Guy API. The significantly reduces the memory overhead of each
3292  *- character. Review data can be re-enabled using the function
3293  *- diguyCharacter::set_history_type().
3294  *- - Added new callbacks for use with the diguyCharacter::add_callback()
3295  *- function:
3296  *>
3297  *- - CALLBACK_ID_PRE_DIE
3298  *- - CALLBACK_ID_POST_DIE
3299  *- - CALLBACK_ID_PRE_FIRE_WEAPON
3300  *- - CALLBACK_ID_POST_FIRE_WEAPON
3301  *<
3302  *- - Fixed problem with setting character's current appearance too soon
3303  *- after the character was created. This caused a crash.
3304  **
3305  *4 Version 5.2.2
3306  **
3307  *- - New function diguyCharacter::set_weapon_fires_live_rounds() sets
3308  *- whether firing causes collision search for characters to be killed.
3309  *- Default is to fire blanks. Old scenarios that used this
3310  *- functionality need to call this function to re-enable firing to kill
3311  *- other characters.
3312  *- - Fixed problem for expressive faces in Vega. If a model without
3313  *- texture or material was drawn just before the expressive face,
3314  *- the expressive face would inherit its color.
3315  *- - Fixed various memory leaks.
3316  **
3317  *4 Version 5.2.1
3318  **
3319  *- - Improved DIS/HLA Networking:
3320  *>
3321  *- - Motion behavior improved when receiving standard PDUs in DIS.
3322  *- - Motion behavior improved when not using DI-Guy Custom FOM in HLA.
3323  *<
3324  *- - Improved vpNet/DI-Guy for Vega Prime interaction:
3325  *>
3326  *- - DI-Guy for Vega Prime now shares the network connection created
3327  *- by vpNet (MaK Technologies networking add-on to
3328  *- MultiGen-Paradigm's Vega Prime product).
3329  *- - Special programming no longer required to have DI-Guy for Vega
3330  *- Prime/vpNet work together.
3331  *- - Users need to maintain two separate modelmaps, but mapping to
3332  *- NULL is now implemented for both vpNet and DI-Guy, so that
3333  *- entities being drawn by other modules in Vega will not be
3334  *- drawn a second time by DI-Guy for Vega Prime and vice-versa.
3335  *- - Programming examples have been expanded to show simple
3336  *- examples of vpNet/DI-Guy for Vega Prime interaction. Note
3337  *- that these programming examples are copied to the samples
3338  *- directory of the Vega Prime installation.
3339  *- - Added function call diguy_net_get_character_from_id()
3340  *- which returns the diguyCharacter associated with the entity id.
3341  *- Works with both DIS and HLA. (see ref. manual).
3342  *- - Added option hla_advisories to network.cfg. When using HLA,
3343  *- if the RTI uses advisories, hla_advisories should be set to 1.
3344  *- If not, set this to zero. Mismatch between the settings should
3345  *- be avoided.
3346  *<
3347  *- - Fixed problem for expressive faces in Vega. The normals
3348  *- on the head were being scaled incorrectly, causing strange
3349  *- shading artifacts.
3350  *- - Fixed problem for expressive faces in Vega. If more than one
3351  *- expressive face was in a scene, all expressive faces would
3352  *- use the texture of the first expressive face.
3353  **
3354  *4 Version 5.2.0
3355  **
3356  *- - Added dynamic (dll) versions of DI-Guy libraries for win32.
3357  *- - Discontinued support of MT and MTd versions of DI-Guy libraries for
3358  *- win32.
3359  *- - Fixed nmake-based makefiles for win32 programming examples
3360  *- so that they'll work if DI-Guy is installed in a directory with
3361  *- spaces.
3362  **
3363  *4 Version 5.1.25
3364  **
3365  *- - Initial release of version 5.1.
3366  **
3367  *4 Versions 5.1.0 - 5.1.24
3368  **
3369  *- - These versions are 5.1 pre-releases.
3370  **
3371  **
3372  **************************************
3373  *3 DI-Guy Scenario
3374  **************************************
3375  **
3376  *b Note that most changes to the DI-Guy API also apply to DI-Guy Scenario.
3377  **
3378  *4 Version 9.1.4
3379  **
3380  *- - Scenario can now be stopped, run, and reset in I-Guy Input
3381  *- Mode by hitting Shift-Space (toggle stop and run) an Shift-Ctrl-Space
3382  *- (reset). Keyboard reset can be disabled in I-Guy mode in the I-Guy
3383  *- Page.
3384  **
3385  *4 Version 9.1.0
3386  **
3387  *- - Large rework of Object pages. There is now one Scenario Objects page
3388  *- that contains all of the pages from previous versions' Scenario
3389  *- Elements, Character Elements, View Settings, Event Handlers, and
3390  *- DI-Guy AI Elements. Pages are separated into multiple tab groups.
3391  **
3392  *4 Version 9.0.2
3393  **
3394  *- - Fixed bug where network page wouldn't remember current coordinate
3395  *- converter settings when closed and reopened.
3396  **
3397  *4 Version 9.0.0
3398  **
3399  *- - Near and far parameters of character weapon parameters are now
3400  *- always enabled, and will alway be taken into consideration.
3401  *- Before they only had an effect if the "spread" of a weapon was
3402  *- greater than 0.
3403  *- - New command line flag added: -runtime_only. If this flag is
3404  *- specified, DI-Guy Scenario will not attempt to check out the
3405  *- development license feature but instead will remain in runtime mode,
3406  *- leaving the development license available to another program.
3407  **
3408  *4 Version 8.6.3
3409  **
3410  *- - Changing a character's character type no longer deletes all action
3411  *- beads. The actions of the existing beads are changed to the nearest
3412  *- equivalent of the new character type.
3413  *- - Region/crowd painting now works on scene object grids. delayed
3414  *- loading of grids should be more responsive as well.
3415  *- - Fixed issues with feelers: changes made via UI now change all crowd
3416  *- members, 3D rep of feelers now updated immediately when changed and
3417  *- on reset.
3418  *- - Fixed set_playback_mode_play() so that it works in decisions.
3419  *- - Ctrl-a will now restore previous visibility settings if hit 2 times
3420  *- in a row.
3421  *- - Added experimental feeler callback option.
3422  *- - Minor UI preference bug fixes.
3423  **
3424  *4 Version 8.6.2
3425  **
3426  *- - Improved speed of particle system rendering.
3427  *- - Fixes to scene object grid rendering.
3428  *- - Fixed problem that character initial path could not be deleted.
3429  *- - If last character path is deleted, initial position and orientation
3430  *- controls now become enabled as they should.
3431  *- - Added preference for changing the fast-forward playback factor.
3432  *- Default is 4. Can be changed in the Preferences dialog.
3433  *- - Symbolic View: Characters merging into a crowd symbol should now work
3434  *- outside of ortho_xy view.
3435  *- - 3d UI: Added right click pop-up menu to character mode.
3436  *- - Added smoothing to ground clamp function.
3437  **
3438  *4 Version 8.6.1
3439  **
3440  *- - Added one click movie creation to DI-Guy Scenario.
3441  *- - More of the UI has up/down sorting arrows.
3442  *- - Added is_speaking as a decision bead query.
3443  *- - Fixed bug with "this_character" not properly having sub-objects
3444  *- listed in decision beads.
3445  *- - Added the ability for labels to reflect character state, accessible
3446  *- in the character label UI.
3447  *- - Fixed math issues with scene object sub-culling, feature should be
3448  *- significantly more robust with scaled and rotated scene objects.
3449  *- - Character's added to dynamic octtree and scene object characters
3450  *- should require less memory, and be more efficient.
3451  *- - Minor improvements to advanced light UI.
3452  *- - Action bead page now lists the current action's information.
3453  *- - Fixed bug where 1st person I-Guy could not be killed.
3454  *- - Better performance when populating or repopulating crowds.
3455  *-
3456  **
3457  *4 Version 8.5.0
3458  **
3459  *- - Initial DI-Guy SAF release.
3460  *- - Added new SAF Elements palette that provides access to DI-Guy SAF
3461  *- objects.
3462  *- - Added shortcut ctrl-a: turns off *all* supplemental visuals,
3463  *- providing better viewing for non-demo scenario run.
3464  *- - Added "Ortho XY" Projection Mode to Camera settings. This provides
3465  *- an alternative planview that uses an orthonormal projection rather
3466  *- that a perspective-based one.
3467  *- - Added "Symbolic View" checkbox to Camera settings. When this is
3468  *- checked characters will be represented as flat polygons rather than
3469  *- their full animated graphics. This, along with the Ortho XY
3470  *- Projection Mode, provides a good SAF-like view of a scenario.
3471  **
3472  *4 Version 8.0.3
3473  **
3474  *- - Fixed issue with I-Guy not using a joystick for input, even through
3475  *- the UI says it is enabled.
3476  *- - Fixed issue with children's bounding volumes not being factored into
3477  *- culling calculation.
3478  *- - User interface polish:
3479  *>
3480  *- - Added more context sensitive input mode buttons.
3481  *- - Labels identifying what character and path is selected have
3482  *- been replaced with combo boxes, allowing for faster editing of
3483  *- complex scenarios.
3484  *- - Fixed various other small UI issues.
3485  *<
3486  *4 Version 8.0.2
3487  **
3488  *- - Fixed issue with sound not playing properly when scenario is
3489  *- fast-forwarded.
3490  *- - Fixed issues with jittery camera in I-Guy 3rd person mode.
3491  *- - Multisync masters now send and receive characters over the network.
3492  **
3493  *4 Version 8.0.0
3494  **
3495  *- - Initial 8.0 release candidate.
3496  *- - Improved plugin interface so that existing plugin name can be
3497  *- changed instead of just being deleted and a new one created.
3498  *- - DI-Guy plugin libraries can now be browsed for in the Plugins page,
3499  *- instead of just typing in the library name.
3500  *- - Added limits to the Tick dt parameter in the Performance page.
3501  *- The Tick dt must now be >= 0.01 seconds, and <= 0.1 seconds.
3502  **
3503  *4 Version 7.1.19
3504  **
3505  *- - Made improvements to DI-Guys sound system, sounds will now pause
3506  *- along with the scenario and can now be fast forwarded and rewound
3507  *- (to a degree).
3508  *-
3509  *4 Version 7.1.16
3510  **
3511  *- - Added 'Init. Up Vector' combo box to Character page. Allows
3512  *- user to set the up vector that the character will use. Previously
3513  *- this could only be done via script of decision.
3514  **
3515  *4 Version 7.1.15
3516  **
3517  *- - Added '-safe_mode' flag to command line. Passing this flag on
3518  *- the command line will cause DI-Guy Scenario to start up using
3519  *- default preferences, which may resolve some unexpected issues.
3520  **
3521  *4 Version 7.1.14
3522  **
3523  *- - Added chain settings to Merge Settings UI.
3524  *- - Fixed issues with selecting a different path by clicking on
3525  *- one of its waypoints in Path Edit Input Mode.
3526  **
3527  *4 Version 7.1.12
3528  **
3529  *- - Review data for new scenarios is now turned off by default.
3530  *- - New characters created in DI-Guy scenario now have no review data
3531  *- by default. Characters from existing scenarios will not be
3532  *- affected. Note that this removes the ability to rewind scenarios
3533  *- unless some review data is turned back on.
3534  **
3535  *4 Version 7.1.11
3536  **
3537  *- - Sounds now stop when a scenario loops or is rewound. Added a
3538  *- 'Stop All Sounds' button to the Scenario palette Sound page,
3539  *- to make it easier to stop playing long sounds.
3540  *- - Window menu now always opens UI windows instead of toggling whether
3541  *- they are shown or hidden. If a window is already open, it is
3542  *- brought to the top of the window stack.
3543  *- - The F-key shortcuts for opening UI windows have changed behavior.
3544  *- Pressing F2 for the Time Control window, for example, will make
3545  *- the Time Control window visible by either opening it or bringing it
3546  *- to the top. Old behavior toggled whether windows were shown or
3547  *- hidden. Use Shift-F-key to use old toggle behavior (hide if
3548  *- showing, show if hidden).
3549  *- - Character Labels Visibility is now set to 'None' in the default
3550  *- .dss file.
3551  **
3552  *4 Version 7.1.8
3553  **
3554  *- - Fixed problem with restoring all event mappings when reloading
3555  *- a previously saved scenario.
3556  **
3557  *4 Version 7.1.7
3558  **
3559  *- - Switch to new installer setup. Should better detect and remove
3560  *- previous versions, and in general be more stable.
3561  *- - Added preliminary support for TerraPage .txp files in scene objects.
3562  *- - Fixed issue with OpenAL not being able to play sounds on some
3563  *- machines.
3564  **
3565  *4 Version 7.1.6
3566  **
3567  *- - Added 3rd Parameter to Decision Beads.
3568  *- - Added diguyCharacter::create_and_force_bridge_spath() and
3569  *- diguyCharacter::force_local_path to Decision Beads editor.
3570  *- - Application now asks user to confirm whether an existing
3571  *- file can be overwritten when Save As is selected.
3572  *- - Added Comment field to Decisions and Decision Beads.
3573  *- - Added new cursor to represent current input mode.
3574  *- - Added events page to character as well as signal and sensor region.
3575  *- Same basic functionality as the event mapper but more distributed
3576  *- UI design.
3577  **
3578  *4 Version 7.1.4
3579  **
3580  *- - Added functionality to the character elements page that allows
3581  *- character list to be reordered using up and down arrows next to
3582  *- the list box.
3583  *- - Character list box will now display disabled characters in gray.
3584  **
3585  *4 Version 7.1.3
3586  **
3587  *- - Added offset XYZ line edits for aiming at characters on Aim
3588  *- Bead page.
3589  **
3590  *4 Version 7.1.2
3591  **
3592  *- - Added new "Character" Input Mode. While in this mode clicks and
3593  *- drags will have the following effects:
3594  *>
3595  *a click and drag - translate character
3596  *a shift-click and drag - rotate character
3597  *<
3598  *- - Made 'Delete' key work on more object types in the 3D window,
3599  *- depending on the current Input Mode:
3600  *>
3601  *a Character or PeopleBlitzer - delete current character
3602  *a Path Edit or Path Insert - delete current waypoint
3603  *a Action Edit or Action Insert - delete current action bead
3604  *a Sensor Edit or Sensor Insert - delete current sensor region
3605  *a Group - delete current group
3606  *<
3607  **
3608  *4 Version 7.1.1
3609  **
3610  *- - Added new "Group" Input Mode. While in the mode clicks and
3611  *- drags will have the following effects:
3612  *>
3613  *a click and drag - translate all group characters
3614  *a shift-click and drag - rotate all group characters
3615  *a ctrl-click - add or remove clicked character
3616  *a to group
3617  *<
3618  *- - Added Chain Sim Settings page to the Scenario Elements palette.
3619  *- - Added edit boxes to event beads (Aim, Decision, Gaze, and Script
3620  *- beads) that allow beginning and end of beads to be tied to
3621  *- specific waypoints or action beads.
3622  *- - Added ability to set character label colors on the Character page.
3623  *- - Added optional labels for action beads in the 3D window that show
3624  *- the action name and the time at which the action begins.
3625  *- - Current selected character index is now saved in .dss file and
3626  *- restored when the scenario is loaded.
3627  *- - Revamped Plugins page. Each plugin now has these parameters:
3628  *>
3629  *a Required By Scenario - If checked, this plugin is required
3630  *a for proper execution of this scenario.
3631  *a When the scenario is loaded this plugin
3632  *a will be loaded as well if it is not
3633  *a already active. Default is unchecked.
3634  *a Unload on Scenario Close - If checked, this plugin will be
3635  *a unloaded if this scenario is closed
3636  *a or a new scenario is opened. Default
3637  *a is unchecked.
3638  *a Accepts Mouse Input - If checked, this plugin will receive
3639  *a mouse events via the mouse plugin
3640  *a functions when the input mode is
3641  *a "Plugin". Default is checked.
3642  *<
3643  *- - Added new camera frustum culling functionality that works on the
3644  *- subshapes of a scene object. The functionality can be turned on
3645  *- via a check box in the performance page, or via
3646  *- diguyScenario::set_scene_object_sub_culling_enabled() and
3647  *- diguyScenario::get_scene_object_sub_culling_enabled().
3648  *- Potentially this can lead to 100%-200% rendering speed increase
3649  *- for large well segmented terrains. Note currently scene object
3650  *- culling must be on for this to work.
3651  **
3652  *4 Version 7.1.0
3653  **
3654  *- - Revamped Cut and Paste operations to use the merge functionality
3655  *- that makes sure objects added to a scenario have unique names.
3656  **
3657  *4 Version 7.0.8
3658  **
3659  *- - Camera speed UI input was broken, should be responsive again
3660  *- - Hitting cancel in particle system texture map property widget will
3661  *- no longer delete the currently selected texture.
3662  *- - Fixed Camera Affected by Script events check box; was actually an
3663  *- SDK fix.
3664  **
3665  *4 Version 7.0.5
3666  **
3667  *- - Enhanced character path following so that waypoints that
3668  *- have a roll parameter specified will roll the character
3669  *- as it travels along the path.
3670  *- - Enhanced character path following so that characters can
3671  *- now pitch "upside-down" along paths.
3672  **
3673  *4 Version 7.0.3
3674  **
3675  *- - Look At button now works for reflected characters.
3676  **
3677  *4 Version 7.0.1
3678  **
3679  *- - Velocity Noise on particles will now get transformed with the
3680  *- parent's orientation.
3681  *- - Fixed problems with various guide algorithms not working well
3682  *- if the desired z coordinate is not at the same altitude as the
3683  *- character.
3684  *- - Re-enabled "-C cfg_file" command line flag.
3685  **
3686  *4 Version 6.1.10
3687  **
3688  *- - Fixed problem that prevented some parameters from being
3689  *- editable in the Decision editor; in particular, when param 2
3690  *- was an appearance or a string.
3691  *- - Fixed aim trajectory rendering to more consistently render
3692  *- and use the proper color.
3693  *- - Fixed problem with I-Guy characters not being able to move
3694  *- forward and back.
3695  *- - Particles are more aggressive about requesting that octtree is
3696  *- rebuilt.
3697  *- - High velocity particles, stuck particles and bouncing particles all
3698  *- interact better after colliding with scene geometry.
3699  *- - BDI_LOG_FATAL errors will behave better in DI-Scenario, giving the
3700  *- option to save before exiting.
3701  *- - Fixed decision beads pseudocode description crash.
3702  **
3703  *4 Version 6.1.9
3704  **
3705  *- - Fixed problem with OpenGL renderer that prevented objects
3706  *- with subfaces from rendering correctly.
3707  *- - Fixed problem with Draw Mode radio buttons in the Preferences
3708  *- dialog not having the correct effect on rendering.
3709  *- - Changed info popups to show up as dialog windows separate
3710  *- from the main window. This prevents the Primary 3D Window
3711  *- from un-maximizing when an info popup pops up.
3712  *- - Fixed problem that scene objects did not correctly look in
3713  *- custom directory for models.
3714  *- - Added code to check positions of DI-Guy Scenario windows;
3715  *- if windows will not be visible (are off-screen, etc.), they
3716  *- are moved to screen coordinate 0,0.
3717  *- - Updated Networking Settings page to be consistent with V6 UI.
3718  *- - Numerous fixes to Networking Settings page.
3719  *- - Added About box with version information.
3720  *- - Fixed bug that preferences weren't correctly saved if app
3721  *- was closed by clicking 'X' button in upper right corner.
3722  *- - Fixed various problems with values entered into edit boxes
3723  *- being clobbered.
3724  *- - Added plugins page to DI-Guy Scenario to match page from V6 UI.
3725  **
3726  *4 Version 6.1.8
3727  **
3728  *- - Fixed world space collisions for particles, functionality was
3729  *- temporally broken.
3730  *- - Particle UI should be now be almost entirely working in DI-Guy
3731  *- Scenario.
3732  *>
3733  *- - Added load particle descriptions button to UI.
3734  *- - Added collision plane rendering check box to UI.
3735  *- - Added check box to particle page that optionally turns off
3736  *- placeholders.
3737  *- - Added orientation flag to particles, useful for parented
3738  *- emitters.
3739  *- - Renaming particles should validate names and echo to other
3740  *- appearance menus.
3741  *- - Adding or removing particle descriptions now properly updates
3742  *- the appearance section of the character page and people blitzer.
3743  *- - Particle manager was getting updated unnecessarily causing
3744  *- particles to playback 2x as fast.
3745  *<
3746  *- - Fixed a focus out problem that yielded a hard lock up if a load
3747  *- manager error message was produced.
3748  *- - Waypoints and sensor regions visuals weren't being properly
3749  *- updated when data changed.
3750  *- - Editing a Scene object triggers the unsaved flag more often.
3751  *- - Fixed a glitch where shadows and the profiler wouldn't work
3752  *- together.
3753  *- - Added UI for setting character and scene object culling active.
3754  *- - Added UI for setting character and scene object bounding volume
3755  *- visualization active.
3756  *-
3757  *4 Version 6.1.7
3758  **
3759  *- - Added UI for setting the character's label text and controlling
3760  *- whether the label is visible to the Character page.
3761  *- - Added new visibility option for Character Labels on the
3762  *- Visibility page: Per Object.
3763  *- - Major reworking of the DI-Guy Scenario user interface in
3764  *- preparation for the DI-Guy 7 release.
3765  *- A version of the program with the old interface (henceforth
3766  *- called the V6 UI) will be available in releases for awhile
3767  *- with a different filename. As time goes on new features that
3768  *- appear in DI-Guy Scenario may not appear in the V6 UI.
3769  *- - Changed the sound module of DI-Guy Scenario to be based on
3770  *- OpenAL. This fixed a problem with sounds playing back too
3771  *- fast on certain systems, and allows for 3D position sounds.
3772  **
3773  *4 Version 6.1.6
3774  **
3775  *- - Added "+plugin <plugin_name>" command line argument. This will
3776  *- load the specified plugin as the application is starting up.
3777  *- This is essentially the same as calling diguyApp::load_plugin()
3778  *- before the initial scenario is created.
3779  *- - Added "Plugin" page. This allows a scenario designer to specify
3780  *- which plugins are required for proper execution of the scenario.
3781  *- - Fixed crash bug that occasionally occurred when the "Trigger Now"
3782  *- button was clicked on the Script and Decision pages.
3783  *- - Added UTM Coordinates to the Networking page.
3784  *- - Added "Decisions", which are similar to Script Events but
3785  *- have a UI for constructing logic similar to Decision Beads.
3786  **
3787  *4 Version 6.1.4
3788  **
3789  *- - Fixed minor problems with decision bead page. The parameters for
3790  *- the sensor region function
3791  *- contains_character_by_type_and_appearance() did not include
3792  *- quotes and were not alphabetized.
3793  *- - Added buttons "Add All" and "Remove All" to Group page.
3794  **
3795  *4 Version 6.1.1
3796  **
3797  *- - Added Load Manager page to the Scenario window. Now users can
3798  *- enable load management, and adjust load management parameters
3799  *- from within DI-Guy Scenario.
3800  *- - Particle warm up time should now work properly on reset.
3801  *- - Added particle system life time, after which it will no longer emit
3802  *- particles.
3803  *- - Added new Particle position and velocity noise options, should allow
3804  *- for better control and movement options.
3805  *- - Added character variable querying to decision beads, can now query
3806  *- variables with: variable_equal_to_(float, int, string),
3807  *- variable_less_than_(float, int, string) and
3808  *- variable_greater_than_(float, int, string).
3809  *- - Added character variable actions to decision beads, can now have
3810  *- actions that affect variables, using
3811  *- variable_set_value_as_(float, int, string) and
3812  *- variable_increment and decrement.
3813  *- string) and variable_greater_than_(float, int, string).
3814  *- - Can now use decision beads to check whether someone's been shot,
3815  *- as well as where the shot hit.
3816  *- - Changed how decision beads get pointers to objects; previously
3817  *- if an object was referenced multiple times in a decision bead
3818  *- (e.g., multiple queries were made of character "soldier-1" in
3819  *- the if clauses), the same object was searched for multiple times.
3820  *- Now a pointer to the object is just searched for once.
3821  *- - Added Variable page to Character window. This page allows for
3822  *- creation, deletion, and editing of character variables. Character
3823  *- variables are almost exactly the same as scenario variables, but
3824  *- are private to each character instead of being shared across the
3825  *- entire scenario.
3826  **
3827  *4 Version 6.1.0
3828  **
3829  *- - Ctrl-'u' now pushes a scenario undo onto the undo stack.
3830  *- - Space bar toggles between play and pause; Ctrl-space bar does a
3831  *- reset.
3832  **
3833  *4 Version 6.0.8
3834  **
3835  *- - DI-Guy Scenario now properly sets the network Force ID for
3836  *- outgoing entities based on group membership. Groups
3837  *- net_friendly, net_opposing, and net_neutral should be used to
3838  *- indicate the Force ID of outgoing entities.
3839  *- - DI-Guy Scenario now assigns incoming entities to group
3840  *- net_friendly, net_opposing, or net_neutral based on the
3841  *- incoming Force ID.
3842  *- - Incoming entities cannot now be assigned to or removed from
3843  *- groups. As well, groups to which incoming entities belong
3844  *- cannot be deleted.
3845  **
3846  *4 Version 6.0.2
3847  **
3848  *- - Fixed problem with "Deflate" compression method for movie frame
3849  *- capture.
3850  *- - Changed label of "Reset" button on Movie Settings page to "Reset
3851  *- Next Frame Number", to differentiate it from the Reset button
3852  *- on the Control palette.
3853  **
3854  *4 Version 6.0.1
3855  **
3856  *- - Added setting of Scenario Review Data on Scenario Performance
3857  *- page to .dss file. It was not being saved and restored as
3858  *- scenarios were saved and loaded.
3859  *- - Changed scenario "Loop" functionality. If no characters have
3860  *- review data, the scenario will reset and play rather than
3861  *- rewind and show review data.
3862  *- - Removed unused "Altitude" edit box from Networking property page.
3863  *- (PR 3002)
3864  *- - Changed gaze bead logic so that faster gazes are possible. The
3865  *- desired locate time for gaze beads was effectively limiting the
3866  *- maximum angular velocity. Now if a gaze bead overrides gaze
3867  *- parameters, it also turns off use of the desired locate time for
3868  *- each link. (PR 3030)
3869  **
3870  *4 Version 6.0.0
3871  **
3872  *- - Added "GoThere" camera movement. In Camera mode, if there is
3873  *- neither a Look At character nor a Look From character selected
3874  *- and the camera projection mode is "free camera", if you hold
3875  *- the Shift key and left-click on anything in the scene, the
3876  *- camera will rapidly travel to what you Shift+clicked on and
3877  *- turn around to face the location from which the camera came.
3878  *- This also works from modes other than camera mode, if you press
3879  *- and hold Alt+Shift while left-clicking.
3880  *- - Changed Aim Bead UI to match Gaze Bead UI. Note that now
3881  *- aiming is also precise, and dynamic. See DI-Guy aiming change
3882  *- above.
3883  *- - Fixed problem with current light and fog settings being overwritten
3884  *- when a .dss file was loaded. (PR 2019)
3885  *- - Fixed problem with primary view of scenario returning 0 when
3886  *- diguyScenarioView::is_showing() was called on it. The correct
3887  *- value is now returned. (PR 2954)
3888  *- - Added ability to change window title of primary view using the
3889  *- call diguyView::set_window_title(). (PR 2953)
3890  *- - Fixed problem with looking at scene objects that are translated
3891  *- away from the origin. (PR 2722)
3892  *- - Fixed problem for character paths on load. Paths that weren't
3893  *- the initial path of the character weren't being fully initialized
3894  *- until they were used by the character. Now all paths receive
3895  *- an initial update call on load.
3896  *- (PR 2791)
3897  *- - Added new command line argument: -no_info_popup_server. Adding
3898  *- this argument to the command line causes DI-Guy Scenario to not
3899  *- attempt to start the program DIGuyInfoPopupServer. If the
3900  *- server is not started, info popup windows will not appear.
3901  *- - Fixed problem that if the Initial Script Filename on the Script
3902  *- Event property page specified a script that didn't exist,
3903  *- no warning was given. Now a log message at Warn level is
3904  *- printed for a missing script file. (PR 2826)
3905  *- - Fixed problem that prevented Performance settings from taking
3906  *- effect unless the scenario was saved and reloaded.
3907  *- - Added edit box for setting character's initial motion texture
3908  *- gain. (PR 2845)
3909  *- - Added UI preference for turning off the "DI-Guy Scenario by
3910  *- Boston Dynamics" overlay.
3911  **
3912  *4 Version 5.3.5
3913  **
3914  *- - Changed edit box for setting character's initial motion texture
3915  *- into a combo box that shows which motion textures are available.
3916  **
3917  *4 Version 5.3.2
3918  **
3919  *- - Small improvement to particle system UI, fixed outstanding issues
3920  *- with texture map browser widget. Color Widgets go right to a color
3921  *- picker. Clicking on static text opens subitems.
3922  *- - Particle Systems now populate better between ticks, i.e. release
3923  *- intervals smaller then the update time now work.
3924  *- - Performance improvements to the particle systems.
3925  **
3926  *4 Version 5.3.1
3927  **
3928  *- - Removed Review Data dt data member from diguyScenario objects
3929  *- and from the DI-Guy Scenario UI. Any scenario review data is
3930  *- now recorded at the scenario's tick dt.
3931  *- - Split Visibility / Performance page into two separate
3932  *- pages named Visibility and Performance.
3933  **
3934  *4 Version 5.3.0
3935  **
3936  *- - Made it possible to turn off review data generation for scenarios.
3937  *- By default, scenarios created in the DI-Guy Scenario editor will
3938  *- have review data enabled; scenarios created using the DI-Guy API
3939  *- will have review data disabled. Turning on review data can add
3940  *- significantly to memory usage. Changing review data settings can
3941  *- be done using the function diguyScenario::set_history_type(), or
3942  *- using the Review Data Type radio buttons on the Visibility /
3943  *- Performance page of the DI-Guy Scenario editor.
3944  **
3945  *4 Version 5.2.3
3946  **
3947  *- - Added joystick gain settings to Preferences. The gains allow
3948  *- DI-Guy Scenario users to adjust how sensitive the joystick will
3949  *- be. Gains of 1.0 retain previous behaviors. Gains less than
3950  *- 1.0 make joystick control less sensitive; i.e., it will take a
3951  *- larger movement to achieve a response. Gains more than
3952  *- 1.0 make joystick control more sensitive; i.e., it will take a
3953  *- smaller movement to achieve a response.
3954  **
3955  *4 Version 5.2.1
3956  **
3957  *- - Special Effects: DI-Guy Scenario now offers a new add-on option for
3958  *- particle-based special effects. Examples of particle effects include
3959  *- smoke, fire, debris, missile trails, rotor wash, explosions, and dust
3960  *- trails. A Particles tab is now available in the Scenario palette for
3961  *- easy control of effects parameters include size, number, color,
3962  *- texture map, velocity, wind effect, and gravity.
3963  *- - Fixed crashing bug when undoing path changes.
3964  *- - Fixed minor issues with using soldier character
3965  *- backward actions and companion waypoints.
3966  *- - Fixed problem where character sounds were not consistently
3967  *- playing when a scenario looped.
3968  *- - Fixed problem where path shapes were not always being drawn
3969  *- when they should have been.
3970  *- - Fixed problem where having path shapes in a scenario caused
3971  *- the program to crash on exit.
3972  *- - Fixed crashing bug when shutting down a scenario that
3973  *- contains characters with guides.
3974  **
3975  *4 Version 5.2.0
3976  **
3977  *- - Added ability to show character names as floating
3978  *- labels next to the character in the 3D window.
3979  *- Name labels can be shown for current character only,
3980  *- all characters, or no characters. Access via the
3981  *- Scenario | Visibility / Performance property page.
3982  *- - Added "Look At" buttons for characters, waypoints,
3983  *- and path beads on respective Elements pages.
3984  *- - Added special effects such as smoke and fire.
3985  *- - Fixed perl script interpreter so that it will work
3986  *- if DI-Guy is installed in a directory with spaces.
3987  *- - Fixed problem where LOD range scale factors weren't
3988  *- taking effect for scene objects.
3989  **
3990  **
3991  **************************************
3992  *3 DI-Guy AI
3993  **************************************
3994  **
3995  *4 Version 9.0.1
3996  **
3997  *- - Fixed bug where characters were improperly going through walls.
3998  *- - Fixed a number of minor crashes with creating behavior paths.
3999  **
4000  *4 Version 9.0.0
4001  **
4002  *- - To enable DI-Guy AI in programs using the DI-Guy SDK, the header
4003  *- file "diguy_ai.h" must be included, and the functions
4004  *- diguy_ai_initialize() and diguy_ai_deinitialize() must be called
4005  *- at the appropriate times.
4006  *- - New command line flag added to DI-Guy Scenario for optionally.
4007  *- disabling DI-Guy AI. By default DI-Guy Scenario will look for the
4008  *- diguy_ai license feature and check it out if it is present. By
4009  *- putting "-module diguy_ai" on the command line, DI-Guy Scenario will
4010  *- not attempt to enable DI-Guy AI.
4011  *- - Fixed problem with DI-Guy AI agents having trouble killing animals.
4012  *- - Painting a non-continuous region will be more likely to successfully
4013  *- create a behavior path, the longest path from the start point to the
4014  *- mouse up location is used.
4015  *- - Fixed issues with feelers: changes made via UI now change all crowd
4016  *- members, 3D rep of feelers now updated immediately when changed and
4017  *- on reset.
4018  *- - Fixed problem that agent feeler collide distance could not be
4019  *- greater than turn distance.
4020  *- - It is now possible to add a feeler callback to enable DI-Guy AI agents
4021  *- to interact better with static geometry in the SDK. See the following
4022  *- functions for more details:
4023  *>
4024  *- - diguyCharacter::agent_set_feeler_function()
4025  *- - diguyCharacter::agent_get_feeler_function()
4026  *- - diguyScenario::agent_set_default_character_feeler_function()
4027  *<
4028  *- - Crowds and agents can now flee a group. Accessed via:
4029  *>
4030  *- - diguyCharacter::agent_flee_group()
4031  *- - diguyCrowd::agents_flee_group()
4032  *<
4033  **
4034  *4 Version 8.6.3
4035  **
4036  *- - Crowd UI Improvements:
4037  *>
4038  *- - Selected member will now only show postures and variants that it has
4039  *- available.
4040  *- - Selected edit mode with display better visual cues indicating which
4041  *- crowd members will be affected by changes
4042  *- - Added look at member button.
4043  *<
4044  *- - Crowd Blitzing: Blitzing a crowd into an area that is non-contiguous
4045  *- will now attempt to find the longest path from the start point to
4046  *- the end point, This should fix a frequent failure case with the
4047  *- Blitzer.
4048  **
4049  *4 Version 8.6.1
4050  **
4051  *- - DI-Guy SAF references changed to DI-Guy AI.
4052  **
4053  *4 Version 8.6.0
4054  **
4055  *- - New DI-Guy SAF functions:
4056  *>
4057  *- - diguyCharacter::agent_set_current_behavior_region_border_is_solid()
4058  *- - diguyCrowd::set_all_members_enabled()
4059  *- - diguyCrowd::set_current_behavior_region_border_is_solid()
4060  *- - diguyCrowd::is_current_behavior_and_focus_group()
4061  *- - diguyCrowd::is_current_behavior_and_focus_character()
4062  *- - diguyCrowd::is_current_behavior()
4063  *- - diguyCrowd::is_crowd_dead()
4064  *- - diguyScenario::set_create_network_crowds()
4065  *- - diguyScenario::get_create_network_crowds()
4066  *<
4067  *4 Version 8.5.0
4068  **
4069  *- - Initial DI-Guy SAF release.
4070  *- - Added/updated DI-Guy SAF classes:
4071  *>
4072  *- - diguyAgentParams
4073  *- - diguyCrowdProfile
4074  *- - diguyCrowd (extensive changes, promoted from experimental)
4075  *<
4076  *- - New DI-Guy SAF functions:
4077  *>
4078  *- - diguyScenario::destroy_crowd()
4079  *- - diguyScenario::get_num_crowds()
4080  *- - diguyScenario::find_crowd()
4081  *- - diguyScenario::get_crowd_at_index()
4082  *- - diguyScenario::create_crowd_profile()
4083  *- - diguyScenario::destroy_crowd_profile()
4084  *- - diguyScenario::get_num_crowd_profile()
4085  *- - diguyScenario::find_crowd_profile()
4086  *- - diguyScenario::get_crowd_profile_at_index()
4087  *- - diguyScenario::create_group_in_region()
4088  *- - diguyCharacter::agent_attack_group()
4089  *- - diguyCharacter::agent_flee_character()
4090  *- - diguyCharacter::agent_flee_location()
4091  *- - diguyCharacter::agent_remove_all_flee_objects()
4092  *- - diguyCharacter::agent_mingle_in_region()
4093  *- - diguyCharacter::agent_pursue_character()
4094  *- - diguyCharacter::agent_pursue_group()
4095  *- - diguyCharacter::agent_travel_behavior_path()
4096  *- - diguyCharacter::agent_travel_path_shape()
4097  *- - diguyCharacter::agent_travel_region_border()
4098  *- - diguyCharacter::agent_wander_region()
4099  *- - diguyCharacter::agent_stop_behavior()
4100  *- - diguyCharacter::agent_set_current_focus_character()
4101  *- - diguyCharacter::agent_set_current_focus_group()
4102  *- - diguyCharacter::agent_get_initial_params()
4103  *- - diguyCharacter::agent_get_current_params()
4104  *- - diguyCharacter::agent_set_current_params_from_profile()
4105  *- - diguyCharacter::agent_get_current_focus_character()
4106  *<
4107  **
4108  **************************************
4109  *3 DI-Guy Motion Editor
4110  **************************************
4111  **
4112  *4 Version 9.0.1
4113  **
4114  *- - Added sample bvh file to motions directory, should help document how
4115  *- DI-Guy expects bvh files to be structured.
4116  **
4117  *4 Version 9.0.0
4118  **
4119  *- - If motions are added to an action table, the proper default actor
4120  *- is now set automatically.
4121  *- - Improved support for editing offset poses, should be much easier, and
4122  *- not cause abrupt joint behavior.
4123  *- - Changing the actor of a motion arc now immediately applies the new
4124  *- scale to the motion, improvements to actor choosing, motion scaling,
4125  *- and importing code.
4126  *- - Fixed a number of action table editing issues: including hard crash
4127  *- with undo, "remove unused motions" causing corrupted action tables.
4128  *- - General UI improvements:
4129  *>
4130  *- - +/- keys behave more intuitively with regards to the yaw/pitch/roll
4131  *- of the poser.
4132  *- - Shift key alters magnitude of +/- change.
4133  *- - Poser editing gizmo now auto-scales based on camera distance.
4134  *- - Editing mode is now displayed in 3D window title bar.
4135  *- - Initial directories for me project, importing motions and saving
4136  *- motions are now set to expected values.
4137  *<
4138  **
4139  *4 Version 8.6.3
4140  **
4141  *- - Fixed issue with zero length animations causing div by zero.
4142  *- - Fixed minor bug with action tables not properly updating when unused
4143  *- motions were removed.
4144  **
4145  *4 Version 7.1.11
4146  **
4147  *- - Fixed problem that many error messages would appear when saving
4148  *- action tables.
4149  **
4150  *4 Version 7.1.0
4151  **
4152  *- - Fixed various problems with setting variants and angle
4153  *- extents for 2-axis motions in the Action Table Editor.
4154  *- - Added sliders for testing aim actions in the Action Table
4155  *- Editor.
4156  **
4157  *4 Version 6.1.9
4158  **
4159  *- - Fixed a number of bugs introduced with the upgrade to high
4160  *- precision positions.
4161  **
4162  *4 Version 6.1.0
4163  **
4164  *- - Added new gesture table editor, allows for the modification of
4165  *- the action tables of table gestures.
4166  *- - Null motion arcs are now editable, with blend type and duration
4167  *- as parameters.
4168  **
4169  *4 Version 6.0.6
4170  **
4171  *- - BVH file import now supports joint translations in addition to
4172  *- rotations.
4173  *- - Resultant BDM files contain only relevant variables.
4174  **
4175  *4 Version 6.0.0
4176  **
4177  *- - Initial 6.0 DI-Guy Motion Editor release.
4178  **
4179  **
4180  **************************************
4181  *3 DI-Guy Character Viewer
4182  **************************************
4183  **
4184  *4 Version 8.0.2
4185  **
4186  *- - Added view selection buttons that load new camera settings.
4187  **
4188  *4 Version 6.1.9
4189  **
4190  *- - Fixed a number of bugs introduced with the upgrade to high
4191  *- precision positions.
4192  *- - Fixed character transparency.
4193  *- - Fixed selecting the default appearance.
4194  **
4195  *4 Version 6.0.2
4196  **
4197  *- - Added default settings file that shows Character Type /
4198  *- Appearance / Action selection page.
4199  **
4200  *4 Version 6.0.1
4201  **
4202  *- - Fixed problem where appearances that used a different actor than
4203  *- the default actor for a character did not correctly display.
4204  **
4205  *4 Version 6.0.0
4206  **
4207  *- - DI-Guy Character Viewer added to DI-Guy Applications Suite.
4208  *- Allows quick review of character types, appearances, and
4209  *- actions.
4210  **
4211  **
4212  **************************************
4213  *3 DI-Guy for Vega Prime
4214  **************************************
4215  **
4216  *4 Version 9.0.3
4217  **
4218  *- - vpNet 2.2 should now be enabled.
4219  *- - Fixed issue with skyLight lighting and shaders not being properly
4220  *- applied.
4221  *- - Fixed Memory leak when characters were unrefed to zero. Note a slight
4222  *- change to the basics example.
4223  **
4224  *4 Version 9.0.1
4225  **
4226  *- - Fixed issue with new vpDiguys not having their locations properly
4227  *- set when reading out of an acf.
4228  *- - Fixed issue with vpDiguyCharacters parented to vpTransforms not
4229  *- being properly created.
4230  **
4231  *4 Version 9.0.0
4232  **
4233  *- - DI-Guy for Vega Prime now works with VP 2.2.
4234  **
4235  *4 Version 8.6.3
4236  **
4237  *- - Fixed crash on exit when a vpDiguyCharacter parent was not a
4238  *- scenario.
4239  *- - Fixed bug where characters would multiply render if they were
4240  *- parented to a vpObject
4241  *- - parented and translated characters will should start broadcasting
4242  *- over the network with proper values.
4243  **
4244  *4 Version 8.0.3
4245  **
4246  *- - Moved example_acfs to their own subdirectory instead of in
4247  ** simple_playback directory.
4248  *- - Added warning about setting channel LOD scale to zero, can cause
4249  ** character to not draw.
4250  *- - Fixed an issue where not having a valid license could cause vp
4251  ** applications to crash.
4252  *- - Fixed licensing issue effecting vpDiguy/vpNet/HLA/stealth.
4253  *- - Basics Programming example now demonstrates ground clamping. As well
4254  *- as some other polish to programming examples.
4255  **
4256  *4 Version 8.0.2
4257  **
4258  *- - Improved reporting of version information during installation.
4259  **
4260  *4 Version 8.0.0
4261  **
4262  *- - Initial 8.0 release candidate.
4263  *- - vpDiguy using vpNet should now support all coordinate conversion
4264  *- routines that vpNet supports.
4265  *- - Memory usage and rendering performance improvements.
4266  **
4267  *4 Version 7.0.8
4268  **
4269  *- - Fixed HLA networking licensing issue. Shouldn't need explicit hla
4270  *- license with vpNet.
4271  *- - Added new autogenerated vpDiguy SDK docs.
4272  *- - Added code to basics example that demonstrates creating a character
4273  *- after configure.
4274  *- - Added documentation about vpDiguy openAL audio module's
4275  *- incompatibility with vpAudio module.
4276  *- - Added static versions of vpDiguy libraries, updated autolinking
4277  *- code in vpDiguyCpp.cpp.
4278  **
4279  *4 Version 7.0.7
4280  **
4281  *- - Fixed a number of vpNet related bugs.
4282  *- - NOTE: In order to make vpNet interaction more solid reading of
4283  *- UTM coordinates out of Scenario Objects in vpDiguy has been
4284  *- disabled. UTM coordinates should be specified explicitly in the
4285  *- Net Connection gcf panel and the DI-Guy Scenario Network Page.
4286  **
4287  *4 Version 7.0.6
4288  **
4289  *- - Fixed a number of recreation/looping related bugs.
4290  **
4291  *4 Version 7.0.3
4292  **
4293  *- - Turned on vpNet/vpDiguy networking.
4294  *- - Updated all the acfs to be vp 2.0 compliant.
4295  *- - Updated vpDiguy gcf to include new 7.0 content.
4296  *- - Fixed bug in UTM support.
4297  *- - Fixed problem if multiple diguy particles attempt to instantiate
4298  *- the same type of vpFX. Fixed memory leak as well.
4299  *- - Fixed divide by zero bug in networking code, could cause 0th
4300  *- character to never show up.
4301  *- - Fixed bug where a character with an appearance change would
4302  *- not be recreated properly if a scenario was looping.
4303  **
4304  *4 Version 7.0.0
4305  **
4306  *- - Fixed a couple of vpDiguyScenario function calls to print a warning
4307  *- if the functions are called before configure, instead of crashing.
4308  *- - diguyCharacter's position syncs with vpDiguyCharacter on creation.
4309  *- - Distributed rendering should now support mapping from DI-Guy
4310  * particles.
4311  **
4312  *4 Version 6.1.11
4313  **
4314  *- - Consolidated networking examples, moved
4315  *- vpnet_(send/receive)_(dis/hla).acf
4316  *- into simple_playback because they didn't have unique c++ code.
4317  *- - Added postLoad function to vpDiguyCharacter building code to try
4318  *- and enable sensor prime.
4319  *- - Added vpDiguyScenario::set_time_independent_of_vp_sim_time() and
4320  *- vpDiguyScenario::get_time_independent_of_vp_sim_time() Allows
4321  *- time to be disconnected from sim time.
4322  **
4323  *4 Version 6.1.10
4324  **
4325  *- - Renamed vpDiguyScenario::SetSyncCameraEnable() to
4326  *- vpDiguyScenario::setSyncCameraEnable().
4327  **
4328  *4 Version 6.1.9
4329  **
4330  *- - Added per scenario time offset code.
4331  **
4332  *4 Version 6.1.8
4333  **
4334  *- - Code now compiles against Vega 2.0 libraries:
4335  *- - Added 2.0 style copy constructor for diguyCharacters to use in
4336  *- cloning.
4337  *- - Fixed a bug where locked off joints issued warnings.
4338  *- - Fixed a bug where some dynamic matrices weren't being properly
4339  *- updating, fixes gazing inside Vega.
4340  *- - Altered how diguyScenarios get loaded to accommodate new
4341  *- merging code.
4342  *- - Unsupported Vega sound module now uses openAL.
4343  **
4344  *4 Version 6.1.1
4345  **
4346  *- - gcfs and xsd no longer use "DI-Guy" in the naming convention;
4347  *- instead "Diguy" is now used. This avoids uncompilable code
4348  *- generated from lynxPrime's export .cpp functionality, as well
4349  *- as being more consistent with Vega conventions.
4350  **
4351  *4 Version 6.0.8
4352  **
4353  *- - Fixed serious bug affecting HLA networking in DI-Guy for Vega
4354  *- Prime. This bug was causing various problems, ranging from
4355  *- missing or extra apparent network entities, to entities
4356  *- appearing at the wrong location.
4357  **
4358  *4 Version 6.0.7
4359  **
4360  *- - Changed all Vega Prime code/acfs that specify "DI-Guy" to "Diguy".
4361  *- This should allow cpp exports to work better.
4362  *- - Renamed vpDiguy.h/cpp to vpDiguySettings to better match acf info.
4363  *- - Added Vega Prime view settings example that shows off camera sync
4364  *- code.
4365  *- - Added Vega Prime simple example that shows how to initialize and
4366  *- run with no acf or dss.
4367  **
4368  *4 Version 6.0.6
4369  **
4370  *- - Fixed problem which inadvertently disabled standard Vega Prime
4371  *- "X" key functionality (enable / disable the position strategy
4372  *- for all observers) in a vpDiguy application.
4373  **
4374  *4 Version 6.0.5
4375  **
4376  *- - Fixed problems preventing DI-Guy for Vega Prime from
4377  *- working with DIS/HLA for Vega Prime. DI-Guy for Vega
4378  *- Prime now works with Vega Prime 1.2.2 from MultiGen
4379  *- Paradigm and vpNet 1.2.2 from MAK Technologies. Prior
4380  *- versions of vpNet are not supported.
4381  **
4382  *4 Version 6.0.2
4383  **
4384  *- - Switched bdiString to bdiString* in vpDiguyCharacter.h, to remove
4385  *- a dependency on a header file that is not distributed.
4386  **
4387  *4 Version 6.0.1
4388  **
4389  *- - Fixed problem in vpDiguy DIS networking. Outgoing entities were
4390  *- being published with entity numbers which conflicted with those
4391  *- being used by Vega Prime entities. On the receiving end, this
4392  *- would cause characters to pop from place to place.
4393  **
4394  *4 Version 5.3.4
4395  **
4396  *- - Added a circle example program to programming_examples/vpdiguy.
4397  **
4398  *4 Version 5.3.3
4399  **
4400  *- - DI-Guy characters types are now listed in a Character Type combo box.
4401  *- - A character type sensitive list of appearances are now listed in an
4402  *- Appearance combo box.
4403  *- - A character type sensitive list of actions are now listed in an
4404  *- Action combo box.
4405  *- - A character type sensitive list of head appearances are now listed
4406  *- in a Head Appearance combo box.
4407  *- - Altering the xyz position, heading or scale factor of a character
4408  *- now reflects on the character immediately.
4409  *- - Adding a ground clamp to a DI-Guy Scenario node now adds the ground
4410  *- clamp to all of its children that don't currently have a ground
4411  *- clamp.
4412  *- - Added new DI-Guy Settings functionality, including turning on/off
4413  *- scripting, sound effects, facial expressions, and the mapping of
4414  *- DI-Guy particles to Vega particles.
4415  *- - Added new options to DI-Guy Scenario panel.
4416  *- - Added toggle for showing scene objects found in the scenario file.
4417  *- - Added Sync Camera option that will slave the observer/motion controls
4418  *- to the DI-Guy camera.
4419  *- - Adding a DI-Guy character directly to a scene now creates one without
4420  *- a scenario being necessary.
4421  *- - DI-Guy characters dropped into a vpNet model map are now correctly
4422  *- cloned. (Requires the latest version of vpNet.)
4423  **
4424  *4 Version 5.2.1
4425  **
4426  *- - Better integration with MaK's vpNet module (see above).
4427  *- - Installation now occurs as a separate module on the DI-Guy CD.
4428  *- - Installation now automatically copies samples, documents to the Vega
4429  *- Prime installation as well as registering the DI-Guy for Vega Prime
4430  *- module.
4431  **
4432  */
4433 
4434 /*****************************************************************************
4435  *****************************************************************************
4436  **
4437  *2 DI-Guy Data, 9.0 and Earlier
4438  **
4439  *****************************************************************************
4440  *****************************************************************************
4441  **
4442  *4 Version 9.0.1
4443  **
4444  *- - Added character soldier_sa80, a British soldier with desert and
4445  *- temperate appearances using a sa80, based on the soldier_07 character.
4446  *- Available appearances:
4447  *>
4448  *- - uk_desert_sa80
4449  *- - uk_temperate_sa80
4450  *<
4451  *- - Added character "projectile" with meters per second motions.
4452  *- Character projectile appearances:
4453  *>
4454  *- - rpg_fired
4455  *- - sa7_fired
4456  *- - stinger_fired
4457  *- - javelin_fired
4458  *- - 120mm_tank_round_fired
4459  *- - at4_fired
4460  *- - 40mm_fired
4461  *<
4462  *- - Added sound files: m203_hit.wav, fire_m203.wav, arabic_street_sounds.wav
4463  *- sa7_flight.wav, sa7_fired.wav, stinger_fired.wav, stinger_flight.wav,
4464  *- javelin_flight.wav, javelin_impact.wav, at4_fired.wav, at4_flight.wav
4465  *- at4_impact.wav, javelin_fired.wav, pk74_fired.wav, m1a1_fired.wav
4466  **
4467  *4 Version 9.0.0
4468  **
4469  *- - Some character types have been made deprecated, and made "legacy"
4470  *- character types. If these character types are used in an existing
4471  *- .dss file or are created by a diguyScenario::create_character()
4472  *- call they will be created, but by default they will not show up
4473  *- in any DI-Guy Scenario character type selection controls. The
4474  *- legacy character types are:
4475  *>
4476  *- - soldier_m249
4477  *- - soldier_m4
4478  *- - soldier_qk
4479  *- - soldier_signals
4480  *- - soldier_fire
4481  *- - soldier_pistol
4482  *- - soldier_melios
4483  *- - afghan_child_crowd
4484  *- - male_pedestrian3
4485  *- - mped_sweeper
4486  *- - mped1_misc
4487  *- - mped2_misc
4488  *- - mped3_misc
4489  *- - mped5_crowd2
4490  *- - mped5_crowd3
4491  *- - mped5_crowd4
4492  *- - mped5_crowd5
4493  *- - mped5_crowd6
4494  *- - fped2_misc
4495  *- - fped3_crowd2
4496  *- - suspect3
4497  *- - marshaller
4498  *- - esil
4499  *- - soldier_precise
4500  *- - launcher
4501  *- - suspect
4502  *- - suspect2
4503  *- - fped_mother
4504  *- - sergeant
4505  *<
4506  *4 Version 8.0.0
4507  **
4508  *- - New character types:
4509  *>
4510  *- - chain_simulation
4511  *- - civilian_cc
4512  *- - soldier_cc
4513  *- - soldier_at4
4514  *- - soldier_javelin
4515  *- - soldier_m249
4516  *- - soldier_m9
4517  *- - soldier_m4
4518  *- - train
4519  *<
4520  *- - New human appearances:
4521  *>
4522  *- - 3 Security Guards
4523  *- - Hazmat Suits level A B and C
4524  *- - Assortment of Hazmat props
4525  **
4526  *- - 10 different Close Combat civilians
4527  *- - Close Combat BDU and DCU with M9, M249, M240, M60, AT4,
4528  *- Javelin M4 with M203, M16 with M203 Stinger weapons
4529  *- - Close Combat Opfor with SA16, RPG7, AK47 and PK74 weapons
4530  **
4531  *- - 3 Iraqi Insurgents
4532  *- - 2 Iraqi Soldier
4533  *- - 2 Iraqi Police
4534  **
4535  ** The following soldier appearances can have M9, M249, M240, M60,
4536  ** AT4, Javelin M4 with M203 and M16 with M203 weapons:
4537  **
4538  *- - 4 BDU with IBA
4539  *- - 4 ACU with IBA
4540  *- - 4 USMC with IBA
4541  *- - 4 USMC desert with IBA
4542  *<
4543  *- - New turret vehicle and technical vehicle appearances:
4544  *>
4545  *- - gaz_truck_w_ZSU23_turret
4546  *- - gaz_truck_w_ZSU23_turret_blown
4547  *- - toyota_pickup_tech_turret
4548  *- - toyota_pickup_tech_turret_blown
4549  *- - humvee_50cal_grn_turret
4550  *- - humvee_50cal_grn_turret_blown
4551  *- - humvee_50cal_des_turret
4552  *- - humvee_50cal_des_turret_blown
4553  *- - m1a2_abrams_grn_turret
4554  *- - m1a2_abrams_grn_turret_blown
4555  *- - m1a2_abrams_des_turret
4556  *- - m1a2_abrams_des_turret_blown
4557  *- - t72_tank_grn_turret
4558  *- - t72_tank_grn_turret_blown
4559  *- - t72_tank_des_turret
4560  *- - t72_tank_des_turret_blown
4561  *- - m2a3_bradley_grn_turret
4562  *- - m2a3_bradley_grn_turret_blown
4563  *- - m2a3_bradley_des_turret
4564  *- - m2a3_bradley_des_turret_blown
4565  *- - leclerc_tank_descamo_turret
4566  *- - leclerc_tank_descamo_turret_blown
4567  *- - leclerc_tank_camo_turret
4568  *- - leclerc_tank_camo_turret_blown
4569  *<
4570  *- - Added Motions to Soldier and Soldier2 characters:
4571  *>
4572  *- - stand_ready_8th_turn_left
4573  *- - stand_ready_8th_turn_right
4574  *- - stand_ready_qtr_turn_left
4575  *- - stand_ready_qtr_turn_right
4576  *- - stand_aim_extreme
4577  *- - kneel_aim_extreme
4578  *- - walk_aim
4579  *- - walk_aim_back
4580  *<
4581  *4 Version 7.0.0
4582  **
4583  *- - New character types:
4584  *>
4585  *- - chem_bio_pedestrian
4586  *- - fdc_chock_and_chains
4587  *- - fdc_fuelman
4588  *- - fdc_grounding
4589  *- - fdc_pallet
4590  *- - fdc_pedestrian
4591  *- - firefighter
4592  *- - fireman_silver
4593  *- - vehicle_technical
4594  *- - vehicle_turret
4595  *- - vehicle_wheels
4596  *<
4597  *4 Version 6.1.2
4598  **
4599  *- - Vehicles and props now have more accurate bounding volumes.
4600  *- - Fixed problem with config file appearance syntax. The
4601  *- item "shapeset:shape" format caused a crash; it now works
4602  *- again.
4603  *- - Replaced default scene object
4604  *- (sets/default_stage/default_stage.flt) with new default
4605  *- (sets/default_stage7/flt/default_stage7.flt). The new
4606  *- default_stage7.flt scene object has a number of different
4607  *- areas in which example scenarios can be placed.
4608  **
4609  *4 Version 6.1.1
4610  **
4611  *- - Added new appearance "invisible_human"; Using this appearance
4612  *- for a human character will remove all geometry from the
4613  *- character, effectively making it invisible.
4614  **
4615  *4 Version 6.1.0
4616  **
4617  *- - Added ability to specify in config files how long a null
4618  *- transition should take, and which blend function it should use.
4619  **
4620  *4 Version 6.0.2
4621  **
4622  *- - Modified stroll motions of female_pedestrian character to move
4623  *- hands further away from body.
4624  *- - Fixed some facing issues for soldier-type characters in transition
4625  *- motions between stand_aim and kneel_aim actions.
4626  **
4627  *4 Version 6.0.1
4628  **
4629  *- - Added particle_puff.rgba to list of effects textures.
4630  *- - Fixed the standing hip height of actor greg. It had been
4631  *- mistakenly changed to match that of actor bill. This caused
4632  *- problems for motion scaling for some actor / appearance
4633  *- combinations. (PR 3029)
4634  **
4635  *4 Version 6.0.0
4636  **
4637  *- - Initial 6.0 DI-Guy Data release.
4638  **
4639  *4 Version 5.3.5
4640  **
4641  *- - Removed one unused level of Motion LODs from data loaders
4642  *- config entries. The removed LOD 6 always had 0 variables in
4643  *- it, which wasn't useful for anything.
4644  *- This change requires use of DI-Guy Applications 5.3.5.
4645  **
4646  *4 Version 5.3.2
4647  **
4648  *- - Changed format of Motion Texture (motex) entries in DI-Guy
4649  *- config files. The new format gives motion textures their
4650  *- own config entry keyword, separate from motion arcs. This
4651  *- allows DI-Guy to know exactly which motions are going to be
4652  *- used as motion textures. Custom motion textures using the
4653  *- old format need to be updated.
4654  *- - Changed format of gesture entries in DI-Guy config files.
4655  *- Custom gestures using the old format need to be updated.
4656  **
4657  *4 Version 5.3.1
4658  **
4659  *- - Fixed problem with airport_crowd character selecting wrong
4660  *- action for default moving action.
4661  *- - Added sergeant2 character, which is similar to the sergeant
4662  *- character but better deals with transitions between actions.
4663  *- - Added fped_mother2 character, which is similar to the fped_mother
4664  *- character but better deals with transitions between actions.
4665  **
4666  *4 Version 5.2.2
4667  **
4668  *- - Running motion has been improved for the following characters:
4669  *- afghan_fighter, cbd, soldier, soldier2, soldier_precise, soldier_qk.
4670  *- Scenarios from previous revisions using these motions may behave
4671  *- slightly differently.
4672  **
4673  */