コード例 #1
0
CKObjectDeclaration	*FillBehaviorTextureSinusDecl()
{
    CKObjectDeclaration *od = CreateCKObjectDeclaration("Texture Sine2");
    od->SetDescription("Produces a sinusoidal displacement on the UV coords of a mesh's material (or one of its channel).");

    /* rem:
    <SPAN CLASS=in>In: </SPAN>triggers the process<BR>
    <SPAN CLASS=out>Out: </SPAN>is activated when the process is completed.<BR>
    <BR>
    <SPAN CLASS=pin>X Amplitude: </SPAN>amplitude of sine displacement along the X axis of the texture <BR>
    <SPAN CLASS=pin>Y Amplitude: </SPAN>amplitude of sine displacement along the Y axis of the texture.<BR>
    <SPAN CLASS=pin>Velocity: </SPAN>radial speed expressed in radian/seconds.<BR>
    <SPAN CLASS=pin>Channel: </SPAN>if set to -1, the mapping is calculated only for the default material.
    Otherwise it is processed on the specified channel.<BR>
    <BR>
    */
    /* warning:
    - The initial UV (mapping coordinates) on the mesh for this texture are saved when the building block is attached
    to the mesh (that's why we can't target this building block to another mesh than the one
    the building block is applied to), therefore you needn't to put Initials Conditions to the mesh if
    you wish to recover the initial mapping of the texture.<BR>
    - Beware, not all the building blocks work with this specification (eg: Texture Scroller need IC to recover the initials mapping).<BR>
    - The "Texture Sine" BB is a time based building block (i.e. it will execute at the same speed what ever the frame rate is
    [this means you needn't to add a per second building block in front of it]).<BR>
    */
    od->SetType( CKDLL_BEHAVIORPROTOTYPE);
    od->SetGuid(CKGUID(0x47e96252,0x632216fe));
    od->SetAuthorGuid(VIRTOOLS_GUID);
    od->SetAuthorName("Virtools");
    od->SetVersion(0x00010000);
    od->SetCreationFunction(CreateTextureSinusProto);
    od->SetCompatibleClassId(CKCID_BEOBJECT);
    od->SetCategory("Materials-Textures/Animation");
    return od;
}
コード例 #2
0
CKObjectDeclaration	*FillBehaviorSetMousPosDecl(){
	CKObjectDeclaration *od = CreateCKObjectDeclaration("SetMousePos");	
	od->SetCategory("Narratives/Mouse");
	od->SetType( CKDLL_BEHAVIORPROTOTYPE);
	od->SetGuid(CKGUID(0x7938083c,0x32f03a3d));
	od->SetAuthorGuid(VIRTOOLS_GUID);
	od->SetAuthorName("Virtools");
	od->SetVersion(0x00010000);
	od->SetCreationFunction(CreateSetMousPosProto);
	od->SetCompatibleClassId(CKCID_BEOBJECT);
	return od;
}
コード例 #3
0
CKObjectDeclaration	*FillBehaviorFTPLoginDecl(){
	CKObjectDeclaration *od = CreateCKObjectDeclaration("FTP Login");	
	od->SetDescription("");
	od->SetCategory("Narratives/Files");
	od->SetType( CKDLL_BEHAVIORPROTOTYPE);
	od->SetGuid(CKGUID(0x3d100c46,0x206c6bc2));
	od->SetAuthorGuid(VIRTOOLS_GUID);
	od->SetAuthorName("Virtools");
	od->SetVersion(0x00010000);
	od->SetCreationFunction(CreateFTPLoginProto);
	od->SetCompatibleClassId(CKCID_BEOBJECT);
	return od;
}
コード例 #4
0
CKObjectDeclaration	*FillBehaviorGetLastFileNameDecl() {
    CKObjectDeclaration *od = CreateCKObjectDeclaration("GetLastFileName");
    od->SetDescription("Add Objects");
    od->SetCategory("Narratives/Objects");
    od->SetType( CKDLL_BEHAVIORPROTOTYPE);
    od->SetGuid(CKGUID(0xa2e4a61,0x170735ce));
    od->SetAuthorGuid(VIRTOOLS_GUID);
    od->SetAuthorName("Virtools");
    od->SetVersion(0x00010000);
    od->SetCreationFunction(CreateGetLastFileNameProto);
    od->SetCompatibleClassId(CKCID_BEOBJECT);
    return od;
}
コード例 #5
0
CKObjectDeclaration	*FillBehaviorGetFileDecl(){
	CKObjectDeclaration *od = CreateCKObjectDeclaration("Get File");	
	od->SetDescription("");
	od->SetCategory("Narratives/Files");
	od->SetType( CKDLL_BEHAVIORPROTOTYPE);
	od->SetGuid(CKGUID(0x2e1c1420,0x1ecd1db0));
	od->SetAuthorGuid(VIRTOOLS_GUID);
	od->SetAuthorName("Virtools");
	od->SetVersion(0x00010000);
	od->SetCreationFunction(CreateGetFileProto);
	od->SetCompatibleClassId(CKCID_BEOBJECT);
	return od;
}
コード例 #6
0
CKObjectDeclaration	*FillBehaviorCallPythonFuncDecl2()
{                          
	CKObjectDeclaration *od = CreateCKObjectDeclaration("CallPythonFuncEx");	
	od->SetDescription("");
	od->SetType( CKDLL_BEHAVIORPROTOTYPE);
	od->SetGuid(CKGUID(0x67251d33,0x402868fb));
	od->SetAuthorGuid(VIRTOOLS_GUID);
	od->SetAuthorName("Virtools");
	od->SetVersion(0x00010000);
	od->SetCreationFunction(CreateCallPythonProto2);
	od->SetCompatibleClassId(CKCID_BEOBJECT);
	od->SetCategory("Python");
	return od;
}
コード例 #7
0
ファイル: PlayEffect.cpp プロジェクト: gbaumgart/vt
CKObjectDeclaration	*FillBehaviorPlayFFEffectDecl()
{                          
	CKObjectDeclaration *od = CreateCKObjectDeclaration("PlayFFEffect");	
	od->SetDescription("");
	od->SetType( CKDLL_BEHAVIORPROTOTYPE);
	od->SetGuid(CKGUID(0x54397475,0x4ca43e26));
	od->SetAuthorGuid(VIRTOOLS_GUID);
	od->SetAuthorName("Virtools");
	od->SetVersion(0x00010000);
	od->SetCreationFunction(CreatePlayFFEffectProto);
	od->SetCompatibleClassId(CKCID_BEOBJECT);
	od->SetCategory("Controllers/Joystick");
	return od;
}
コード例 #8
0
CKObjectDeclaration	*FillBehaviorSetCIConnectionDetailsDecl(){
	CKObjectDeclaration *od = CreateCKObjectDeclaration("SetMOConnectionDetails");
	
	//od->SetDescription("Forwards");
	od->SetType( CKDLL_BEHAVIORPROTOTYPE);
	od->SetGuid(CKGUID(0x11fe6abc,0x7e514726));
	od->SetCategory(GBL_MEASUREDOBJECTIVE_BB_CAT);
	od->SetAuthorGuid(GBL_AUTHOR_GUID );
	od->SetAuthorName( GBL_AUTHOR );
	od->SetVersion(0x00010000);
	od->SetCreationFunction(CreateSetCIConnectionDetailsProto);
	od->SetCompatibleClassId(CKCID_BEOBJECT);
	return od;
}
コード例 #9
0
ファイル: LimitedCameraOrbit.cpp プロジェクト: gbaumgart/vt
CKObjectDeclaration	*FillBehaviorKeyboardCameraOrbitDecl()
{
	CKObjectDeclaration *od = CreateCKObjectDeclaration("Keyboard Camera Orbit");
	od->SetDescription("Makes a Camera orbit round a 3D Entity using keyboard with limited angles.");
	/* rem:
	<SPAN CLASS=in>On: </SPAN>Starts the behavior.<BR>
	<SPAN CLASS=in>Off: </SPAN>Stops the behavior.<BR>
	<SPAN CLASS=out>Exit On: </SPAN>is activated when the behavior has been started.<BR>
	<SPAN CLASS=out>Exit Off: </SPAN>is activated when the behavior has been stop. If in "return" mode, is activated only once the camera is back in place.<BR>
	<BR>
	<SPAN CLASS=pin>Target Position: </SPAN>Position we are turning around.<BR>
	<SPAN CLASS=pin>Target Referential: </SPAN>Referential where the position is defined.<BR>
	<SPAN CLASS=pin>Move Speed: </SPAN>Speed in angle per second used when the user moves the camera.<BR>
	<SPAN CLASS=pin>Return Speed: </SPAN>Speed in angle per second used when the camera returns.<BR>
	<SPAN CLASS=pin>Min Horizontal: </SPAN>Minimal angle allowed on the horizontal rotation. Must have a negative value.<BR>
	<SPAN CLASS=pin>Max Horizontal:</SPAN>Maximal angle allowed on the horizontal rotation. Must have a positive value.<BR>
	<SPAN CLASS=pin>Min Vertical: </SPAN>Minimal angle allowed on the vertical rotation. Must have a negative value.<BR>
	<SPAN CLASS=pin>Max Vertical: </SPAN>Maximal angle allowed on the vertical rotation. Must have a positive value.<BR>
	<SPAN CLASS=pin>Zoom Speed: </SPAN>Speed of the zoom in distance per second.<BR>
	<SPAN CLASS=pin>Zoom Min: </SPAN>Minimum zoom value allowed. Must have a negative value.<BR>
	<SPAN CLASS=pin>Zoom Max: </SPAN>Maximum zoom value allowed. Must have a positive value.<BR>
	<BR>
	The following keys are used by default to move the Camera around its target:<BR>
	<BR>
	<FONT COLOR=#FFFFFF>Page Up: </FONT>Zoom in.<BR>
	<FONT COLOR=#FFFFFF>Page Down: </FONT>Zoom out.<BR>
	<FONT COLOR=#FFFFFF>Up and Down Arrows: </FONT>Rotate vertically.<BR>
	<FONT COLOR=#FFFFFF>Left and Right Arrows: </FONT>Rotate horizontally.<BR>
	The arrow keys are the inverted T arrow keys and not the ones of the numeric keypad.<BR>
  <BR>
	<SPAN CLASS=setting>Returns: </SPAN>Does the camera systematically returns to its original position.<BR> 
	<SPAN CLASS=setting>Key Rotate Left: </SPAN>Key used to rotate left.<BR> 
	<SPAN CLASS=setting>Key Rotate Right: </SPAN>Key used to rotate right.<BR> 
	<SPAN CLASS=setting>Key Rotate Up: </SPAN>Key used to rotate up.<BR> 
	<SPAN CLASS=setting>Key Rotate Down: </SPAN>Key used to rotate down.<BR> 
	<SPAN CLASS=setting>Key Zoom in: </SPAN>Key used to zoom in.<BR> 
	<SPAN CLASS=setting>Key Zoom out: </SPAN>Key used to zoom in.<BR> 
  <BR>
	*/
	od->SetCategory("Cameras/Movement");
	od->SetType(CKDLL_BEHAVIORPROTOTYPE);
	od->SetGuid(CKGUID(0x7610f4d,0x69747b9d));
	od->SetAuthorGuid(VIRTOOLS_GUID);
	od->SetAuthorName("Virtools");
	od->SetVersion(0x00010000);
	od->SetCreationFunction(CreateKeyboardCameraOrbitProto);
	od->SetCompatibleClassId(CKCID_3DENTITY);
	od->NeedManager(INPUT_MANAGER_GUID);
	return od;
}
コード例 #10
0
ファイル: MidiEvent.cpp プロジェクト: gbaumgart/vt
CKObjectDeclaration	*FillBehaviorMidiEventDecl()
{
	CKObjectDeclaration *od = CreateCKObjectDeclaration("Midi Event");
	od->SetDescription("Gets a Midi event ON/OFF.");
	od->SetCategory("Controllers/Midi");
	od->SetType(CKDLL_BEHAVIORPROTOTYPE);
	od->SetGuid(CKGUID(0x7c652f90,0x64404377));
	od->SetAuthorGuid(VIRTOOLS_GUID);
	od->SetAuthorName("Virtools");
	od->SetVersion(0x00010000);
	od->SetCreationFunction(CreateMidiEventBehaviorProto);
	od->SetCompatibleClassId(CKCID_BEOBJECT);
	return od;
}
コード例 #11
0
CKObjectDeclaration	*FillBehaviorDirToArrayDecl(){
	CKObjectDeclaration *od = CreateCKObjectDeclaration("Dir to Array");	
	od->SetDescription("");
	od->SetCategory("Narratives/Files");
	
	od->SetType( CKDLL_BEHAVIORPROTOTYPE);
	od->SetGuid(CKGUID(0x4be0703f,0x208b5a7f));
	od->SetAuthorGuid(VIRTOOLS_GUID);
	od->SetAuthorName("Virtools");
	od->SetVersion(0x00010000);
	od->SetCreationFunction(CreateDirToArrayProto);
	od->SetCompatibleClassId(CKCID_BEOBJECT);
	return od;
}
コード例 #12
0
ファイル: hasFFe.cpp プロジェクト: gbaumgart/vt
CKObjectDeclaration	*FillBehaviorHasFFEffectsDecl()
{                          
	CKObjectDeclaration *od = CreateCKObjectDeclaration("JHasForceFeedback");	
	od->SetDescription("");
	od->SetType( CKDLL_BEHAVIORPROTOTYPE);
	od->SetGuid(CKGUID(0x12641a78,0x7ca70c45));
	od->SetAuthorGuid(VIRTOOLS_GUID);
	od->SetAuthorName("Virtools");
	od->SetVersion(0x00010000);
	od->SetCreationFunction(CreateHasFFEffectsProto);
	od->SetCompatibleClassId(CKCID_BEOBJECT);
	od->SetCategory("Controllers/Joystick");
	return od;
}
コード例 #13
0
CKObjectDeclaration	*FillBehaviorAddNodalLinkDecl()
{                          
	CKObjectDeclaration *od = CreateCKObjectDeclaration("Create Nodal Edge");	
	od->SetDescription("");
	od->SetType( CKDLL_BEHAVIORPROTOTYPE);
	od->SetGuid(CKGUID(0x47ea2c5c,0x5b6b2b81));
	od->SetAuthorGuid(VIRTOOLS_GUID);
	od->SetAuthorName("Virtools");
	od->SetVersion(0x00010000);
	od->SetCreationFunction(CreateAddNodalLinkProto);
	od->SetCompatibleClassId(CKCID_BEOBJECT);
	od->SetCategory("3D Transformations/Nodal Path");
	return od;
}
コード例 #14
0
ファイル: GetSubBBId.cpp プロジェクト: gbaumgart/vt
CKObjectDeclaration	*FillBehaviorGetNextBBIdDecl()
{                          
	CKObjectDeclaration *od = CreateCKObjectDeclaration("GetNextBBId");	
	od->SetDescription("Returns behavior id of first found and connected building block or behavior graph");

	od->SetType( CKDLL_BEHAVIORPROTOTYPE);
	od->SetGuid(CKGUID(0x572066cc,0x58402b59));
	od->SetAuthorGuid(VIRTOOLS_GUID);
	od->SetAuthorName("Günter Baumgart");
	od->SetVersion(0x00010000);
	od->SetCreationFunction(CreateGetNextBBIdProto);
	od->SetCompatibleClassId(CKCID_BEOBJECT);
	od->SetCategory("Narratives");
	return od;
}
コード例 #15
0
CKObjectDeclaration	*FillBehaviorGBLCIGetCIS_IDListDecl(){
	CKObjectDeclaration *od = CreateCKObjectDeclaration(GBL_CI_API_ENTRY("GetCIS_IDList"));
	//od->SetDescription("Saves a Configurable Information Set");
	od->SetType( CKDLL_BEHAVIORPROTOTYPE);
	od->SetGuid(CKGUID(0x74ba42ff,0x67817c3f));
	od->SetType( CKDLL_BEHAVIORPROTOTYPE);
	od->SetCategory(GBL_CUSTOMISATION_BB_CAT);
	od->SetAuthorGuid(GBL_AUTHOR_GUID );
	od->SetAuthorName( GBL_AUTHOR );
	od->SetVersion(0x00010000);

	od->SetCreationFunction(CreateGBLCIGetCIS_IDListProto);
	od->SetCompatibleClassId(CKCID_BEOBJECT);
	return od;
}
コード例 #16
0
/*
*******************************************************************
* Function: 
*
* Description: 
*    
* Parameters: 
*
* Returns: 
*
*******************************************************************
*/
CKObjectDeclaration	*FillBehaviorNSUnlockObjectDecl()
{
	CKObjectDeclaration *od = CreateCKObjectDeclaration("NSUnlock");	
	od->SetDescription("Locks a session");

	od->SetCategory("TNL/Sessions");
	od->SetType( CKDLL_BEHAVIORPROTOTYPE);
	od->SetGuid(CKGUID(0xdf841a5,0x11475a9c));
	od->SetAuthorGuid(VIRTOOLS_GUID);
	od->SetAuthorName(VTCX_AUTHOR);
	od->SetVersion(0x00010000);
	od->SetCreationFunction(CreateNSUnlockObjectProto);
	od->SetCompatibleClassId(CKCID_OBJECT);
	return od;
}
コード例 #17
0
CKObjectDeclaration	*FillBehaviorDOOwnerChangedDecl()
{
    CKObjectDeclaration *od = CreateCKObjectDeclaration("DOOwnerChanged");
    od->SetDescription("Returns the current owner of a distributed object");

    od->SetCategory("TNL/Distributed Objects");
    od->SetType( CKDLL_BEHAVIORPROTOTYPE);
    od->SetGuid(CKGUID(0x34f668cc,0x43c51c58));
    od->SetAuthorGuid(VIRTOOLS_GUID);
    od->SetAuthorName(VTCX_AUTHOR);
    od->SetVersion(0x00010000);
    od->SetCreationFunction(CreateDOOwnerChangedProto);
    od->SetCompatibleClassId(CKCID_OBJECT);
    return od;
}
コード例 #18
0
/*
 *******************************************************************
 * Function: CKObjectDeclaration *FillBehaviorCISIteratorBBDecl( void )
 *
 * Description : As its name infers, this function describes each Building Block
 *               on a functional level : what it can be applied to, its GUID, its 
 *               creation function, etc.. 
 *		
 *
 * Parameters :
 *    None
 *
 * Returns : CKObjectDeclaration *, containing:
 *               - The type of object declaration ( Must Be CKDLL_BEHAVIORPROTOTYPE )
 *               - The function that will create the CKBehaviorPrototype for this behavior.
 *               - A short description of what the behavior is supposed to do.
 *               - The category in which this behavior will appear in the Virtools interface.
 *               - A unique CKGUID
 *               - Author and Version info
 *               - The class identifier of objects to which the behavior can be applied to.
 *
 *******************************************************************/
