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