CKObjectDeclaration	*FillBehaviorCISIteratorBBDecl()
{
	CKObjectDeclaration *od = CreateCKObjectDeclaration(GBL_CI_API_ENTRY("CISIterator"));
	od->SetDescription("Iterator for CIS");
	od->SetCategory(GBL_CUSTOMISATION_BB_CAT);
	od->SetType( CKDLL_BEHAVIORPROTOTYPE);
	od->SetGuid(CKGUID(0x62570c75,0x23836ccf));
	od->SetAuthorGuid(GBL_AUTHOR_GUID );
	od->SetAuthorName( GBL_AUTHOR );
	od->SetVersion(0x00010000);

	od->SetCreationFunction(CreateCISIteratorBBProto);
	od->SetCompatibleClassId(CKCID_BEOBJECT);
	return od;
}
コード例 #19
0
CKObjectDeclaration	*FillBehaviorDOUserValueModifiedDecl()
{
	CKObjectDeclaration *od = CreateCKObjectDeclaration("DOUserValueModified");	
	od->SetDescription("Gets a user value on a distributed object");

	od->SetCategory("TNL/Distributed Objects");
	od->SetType( CKDLL_BEHAVIORPROTOTYPE);
	od->SetGuid(CKGUID(0x349c10e0,0x7982264c));
	od->SetAuthorGuid(VIRTOOLS_GUID);
	od->SetAuthorName(VTCX_AUTHOR);
	od->SetVersion(0x00010000);
	od->SetCreationFunction(CreateDOUserValueModifiedProto);
	od->SetCompatibleClassId(CKCID_OBJECT);
	return od;
}
コード例 #20
0
/*
*******************************************************************
* Function: 
*
* Description: 
*    
* Parameters: 
*
* Returns: 
*
*******************************************************************
*/
CKObjectDeclaration	*FillBehaviorNSRemoveUserDecl()
{
	CKObjectDeclaration *od = CreateCKObjectDeclaration("NSRemoveUser");	
	od->SetDescription("Iterates through all server sessions");

	od->SetCategory("TNL/Sessions");
	od->SetType( CKDLL_BEHAVIORPROTOTYPE);
	od->SetGuid(CKGUID(0x38c8759d,0x725b5e27));
	od->SetAuthorGuid(VIRTOOLS_GUID);
	od->SetAuthorName(VTCX_AUTHOR);
	od->SetVersion(0x00010000);
	od->SetCreationFunction(CreateNSRemoveUserProto);
	od->SetCompatibleClassId(CKCID_OBJECT);
	return od;
}
コード例 #21
0
ファイル: LogOut.cpp プロジェクト: gbaumgart/vt
CKObjectDeclaration	*FillBehaviorLogEntryDecl()
{
	CKObjectDeclaration *od = CreateCKObjectDeclaration("pLogEvent");	
	od->SetDescription("Displays Internal Log Entries");
	
	od->SetCategory("Physics/Manager");
	od->SetType( CKDLL_BEHAVIORPROTOTYPE);
	od->SetGuid(CKGUID(0x512542dc,0x1b836fd9));
	od->SetAuthorGuid(VIRTOOLS_GUID);
	od->SetAuthorName(VTCX_AUTHOR);
	od->SetVersion(0x00010000);
	od->SetCreationFunction(CreateLogEntryProto);
	od->SetCompatibleClassId(CKCID_OBJECT);
	return od;
}
コード例 #22
0
ファイル: PBSetTriggerMask.cpp プロジェクト: gbaumgart/vt
//************************************
// Method:    FillBehaviorPBSetTriggerMaskDecl
// FullName:  FillBehaviorPBSetTriggerMaskDecl
// Access:    public 
// Returns:   CKObjectDeclaration	*
// Qualifier:
//************************************
CKObjectDeclaration	*FillBehaviorPBSetTriggerMaskDecl()
{
	CKObjectDeclaration *od = CreateCKObjectDeclaration("PCSetTriggerMask");	
	od->SetCategory("Physic/Collision");
	od->SetDescription("Modifies trigger mask");
	od->SetType( CKDLL_BEHAVIORPROTOTYPE);
	od->SetGuid(CKGUID(0x27ae51d4,0x45bf2c6c));
	od->SetAuthorGuid(VTCX_AUTHOR_GUID);
	od->SetAuthorName(VTCX_AUTHOR);
	od->SetVersion(0x00010000);
	od->SetCreationFunction(CreatePBSetTriggerMaskProto);
	od->SetCompatibleClassId(CKCID_3DENTITY);
	od->NeedManager(GUID_MODULE_MANAGER);
	
	return od;
}
コード例 #23
0
/*
 *******************************************************************
 * Function: CKObjectDeclaration *FillBehaviour( void )
 *
 * Description : As its name infers, this function describes each Building Block
 *               on a functional level : what it can be applied to, its GUID, its 
 *               creation function, etc.. 
 *		
 *
 * Parameters :
 *    None
 *
 * Returns : CKObjectDeclaration *, containing:
 *               - The type of object declaration ( Must Be CKDLL_BEHAVIORPROTOTYPE )
 *               - The function that will create the CKBehaviorPrototype for this behavior.
 *               - A short description of what the behavior is supposed to do.
 *               - The category in which this behavior will appear in the Virtools interface.
 *               - A unique CKGUID
 *               - Author and Version info
 *               - The class identifier of objects to which the behavior can be applied to.
 *
 *******************************************************************
 */
CKObjectDeclaration * GBLStorageManagerStateTestBB::FillBehaviour( void )
{
    CKObjectDeclaration *objectDeclaration = CreateCKObjectDeclaration( "GBLStorageManagerStateTestBB" );	
    
    objectDeclaration->SetType( CKDLL_BEHAVIORPROTOTYPE );
    objectDeclaration->SetCreationFunction( GBLStorageManagerStateTestBB::CreatePrototype );
    objectDeclaration->SetDescription( "Unit test BB for the state access interface on storage manager" );
    objectDeclaration->SetCategory( "GBL" );
    objectDeclaration->SetGuid( CKGUID( 0xc6e54ad0, 0x248caa39 ) );
    objectDeclaration->SetVersion( 0x00000001 );
    objectDeclaration->SetAuthorGuid( CKGUID( 0x56495254, 0x4f4f4c53 ) );
    objectDeclaration->SetAuthorName( "ITI Techmedia" );
    objectDeclaration->SetCompatibleClassId( CKCID_BEOBJECT );
    
    return objectDeclaration;
}
コード例 #24
0
ファイル: GBLPFCreate.cpp プロジェクト: gbaumgart/GBL_Backup
/*
 *******************************************************************
 * Function: CKObjectDeclaration *FillBehaviour( void )
 *
 * Description : As its name infers, this function describes each Building Block
 *               on a functional level : what it can be applied to, its GUID, its 
 *               creation function, etc.. 
 *		
 *
 * Parameters :
 *    None
 *
 * Returns : CKObjectDeclaration *, containing:
 *               - The type of object declaration ( Must Be CKDLL_BEHAVIORPROTOTYPE )
 *               - The function that will create the CKBehaviorPrototype for this behavior.
 *               - A short description of what the behavior is supposed to do.
 *               - The category in which this behavior will appear in the Virtools interface.
 *               - A unique CKGUID
 *               - Author and Version info
 *               - The class identifier of objects to which the behavior can be applied to.
 *
 *******************************************************************
 */
CKObjectDeclaration * GBLPFCreate::FillBehaviour( void )
{
    CKObjectDeclaration *objectDeclaration = CreateCKObjectDeclaration( "GBLPFCreate" );	
    
    objectDeclaration->SetType( CKDLL_BEHAVIORPROTOTYPE );
    objectDeclaration->SetCreationFunction( GBLPFCreate::CreatePrototype );
    objectDeclaration->SetDescription( "Create a new user or team" );
    objectDeclaration->SetCategory( "GBL/Profile Controller" );
    objectDeclaration->SetGuid( CKGUID( 0xaf6b6e2e, 0x5ecaf451 ) );
    objectDeclaration->SetVersion( 0x00000001 );
    objectDeclaration->SetAuthorGuid( CKGUID( 0x56495254, 0x4f4f4c53 ) );
    objectDeclaration->SetAuthorName( "ITI Techmedia" );
    objectDeclaration->SetCompatibleClassId( CKCID_BEOBJECT );
    
    return objectDeclaration;
}
コード例 #25
0
ファイル: GBLPFDelete.cpp プロジェクト: gbaumgart/GBL_Backup
/*
 *******************************************************************
 * Function: CKObjectDeclaration *FillBehaviour( void )
 *
 * Description : As its name infers, this function describes each Building Block
 *               on a functional level : what it can be applied to, its GUID, its 
 *               creation function, etc.. 
 *		
 *
 * Parameters :
 *    None
 *
 * Returns : CKObjectDeclaration *, containing:
 *               - The type of object declaration ( Must Be CKDLL_BEHAVIORPROTOTYPE )
 *               - The function that will create the CKBehaviorPrototype for this behavior.
 *               - A short description of what the behavior is supposed to do.
 *               - The category in which this behavior will appear in the Virtools interface.
 *               - A unique CKGUID
 *               - Author and Version info
 *               - The class identifier of objects to which the behavior can be applied to.
 *
 *******************************************************************
 */
CKObjectDeclaration * GBLPFDelete::FillBehaviour( void )
{
    CKObjectDeclaration *objectDeclaration = CreateCKObjectDeclaration( "GBLPFDelete" );	
    
    objectDeclaration->SetType( CKDLL_BEHAVIORPROTOTYPE );
    objectDeclaration->SetCreationFunction( GBLPFDelete::CreatePrototype );
    objectDeclaration->SetDescription( "Delete a player" );
    objectDeclaration->SetCategory( "GBL/Profile Controller" );
    objectDeclaration->SetGuid( CKGUID( 0xa823eea6, 0xc5ab9b76 ) );
    objectDeclaration->SetVersion( 0x00000001 );
    objectDeclaration->SetAuthorGuid( CKGUID( 0x56495254, 0x4f4f4c53 ) );
    objectDeclaration->SetAuthorName( "ITI Techmedia" );
    objectDeclaration->SetCompatibleClassId( CKCID_BEOBJECT );
    
    return objectDeclaration;
}
コード例 #26
0
/*
 *******************************************************************
 * Function: CKObjectDeclaration *FillBehaviour( void )
 *
 * Description : As its name infers, this function describes each Building Block
 *               on a functional level : what it can be applied to, its GUID, its 
 *               creation function, etc.. 
 *		
 *
 * Parameters :
 *    None
 *
 * Returns : CKObjectDeclaration *, containing:
 *               - The type of object declaration ( Must Be CKDLL_BEHAVIORPROTOTYPE )
 *               - The function that will create the CKBehaviorPrototype for this behavior.
 *               - A short description of what the behavior is supposed to do.
 *               - The category in which this behavior will appear in the Virtools interface.
 *               - A unique CKGUID
 *               - Author and Version info
 *               - The class identifier of objects to which the behavior can be applied to.
 *
 *******************************************************************
 */
CKObjectDeclaration * GBLPFRemovePlayer::FillBehaviour( void )
{
    CKObjectDeclaration *objectDeclaration = CreateCKObjectDeclaration( "GBLPFRemovePlayer" );	
    
    objectDeclaration->SetType( CKDLL_BEHAVIORPROTOTYPE );
    objectDeclaration->SetCreationFunction( GBLPFRemovePlayer::CreatePrototype );
    objectDeclaration->SetDescription( "Remove player from a team" );
    objectDeclaration->SetCategory( "GBL/Profile Controller" );
    objectDeclaration->SetGuid( CKGUID( 0x63e258c8, 0x366289c5 ) );
    objectDeclaration->SetVersion( 0x00000001 );
    objectDeclaration->SetAuthorGuid( CKGUID( 0x56495254, 0x4f4f4c53 ) );
    objectDeclaration->SetAuthorName( "ITI Techmedia" );
    objectDeclaration->SetCompatibleClassId( CKCID_BEOBJECT );
    
    return objectDeclaration;
}
コード例 #27
0
ファイル: GBLListBox.cpp プロジェクト: gbaumgart/GBL_Backup
/*
 *******************************************************************
 * Function: FillBehaviour()
 *
 * Description : A standard Virtools function to define the type and locaation of the BB
 *
 *
 * Returns :  Pointer to the filled object declaration
 *
 *******************************************************************
*/
CKObjectDeclaration* CGBLListBox::FillBehaviour()
{
	CKObjectDeclaration *objectDecl = CreateCKObjectDeclaration("GBLListBox");	
	
	objectDecl->SetDescription("Displays a scrolling list of selectable text strings");
	objectDecl->SetType(CKDLL_BEHAVIORPROTOTYPE);
	objectDecl->SetVersion(0x00010000);
	objectDecl->SetCreationFunction(CreateBehaviourPrototype);
	objectDecl->SetCategory("GBL/Interface");
	objectDecl->SetGuid(CKGUID(0xae5c24a0, 0xd69428a0));
	objectDecl->SetAuthorGuid(CKGUID(0x56495254,0x4f4f4c53));
	objectDecl->SetAuthorName("Teleca");
	objectDecl->SetCompatibleClassId(CKCID_2DENTITY);

	return objectDecl;
}
コード例 #28
0
/*
 *******************************************************************
 * Function: CKObjectDeclaration *FillBehaviour( void )
 *
 * Description : As its name infers, this function describes each Building Block
 *               on a functional level : what it can be applied to, its GUID, its 
 *               creation function, etc.. 
 *		
 *
 * Parameters :
 *    None
 *
 * Returns : CKObjectDeclaration *, containing:
 *               - The type of object declaration ( Must Be CKDLL_BEHAVIORPROTOTYPE )
 *               - The function that will create the CKBehaviorPrototype for this behavior.
 *               - A short description of what the behavior is supposed to do.
 *               - The category in which this behavior will appear in the Virtools interface.
 *               - A unique CKGUID
 *               - Author and Version info
 *               - The class identifier of objects to which the behavior can be applied to.
 *
 *******************************************************************
 */
CKObjectDeclaration * CGBLLAERemoveUser::FillBehaviour( void )
{
    CKObjectDeclaration *objectDeclaration = CreateCKObjectDeclaration( "GBLLAERemoveUserBB" );	
    
    objectDeclaration->SetType( CKDLL_BEHAVIORPROTOTYPE );
    objectDeclaration->SetCreationFunction( CGBLLAERemoveUser::CreatePrototype );
    objectDeclaration->SetDescription( "Adds user to the LAE" );
    objectDeclaration->SetCategory( "GBL" );
    objectDeclaration->SetGuid( CKGUID(0x7bfb47fa,0x26625ec8) );
    objectDeclaration->SetVersion( 0x00000001 );
    objectDeclaration->SetAuthorGuid( CKGUID(0x4e6f7a46,0x337232a2) );
    objectDeclaration->SetAuthorName( "ITI Techmedia" );
    objectDeclaration->SetCompatibleClassId( CKCID_BEOBJECT );
    
    return objectDeclaration;
}
コード例 #29
0
ファイル: PBSetHard.cpp プロジェクト: gbaumgart/vt
//************************************
// Method:    FillBehaviorPBSetHardDecl
// FullName:  FillBehaviorPBSetHardDecl
// Access:    public
// Returns:   CKObjectDeclaration	*
// Qualifier:
//************************************
CKObjectDeclaration	*FillBehaviorPBSetHardDecl()
{
	CKObjectDeclaration *od = CreateCKObjectDeclaration("PBSetHard");
	od->SetCategory("Physic/Body");
	od->SetDescription("Sets momentum,velocities and transformations.");
	od->SetType( CKDLL_BEHAVIORPROTOTYPE);
	od->SetGuid(CKGUID(0x528d58e0,0x2fca203a));
	od->SetAuthorGuid(VTCX_AUTHOR_GUID);
	od->SetAuthorName(VTCX_AUTHOR);
	od->SetVersion(0x00010000);
	od->SetCreationFunction(CreatePBSetHardProto);
	od->SetCompatibleClassId(CKCID_3DENTITY);
	od->NeedManager(GUID_MODULE_MANAGER);

	return od;
}
コード例 #30
0
ファイル: GBLCOSetID.cpp プロジェクト: gbaumgart/GBL_Backup
/*
 *******************************************************************
 * Function: CKObjectDeclaration *FillBehaviour( void )
 *
 * Description :
 *
 *
 * Parameters :
 *
 * Returns :
 *
 *******************************************************************
 */
CKObjectDeclaration * GBLCOSetID::FillBehaviour( void )
{
    CKObjectDeclaration *objectDeclaration = CreateCKObjectDeclaration( "GBLCOSetID" );

    objectDeclaration->SetType( CKDLL_BEHAVIORPROTOTYPE );
    objectDeclaration->SetCreationFunction( GBLCOSetID::CreatePrototype );
    objectDeclaration->SetDescription( "Set a globally unique identity within the learning application." );
    objectDeclaration->SetCategory( "GBL/Common" );
    objectDeclaration->SetGuid( GBLCOBGSETID_GUID );
    objectDeclaration->SetVersion( 0x00000001 );
    objectDeclaration->SetAuthorGuid( CKGUID( 0x56495254, 0x4f4f4c53 ) );
    objectDeclaration->SetAuthorName( "ITI Scotland" );
    objectDeclaration->SetCompatibleClassId( CKCID_BEOBJECT );

    return objectDeclaration;
}