Added docs and project management tool update
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
rc_fprint( FPRINT_TXT$ )
|
||||
rc_input( INPUT$_PROMPT$ )
|
||||
rc_tst( &TST_X )
|
||||
rc_tst( )
|
||||
#/home/n00b/Projects/RCBASIC4/rcbasic_build/intern_inc/exceptions/rc_arrayDim.h
|
||||
#/home/n00b/Projects/RCBASIC4/rcbasic_build/intern_inc/exceptions/rc_stringArrayDim.h
|
||||
#/home/n00b/Projects/RCBASIC4/rcbasic_build/intern_inc/exceptions/rc_numberArrayDim.h
|
||||
@@ -175,7 +175,7 @@ rc_flashWindow( FLASHWINDOW_FLAG )
|
||||
rc_windowIsGrabbed( )
|
||||
rc_canvasOpen( OPENCANVAS_W, OPENCANVAS_H, OPENCANVAS_VIEWPORT_X, OPENCANVAS_VIEWPORT_Y, OPENCANVAS_VIEWPORT_W, OPENCANVAS_VIEWPORT_H, OPENCANVAS_MODE )
|
||||
rc_canvasClose( CLOSECANVAS_C_NUM )
|
||||
rc_setCanvas3D( SETCANVAS3D_C_NUM, SETCANVAS3D_FLAG )
|
||||
rc_canvasOpen3D( OPENCANVAS3D_W, OPENCANVAS3D_H, OPENCANVAS3D_VIEWPORT_X, OPENCANVAS3D_VIEWPORT_Y, OPENCANVAS3D_VIEWPORT_W, OPENCANVAS3D_VIEWPORT_H, OPENCANVAS3D_MODE )
|
||||
rc_setCanvasVisible( SETCANVASVISIBLE_C_NUM, SETCANVASVISIBLE_FLAG )
|
||||
rc_canvasIsVisible( CANVASISVISIBLE_C_NUM )
|
||||
rc_setCanvasViewport( SETCANVASVIEWPORT_CNUM, SETCANVASVIEWPORT_X, SETCANVASVIEWPORT_Y, SETCANVASVIEWPORT_W, SETCANVASVIEWPORT_H )
|
||||
@@ -189,11 +189,13 @@ rc_setCanvasAlpha( SETCANVASALPHA_C_NUM, SETCANVASALPHA_A )
|
||||
rc_canvasAlpha( GETCANVASALPHA_C_NUM )
|
||||
rc_setCanvasColorMod( SETCANVASCOLORMOD_C_NUM, SETCANVASCOLORMOD_C )
|
||||
rc_getCanvasColorMod( GETCANVASCOLORMOD_C_NUM )
|
||||
rc_cloneCanvas( CLONECANVAS_SRC, CLONECANVAS_DST )
|
||||
rc_cloneCanvas( CLONECANVAS_C_NUM, CLONECANVAS_MODE )
|
||||
rc_setCanvasZ( SETCANVASZ_C_NUM, SETCANVASZ_Z )
|
||||
rc_getCanvasZ( GETCANVASZ_C_NUM )
|
||||
rc_canvasClip( CANVASCLIP_X, CANVASCLIP_Y, CANVASCLIP_W, CANVASCLIP_H )
|
||||
rc_activeCanvas( )
|
||||
rc_setCanvasPhysics2D( SETCANVASPHYSICS2D_C_NUM, SETCANVASPHYSICS2D_STATE )
|
||||
rc_canvasOpenSpriteLayer( OPENSPRITECANVAS_W, OPENSPRITECANVAS_H, OPENSPRITECANVAS_VIEWPORT_X, OPENSPRITECANVAS_VIEWPORT_Y, OPENSPRITECANVAS_VIEWPORT_W, OPENSPRITECANVAS_VIEWPORT_H )
|
||||
rc_drawCircle( CIRCLE_X, CIRCLE_Y, CIRCLE_RADIUS )
|
||||
rc_drawCircleFill( CIRCLEFILL_X, CIRCLEFILL_Y, CIRCLEFILL_RADIUS )
|
||||
rc_drawEllipse( ELLIPSE_X, ELLIPSE_Y, ELLIPSE_RX, ELLIPSE_RY )
|
||||
@@ -212,7 +214,7 @@ rc_loadImage( LOADIMAGE_IMG$ )
|
||||
rc_loadImageEx( LOADIMAGEEX_IMG$, LOADIMAGEEX_COLKEY )
|
||||
rc_createImage( CREATEIMAGE_W, CREATEIMAGE_H, &CREATEIMAGE_BUFFER )
|
||||
rc_createImageEx( CREATEIMAGEEX_W, CREATEIMAGEEX_H, &CREATEIMAGEEX_BUFFER, CREATEIMAGEEX_COLOR )
|
||||
rc_getImageBuffer( GETIMAGEBUFFER_IMG_ID, &GETIMAGEBUFFER_BUFFER )
|
||||
rc_getImageBuffer( BUFFERFROMIMAGE_SLOT, &BUFFERFROMIMAGE_BUFFER )
|
||||
rc_imageExists( IMAGEEXISTS_SLOT )
|
||||
rc_setColorKey( COLORKEY_SLOT, COLORKEY_C )
|
||||
rc_setBilinearFilter( SETBILINEARFILTER_FLAG )
|
||||
@@ -461,10 +463,11 @@ rc_createWaterPlaneActor( CREATEWATERPLANEACTOR_W, CREATEWATERPLANEACTOR_H )
|
||||
rc_createLightActor( )
|
||||
rc_createBillboardActor( )
|
||||
rc_createTerrainActor( CREATETERRAINACTOR_HMAP_FILE$ )
|
||||
rc_createParticleActor( CREATEPARTICLEACTOR_PARTICLE_TYPE )
|
||||
rc_deleteActor( DELETEACTOR_ACTOR )
|
||||
rc_getActorTransform( GETACTORTRANSFORM_ACTOR, GETACTORTRANSFORM_MATRIX )
|
||||
rc_setActorPosition( SETACTORPOSITION_ACTOR, SETACTORPOSITION_X, SETACTORPOSITION_Y, SETACTORPOSITION_Z )
|
||||
rc_translateActor( TRANSLATEACTOR_ACTOR, TRANSLATEACTOR_X, TRANSLATEACTOR_Y, TRANSLATEACTOR_Z )
|
||||
rc_translateActorLocal( TRANSLATEACTORLOCAL_ACTOR, TRANSLATEACTORLOCAL_X, TRANSLATEACTORLOCAL_Y, TRANSLATEACTORLOCAL_Z )
|
||||
rc_translateActorWorld( TRANSLATEACTORWORLD_ACTOR, TRANSLATEACTORWORLD_X, TRANSLATEACTORWORLD_Y, TRANSLATEACTORWORLD_Z )
|
||||
rc_getActorPosition( GETACTORPOSITION_ACTOR, &GETACTORPOSITION_X, &GETACTORPOSITION_Y, &GETACTORPOSITION_Z )
|
||||
rc_setActorScale( SETACTORSCALE_ACTOR, SETACTORSCALE_X, SETACTORSCALE_Y, SETACTORSCALE_Z )
|
||||
@@ -479,6 +482,7 @@ rc_setActorAutoCulling( SETACTORAUTOCULLING_ACTOR, SETACTORAUTOCULLING_CULL_TYP
|
||||
rc_getActorAutoCulling( GETACTORAUTOCULLING_ACTOR )
|
||||
rc_addActorShadow( ADDACTORSHADOW_ACTOR )
|
||||
rc_removeActorShadow( REMOVEACTORSHADOW_ACTOR )
|
||||
rc_actorExists( ACTOREXISTS_ACTOR )
|
||||
rc_setGravity3D( SETGRAVITY3D_X, SETGRAVITY3D_Y, SETGRAVITY3D_Z )
|
||||
rc_getGravity3D( &GETGRAVITY3D_X, &GETGRAVITY3D_Y, &GETGRAVITY3D_Z )
|
||||
rc_setActorCollisionShape( SETACTORCOLLISIONSHAPE_ACTOR, SETACTORCOLLISIONSHAPE_SHAPE_TYPE, SETACTORCOLLISIONSHAPE_MASS )
|
||||
@@ -520,8 +524,8 @@ rc_clearActorForces( CLEARACTORFORCES_ACTOR )
|
||||
rc_updateActorInertiaTensor( UPDATEACTORINERTIATENSOR_ACTOR )
|
||||
rc_getActorCOMPosition( GETACTORCOMPOSITION_ACTOR, &GETACTORCOMPOSITION_X, &GETACTORCOMPOSITION_Y, &GETACTORCOMPOSITION_Z )
|
||||
rc_getActorRotationQ( GETACTORROTATIONQ_ACTOR, &GETACTORROTATIONQ_X, &GETACTORROTATIONQ_Y, &GETACTORROTATIONQ_Z, &GETACTORROTATIONQ_W )
|
||||
rc_getActorLinearVelocity( GETACTORLINEARVELOCITY_ACTOR, &GETACTORLINEARVELOCITY_X, &GETACTORLINEARVELOCITY_Y, &GETACTORLINEARVELOCITY_Z )
|
||||
rc_getActorAngularVelocity( GETACTORANGULARVELOCITY_ACTOR, &GETACTORANGULARVELOCITY_X, &GETACTORANGULARVELOCITY_Y, &GETACTORANGULARVELOCITY_Z )
|
||||
rc_getActorLinearVelocityWorld( GETACTORLINEARVELOCITYWORLD_ACTOR, &GETACTORLINEARVELOCITYWORLD_X, &GETACTORLINEARVELOCITYWORLD_Y, &GETACTORLINEARVELOCITYWORLD_Z )
|
||||
rc_getActorAngularVelocityWorld( GETACTORANGULARVELOCITYWORLD_ACTOR, &GETACTORANGULARVELOCITYWORLD_X, &GETACTORANGULARVELOCITYWORLD_Y, &GETACTORANGULARVELOCITYWORLD_Z )
|
||||
rc_setActorLinearVelocityLocal( SETACTORLINEARVELOCITYLOCAL_ACTOR, SETACTORLINEARVELOCITYLOCAL_X, SETACTORLINEARVELOCITYLOCAL_Y, SETACTORLINEARVELOCITYLOCAL_Z )
|
||||
rc_setActorLinearVelocityWorld( SETACTORLINEARVELOCITYWORLD_ACTOR, SETACTORLINEARVELOCITYWORLD_X, SETACTORLINEARVELOCITYWORLD_Y, SETACTORLINEARVELOCITYWORLD_Z )
|
||||
rc_setActorAngularVelocityLocal( SETACTORANGULARVELOCITYLOCAL_ACTOR, SETACTORANGULARVELOCITYLOCAL_X, SETACTORANGULARVELOCITYLOCAL_Y, SETACTORANGULARVELOCITYLOCAL_Z )
|
||||
@@ -537,12 +541,13 @@ rc_getActorAngularFactor( GETACTORANGULARFACTOR_ACTOR, &GETACTORANGULARFACTOR_X
|
||||
rc_computeActorGyroImpulseLocal( COMPUTEACTORGYROIMPULSELOCAL_ACTOR, COMPUTEACTORGYROIMPULSELOCAL_DT, &COMPUTEACTORGYROIMPULSELOCAL_X, &COMPUTEACTORGYROIMPULSELOCAL_Y, &COMPUTEACTORGYROIMPULSELOCAL_Z )
|
||||
rc_computeActorGyroImpulseWorld( COMPUTEACTORGYROIMPULSEWORLD_ACTOR, COMPUTEACTORGYROIMPULSEWORLD_DT, &COMPUTEACTORGYROIMPULSEWORLD_X, &COMPUTEACTORGYROIMPULSEWORLD_Y, &COMPUTEACTORGYROIMPULSEWORLD_Z )
|
||||
rc_getActorLocalInertia( GETACTORLOCALINERTIA_ACTOR, &GETACTORLOCALINERTIA_X, &GETACTORLOCALINERTIA_Y, &GETACTORLOCALINERTIA_Z )
|
||||
rc_setActorSleepState( SETACTORSLEEPSTATE_ACTOR, SETACTORSLEEPSTATE_STATE )
|
||||
rc_createPointConstraint( CREATEPOINTCONSTRAINT_ACTORA, CREATEPOINTCONSTRAINT_PXA, CREATEPOINTCONSTRAINT_PYA, CREATEPOINTCONSTRAINT_PZA )
|
||||
rc_createPointConstraintEx( CREATEPOINTCONSTRAINTEX_ACTORA, CREATEPOINTCONSTRAINTEX_ACTORB, CREATEPOINTCONSTRAINTEX_PXA, CREATEPOINTCONSTRAINTEX_PYA, CREATEPOINTCONSTRAINTEX_PZA, CREATEPOINTCONSTRAINTEX_PXB, CREATEPOINTCONSTRAINTEX_PYB, CREATEPOINTCONSTRAINTEX_PZB )
|
||||
rc_setConstraintPivotA( SETCONSTRAINTPIVOTA_CONSTRAINT_ID, SETCONSTRAINTPIVOTA_X, SETCONSTRAINTPIVOTA_Y, SETCONSTRAINTPIVOTA_Z )
|
||||
rc_setConstraintPivotB( SETCONSTRAINTPIVOTB_CONSTRAINT_ID, SETCONSTRAINTPIVOTB_X, SETCONSTRAINTPIVOTB_Y, SETCONSTRAINTPIVOTB_Z )
|
||||
rc_createHingeConstraint( CREATEHINGECONSTRAINT_ACTORA, CREATEHINGECONSTRAINT_PXA, CREATEHINGECONSTRAINT_PYA, CREATEHINGECONSTRAINT_PZA, CREATEHINGECONSTRAINT_AXA, CREATEHINGECONSTRAINT_AYA, CREATEHINGECONSTRAINT_AZA )
|
||||
rc_createHingeConstraintEx( CREATEHINGECONSTRAINTEX_ACTORA, CREATEHINGECONSTRAINTEX_ACTORB, CREATEHINGECONSTRAINTEX_PXA, CREATEHINGECONSTRAINTEX_PYA, CREATEHINGECONSTRAINTEX_PZA, CREATEHINGECONSTRAINTEX_PXB, CREATEHINGECONSTRAINTEX_PYB, CREATEHINGECONSTRAINTEX_PZB, CREATEHINGECONSTRAINTEX_AXA, CREATEHINGECONSTRAINTEX_AYA, CREATEHINGECONSTRAINTEX_AZA, CREATEHINGECONSTRAINTEX_AXB, CREATEHINGECONSTRAINTEX_AYB, CREATEHINGECONSTRAINTEX_AZB )
|
||||
rc_setPointPivotA( SETPOINTPIVOTA_CONSTRAINT_ID, SETPOINTPIVOTA_X, SETPOINTPIVOTA_Y, SETPOINTPIVOTA_Z )
|
||||
rc_setPointPivotB( SETPOINTPIVOTB_CONSTRAINT_ID, SETPOINTPIVOTB_X, SETPOINTPIVOTB_Y, SETPOINTPIVOTB_Z )
|
||||
rc_createHingeConstraint( CREATEHINGECONSTRAINT_ACTORA, CREATEHINGECONSTRAINT_FRAMEA, CREATEHINGECONSTRAINT_USEREFERENCEFRAMEA )
|
||||
rc_createHingeConstraintEx( CREATEHINGECONSTRAINTEX_ACTORA, CREATEHINGECONSTRAINTEX_ACTORB, CREATEHINGECONSTRAINTEX_FRAMEA, CREATEHINGECONSTRAINTEX_FRAMEB, CREATEHINGECONSTRAINTEX_USEREFERENCEFRAMEA )
|
||||
rc_createSlideConstraint( CREATESLIDECONSTRAINT_ACTORA, CREATESLIDECONSTRAINT_FRAMEINB_MATRIX, CREATESLIDECONSTRAINT_USELINEARREFERENCEFRAMEA )
|
||||
rc_createSlideConstraintEx( CREATESLIDECONSTRAINTEX_ACTORA, CREATESLIDECONSTRAINTEX_ACTORB, CREATESLIDECONSTRAINTEX_FRAMEINA_MATRIX, CREATESLIDECONSTRAINTEX_FRAMEINB_MATRIX, CREATESLIDECONSTRAINTEX_USELINEARREFERENCEFRAMEA )
|
||||
rc_createConeConstraint( CREATECONECONSTRAINT_ACTORA, CREATECONECONSTRAINT_RBAFRAME_MATRIX )
|
||||
@@ -556,95 +561,95 @@ rc_getHingeAngleEx( GETHINGEANGLEEX_CONSTRAINT_ID, GETHINGEANGLEEX_T_MATRIXA,
|
||||
rc_getConstraintBreakingImpulseThreshold( GETCONSTRAINTBREAKINGIMPULSETHRESHOLD_CONSTRAINT_ID )
|
||||
rc_getConstraintAFrame( GETCONSTRAINTAFRAME_CONSTRAINT_ID, GETCONSTRAINTAFRAME_MA )
|
||||
rc_getConstraintBFrame( GETCONSTRAINTBFRAME_CONSTRAINT_ID, GETCONSTRAINTBFRAME_MA )
|
||||
rc_setConstraintAxis( SETCONSTRAINTAXIS_CONSTRAINT_ID, SETCONSTRAINTAXIS_X, SETCONSTRAINTAXIS_Y, SETCONSTRAINTAXIS_Z )
|
||||
rc_setHingeAxis( SETHINGEAXIS_CONSTRAINT_ID, SETHINGEAXIS_X, SETHINGEAXIS_Y, SETHINGEAXIS_Z )
|
||||
rc_setConstraintBreakingImpulseThreshold( SETCONSTRAINTBREAKINGIMPULSETHRESHOLD_CONSTRAINT_ID, SETCONSTRAINTBREAKINGIMPULSETHRESHOLD_THRESHOLD )
|
||||
rc_setConstraintFrames( SETCONSTRAINTFRAMES_CONSTRAINT_ID, SETCONSTRAINTFRAMES_FRAMEA_MATRIX, SETCONSTRAINTFRAMES_FRAMEB_MATRIX )
|
||||
rc_setHingeLimit( SETHINGELIMIT_CONSTRAINT_ID, SETHINGELIMIT_LOW, SETHINGELIMIT_HIGH, SETHINGELIMIT_SOFTNESS, SETHINGELIMIT_BIAS_FACTOR, SETHINGELIMIT_RELAXATION_FACTOR )
|
||||
rc_setConeLimit( SETCONELIMIT_CONSTRAINT_ID, SETCONELIMIT_SWINGSPAN1, SETCONELIMIT_SWINGSPAN2, SETCONELIMIT_TWISTSPAN, SETCONELIMIT_SOFTNESS, SETCONELIMIT_BIAS_FACTOR, SETCONELIMIT_RELAXATION_FACTOR )
|
||||
rc_getConstraintLimitBiasFactor( GETCONSTRAINTLIMITBIASFACTOR_CONSTRAINT_ID )
|
||||
rc_getLimitRelaxationFactor( GETLIMITRELAXATIONFACTOR_CONSTRAINT_ID )
|
||||
rc_getConstraintLimitSign( GETCONSTRAINTLIMITSIGN_CONSTRAINT_ID )
|
||||
rc_getHingeLimitBiasFactor( GETHINGELIMITBIASFACTOR_CONSTRAINT_ID )
|
||||
rc_getHingeLimitRelaxationFactor( GETHINGELIMITRELAXATIONFACTOR_CONSTRAINT_ID )
|
||||
rc_getHingeLimitSign( GETHINGELIMITSIGN_CONSTRAINT_ID )
|
||||
rc_getHingeSolveLimit( GETHINGESOLVELIMIT_CONSTRAINT_ID )
|
||||
rc_useHingeReferenceFrameA( USEHINGEREFERENCEFRAMEA_CONSTRAINT_ID, USEHINGEREFERENCEFRAMEA_FLAG )
|
||||
rc_getConstraintAppliedImpulse( GETCONSTRAINTAPPLIEDIMPULSE_CONSTRAINT_ID )
|
||||
rc_getConstraintFixedActor( GETCONSTRAINTFIXEDACTOR_CONSTRAINT_ID )
|
||||
rc_getConstraintPivotA( GETCONSTRAINTPIVOTA_CONSTRAINT_ID, & GETCONSTRAINTPIVOTA_X, & GETCONSTRAINTPIVOTA_Y, & GETCONSTRAINTPIVOTA_Z )
|
||||
rc_getConstraintPivotB( GETCONSTRAINTPIVOTB_CONSTRAINT_ID, & GETCONSTRAINTPIVOTB_X, & GETCONSTRAINTPIVOTB_Y, & GETCONSTRAINTPIVOTB_Z )
|
||||
rc_getPointPivotA( GETPOINTPIVOTA_CONSTRAINT_ID, & GETPOINTPIVOTA_X, & GETPOINTPIVOTA_Y, & GETPOINTPIVOTA_Z )
|
||||
rc_getPointPivotB( GETPOINTPIVOTB_CONSTRAINT_ID, & GETPOINTPIVOTB_X, & GETPOINTPIVOTB_Y, & GETPOINTPIVOTB_Z )
|
||||
rc_getConstraintActorA( GETCONSTRAINTACTORA_CONSTRAINT_ID )
|
||||
rc_getConstraintActorB( GETCONSTRAINTACTORB_CONSTRAINT_ID )
|
||||
rc_setConstraintSolverIterations( SETCONSTRAINTSOLVERITERATIONS_CONSTRAINT_ID, SETCONSTRAINTSOLVERITERATIONS_NUM )
|
||||
rc_getConstraintBiasFactor( GETCONSTRAINTBIASFACTOR_CONSTRAINT_ID )
|
||||
rc_getConstraintDamping( GETCONSTRAINTDAMPING_CONSTRAINT_ID )
|
||||
rc_getConstraintFixThresh( GETCONSTRAINTFIXTHRESH_CONSTRAINT_ID )
|
||||
rc_getConstraintLimit( GETCONSTRAINTLIMIT_CONSTRAINT_ID, GETCONSTRAINTLIMIT_LIMIT_INDEX )
|
||||
rc_getConeBiasFactor( GETCONEBIASFACTOR_CONSTRAINT_ID )
|
||||
rc_getConeDamping( GETCONEDAMPING_CONSTRAINT_ID )
|
||||
rc_getConeFixThresh( GETCONEFIXTHRESH_CONSTRAINT_ID )
|
||||
rc_getConeLimit( GETCONELIMIT_CONSTRAINT_ID, GETCONELIMIT_LIMIT_INDEX )
|
||||
rc_getConstraintLimitSoftness( GETCONSTRAINTLIMITSOFTNESS_CONSTRAINT_ID )
|
||||
rc_getConstraintSolverIterations( GETCONSTRAINTSOLVERITERATIONS_CONSTRAINT_ID )
|
||||
rc_getConstraintAnglePoint( GETCONSTRAINTANGLEPOINT_CONSTRAINT_ID, GETCONSTRAINTANGLEPOINT_ANGLE, GETCONSTRAINTANGLEPOINT_C_LEN, & GETCONSTRAINTANGLEPOINT_X, & GETCONSTRAINTANGLEPOINT_Y, & GETCONSTRAINTANGLEPOINT_Z )
|
||||
rc_getConeAnglePoint( GETCONEANGLEPOINT_CONSTRAINT_ID, GETCONEANGLEPOINT_ANGLE, GETCONEANGLEPOINT_C_LEN, & GETCONEANGLEPOINT_X, & GETCONEANGLEPOINT_Y, & GETCONEANGLEPOINT_Z )
|
||||
rc_getConstraintAngularOnly( GETCONSTRAINTANGULARONLY_CONSTRAINT_ID )
|
||||
rc_getConstraintSolveSwingLimit( GETCONSTRAINTSOLVESWINGLIMIT_CONSTRAINT_ID )
|
||||
rc_getConstraintSolveTwistLimit( GETCONSTRAINTSOLVETWISTLIMIT_CONSTRAINT_ID )
|
||||
rc_getConstraintSolveLimit( GETCONSTRAINTSOLVELIMIT_CONSTRAINT_ID )
|
||||
rc_getConstraintSwingSpan1( GETCONSTRAINTSWINGSPAN1_CONSTRAINT_ID )
|
||||
rc_getConstraintSwingSpan2( GETCONSTRAINTSWINGSPAN2_CONSTRAINT_ID )
|
||||
rc_getConstraintTwistAngle( GETCONSTRAINTTWISTANGLE_CONSTRAINT_ID )
|
||||
rc_getConstraintTwistLimitSign( GETCONSTRAINTTWISTLIMITSIGN_CONSTRAINT_ID )
|
||||
rc_getConstraintTwistSpan( GETCONSTRAINTTWISTSPAN_CONSTRAINT_ID )
|
||||
rc_getConeSolveSwingLimit( GETCONESOLVESWINGLIMIT_CONSTRAINT_ID )
|
||||
rc_getConeSolveTwistLimit( GETCONESOLVETWISTLIMIT_CONSTRAINT_ID )
|
||||
rc_getConeSwingSpan1( GETCONESWINGSPAN1_CONSTRAINT_ID )
|
||||
rc_getConeSwingSpan2( GETCONESWINGSPAN2_CONSTRAINT_ID )
|
||||
rc_getConeTwistAngle( GETCONETWISTANGLE_CONSTRAINT_ID )
|
||||
rc_getConeTwistLimitSign( GETCONETWISTLIMITSIGN_CONSTRAINT_ID )
|
||||
rc_getConeTwistSpan( GETCONETWISTSPAN_CONSTRAINT_ID )
|
||||
rc_setConstraintAngularOnly( SETCONSTRAINTANGULARONLY_CONSTRAINT_ID, SETCONSTRAINTANGULARONLY_FLAG )
|
||||
rc_setConstraintDamping( SETCONSTRAINTDAMPING_CONSTRAINT_ID, SETCONSTRAINTDAMPING_DAMPING )
|
||||
rc_setConstraintFixThresh( SETCONSTRAINTFIXTHRESH_CONSTRAINT_ID, SETCONSTRAINTFIXTHRESH_FIXTHRESH )
|
||||
rc_getConstraintAnchorA( GETCONSTRAINTANCHORA_CONSTRAINT_ID, & GETCONSTRAINTANCHORA_X, & GETCONSTRAINTANCHORA_Y, & GETCONSTRAINTANCHORA_Z )
|
||||
rc_getConstraintAnchorB( GETCONSTRAINTANCHORB_CONSTRAINT_ID, & GETCONSTRAINTANCHORB_X, & GETCONSTRAINTANCHORB_Y, & GETCONSTRAINTANCHORB_Z )
|
||||
rc_getConstraintAngDepth( GETCONSTRAINTANGDEPTH_CONSTRAINT_ID )
|
||||
rc_getConstraintAngularPos( GETCONSTRAINTANGULARPOS_CONSTRAINT_ID )
|
||||
rc_getConstraintDampingDirAng( GETCONSTRAINTDAMPINGDIRANG_CONSTRAINT_ID )
|
||||
rc_getConstraintDampingDirLin( GETCONSTRAINTDAMPINGDIRLIN_CONSTRAINT_ID )
|
||||
rc_getConstraintDampingLimAng( GETCONSTRAINTDAMPINGLIMANG_CONSTRAINT_ID )
|
||||
rc_getConstraintDampingLimLin( GETCONSTRAINTDAMPINGLIMLIN_CONSTRAINT_ID )
|
||||
rc_getConstraintDampingOrthoAng( GETCONSTRAINTDAMPINGORTHOANG_CONSTRAINT_ID )
|
||||
rc_getConstraintDampingOrthoLin( GETCONSTRAINTDAMPINGORTHOLIN_CONSTRAINT_ID )
|
||||
rc_getConstraintLinearPos( GETCONSTRAINTLINEARPOS_CONSTRAINT_ID )
|
||||
rc_getConstraintLinDepth( GETCONSTRAINTLINDEPTH_CONSTRAINT_ID )
|
||||
rc_getConstraintLowerAngLimit( GETCONSTRAINTLOWERANGLIMIT_CONSTRAINT_ID )
|
||||
rc_getConstraintLowerLinLimit( GETCONSTRAINTLOWERLINLIMIT_CONSTRAINT_ID )
|
||||
rc_getConstraintRestitutionDirAng( GETCONSTRAINTRESTITUTIONDIRANG_CONSTRAINT_ID )
|
||||
rc_getConstraintRestitutionDirLin( GETCONSTRAINTRESTITUTIONDIRLIN_CONSTRAINT_ID )
|
||||
rc_getConstraintRestitutionLimAng( GETCONSTRAINTRESTITUTIONLIMANG_CONSTRAINT_ID )
|
||||
rc_getConstraintRestitutionLimLin( GETCONSTRAINTRESTITUTIONLIMLIN_CONSTRAINT_ID )
|
||||
rc_getConstraintRestitutionOrthoAng( GETCONSTRAINTRESTITUTIONORTHOANG_CONSTRAINT_ID )
|
||||
rc_getConstraintRestitutionOrthoLin( GETCONSTRAINTRESTITUTIONORTHOLIN_CONSTRAINT_ID )
|
||||
rc_getConstraintSoftnessDirAng( GETCONSTRAINTSOFTNESSDIRANG_CONSTRAINT_ID )
|
||||
rc_getConstraintSoftnessDirLin( GETCONSTRAINTSOFTNESSDIRLIN_CONSTRAINT_ID )
|
||||
rc_getConstraintSoftnessLimAng( GETCONSTRAINTSOFTNESSLIMANG_CONSTRAINT_ID )
|
||||
rc_getConstraintSoftnessLimLin( GETCONSTRAINTSOFTNESSLIMLIN_CONSTRAINT_ID )
|
||||
rc_getConstraintSoftnessOrthoAng( GETCONSTRAINTSOFTNESSORTHOANG_CONSTRAINT_ID )
|
||||
rc_getConstraintSoftnessOrthoLin( GETCONSTRAINTSOFTNESSORTHOLIN_CONSTRAINT_ID )
|
||||
rc_getConstraintSolveAngLimit( GETCONSTRAINTSOLVEANGLIMIT_CONSTRAINT_ID )
|
||||
rc_getConstraintSolveLinLimit( GETCONSTRAINTSOLVELINLIMIT_CONSTRAINT_ID )
|
||||
rc_getConstraintUpperAngLimit( GETCONSTRAINTUPPERANGLIMIT_CONSTRAINT_ID )
|
||||
rc_getConstraintUpperLinLimit( GETCONSTRAINTUPPERLINLIMIT_CONSTRAINT_ID )
|
||||
rc_getConstraintUseFrameOffset( GETCONSTRAINTUSEFRAMEOFFSET_CONSTRAINT_ID )
|
||||
rc_setConstraintDampingDirAng( SETCONSTRAINTDAMPINGDIRANG_CONSTRAINT_ID, SETCONSTRAINTDAMPINGDIRANG_N )
|
||||
rc_setConstraintDampingDirLin( SETCONSTRAINTDAMPINGDIRLIN_CONSTRAINT_ID, SETCONSTRAINTDAMPINGDIRLIN_N )
|
||||
rc_setConstraintDampingLimAng( SETCONSTRAINTDAMPINGLIMANG_CONSTRAINT_ID, SETCONSTRAINTDAMPINGLIMANG_N )
|
||||
rc_setConstraintDampingLimLin( SETCONSTRAINTDAMPINGLIMLIN_CONSTRAINT_ID, SETCONSTRAINTDAMPINGLIMLIN_N )
|
||||
rc_setConstraintDampingOrthoAng( SETCONSTRAINTDAMPINGORTHOANG_CONSTRAINT_ID, SETCONSTRAINTDAMPINGORTHOANG_N )
|
||||
rc_setConstraintDampingOrthoLin( SETCONSTRAINTDAMPINGORTHOLIN_CONSTRAINT_ID, SETCONSTRAINTDAMPINGORTHOLIN_N )
|
||||
rc_setConstraintLowerAngLimit( SETCONSTRAINTLOWERANGLIMIT_CONSTRAINT_ID, SETCONSTRAINTLOWERANGLIMIT_N )
|
||||
rc_setConstraintLowerLinLimit( SETCONSTRAINTLOWERLINLIMIT_CONSTRAINT_ID, SETCONSTRAINTLOWERLINLIMIT_N )
|
||||
rc_setConstraintRestitutionDirAng( SETCONSTRAINTRESTITUTIONDIRANG_CONSTRAINT_ID, SETCONSTRAINTRESTITUTIONDIRANG_N )
|
||||
rc_setConstraintRestitutionDirLin( SETCONSTRAINTRESTITUTIONDIRLIN_CONSTRAINT_ID, SETCONSTRAINTRESTITUTIONDIRLIN_N )
|
||||
rc_setConstraintRestitutionLimAng( SETCONSTRAINTRESTITUTIONLIMANG_CONSTRAINT_ID, SETCONSTRAINTRESTITUTIONLIMANG_N )
|
||||
rc_setConstraintRestitutionLimLin( SETCONSTRAINTRESTITUTIONLIMLIN_CONSTRAINT_ID, SETCONSTRAINTRESTITUTIONLIMLIN_N )
|
||||
rc_setConstraintRestitutionOrthoAng( SETCONSTRAINTRESTITUTIONORTHOANG_CONSTRAINT_ID, SETCONSTRAINTRESTITUTIONORTHOANG_N )
|
||||
rc_setConstraintRestitutionOrthoLin( SETCONSTRAINTRESTITUTIONORTHOLIN_CONSTRAINT_ID, SETCONSTRAINTRESTITUTIONORTHOLIN_N )
|
||||
rc_setConstraintSoftnessDirAng( SETCONSTRAINTSOFTNESSDIRANG_CONSTRAINT_ID, SETCONSTRAINTSOFTNESSDIRANG_N )
|
||||
rc_setConstraintSoftnessDirLin( SETCONSTRAINTSOFTNESSDIRLIN_CONSTRAINT_ID, SETCONSTRAINTSOFTNESSDIRLIN_N )
|
||||
rc_setConstraintSoftnessLimAng( SETCONSTRAINTSOFTNESSLIMANG_CONSTRAINT_ID, SETCONSTRAINTSOFTNESSLIMANG_N )
|
||||
rc_setConstraintSoftnessLimLin( SETCONSTRAINTSOFTNESSLIMLIN_CONSTRAINT_ID, SETCONSTRAINTSOFTNESSLIMLIN_N )
|
||||
rc_setConstraintSoftnessOrthoAng( SETCONSTRAINTSOFTNESSORTHOANG_CONSTRAINT_ID, SETCONSTRAINTSOFTNESSORTHOANG_N )
|
||||
rc_setConstraintSoftnessOrthoLin( SETCONSTRAINTSOFTNESSORTHOLIN_CONSTRAINT_ID, SETCONSTRAINTSOFTNESSORTHOLIN_N )
|
||||
rc_setConstraintUpperAngLimit( SETCONSTRAINTUPPERANGLIMIT_CONSTRAINT_ID, SETCONSTRAINTUPPERANGLIMIT_N )
|
||||
rc_setConstraintUpperLinLimit( SETCONSTRAINTUPPERLINLIMIT_CONSTRAINT_ID, SETCONSTRAINTUPPERLINLIMIT_N )
|
||||
rc_setConeDamping( SETCONEDAMPING_CONSTRAINT_ID, SETCONEDAMPING_DAMPING )
|
||||
rc_setConeFixThresh( SETCONEFIXTHRESH_CONSTRAINT_ID, SETCONEFIXTHRESH_FIXTHRESH )
|
||||
rc_getSlideAnchorA( GETSLIDEANCHORA_CONSTRAINT_ID, & GETSLIDEANCHORA_X, & GETSLIDEANCHORA_Y, & GETSLIDEANCHORA_Z )
|
||||
rc_getSlideAnchorB( GETSLIDEANCHORB_CONSTRAINT_ID, & GETSLIDEANCHORB_X, & GETSLIDEANCHORB_Y, & GETSLIDEANCHORB_Z )
|
||||
rc_getSlideAngDepth( GETSLIDEANGDEPTH_CONSTRAINT_ID )
|
||||
rc_getSlideAngularPos( GETSLIDEANGULARPOS_CONSTRAINT_ID )
|
||||
rc_getSlideDampingDirAng( GETSLIDEDAMPINGDIRANG_CONSTRAINT_ID )
|
||||
rc_getSlideDampingDirLin( GETSLIDEDAMPINGDIRLIN_CONSTRAINT_ID )
|
||||
rc_getSlideDampingLimAng( GETSLIDEDAMPINGLIMANG_CONSTRAINT_ID )
|
||||
rc_getSlideDampingLimLin( GETSLIDEDAMPINGLIMLIN_CONSTRAINT_ID )
|
||||
rc_getSlideDampingOrthoAng( GETSLIDEDAMPINGORTHOANG_CONSTRAINT_ID )
|
||||
rc_getSlideDampingOrthoLin( GETSLIDEDAMPINGORTHOLIN_CONSTRAINT_ID )
|
||||
rc_getSlideLinearPos( GETSLIDELINEARPOS_CONSTRAINT_ID )
|
||||
rc_getSlideLinDepth( GETSLIDELINDEPTH_CONSTRAINT_ID )
|
||||
rc_getSlideLowerAngLimit( GETSLIDELOWERANGLIMIT_CONSTRAINT_ID )
|
||||
rc_getSlideLowerLinLimit( GETSLIDELOWERLINLIMIT_CONSTRAINT_ID )
|
||||
rc_getSlideRestitutionDirAng( GETSLIDERESTITUTIONDIRANG_CONSTRAINT_ID )
|
||||
rc_getSlideRestitutionDirLin( GETSLIDERESTITUTIONDIRLIN_CONSTRAINT_ID )
|
||||
rc_getSlideRestitutionLimAng( GETSLIDERESTITUTIONLIMANG_CONSTRAINT_ID )
|
||||
rc_getSlideRestitutionLimLin( GETSLIDERESTITUTIONLIMLIN_CONSTRAINT_ID )
|
||||
rc_getSlideRestitutionOrthoAng( GETSLIDERESTITUTIONORTHOANG_CONSTRAINT_ID )
|
||||
rc_getSlideRestitutionOrthoLin( GETSLIDERESTITUTIONORTHOLIN_CONSTRAINT_ID )
|
||||
rc_getSlideSoftnessDirAng( GETSLIDESOFTNESSDIRANG_CONSTRAINT_ID )
|
||||
rc_getSlideSoftnessDirLin( GETSLIDESOFTNESSDIRLIN_CONSTRAINT_ID )
|
||||
rc_getSlideSoftnessLimAng( GETSLIDESOFTNESSLIMANG_CONSTRAINT_ID )
|
||||
rc_getSlideSoftnessLimLin( GETSLIDESOFTNESSLIMLIN_CONSTRAINT_ID )
|
||||
rc_getSlideSoftnessOrthoAng( GETSLIDESOFTNESSORTHOANG_CONSTRAINT_ID )
|
||||
rc_getSlideSoftnessOrthoLin( GETSLIDESOFTNESSORTHOLIN_CONSTRAINT_ID )
|
||||
rc_getSlideSolveAngLimit( GETSLIDESOLVEANGLIMIT_CONSTRAINT_ID )
|
||||
rc_getSlideSolveLinLimit( GETSLIDESOLVELINLIMIT_CONSTRAINT_ID )
|
||||
rc_getSlideUpperAngLimit( GETSLIDEUPPERANGLIMIT_CONSTRAINT_ID )
|
||||
rc_getSlideUpperLinLimit( GETSLIDEUPPERLINLIMIT_CONSTRAINT_ID )
|
||||
rc_getSlideUseFrameOffset( GETSLIDEUSEFRAMEOFFSET_CONSTRAINT_ID )
|
||||
rc_setSlideDampingDirAng( SETSLIDEDAMPINGDIRANG_CONSTRAINT_ID, SETSLIDEDAMPINGDIRANG_N )
|
||||
rc_setSlideDampingDirLin( SETSLIDEDAMPINGDIRLIN_CONSTRAINT_ID, SETSLIDEDAMPINGDIRLIN_N )
|
||||
rc_setSlideDampingLimAng( SETSLIDEDAMPINGLIMANG_CONSTRAINT_ID, SETSLIDEDAMPINGLIMANG_N )
|
||||
rc_setSlideDampingLimLin( SETSLIDEDAMPINGLIMLIN_CONSTRAINT_ID, SETSLIDEDAMPINGLIMLIN_N )
|
||||
rc_setSlideDampingOrthoAng( SETSLIDEDAMPINGORTHOANG_CONSTRAINT_ID, SETSLIDEDAMPINGORTHOANG_N )
|
||||
rc_setSlideDampingOrthoLin( SETSLIDEDAMPINGORTHOLIN_CONSTRAINT_ID, SETSLIDEDAMPINGORTHOLIN_N )
|
||||
rc_setSlideLowerAngLimit( SETSLIDELOWERANGLIMIT_CONSTRAINT_ID, SETSLIDELOWERANGLIMIT_N )
|
||||
rc_setSlideLowerLinLimit( SETSLIDELOWERLINLIMIT_CONSTRAINT_ID, SETSLIDELOWERLINLIMIT_N )
|
||||
rc_setSlideRestitutionDirAng( SETSLIDERESTITUTIONDIRANG_CONSTRAINT_ID, SETSLIDERESTITUTIONDIRANG_N )
|
||||
rc_setSlideRestitutionDirLin( SETSLIDERESTITUTIONDIRLIN_CONSTRAINT_ID, SETSLIDERESTITUTIONDIRLIN_N )
|
||||
rc_setSlideRestitutionLimAng( SETSLIDERESTITUTIONLIMANG_CONSTRAINT_ID, SETSLIDERESTITUTIONLIMANG_N )
|
||||
rc_setSlideRestitutionLimLin( SETSLIDERESTITUTIONLIMLIN_CONSTRAINT_ID, SETSLIDERESTITUTIONLIMLIN_N )
|
||||
rc_setSlideRestitutionOrthoAng( SETSLIDERESTITUTIONORTHOANG_CONSTRAINT_ID, SETSLIDERESTITUTIONORTHOANG_N )
|
||||
rc_setSlideRestitutionOrthoLin( SETSLIDERESTITUTIONORTHOLIN_CONSTRAINT_ID, SETSLIDERESTITUTIONORTHOLIN_N )
|
||||
rc_setSlideSoftnessDirAng( SETSLIDESOFTNESSDIRANG_CONSTRAINT_ID, SETSLIDESOFTNESSDIRANG_N )
|
||||
rc_setSlideSoftnessDirLin( SETSLIDESOFTNESSDIRLIN_CONSTRAINT_ID, SETSLIDESOFTNESSDIRLIN_N )
|
||||
rc_setSlideSoftnessLimAng( SETSLIDESOFTNESSLIMANG_CONSTRAINT_ID, SETSLIDESOFTNESSLIMANG_N )
|
||||
rc_setSlideSoftnessLimLin( SETSLIDESOFTNESSLIMLIN_CONSTRAINT_ID, SETSLIDESOFTNESSLIMLIN_N )
|
||||
rc_setSlideSoftnessOrthoAng( SETSLIDESOFTNESSORTHOANG_CONSTRAINT_ID, SETSLIDESOFTNESSORTHOANG_N )
|
||||
rc_setSlideSoftnessOrthoLin( SETSLIDESOFTNESSORTHOLIN_CONSTRAINT_ID, SETSLIDESOFTNESSORTHOLIN_N )
|
||||
rc_setSlideUpperAngLimit( SETSLIDEUPPERANGLIMIT_CONSTRAINT_ID, SETSLIDEUPPERANGLIMIT_N )
|
||||
rc_setSlideUpperLinLimit( SETSLIDEUPPERLINLIMIT_CONSTRAINT_ID, SETSLIDEUPPERLINLIMIT_N )
|
||||
rc_constraintExists( CONSTRAINTEXISTS_CONSTRAINT_ID )
|
||||
rc_setCameraPosition( SETCAMERAPOSITION_X, SETCAMERAPOSITION_Y, SETCAMERAPOSITION_Z )
|
||||
rc_getCameraPosition( &GETCAMERAPOSITION_X, &GETCAMERAPOSITION_Y, &GETCAMERAPOSITION_Z )
|
||||
rc_translateCamera( TRANSLATECAMERA_X, TRANSLATECAMERA_Y, TRANSLATECAMERA_Z )
|
||||
@@ -663,7 +668,6 @@ rc_addSceneSkyBox( ADDSCENESKYBOX_IMG_TOP, ADDSCENESKYBOX_IMG_BOTTOM, ADDSCENE
|
||||
rc_addSceneSkyDome( ADDSCENESKYDOME_IMG )
|
||||
rc_addSceneSkyDomeEx( ADDSCENESKYDOMEEX_IMG, ADDSCENESKYDOMEEX_HORIRES, ADDSCENESKYDOMEEX_VERTRES, ADDSCENESKYDOMEEX_TXPERCENTAGE, ADDSCENESKYDOMEEX_SPHEREPERCENTAGE, ADDSCENESKYDOMEEX_RADIUS )
|
||||
rc_removeSceneSky( )
|
||||
rc_setWorld3DDeltaTime( SETWORLD3DDELTATIME_DT )
|
||||
rc_setWorld3DMaxSubSteps( SETWORLD3DMAXSUBSTEPS_STEPS )
|
||||
rc_setWorld3DTimeStep( SETWORLD3DTIMESTEP_TS )
|
||||
rc_startParticleEmitter( STARTPARTICLEEMITTER_ACTOR )
|
||||
@@ -677,10 +681,10 @@ rc_getParticleNormalDirectionMod( GETPARTICLENORMALDIRECTIONMOD_ACTOR )
|
||||
rc_useParticleNormalDirection( USEPARTICLENORMALDIRECTION_ACTOR, USEPARTICLENORMALDIRECTION_FLAG )
|
||||
rc_particleIsUsingNormalDirection( PARTICLEISUSINGNORMALDIRECTION_ACTOR )
|
||||
rc_setParticleMesh( SETPARTICLEMESH_ACTOR, SETPARTICLEMESH_MESH )
|
||||
rc_setParticleMinParticlesPerSecond( SETPARTICLEMINPARTICLESPERSECOND_ACTOR, SETPARTICLEMINPARTICLESPERSECOND_MINPARTICLESPERSECOND )
|
||||
rc_getParticleMinParticlesPerSecond( GETPARTICLEMINPARTICLESPERSECOND_ACTOR )
|
||||
rc_setParticleMaxParticlesPerSecond( SETPARTICLEMAXPARTICLESPERSECOND_ACTOR, SETPARTICLEMAXPARTICLESPERSECOND_MAXPARTICLESPERSECOND )
|
||||
rc_getParticleMaxParticlesPerSecond( GETPARTICLEMAXPARTICLESPERSECOND_ACTOR )
|
||||
rc_setMinParticlesPerSecond( SETMINPARTICLESPERSECOND_ACTOR, SETMINPARTICLESPERSECOND_MINPARTICLESPERSECOND )
|
||||
rc_getMinParticlesPerSecond( GETMINPARTICLESPERSECOND_ACTOR )
|
||||
rc_setMaxParticlesPerSecond( SETMAXPARTICLESPERSECOND_ACTOR, SETMAXPARTICLESPERSECOND_MAXPARTICLESPERSECOND )
|
||||
rc_getMaxParticlesPerSecond( GETMAXPARTICLESPERSECOND_ACTOR )
|
||||
rc_setParticleMinStartColor( SETPARTICLEMINSTARTCOLOR_ACTOR, SETPARTICLEMINSTARTCOLOR_COLOR )
|
||||
rc_getParticleMinStartColor( GETPARTICLEMINSTARTCOLOR_ACTOR )
|
||||
rc_setParticleMaxStartColor( SETPARTICLEMAXSTARTCOLOR_ACTOR, SETPARTICLEMAXSTARTCOLOR_COLOR )
|
||||
@@ -709,6 +713,7 @@ rc_setParticleLength( SETPARTICLELENGTH_ACTOR, SETPARTICLELENGTH_P_LEN )
|
||||
rc_getParticleLength( GETPARTICLELENGTH_ACTOR )
|
||||
rc_useParticleOutlineOnly( USEPARTICLEOUTLINEONLY_ACTOR, USEPARTICLEOUTLINEONLY_FLAG )
|
||||
rc_particleIsUsingOutlineOnly( PARTICLEISUSINGOUTLINEONLY_ACTOR )
|
||||
rc_getParticleType( GETPARTICLETYPE_ACTOR )
|
||||
rc_lightIsCastingShadow( LIGHTISCASTINGSHADOW_ACTOR )
|
||||
rc_getLightType( GETLIGHTTYPE_ACTOR )
|
||||
rc_getLightRadius( GETLIGHTRADIUS_ACTOR )
|
||||
@@ -821,3 +826,4 @@ rc_setActorMaterialFlag( SETACTORMATERIALFLAG_ACTOR, SETACTORMATERIALFLAG_FLA
|
||||
rc_getActorMaterialFlag( GETACTORMATERIALFLAG_ACTOR, GETACTORMATERIALFLAG_MATERIAL, GETACTORMATERIALFLAG_FLAG )
|
||||
rc_setActorMaterialType( SETACTORMATERIALTYPE_ACTOR, SETACTORMATERIALTYPE_MATERIAL_TYPE )
|
||||
rc_getActorMaterialType( GETACTORMATERIALTYPE_ACTOR, GETACTORMATERIALTYPE_MATERIAL )
|
||||
rc_materialExists( MATERIALEXISTS_MATERIAL )
|
||||
|
||||
@@ -6,10 +6,11 @@ function CreateWaterPlaneActor( w, h )
|
||||
function CreateLightActor( )
|
||||
function CreateBillboardActor( )
|
||||
function CreateTerrainActor( hmap_file$ )
|
||||
function CreateParticleActor( particle_type )
|
||||
sub DeleteActor( actor )
|
||||
sub GetActorTransform( actor, matrix )
|
||||
sub SetActorPosition( actor, x, y, z )
|
||||
sub TranslateActor( actor, x, y, z )
|
||||
sub TranslateActorLocal( actor, x, y, z )
|
||||
sub TranslateActorWorld( actor, x, y, z )
|
||||
sub GetActorPosition( actor, ByRef x, ByRef y, ByRef z )
|
||||
sub SetActorScale( actor, x, y, z )
|
||||
@@ -24,3 +25,4 @@ sub SetActorAutoCulling( actor, cull_type )
|
||||
function GetActorAutoCulling( actor )
|
||||
sub AddActorShadow( actor )
|
||||
sub RemoveActorShadow( actor )
|
||||
function ActorExists( actor )
|
||||
|
||||
@@ -39,8 +39,8 @@ sub clearActorForces( actor)
|
||||
sub updateActorInertiaTensor( actor)
|
||||
sub getActorCOMPosition( actor, ByRef x, ByRef y, ByRef z)
|
||||
sub getActorRotationQ( actor, ByRef x, ByRef y, ByRef z, ByRef w)
|
||||
sub getActorLinearVelocity( actor, ByRef x, ByRef y, ByRef z)
|
||||
sub getActorAngularVelocity( actor, ByRef x, ByRef y, ByRef z)
|
||||
sub getActorLinearVelocityWorld( actor, ByRef x, ByRef y, ByRef z)
|
||||
sub getActorAngularVelocityWorld( actor, ByRef x, ByRef y, ByRef z)
|
||||
sub setActorLinearVelocityLocal( actor, x, y, z)
|
||||
sub setActorLinearVelocityWorld( actor, x, y, z)
|
||||
sub setActorAngularVelocityLocal( actor, x, y, z)
|
||||
@@ -56,3 +56,4 @@ sub getActorAngularFactor( actor, ByRef x, ByRef y, ByRef z)
|
||||
sub computeActorGyroImpulseLocal( actor, dt, ByRef x, ByRef y, ByRef z)
|
||||
sub computeActorGyroImpulseWorld( actor, dt, ByRef x, ByRef y, ByRef z)
|
||||
sub getActorLocalInertia( actor, ByRef x, ByRef y, ByRef z)
|
||||
sub SetActorSleepState(actor, state)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
function OpenCanvas( w, h, viewport_x, viewport_y, viewport_w, viewport_h, mode)
|
||||
Sub CloseCanvas(c_num)
|
||||
Sub SetCanvas3D(c_num, flag)
|
||||
function OpenCanvas3D( w, h, viewport_x, viewport_y, viewport_w, viewport_h, mode)
|
||||
sub SetCanvasVisible(c_num, flag)
|
||||
function CanvasIsVisible(c_num)
|
||||
sub SetCanvasViewport(cnum, x, y, w, h)
|
||||
@@ -14,8 +14,10 @@ sub SetCanvasAlpha(c_num, a)
|
||||
function GetCanvasAlpha(c_num)
|
||||
sub SetCanvasColorMod(c_num, c)
|
||||
function GetCanvasColorMod(c_num)
|
||||
sub CloneCanvas(src, dst)
|
||||
function CloneCanvas(c_num, mode)
|
||||
sub SetCanvasZ(c_num, z)
|
||||
function GetCanvasZ(c_num)
|
||||
function CanvasClip(x, y, w, h)
|
||||
function ActiveCanvas()
|
||||
sub SetCanvasPhysics2D(c_num, state)
|
||||
function OpenSpriteCanvas(w, h, viewport_x, viewport_y, viewport_w, viewport_h)
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
sub Fprint(txt$)
|
||||
function Input$(prompt$)
|
||||
sub tst(byref x)
|
||||
sub tst()
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
function createPointConstraint( actorA, pxA, pyA, pzA)
|
||||
function createPointConstraintEx( actorA, actorB, pxA, pyA, pzA, pxB, pyB, pzB)
|
||||
sub setConstraintPivotA( constraint_id, x, y, z)
|
||||
sub setConstraintPivotB( constraint_id, x, y, z)
|
||||
function createHingeConstraint( actorA, pxA, pyA, pzA, axA, ayA, azA)
|
||||
function createHingeConstraintEx( actorA, actorB, pxA, pyA, pzA, pxB, pyB, pzB, axA, ayA, azA, axB, ayB, azB)
|
||||
sub setPointPivotA( constraint_id, x, y, z)
|
||||
sub setPointPivotB( constraint_id, x, y, z)
|
||||
function createHingeConstraint( actorA, frameA, useReferenceFrameA )
|
||||
function createHingeConstraintEx( actorA, actorB, frameA, frameB, useReferenceFrameA)
|
||||
function createSlideConstraint( actorA, frameInB_matrix, useLinearReferenceFrameA)
|
||||
function createSlideConstraintEx( actorA, actorB, frameInA_matrix, frameInB_matrix, useLinearReferenceFrameA)
|
||||
function createConeConstraint( actorA, rbAFrame_matrix)
|
||||
@@ -17,92 +17,92 @@ function getHingeAngleEx( constraint_id, t_matrixA, t_matrixB)
|
||||
function getConstraintBreakingImpulseThreshold( constraint_id)
|
||||
function getConstraintAFrame( constraint_id, mA)
|
||||
function getConstraintBFrame( constraint_id, mA)
|
||||
sub setConstraintAxis( constraint_id, x, y, z)
|
||||
sub setHingeAxis( constraint_id, x, y, z)
|
||||
sub setConstraintBreakingImpulseThreshold( constraint_id, threshold)
|
||||
sub setConstraintFrames( constraint_id, frameA_matrix, frameB_matrix)
|
||||
sub setHingeLimit( constraint_id, low, high, softness, bias_factor, relaxation_factor)
|
||||
sub setConeLimit( constraint_id, swingSpan1, swingSpan2, twistSpan, softness, bias_factor, relaxation_factor)
|
||||
function getConstraintLimitBiasFactor( constraint_id)
|
||||
function getLimitRelaxationFactor( constraint_id)
|
||||
function getConstraintLimitSign( constraint_id)
|
||||
function getHingeLimitBiasFactor( constraint_id)
|
||||
function getHingeLimitRelaxationFactor( constraint_id)
|
||||
function getHingeLimitSign( constraint_id)
|
||||
function getHingeSolveLimit( constraint_id)
|
||||
sub useHingeReferenceFrameA( constraint_id, flag)
|
||||
function getConstraintAppliedImpulse( constraint_id)
|
||||
function getConstraintFixedActor( constraint_id)
|
||||
sub getConstraintPivotA( constraint_id, ByRef x, ByRef y, ByRef z)
|
||||
sub getConstraintPivotB( constraint_id, ByRef x, ByRef y, ByRef z)
|
||||
sub getPointPivotA( constraint_id, ByRef x, ByRef y, ByRef z)
|
||||
sub getPointPivotB( constraint_id, ByRef x, ByRef y, ByRef z)
|
||||
function getConstraintActorA( constraint_id)
|
||||
function getConstraintActorB( constraint_id)
|
||||
sub setConstraintSolverIterations( constraint_id, num)
|
||||
function getConstraintBiasFactor( constraint_id)
|
||||
function getConstraintDamping( constraint_id)
|
||||
function getConstraintFixThresh( constraint_id)
|
||||
function getConstraintLimit( constraint_id, limit_index)
|
||||
function getConeBiasFactor( constraint_id)
|
||||
function getConeDamping( constraint_id)
|
||||
function getConeFixThresh( constraint_id)
|
||||
function getConeLimit( constraint_id, limit_index)
|
||||
function getConstraintLimitSoftness( constraint_id)
|
||||
function getConstraintSolverIterations( constraint_id)
|
||||
sub getConstraintAnglePoint( constraint_id, angle, c_len, ByRef x, ByRef y, ByRef z)
|
||||
sub getConeAnglePoint( constraint_id, angle, c_len, ByRef x, ByRef y, ByRef z)
|
||||
function getConstraintAngularOnly( constraint_id)
|
||||
function getConstraintSolveSwingLimit( constraint_id)
|
||||
function getConstraintSolveTwistLimit( constraint_id)
|
||||
function getConstraintSolveLimit( constraint_id)
|
||||
function getConstraintSwingSpan1( constraint_id)
|
||||
function getConstraintSwingSpan2( constraint_id)
|
||||
function getConstraintTwistAngle( constraint_id)
|
||||
function getConstraintTwistLimitSign( constraint_id)
|
||||
function getConstraintTwistSpan( constraint_id)
|
||||
function getConeSolveSwingLimit( constraint_id)
|
||||
function getConeSolveTwistLimit( constraint_id)
|
||||
function getConeSwingSpan1( constraint_id)
|
||||
function getConeSwingSpan2( constraint_id)
|
||||
function getConeTwistAngle( constraint_id)
|
||||
function getConeTwistLimitSign( constraint_id)
|
||||
function getConeTwistSpan( constraint_id)
|
||||
sub setConstraintAngularOnly( constraint_id, flag)
|
||||
sub setConstraintDamping( constraint_id, damping)
|
||||
sub setConstraintFixThresh( constraint_id, fixThresh)
|
||||
sub getConstraintAnchorA( constraint_id, ByRef x, ByRef y, ByRef z)
|
||||
sub getConstraintAnchorB( constraint_id, ByRef x, ByRef y, ByRef z)
|
||||
function getConstraintAngDepth( constraint_id)
|
||||
function getConstraintAngularPos( constraint_id)
|
||||
function getConstraintDampingDirAng( constraint_id)
|
||||
function getConstraintDampingDirLin( constraint_id)
|
||||
function getConstraintDampingLimAng( constraint_id)
|
||||
function getConstraintDampingLimLin( constraint_id)
|
||||
function getConstraintDampingOrthoAng( constraint_id)
|
||||
function getConstraintDampingOrthoLin( constraint_id)
|
||||
function getConstraintLinearPos( constraint_id)
|
||||
function getConstraintLinDepth( constraint_id)
|
||||
function getConstraintLowerAngLimit( constraint_id)
|
||||
function getConstraintLowerLinLimit( constraint_id)
|
||||
function getConstraintRestitutionDirAng( constraint_id)
|
||||
function getConstraintRestitutionDirLin( constraint_id)
|
||||
function getConstraintRestitutionLimAng( constraint_id)
|
||||
function getConstraintRestitutionLimLin( constraint_id)
|
||||
function getConstraintRestitutionOrthoAng( constraint_id)
|
||||
function getConstraintRestitutionOrthoLin( constraint_id)
|
||||
function getConstraintSoftnessDirAng( constraint_id)
|
||||
function getConstraintSoftnessDirLin( constraint_id)
|
||||
function getConstraintSoftnessLimAng( constraint_id)
|
||||
function getConstraintSoftnessLimLin( constraint_id)
|
||||
function getConstraintSoftnessOrthoAng( constraint_id)
|
||||
function getConstraintSoftnessOrthoLin( constraint_id)
|
||||
function getConstraintSolveAngLimit( constraint_id)
|
||||
function getConstraintSolveLinLimit( constraint_id)
|
||||
function getConstraintUpperAngLimit( constraint_id)
|
||||
function getConstraintUpperLinLimit( constraint_id)
|
||||
function getConstraintUseFrameOffset( constraint_id)
|
||||
sub setConstraintDampingDirAng( constraint_id, n)
|
||||
sub setConstraintDampingDirLin( constraint_id, n)
|
||||
sub setConstraintDampingLimAng( constraint_id, n)
|
||||
sub setConstraintDampingLimLin( constraint_id, n)
|
||||
sub setConstraintDampingOrthoAng( constraint_id, n)
|
||||
sub setConstraintDampingOrthoLin( constraint_id, n)
|
||||
sub setConstraintLowerAngLimit( constraint_id, n)
|
||||
sub setConstraintLowerLinLimit( constraint_id, n)
|
||||
sub setConstraintRestitutionDirAng( constraint_id, n)
|
||||
sub setConstraintRestitutionDirLin( constraint_id, n)
|
||||
sub setConstraintRestitutionLimAng( constraint_id, n)
|
||||
sub setConstraintRestitutionLimLin( constraint_id, n)
|
||||
sub setConstraintRestitutionOrthoAng( constraint_id, n)
|
||||
sub setConstraintRestitutionOrthoLin( constraint_id, n)
|
||||
sub setConstraintSoftnessDirAng( constraint_id, n)
|
||||
sub setConstraintSoftnessDirLin( constraint_id, n)
|
||||
sub setConstraintSoftnessLimAng( constraint_id, n)
|
||||
sub setConstraintSoftnessLimLin( constraint_id, n)
|
||||
sub setConstraintSoftnessOrthoAng( constraint_id, n)
|
||||
sub setConstraintSoftnessOrthoLin( constraint_id, n)
|
||||
sub setConstraintUpperAngLimit( constraint_id, n)
|
||||
sub setConstraintUpperLinLimit( constraint_id, n)
|
||||
sub setConeDamping( constraint_id, damping)
|
||||
sub setConeFixThresh( constraint_id, fixThresh)
|
||||
sub getSlideAnchorA( constraint_id, ByRef x, ByRef y, ByRef z)
|
||||
sub getSlideAnchorB( constraint_id, ByRef x, ByRef y, ByRef z)
|
||||
function getSlideAngDepth( constraint_id)
|
||||
function getSlideAngularPos( constraint_id)
|
||||
function getSlideDampingDirAng( constraint_id)
|
||||
function getSlideDampingDirLin( constraint_id)
|
||||
function getSlideDampingLimAng( constraint_id)
|
||||
function getSlideDampingLimLin( constraint_id)
|
||||
function getSlideDampingOrthoAng( constraint_id)
|
||||
function getSlideDampingOrthoLin( constraint_id)
|
||||
function getSlideLinearPos( constraint_id)
|
||||
function getSlideLinDepth( constraint_id)
|
||||
function getSlideLowerAngLimit( constraint_id)
|
||||
function getSlideLowerLinLimit( constraint_id)
|
||||
function getSlideRestitutionDirAng( constraint_id)
|
||||
function getSlideRestitutionDirLin( constraint_id)
|
||||
function getSlideRestitutionLimAng( constraint_id)
|
||||
function getSlideRestitutionLimLin( constraint_id)
|
||||
function getSlideRestitutionOrthoAng( constraint_id)
|
||||
function getSlideRestitutionOrthoLin( constraint_id)
|
||||
function getSlideSoftnessDirAng( constraint_id)
|
||||
function getSlideSoftnessDirLin( constraint_id)
|
||||
function getSlideSoftnessLimAng( constraint_id)
|
||||
function getSlideSoftnessLimLin( constraint_id)
|
||||
function getSlideSoftnessOrthoAng( constraint_id)
|
||||
function getSlideSoftnessOrthoLin( constraint_id)
|
||||
function getSlideSolveAngLimit( constraint_id)
|
||||
function getSlideSolveLinLimit( constraint_id)
|
||||
function getSlideUpperAngLimit( constraint_id)
|
||||
function getSlideUpperLinLimit( constraint_id)
|
||||
function getSlideUseFrameOffset( constraint_id)
|
||||
sub setSlideDampingDirAng( constraint_id, n)
|
||||
sub setSlideDampingDirLin( constraint_id, n)
|
||||
sub setSlideDampingLimAng( constraint_id, n)
|
||||
sub setSlideDampingLimLin( constraint_id, n)
|
||||
sub setSlideDampingOrthoAng( constraint_id, n)
|
||||
sub setSlideDampingOrthoLin( constraint_id, n)
|
||||
sub setSlideLowerAngLimit( constraint_id, n)
|
||||
sub setSlideLowerLinLimit( constraint_id, n)
|
||||
sub setSlideRestitutionDirAng( constraint_id, n)
|
||||
sub setSlideRestitutionDirLin( constraint_id, n)
|
||||
sub setSlideRestitutionLimAng( constraint_id, n)
|
||||
sub setSlideRestitutionLimLin( constraint_id, n)
|
||||
sub setSlideRestitutionOrthoAng( constraint_id, n)
|
||||
sub setSlideRestitutionOrthoLin( constraint_id, n)
|
||||
sub setSlideSoftnessDirAng( constraint_id, n)
|
||||
sub setSlideSoftnessDirLin( constraint_id, n)
|
||||
sub setSlideSoftnessLimAng( constraint_id, n)
|
||||
sub setSlideSoftnessLimLin( constraint_id, n)
|
||||
sub setSlideSoftnessOrthoAng( constraint_id, n)
|
||||
sub setSlideSoftnessOrthoLin( constraint_id, n)
|
||||
sub setSlideUpperAngLimit( constraint_id, n)
|
||||
sub setSlideUpperLinLimit( constraint_id, n)
|
||||
function ConstraintExists( constraint_id )
|
||||
|
||||
@@ -2,7 +2,7 @@ function LoadImage( img$ )
|
||||
function LoadImageEx(img$, colkey)
|
||||
function createImage(w, h, byref buffer)
|
||||
function createImageEx(w, h, byref buffer, color)
|
||||
sub getImageBuffer(img_id, byref buffer)
|
||||
sub BufferFromImage(slot, byref buffer)
|
||||
function ImageExists(slot)
|
||||
sub ColorKey(slot, c)
|
||||
sub setBilinearFilter( flag )
|
||||
|
||||
@@ -56,3 +56,4 @@ sub setActorMaterialFlag( actor, flag, flag_value)
|
||||
function getActorMaterialFlag( actor, material, flag)
|
||||
sub setActorMaterialType( actor, material_type)
|
||||
function getActorMaterialType( actor, material)
|
||||
function MaterialExists( material )
|
||||
|
||||
@@ -9,10 +9,10 @@ function getParticleNormalDirectionMod( actor)
|
||||
sub useParticleNormalDirection( actor, flag)
|
||||
function particleIsUsingNormalDirection( actor)
|
||||
sub setParticleMesh( actor, mesh)
|
||||
sub setParticleMinParticlesPerSecond( actor, minParticlesPerSecond)
|
||||
function getParticleMinParticlesPerSecond( actor)
|
||||
sub setParticleMaxParticlesPerSecond( actor, maxParticlesPerSecond)
|
||||
function getParticleMaxParticlesPerSecond( actor)
|
||||
sub setMinParticlesPerSecond( actor, minParticlesPerSecond)
|
||||
function getMinParticlesPerSecond( actor)
|
||||
sub setMaxParticlesPerSecond( actor, maxParticlesPerSecond)
|
||||
function getMaxParticlesPerSecond( actor)
|
||||
sub setParticleMinStartColor( actor, color)
|
||||
function getParticleMinStartColor( actor)
|
||||
sub setParticleMaxStartColor( actor, color)
|
||||
@@ -41,3 +41,4 @@ sub setParticleLength( actor, p_len)
|
||||
function getParticleLength( actor)
|
||||
sub useParticleOutlineOnly( actor, flag)
|
||||
function particleIsUsingOutlineOnly( actor)
|
||||
function getParticleType( actor )
|
||||
|
||||
@@ -2,6 +2,5 @@ sub AddSceneSkyBox( img_top, img_bottom, img_left, img_right, img_front, img_bac
|
||||
sub AddSceneSkyDome( img )
|
||||
sub AddSceneSkyDomeEx( img, horiRes, vertRes, txPercentage, spherePercentage, radius)
|
||||
sub RemoveSceneSky( )
|
||||
sub SetWorld3DDeltaTime( dt )
|
||||
sub SetWorld3DMaxSubSteps( steps )
|
||||
sub SetWorld3DTimeStep( ts )
|
||||
|
||||
@@ -912,7 +912,7 @@ int main(int argc, char * argv[])
|
||||
{
|
||||
string line = "";
|
||||
|
||||
//rcbasic_dev("embedded_functions.bas"); rcbasic_output_debug_info(); return 0;
|
||||
rcbasic_dev("embedded_functions.bas"); rcbasic_output_debug_info(); return 0;
|
||||
|
||||
string rc_filename = "";// = "tst.bas";
|
||||
|
||||
|
||||
@@ -9,7 +9,6 @@ void init_embedded_functions()
|
||||
embed_function("Input$", ID_TYPE_FN_STR);
|
||||
add_embedded_arg("prompt$", ID_TYPE_STR);
|
||||
embed_function("tst", ID_TYPE_SUB);
|
||||
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
|
||||
embed_function("ArrayDim", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("id", ID_TYPE_BYREF_NUM);
|
||||
embed_function("StringArrayDim", ID_TYPE_FN_NUM);
|
||||
@@ -455,9 +454,14 @@ void init_embedded_functions()
|
||||
add_embedded_arg("mode", ID_TYPE_NUM);
|
||||
embed_function("CloseCanvas", ID_TYPE_SUB);
|
||||
add_embedded_arg("c_num", ID_TYPE_NUM);
|
||||
embed_function("SetCanvas3D", ID_TYPE_SUB);
|
||||
add_embedded_arg("c_num", ID_TYPE_NUM);
|
||||
add_embedded_arg("flag", ID_TYPE_NUM);
|
||||
embed_function("OpenCanvas3D", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("w", ID_TYPE_NUM);
|
||||
add_embedded_arg("h", ID_TYPE_NUM);
|
||||
add_embedded_arg("viewport_x", ID_TYPE_NUM);
|
||||
add_embedded_arg("viewport_y", ID_TYPE_NUM);
|
||||
add_embedded_arg("viewport_w", ID_TYPE_NUM);
|
||||
add_embedded_arg("viewport_h", ID_TYPE_NUM);
|
||||
add_embedded_arg("mode", ID_TYPE_NUM);
|
||||
embed_function("SetCanvasVisible", ID_TYPE_SUB);
|
||||
add_embedded_arg("c_num", ID_TYPE_NUM);
|
||||
add_embedded_arg("flag", ID_TYPE_NUM);
|
||||
@@ -500,9 +504,9 @@ void init_embedded_functions()
|
||||
add_embedded_arg("c", ID_TYPE_NUM);
|
||||
embed_function("GetCanvasColorMod", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("c_num", ID_TYPE_NUM);
|
||||
embed_function("CloneCanvas", ID_TYPE_SUB);
|
||||
add_embedded_arg("src", ID_TYPE_NUM);
|
||||
add_embedded_arg("dst", ID_TYPE_NUM);
|
||||
embed_function("CloneCanvas", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("c_num", ID_TYPE_NUM);
|
||||
add_embedded_arg("mode", ID_TYPE_NUM);
|
||||
embed_function("SetCanvasZ", ID_TYPE_SUB);
|
||||
add_embedded_arg("c_num", ID_TYPE_NUM);
|
||||
add_embedded_arg("z", ID_TYPE_NUM);
|
||||
@@ -514,6 +518,16 @@ void init_embedded_functions()
|
||||
add_embedded_arg("w", ID_TYPE_NUM);
|
||||
add_embedded_arg("h", ID_TYPE_NUM);
|
||||
embed_function("ActiveCanvas", ID_TYPE_FN_NUM);
|
||||
embed_function("SetCanvasPhysics2D", ID_TYPE_SUB);
|
||||
add_embedded_arg("c_num", ID_TYPE_NUM);
|
||||
add_embedded_arg("state", ID_TYPE_NUM);
|
||||
embed_function("OpenSpriteCanvas", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("w", ID_TYPE_NUM);
|
||||
add_embedded_arg("h", ID_TYPE_NUM);
|
||||
add_embedded_arg("viewport_x", ID_TYPE_NUM);
|
||||
add_embedded_arg("viewport_y", ID_TYPE_NUM);
|
||||
add_embedded_arg("viewport_w", ID_TYPE_NUM);
|
||||
add_embedded_arg("viewport_h", ID_TYPE_NUM);
|
||||
embed_function("Circle", ID_TYPE_SUB);
|
||||
add_embedded_arg("x", ID_TYPE_NUM);
|
||||
add_embedded_arg("y", ID_TYPE_NUM);
|
||||
@@ -585,8 +599,8 @@ void init_embedded_functions()
|
||||
add_embedded_arg("h", ID_TYPE_NUM);
|
||||
add_embedded_arg("buffer", ID_TYPE_BYREF_NUM);
|
||||
add_embedded_arg("color", ID_TYPE_NUM);
|
||||
embed_function("getImageBuffer", ID_TYPE_SUB);
|
||||
add_embedded_arg("img_id", ID_TYPE_NUM);
|
||||
embed_function("BufferFromImage", ID_TYPE_SUB);
|
||||
add_embedded_arg("slot", ID_TYPE_NUM);
|
||||
add_embedded_arg("buffer", ID_TYPE_BYREF_NUM);
|
||||
embed_function("ImageExists", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("slot", ID_TYPE_NUM);
|
||||
@@ -1310,6 +1324,8 @@ void init_embedded_functions()
|
||||
embed_function("CreateBillboardActor", ID_TYPE_FN_NUM);
|
||||
embed_function("CreateTerrainActor", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("hmap_file$", ID_TYPE_STR);
|
||||
embed_function("CreateParticleActor", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("particle_type", ID_TYPE_NUM);
|
||||
embed_function("DeleteActor", ID_TYPE_SUB);
|
||||
add_embedded_arg("actor", ID_TYPE_NUM);
|
||||
embed_function("GetActorTransform", ID_TYPE_SUB);
|
||||
@@ -1320,7 +1336,7 @@ void init_embedded_functions()
|
||||
add_embedded_arg("x", ID_TYPE_NUM);
|
||||
add_embedded_arg("y", ID_TYPE_NUM);
|
||||
add_embedded_arg("z", ID_TYPE_NUM);
|
||||
embed_function("TranslateActor", ID_TYPE_SUB);
|
||||
embed_function("TranslateActorLocal", ID_TYPE_SUB);
|
||||
add_embedded_arg("actor", ID_TYPE_NUM);
|
||||
add_embedded_arg("x", ID_TYPE_NUM);
|
||||
add_embedded_arg("y", ID_TYPE_NUM);
|
||||
@@ -1379,6 +1395,8 @@ void init_embedded_functions()
|
||||
add_embedded_arg("actor", ID_TYPE_NUM);
|
||||
embed_function("RemoveActorShadow", ID_TYPE_SUB);
|
||||
add_embedded_arg("actor", ID_TYPE_NUM);
|
||||
embed_function("ActorExists", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("actor", ID_TYPE_NUM);
|
||||
embed_function("SetGravity3D", ID_TYPE_SUB);
|
||||
add_embedded_arg("x", ID_TYPE_NUM);
|
||||
add_embedded_arg("y", ID_TYPE_NUM);
|
||||
@@ -1558,12 +1576,12 @@ void init_embedded_functions()
|
||||
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
|
||||
add_embedded_arg("z", ID_TYPE_BYREF_NUM);
|
||||
add_embedded_arg("w", ID_TYPE_BYREF_NUM);
|
||||
embed_function("getActorLinearVelocity", ID_TYPE_SUB);
|
||||
embed_function("getActorLinearVelocityWorld", ID_TYPE_SUB);
|
||||
add_embedded_arg("actor", ID_TYPE_NUM);
|
||||
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
|
||||
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
|
||||
add_embedded_arg("z", ID_TYPE_BYREF_NUM);
|
||||
embed_function("getActorAngularVelocity", ID_TYPE_SUB);
|
||||
embed_function("getActorAngularVelocityWorld", ID_TYPE_SUB);
|
||||
add_embedded_arg("actor", ID_TYPE_NUM);
|
||||
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
|
||||
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
|
||||
@@ -1654,6 +1672,9 @@ void init_embedded_functions()
|
||||
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
|
||||
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
|
||||
add_embedded_arg("z", ID_TYPE_BYREF_NUM);
|
||||
embed_function("SetActorSleepState", ID_TYPE_SUB);
|
||||
add_embedded_arg("actor", ID_TYPE_NUM);
|
||||
add_embedded_arg("state", ID_TYPE_NUM);
|
||||
embed_function("createPointConstraint", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("actorA", ID_TYPE_NUM);
|
||||
add_embedded_arg("pxA", ID_TYPE_NUM);
|
||||
@@ -1668,39 +1689,26 @@ void init_embedded_functions()
|
||||
add_embedded_arg("pxB", ID_TYPE_NUM);
|
||||
add_embedded_arg("pyB", ID_TYPE_NUM);
|
||||
add_embedded_arg("pzB", ID_TYPE_NUM);
|
||||
embed_function("setConstraintPivotA", ID_TYPE_SUB);
|
||||
embed_function("setPointPivotA", ID_TYPE_SUB);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("x", ID_TYPE_NUM);
|
||||
add_embedded_arg("y", ID_TYPE_NUM);
|
||||
add_embedded_arg("z", ID_TYPE_NUM);
|
||||
embed_function("setConstraintPivotB", ID_TYPE_SUB);
|
||||
embed_function("setPointPivotB", ID_TYPE_SUB);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("x", ID_TYPE_NUM);
|
||||
add_embedded_arg("y", ID_TYPE_NUM);
|
||||
add_embedded_arg("z", ID_TYPE_NUM);
|
||||
embed_function("createHingeConstraint", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("actorA", ID_TYPE_NUM);
|
||||
add_embedded_arg("pxA", ID_TYPE_NUM);
|
||||
add_embedded_arg("pyA", ID_TYPE_NUM);
|
||||
add_embedded_arg("pzA", ID_TYPE_NUM);
|
||||
add_embedded_arg("axA", ID_TYPE_NUM);
|
||||
add_embedded_arg("ayA", ID_TYPE_NUM);
|
||||
add_embedded_arg("azA", ID_TYPE_NUM);
|
||||
add_embedded_arg("frameA", ID_TYPE_NUM);
|
||||
add_embedded_arg("useReferenceFrameA", ID_TYPE_NUM);
|
||||
embed_function("createHingeConstraintEx", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("actorA", ID_TYPE_NUM);
|
||||
add_embedded_arg("actorB", ID_TYPE_NUM);
|
||||
add_embedded_arg("pxA", ID_TYPE_NUM);
|
||||
add_embedded_arg("pyA", ID_TYPE_NUM);
|
||||
add_embedded_arg("pzA", ID_TYPE_NUM);
|
||||
add_embedded_arg("pxB", ID_TYPE_NUM);
|
||||
add_embedded_arg("pyB", ID_TYPE_NUM);
|
||||
add_embedded_arg("pzB", ID_TYPE_NUM);
|
||||
add_embedded_arg("axA", ID_TYPE_NUM);
|
||||
add_embedded_arg("ayA", ID_TYPE_NUM);
|
||||
add_embedded_arg("azA", ID_TYPE_NUM);
|
||||
add_embedded_arg("axB", ID_TYPE_NUM);
|
||||
add_embedded_arg("ayB", ID_TYPE_NUM);
|
||||
add_embedded_arg("azB", ID_TYPE_NUM);
|
||||
add_embedded_arg("frameA", ID_TYPE_NUM);
|
||||
add_embedded_arg("frameB", ID_TYPE_NUM);
|
||||
add_embedded_arg("useReferenceFrameA", ID_TYPE_NUM);
|
||||
embed_function("createSlideConstraint", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("actorA", ID_TYPE_NUM);
|
||||
add_embedded_arg("frameInB_matrix", ID_TYPE_NUM);
|
||||
@@ -1754,7 +1762,7 @@ void init_embedded_functions()
|
||||
embed_function("getConstraintBFrame", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("mA", ID_TYPE_NUM);
|
||||
embed_function("setConstraintAxis", ID_TYPE_SUB);
|
||||
embed_function("setHingeAxis", ID_TYPE_SUB);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("x", ID_TYPE_NUM);
|
||||
add_embedded_arg("y", ID_TYPE_NUM);
|
||||
@@ -1781,11 +1789,11 @@ void init_embedded_functions()
|
||||
add_embedded_arg("softness", ID_TYPE_NUM);
|
||||
add_embedded_arg("bias_factor", ID_TYPE_NUM);
|
||||
add_embedded_arg("relaxation_factor", ID_TYPE_NUM);
|
||||
embed_function("getConstraintLimitBiasFactor", ID_TYPE_FN_NUM);
|
||||
embed_function("getHingeLimitBiasFactor", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getLimitRelaxationFactor", ID_TYPE_FN_NUM);
|
||||
embed_function("getHingeLimitRelaxationFactor", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintLimitSign", ID_TYPE_FN_NUM);
|
||||
embed_function("getHingeLimitSign", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getHingeSolveLimit", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
@@ -1796,12 +1804,12 @@ void init_embedded_functions()
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintFixedActor", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintPivotA", ID_TYPE_SUB);
|
||||
embed_function("getPointPivotA", ID_TYPE_SUB);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
|
||||
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
|
||||
add_embedded_arg("z", ID_TYPE_BYREF_NUM);
|
||||
embed_function("getConstraintPivotB", ID_TYPE_SUB);
|
||||
embed_function("getPointPivotB", ID_TYPE_SUB);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
|
||||
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
|
||||
@@ -1813,20 +1821,20 @@ void init_embedded_functions()
|
||||
embed_function("setConstraintSolverIterations", ID_TYPE_SUB);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("num", ID_TYPE_NUM);
|
||||
embed_function("getConstraintBiasFactor", ID_TYPE_FN_NUM);
|
||||
embed_function("getConeBiasFactor", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintDamping", ID_TYPE_FN_NUM);
|
||||
embed_function("getConeDamping", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintFixThresh", ID_TYPE_FN_NUM);
|
||||
embed_function("getConeFixThresh", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintLimit", ID_TYPE_FN_NUM);
|
||||
embed_function("getConeLimit", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("limit_index", ID_TYPE_NUM);
|
||||
embed_function("getConstraintLimitSoftness", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintSolverIterations", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintAnglePoint", ID_TYPE_SUB);
|
||||
embed_function("getConeAnglePoint", ID_TYPE_SUB);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("angle", ID_TYPE_NUM);
|
||||
add_embedded_arg("c_len", ID_TYPE_NUM);
|
||||
@@ -1835,165 +1843,165 @@ void init_embedded_functions()
|
||||
add_embedded_arg("z", ID_TYPE_BYREF_NUM);
|
||||
embed_function("getConstraintAngularOnly", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintSolveSwingLimit", ID_TYPE_FN_NUM);
|
||||
embed_function("getConeSolveSwingLimit", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintSolveTwistLimit", ID_TYPE_FN_NUM);
|
||||
embed_function("getConeSolveTwistLimit", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintSolveLimit", ID_TYPE_FN_NUM);
|
||||
embed_function("getConeSwingSpan1", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintSwingSpan1", ID_TYPE_FN_NUM);
|
||||
embed_function("getConeSwingSpan2", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintSwingSpan2", ID_TYPE_FN_NUM);
|
||||
embed_function("getConeTwistAngle", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintTwistAngle", ID_TYPE_FN_NUM);
|
||||
embed_function("getConeTwistLimitSign", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintTwistLimitSign", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintTwistSpan", ID_TYPE_FN_NUM);
|
||||
embed_function("getConeTwistSpan", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("setConstraintAngularOnly", ID_TYPE_SUB);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("flag", ID_TYPE_NUM);
|
||||
embed_function("setConstraintDamping", ID_TYPE_SUB);
|
||||
embed_function("setConeDamping", ID_TYPE_SUB);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("damping", ID_TYPE_NUM);
|
||||
embed_function("setConstraintFixThresh", ID_TYPE_SUB);
|
||||
embed_function("setConeFixThresh", ID_TYPE_SUB);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("fixThresh", ID_TYPE_NUM);
|
||||
embed_function("getConstraintAnchorA", ID_TYPE_SUB);
|
||||
embed_function("getSlideAnchorA", ID_TYPE_SUB);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
|
||||
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
|
||||
add_embedded_arg("z", ID_TYPE_BYREF_NUM);
|
||||
embed_function("getConstraintAnchorB", ID_TYPE_SUB);
|
||||
embed_function("getSlideAnchorB", ID_TYPE_SUB);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
|
||||
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
|
||||
add_embedded_arg("z", ID_TYPE_BYREF_NUM);
|
||||
embed_function("getConstraintAngDepth", ID_TYPE_FN_NUM);
|
||||
embed_function("getSlideAngDepth", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintAngularPos", ID_TYPE_FN_NUM);
|
||||
embed_function("getSlideAngularPos", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintDampingDirAng", ID_TYPE_FN_NUM);
|
||||
embed_function("getSlideDampingDirAng", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintDampingDirLin", ID_TYPE_FN_NUM);
|
||||
embed_function("getSlideDampingDirLin", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintDampingLimAng", ID_TYPE_FN_NUM);
|
||||
embed_function("getSlideDampingLimAng", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintDampingLimLin", ID_TYPE_FN_NUM);
|
||||
embed_function("getSlideDampingLimLin", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintDampingOrthoAng", ID_TYPE_FN_NUM);
|
||||
embed_function("getSlideDampingOrthoAng", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintDampingOrthoLin", ID_TYPE_FN_NUM);
|
||||
embed_function("getSlideDampingOrthoLin", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintLinearPos", ID_TYPE_FN_NUM);
|
||||
embed_function("getSlideLinearPos", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintLinDepth", ID_TYPE_FN_NUM);
|
||||
embed_function("getSlideLinDepth", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintLowerAngLimit", ID_TYPE_FN_NUM);
|
||||
embed_function("getSlideLowerAngLimit", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintLowerLinLimit", ID_TYPE_FN_NUM);
|
||||
embed_function("getSlideLowerLinLimit", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintRestitutionDirAng", ID_TYPE_FN_NUM);
|
||||
embed_function("getSlideRestitutionDirAng", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintRestitutionDirLin", ID_TYPE_FN_NUM);
|
||||
embed_function("getSlideRestitutionDirLin", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintRestitutionLimAng", ID_TYPE_FN_NUM);
|
||||
embed_function("getSlideRestitutionLimAng", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintRestitutionLimLin", ID_TYPE_FN_NUM);
|
||||
embed_function("getSlideRestitutionLimLin", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintRestitutionOrthoAng", ID_TYPE_FN_NUM);
|
||||
embed_function("getSlideRestitutionOrthoAng", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintRestitutionOrthoLin", ID_TYPE_FN_NUM);
|
||||
embed_function("getSlideRestitutionOrthoLin", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintSoftnessDirAng", ID_TYPE_FN_NUM);
|
||||
embed_function("getSlideSoftnessDirAng", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintSoftnessDirLin", ID_TYPE_FN_NUM);
|
||||
embed_function("getSlideSoftnessDirLin", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintSoftnessLimAng", ID_TYPE_FN_NUM);
|
||||
embed_function("getSlideSoftnessLimAng", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintSoftnessLimLin", ID_TYPE_FN_NUM);
|
||||
embed_function("getSlideSoftnessLimLin", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintSoftnessOrthoAng", ID_TYPE_FN_NUM);
|
||||
embed_function("getSlideSoftnessOrthoAng", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintSoftnessOrthoLin", ID_TYPE_FN_NUM);
|
||||
embed_function("getSlideSoftnessOrthoLin", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintSolveAngLimit", ID_TYPE_FN_NUM);
|
||||
embed_function("getSlideSolveAngLimit", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintSolveLinLimit", ID_TYPE_FN_NUM);
|
||||
embed_function("getSlideSolveLinLimit", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintUpperAngLimit", ID_TYPE_FN_NUM);
|
||||
embed_function("getSlideUpperAngLimit", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintUpperLinLimit", ID_TYPE_FN_NUM);
|
||||
embed_function("getSlideUpperLinLimit", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintUseFrameOffset", ID_TYPE_FN_NUM);
|
||||
embed_function("getSlideUseFrameOffset", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("setConstraintDampingDirAng", ID_TYPE_SUB);
|
||||
embed_function("setSlideDampingDirAng", ID_TYPE_SUB);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("n", ID_TYPE_NUM);
|
||||
embed_function("setConstraintDampingDirLin", ID_TYPE_SUB);
|
||||
embed_function("setSlideDampingDirLin", ID_TYPE_SUB);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("n", ID_TYPE_NUM);
|
||||
embed_function("setConstraintDampingLimAng", ID_TYPE_SUB);
|
||||
embed_function("setSlideDampingLimAng", ID_TYPE_SUB);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("n", ID_TYPE_NUM);
|
||||
embed_function("setConstraintDampingLimLin", ID_TYPE_SUB);
|
||||
embed_function("setSlideDampingLimLin", ID_TYPE_SUB);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("n", ID_TYPE_NUM);
|
||||
embed_function("setConstraintDampingOrthoAng", ID_TYPE_SUB);
|
||||
embed_function("setSlideDampingOrthoAng", ID_TYPE_SUB);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("n", ID_TYPE_NUM);
|
||||
embed_function("setConstraintDampingOrthoLin", ID_TYPE_SUB);
|
||||
embed_function("setSlideDampingOrthoLin", ID_TYPE_SUB);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("n", ID_TYPE_NUM);
|
||||
embed_function("setConstraintLowerAngLimit", ID_TYPE_SUB);
|
||||
embed_function("setSlideLowerAngLimit", ID_TYPE_SUB);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("n", ID_TYPE_NUM);
|
||||
embed_function("setConstraintLowerLinLimit", ID_TYPE_SUB);
|
||||
embed_function("setSlideLowerLinLimit", ID_TYPE_SUB);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("n", ID_TYPE_NUM);
|
||||
embed_function("setConstraintRestitutionDirAng", ID_TYPE_SUB);
|
||||
embed_function("setSlideRestitutionDirAng", ID_TYPE_SUB);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("n", ID_TYPE_NUM);
|
||||
embed_function("setConstraintRestitutionDirLin", ID_TYPE_SUB);
|
||||
embed_function("setSlideRestitutionDirLin", ID_TYPE_SUB);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("n", ID_TYPE_NUM);
|
||||
embed_function("setConstraintRestitutionLimAng", ID_TYPE_SUB);
|
||||
embed_function("setSlideRestitutionLimAng", ID_TYPE_SUB);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("n", ID_TYPE_NUM);
|
||||
embed_function("setConstraintRestitutionLimLin", ID_TYPE_SUB);
|
||||
embed_function("setSlideRestitutionLimLin", ID_TYPE_SUB);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("n", ID_TYPE_NUM);
|
||||
embed_function("setConstraintRestitutionOrthoAng", ID_TYPE_SUB);
|
||||
embed_function("setSlideRestitutionOrthoAng", ID_TYPE_SUB);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("n", ID_TYPE_NUM);
|
||||
embed_function("setConstraintRestitutionOrthoLin", ID_TYPE_SUB);
|
||||
embed_function("setSlideRestitutionOrthoLin", ID_TYPE_SUB);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("n", ID_TYPE_NUM);
|
||||
embed_function("setConstraintSoftnessDirAng", ID_TYPE_SUB);
|
||||
embed_function("setSlideSoftnessDirAng", ID_TYPE_SUB);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("n", ID_TYPE_NUM);
|
||||
embed_function("setConstraintSoftnessDirLin", ID_TYPE_SUB);
|
||||
embed_function("setSlideSoftnessDirLin", ID_TYPE_SUB);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("n", ID_TYPE_NUM);
|
||||
embed_function("setConstraintSoftnessLimAng", ID_TYPE_SUB);
|
||||
embed_function("setSlideSoftnessLimAng", ID_TYPE_SUB);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("n", ID_TYPE_NUM);
|
||||
embed_function("setConstraintSoftnessLimLin", ID_TYPE_SUB);
|
||||
embed_function("setSlideSoftnessLimLin", ID_TYPE_SUB);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("n", ID_TYPE_NUM);
|
||||
embed_function("setConstraintSoftnessOrthoAng", ID_TYPE_SUB);
|
||||
embed_function("setSlideSoftnessOrthoAng", ID_TYPE_SUB);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("n", ID_TYPE_NUM);
|
||||
embed_function("setConstraintSoftnessOrthoLin", ID_TYPE_SUB);
|
||||
embed_function("setSlideSoftnessOrthoLin", ID_TYPE_SUB);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("n", ID_TYPE_NUM);
|
||||
embed_function("setConstraintUpperAngLimit", ID_TYPE_SUB);
|
||||
embed_function("setSlideUpperAngLimit", ID_TYPE_SUB);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("n", ID_TYPE_NUM);
|
||||
embed_function("setConstraintUpperLinLimit", ID_TYPE_SUB);
|
||||
embed_function("setSlideUpperLinLimit", ID_TYPE_SUB);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("n", ID_TYPE_NUM);
|
||||
embed_function("ConstraintExists", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("SetCameraPosition", ID_TYPE_SUB);
|
||||
add_embedded_arg("x", ID_TYPE_NUM);
|
||||
add_embedded_arg("y", ID_TYPE_NUM);
|
||||
@@ -2047,8 +2055,6 @@ void init_embedded_functions()
|
||||
add_embedded_arg("spherePercentage", ID_TYPE_NUM);
|
||||
add_embedded_arg("radius", ID_TYPE_NUM);
|
||||
embed_function("RemoveSceneSky", ID_TYPE_SUB);
|
||||
embed_function("SetWorld3DDeltaTime", ID_TYPE_SUB);
|
||||
add_embedded_arg("dt", ID_TYPE_NUM);
|
||||
embed_function("SetWorld3DMaxSubSteps", ID_TYPE_SUB);
|
||||
add_embedded_arg("steps", ID_TYPE_NUM);
|
||||
embed_function("SetWorld3DTimeStep", ID_TYPE_SUB);
|
||||
@@ -2085,15 +2091,15 @@ void init_embedded_functions()
|
||||
embed_function("setParticleMesh", ID_TYPE_SUB);
|
||||
add_embedded_arg("actor", ID_TYPE_NUM);
|
||||
add_embedded_arg("mesh", ID_TYPE_NUM);
|
||||
embed_function("setParticleMinParticlesPerSecond", ID_TYPE_SUB);
|
||||
embed_function("setMinParticlesPerSecond", ID_TYPE_SUB);
|
||||
add_embedded_arg("actor", ID_TYPE_NUM);
|
||||
add_embedded_arg("minParticlesPerSecond", ID_TYPE_NUM);
|
||||
embed_function("getParticleMinParticlesPerSecond", ID_TYPE_FN_NUM);
|
||||
embed_function("getMinParticlesPerSecond", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("actor", ID_TYPE_NUM);
|
||||
embed_function("setParticleMaxParticlesPerSecond", ID_TYPE_SUB);
|
||||
embed_function("setMaxParticlesPerSecond", ID_TYPE_SUB);
|
||||
add_embedded_arg("actor", ID_TYPE_NUM);
|
||||
add_embedded_arg("maxParticlesPerSecond", ID_TYPE_NUM);
|
||||
embed_function("getParticleMaxParticlesPerSecond", ID_TYPE_FN_NUM);
|
||||
embed_function("getMaxParticlesPerSecond", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("actor", ID_TYPE_NUM);
|
||||
embed_function("setParticleMinStartColor", ID_TYPE_SUB);
|
||||
add_embedded_arg("actor", ID_TYPE_NUM);
|
||||
@@ -2192,6 +2198,8 @@ void init_embedded_functions()
|
||||
add_embedded_arg("flag", ID_TYPE_NUM);
|
||||
embed_function("particleIsUsingOutlineOnly", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("actor", ID_TYPE_NUM);
|
||||
embed_function("getParticleType", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("actor", ID_TYPE_NUM);
|
||||
embed_function("lightIsCastingShadow", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("actor", ID_TYPE_NUM);
|
||||
embed_function("getLightType", ID_TYPE_FN_NUM);
|
||||
@@ -2510,6 +2518,8 @@ void init_embedded_functions()
|
||||
embed_function("getActorMaterialType", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("actor", ID_TYPE_NUM);
|
||||
add_embedded_arg("material", ID_TYPE_NUM);
|
||||
embed_function("MaterialExists", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("material", ID_TYPE_NUM);
|
||||
}
|
||||
|
||||
void init_embedded_types()
|
||||
|
||||
Binary file not shown.
@@ -3,7 +3,6 @@ add_embedded_arg("txt$", ID_TYPE_STR);
|
||||
embed_function("Input$", ID_TYPE_FN_STR);
|
||||
add_embedded_arg("prompt$", ID_TYPE_STR);
|
||||
embed_function("tst", ID_TYPE_SUB);
|
||||
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
|
||||
embed_function("ArrayDim", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("id", ID_TYPE_BYREF_NUM);
|
||||
embed_function("StringArrayDim", ID_TYPE_FN_NUM);
|
||||
@@ -449,9 +448,14 @@ add_embedded_arg("viewport_h", ID_TYPE_NUM);
|
||||
add_embedded_arg("mode", ID_TYPE_NUM);
|
||||
embed_function("CloseCanvas", ID_TYPE_SUB);
|
||||
add_embedded_arg("c_num", ID_TYPE_NUM);
|
||||
embed_function("SetCanvas3D", ID_TYPE_SUB);
|
||||
add_embedded_arg("c_num", ID_TYPE_NUM);
|
||||
add_embedded_arg("flag", ID_TYPE_NUM);
|
||||
embed_function("OpenCanvas3D", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("w", ID_TYPE_NUM);
|
||||
add_embedded_arg("h", ID_TYPE_NUM);
|
||||
add_embedded_arg("viewport_x", ID_TYPE_NUM);
|
||||
add_embedded_arg("viewport_y", ID_TYPE_NUM);
|
||||
add_embedded_arg("viewport_w", ID_TYPE_NUM);
|
||||
add_embedded_arg("viewport_h", ID_TYPE_NUM);
|
||||
add_embedded_arg("mode", ID_TYPE_NUM);
|
||||
embed_function("SetCanvasVisible", ID_TYPE_SUB);
|
||||
add_embedded_arg("c_num", ID_TYPE_NUM);
|
||||
add_embedded_arg("flag", ID_TYPE_NUM);
|
||||
@@ -494,9 +498,9 @@ add_embedded_arg("c_num", ID_TYPE_NUM);
|
||||
add_embedded_arg("c", ID_TYPE_NUM);
|
||||
embed_function("GetCanvasColorMod", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("c_num", ID_TYPE_NUM);
|
||||
embed_function("CloneCanvas", ID_TYPE_SUB);
|
||||
add_embedded_arg("src", ID_TYPE_NUM);
|
||||
add_embedded_arg("dst", ID_TYPE_NUM);
|
||||
embed_function("CloneCanvas", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("c_num", ID_TYPE_NUM);
|
||||
add_embedded_arg("mode", ID_TYPE_NUM);
|
||||
embed_function("SetCanvasZ", ID_TYPE_SUB);
|
||||
add_embedded_arg("c_num", ID_TYPE_NUM);
|
||||
add_embedded_arg("z", ID_TYPE_NUM);
|
||||
@@ -508,6 +512,16 @@ add_embedded_arg("y", ID_TYPE_NUM);
|
||||
add_embedded_arg("w", ID_TYPE_NUM);
|
||||
add_embedded_arg("h", ID_TYPE_NUM);
|
||||
embed_function("ActiveCanvas", ID_TYPE_FN_NUM);
|
||||
embed_function("SetCanvasPhysics2D", ID_TYPE_SUB);
|
||||
add_embedded_arg("c_num", ID_TYPE_NUM);
|
||||
add_embedded_arg("state", ID_TYPE_NUM);
|
||||
embed_function("OpenSpriteCanvas", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("w", ID_TYPE_NUM);
|
||||
add_embedded_arg("h", ID_TYPE_NUM);
|
||||
add_embedded_arg("viewport_x", ID_TYPE_NUM);
|
||||
add_embedded_arg("viewport_y", ID_TYPE_NUM);
|
||||
add_embedded_arg("viewport_w", ID_TYPE_NUM);
|
||||
add_embedded_arg("viewport_h", ID_TYPE_NUM);
|
||||
embed_function("Circle", ID_TYPE_SUB);
|
||||
add_embedded_arg("x", ID_TYPE_NUM);
|
||||
add_embedded_arg("y", ID_TYPE_NUM);
|
||||
@@ -579,8 +593,8 @@ add_embedded_arg("w", ID_TYPE_NUM);
|
||||
add_embedded_arg("h", ID_TYPE_NUM);
|
||||
add_embedded_arg("buffer", ID_TYPE_BYREF_NUM);
|
||||
add_embedded_arg("color", ID_TYPE_NUM);
|
||||
embed_function("getImageBuffer", ID_TYPE_SUB);
|
||||
add_embedded_arg("img_id", ID_TYPE_NUM);
|
||||
embed_function("BufferFromImage", ID_TYPE_SUB);
|
||||
add_embedded_arg("slot", ID_TYPE_NUM);
|
||||
add_embedded_arg("buffer", ID_TYPE_BYREF_NUM);
|
||||
embed_function("ImageExists", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("slot", ID_TYPE_NUM);
|
||||
@@ -1304,6 +1318,8 @@ embed_function("CreateLightActor", ID_TYPE_FN_NUM);
|
||||
embed_function("CreateBillboardActor", ID_TYPE_FN_NUM);
|
||||
embed_function("CreateTerrainActor", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("hmap_file$", ID_TYPE_STR);
|
||||
embed_function("CreateParticleActor", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("particle_type", ID_TYPE_NUM);
|
||||
embed_function("DeleteActor", ID_TYPE_SUB);
|
||||
add_embedded_arg("actor", ID_TYPE_NUM);
|
||||
embed_function("GetActorTransform", ID_TYPE_SUB);
|
||||
@@ -1314,7 +1330,7 @@ add_embedded_arg("actor", ID_TYPE_NUM);
|
||||
add_embedded_arg("x", ID_TYPE_NUM);
|
||||
add_embedded_arg("y", ID_TYPE_NUM);
|
||||
add_embedded_arg("z", ID_TYPE_NUM);
|
||||
embed_function("TranslateActor", ID_TYPE_SUB);
|
||||
embed_function("TranslateActorLocal", ID_TYPE_SUB);
|
||||
add_embedded_arg("actor", ID_TYPE_NUM);
|
||||
add_embedded_arg("x", ID_TYPE_NUM);
|
||||
add_embedded_arg("y", ID_TYPE_NUM);
|
||||
@@ -1373,6 +1389,8 @@ embed_function("AddActorShadow", ID_TYPE_SUB);
|
||||
add_embedded_arg("actor", ID_TYPE_NUM);
|
||||
embed_function("RemoveActorShadow", ID_TYPE_SUB);
|
||||
add_embedded_arg("actor", ID_TYPE_NUM);
|
||||
embed_function("ActorExists", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("actor", ID_TYPE_NUM);
|
||||
embed_function("SetGravity3D", ID_TYPE_SUB);
|
||||
add_embedded_arg("x", ID_TYPE_NUM);
|
||||
add_embedded_arg("y", ID_TYPE_NUM);
|
||||
@@ -1552,12 +1570,12 @@ add_embedded_arg("x", ID_TYPE_BYREF_NUM);
|
||||
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
|
||||
add_embedded_arg("z", ID_TYPE_BYREF_NUM);
|
||||
add_embedded_arg("w", ID_TYPE_BYREF_NUM);
|
||||
embed_function("getActorLinearVelocity", ID_TYPE_SUB);
|
||||
embed_function("getActorLinearVelocityWorld", ID_TYPE_SUB);
|
||||
add_embedded_arg("actor", ID_TYPE_NUM);
|
||||
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
|
||||
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
|
||||
add_embedded_arg("z", ID_TYPE_BYREF_NUM);
|
||||
embed_function("getActorAngularVelocity", ID_TYPE_SUB);
|
||||
embed_function("getActorAngularVelocityWorld", ID_TYPE_SUB);
|
||||
add_embedded_arg("actor", ID_TYPE_NUM);
|
||||
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
|
||||
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
|
||||
@@ -1648,6 +1666,9 @@ add_embedded_arg("actor", ID_TYPE_NUM);
|
||||
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
|
||||
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
|
||||
add_embedded_arg("z", ID_TYPE_BYREF_NUM);
|
||||
embed_function("SetActorSleepState", ID_TYPE_SUB);
|
||||
add_embedded_arg("actor", ID_TYPE_NUM);
|
||||
add_embedded_arg("state", ID_TYPE_NUM);
|
||||
embed_function("createPointConstraint", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("actorA", ID_TYPE_NUM);
|
||||
add_embedded_arg("pxA", ID_TYPE_NUM);
|
||||
@@ -1662,39 +1683,26 @@ add_embedded_arg("pzA", ID_TYPE_NUM);
|
||||
add_embedded_arg("pxB", ID_TYPE_NUM);
|
||||
add_embedded_arg("pyB", ID_TYPE_NUM);
|
||||
add_embedded_arg("pzB", ID_TYPE_NUM);
|
||||
embed_function("setConstraintPivotA", ID_TYPE_SUB);
|
||||
embed_function("setPointPivotA", ID_TYPE_SUB);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("x", ID_TYPE_NUM);
|
||||
add_embedded_arg("y", ID_TYPE_NUM);
|
||||
add_embedded_arg("z", ID_TYPE_NUM);
|
||||
embed_function("setConstraintPivotB", ID_TYPE_SUB);
|
||||
embed_function("setPointPivotB", ID_TYPE_SUB);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("x", ID_TYPE_NUM);
|
||||
add_embedded_arg("y", ID_TYPE_NUM);
|
||||
add_embedded_arg("z", ID_TYPE_NUM);
|
||||
embed_function("createHingeConstraint", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("actorA", ID_TYPE_NUM);
|
||||
add_embedded_arg("pxA", ID_TYPE_NUM);
|
||||
add_embedded_arg("pyA", ID_TYPE_NUM);
|
||||
add_embedded_arg("pzA", ID_TYPE_NUM);
|
||||
add_embedded_arg("axA", ID_TYPE_NUM);
|
||||
add_embedded_arg("ayA", ID_TYPE_NUM);
|
||||
add_embedded_arg("azA", ID_TYPE_NUM);
|
||||
add_embedded_arg("frameA", ID_TYPE_NUM);
|
||||
add_embedded_arg("useReferenceFrameA", ID_TYPE_NUM);
|
||||
embed_function("createHingeConstraintEx", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("actorA", ID_TYPE_NUM);
|
||||
add_embedded_arg("actorB", ID_TYPE_NUM);
|
||||
add_embedded_arg("pxA", ID_TYPE_NUM);
|
||||
add_embedded_arg("pyA", ID_TYPE_NUM);
|
||||
add_embedded_arg("pzA", ID_TYPE_NUM);
|
||||
add_embedded_arg("pxB", ID_TYPE_NUM);
|
||||
add_embedded_arg("pyB", ID_TYPE_NUM);
|
||||
add_embedded_arg("pzB", ID_TYPE_NUM);
|
||||
add_embedded_arg("axA", ID_TYPE_NUM);
|
||||
add_embedded_arg("ayA", ID_TYPE_NUM);
|
||||
add_embedded_arg("azA", ID_TYPE_NUM);
|
||||
add_embedded_arg("axB", ID_TYPE_NUM);
|
||||
add_embedded_arg("ayB", ID_TYPE_NUM);
|
||||
add_embedded_arg("azB", ID_TYPE_NUM);
|
||||
add_embedded_arg("frameA", ID_TYPE_NUM);
|
||||
add_embedded_arg("frameB", ID_TYPE_NUM);
|
||||
add_embedded_arg("useReferenceFrameA", ID_TYPE_NUM);
|
||||
embed_function("createSlideConstraint", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("actorA", ID_TYPE_NUM);
|
||||
add_embedded_arg("frameInB_matrix", ID_TYPE_NUM);
|
||||
@@ -1748,7 +1756,7 @@ add_embedded_arg("mA", ID_TYPE_NUM);
|
||||
embed_function("getConstraintBFrame", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("mA", ID_TYPE_NUM);
|
||||
embed_function("setConstraintAxis", ID_TYPE_SUB);
|
||||
embed_function("setHingeAxis", ID_TYPE_SUB);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("x", ID_TYPE_NUM);
|
||||
add_embedded_arg("y", ID_TYPE_NUM);
|
||||
@@ -1775,11 +1783,11 @@ add_embedded_arg("twistSpan", ID_TYPE_NUM);
|
||||
add_embedded_arg("softness", ID_TYPE_NUM);
|
||||
add_embedded_arg("bias_factor", ID_TYPE_NUM);
|
||||
add_embedded_arg("relaxation_factor", ID_TYPE_NUM);
|
||||
embed_function("getConstraintLimitBiasFactor", ID_TYPE_FN_NUM);
|
||||
embed_function("getHingeLimitBiasFactor", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getLimitRelaxationFactor", ID_TYPE_FN_NUM);
|
||||
embed_function("getHingeLimitRelaxationFactor", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintLimitSign", ID_TYPE_FN_NUM);
|
||||
embed_function("getHingeLimitSign", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getHingeSolveLimit", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
@@ -1790,12 +1798,12 @@ embed_function("getConstraintAppliedImpulse", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintFixedActor", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintPivotA", ID_TYPE_SUB);
|
||||
embed_function("getPointPivotA", ID_TYPE_SUB);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
|
||||
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
|
||||
add_embedded_arg("z", ID_TYPE_BYREF_NUM);
|
||||
embed_function("getConstraintPivotB", ID_TYPE_SUB);
|
||||
embed_function("getPointPivotB", ID_TYPE_SUB);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
|
||||
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
|
||||
@@ -1807,20 +1815,20 @@ add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("setConstraintSolverIterations", ID_TYPE_SUB);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("num", ID_TYPE_NUM);
|
||||
embed_function("getConstraintBiasFactor", ID_TYPE_FN_NUM);
|
||||
embed_function("getConeBiasFactor", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintDamping", ID_TYPE_FN_NUM);
|
||||
embed_function("getConeDamping", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintFixThresh", ID_TYPE_FN_NUM);
|
||||
embed_function("getConeFixThresh", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintLimit", ID_TYPE_FN_NUM);
|
||||
embed_function("getConeLimit", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("limit_index", ID_TYPE_NUM);
|
||||
embed_function("getConstraintLimitSoftness", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintSolverIterations", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintAnglePoint", ID_TYPE_SUB);
|
||||
embed_function("getConeAnglePoint", ID_TYPE_SUB);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("angle", ID_TYPE_NUM);
|
||||
add_embedded_arg("c_len", ID_TYPE_NUM);
|
||||
@@ -1829,165 +1837,165 @@ add_embedded_arg("y", ID_TYPE_BYREF_NUM);
|
||||
add_embedded_arg("z", ID_TYPE_BYREF_NUM);
|
||||
embed_function("getConstraintAngularOnly", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintSolveSwingLimit", ID_TYPE_FN_NUM);
|
||||
embed_function("getConeSolveSwingLimit", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintSolveTwistLimit", ID_TYPE_FN_NUM);
|
||||
embed_function("getConeSolveTwistLimit", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintSolveLimit", ID_TYPE_FN_NUM);
|
||||
embed_function("getConeSwingSpan1", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintSwingSpan1", ID_TYPE_FN_NUM);
|
||||
embed_function("getConeSwingSpan2", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintSwingSpan2", ID_TYPE_FN_NUM);
|
||||
embed_function("getConeTwistAngle", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintTwistAngle", ID_TYPE_FN_NUM);
|
||||
embed_function("getConeTwistLimitSign", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintTwistLimitSign", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintTwistSpan", ID_TYPE_FN_NUM);
|
||||
embed_function("getConeTwistSpan", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("setConstraintAngularOnly", ID_TYPE_SUB);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("flag", ID_TYPE_NUM);
|
||||
embed_function("setConstraintDamping", ID_TYPE_SUB);
|
||||
embed_function("setConeDamping", ID_TYPE_SUB);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("damping", ID_TYPE_NUM);
|
||||
embed_function("setConstraintFixThresh", ID_TYPE_SUB);
|
||||
embed_function("setConeFixThresh", ID_TYPE_SUB);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("fixThresh", ID_TYPE_NUM);
|
||||
embed_function("getConstraintAnchorA", ID_TYPE_SUB);
|
||||
embed_function("getSlideAnchorA", ID_TYPE_SUB);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
|
||||
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
|
||||
add_embedded_arg("z", ID_TYPE_BYREF_NUM);
|
||||
embed_function("getConstraintAnchorB", ID_TYPE_SUB);
|
||||
embed_function("getSlideAnchorB", ID_TYPE_SUB);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
|
||||
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
|
||||
add_embedded_arg("z", ID_TYPE_BYREF_NUM);
|
||||
embed_function("getConstraintAngDepth", ID_TYPE_FN_NUM);
|
||||
embed_function("getSlideAngDepth", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintAngularPos", ID_TYPE_FN_NUM);
|
||||
embed_function("getSlideAngularPos", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintDampingDirAng", ID_TYPE_FN_NUM);
|
||||
embed_function("getSlideDampingDirAng", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintDampingDirLin", ID_TYPE_FN_NUM);
|
||||
embed_function("getSlideDampingDirLin", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintDampingLimAng", ID_TYPE_FN_NUM);
|
||||
embed_function("getSlideDampingLimAng", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintDampingLimLin", ID_TYPE_FN_NUM);
|
||||
embed_function("getSlideDampingLimLin", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintDampingOrthoAng", ID_TYPE_FN_NUM);
|
||||
embed_function("getSlideDampingOrthoAng", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintDampingOrthoLin", ID_TYPE_FN_NUM);
|
||||
embed_function("getSlideDampingOrthoLin", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintLinearPos", ID_TYPE_FN_NUM);
|
||||
embed_function("getSlideLinearPos", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintLinDepth", ID_TYPE_FN_NUM);
|
||||
embed_function("getSlideLinDepth", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintLowerAngLimit", ID_TYPE_FN_NUM);
|
||||
embed_function("getSlideLowerAngLimit", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintLowerLinLimit", ID_TYPE_FN_NUM);
|
||||
embed_function("getSlideLowerLinLimit", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintRestitutionDirAng", ID_TYPE_FN_NUM);
|
||||
embed_function("getSlideRestitutionDirAng", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintRestitutionDirLin", ID_TYPE_FN_NUM);
|
||||
embed_function("getSlideRestitutionDirLin", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintRestitutionLimAng", ID_TYPE_FN_NUM);
|
||||
embed_function("getSlideRestitutionLimAng", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintRestitutionLimLin", ID_TYPE_FN_NUM);
|
||||
embed_function("getSlideRestitutionLimLin", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintRestitutionOrthoAng", ID_TYPE_FN_NUM);
|
||||
embed_function("getSlideRestitutionOrthoAng", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintRestitutionOrthoLin", ID_TYPE_FN_NUM);
|
||||
embed_function("getSlideRestitutionOrthoLin", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintSoftnessDirAng", ID_TYPE_FN_NUM);
|
||||
embed_function("getSlideSoftnessDirAng", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintSoftnessDirLin", ID_TYPE_FN_NUM);
|
||||
embed_function("getSlideSoftnessDirLin", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintSoftnessLimAng", ID_TYPE_FN_NUM);
|
||||
embed_function("getSlideSoftnessLimAng", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintSoftnessLimLin", ID_TYPE_FN_NUM);
|
||||
embed_function("getSlideSoftnessLimLin", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintSoftnessOrthoAng", ID_TYPE_FN_NUM);
|
||||
embed_function("getSlideSoftnessOrthoAng", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintSoftnessOrthoLin", ID_TYPE_FN_NUM);
|
||||
embed_function("getSlideSoftnessOrthoLin", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintSolveAngLimit", ID_TYPE_FN_NUM);
|
||||
embed_function("getSlideSolveAngLimit", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintSolveLinLimit", ID_TYPE_FN_NUM);
|
||||
embed_function("getSlideSolveLinLimit", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintUpperAngLimit", ID_TYPE_FN_NUM);
|
||||
embed_function("getSlideUpperAngLimit", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintUpperLinLimit", ID_TYPE_FN_NUM);
|
||||
embed_function("getSlideUpperLinLimit", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("getConstraintUseFrameOffset", ID_TYPE_FN_NUM);
|
||||
embed_function("getSlideUseFrameOffset", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("setConstraintDampingDirAng", ID_TYPE_SUB);
|
||||
embed_function("setSlideDampingDirAng", ID_TYPE_SUB);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("n", ID_TYPE_NUM);
|
||||
embed_function("setConstraintDampingDirLin", ID_TYPE_SUB);
|
||||
embed_function("setSlideDampingDirLin", ID_TYPE_SUB);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("n", ID_TYPE_NUM);
|
||||
embed_function("setConstraintDampingLimAng", ID_TYPE_SUB);
|
||||
embed_function("setSlideDampingLimAng", ID_TYPE_SUB);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("n", ID_TYPE_NUM);
|
||||
embed_function("setConstraintDampingLimLin", ID_TYPE_SUB);
|
||||
embed_function("setSlideDampingLimLin", ID_TYPE_SUB);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("n", ID_TYPE_NUM);
|
||||
embed_function("setConstraintDampingOrthoAng", ID_TYPE_SUB);
|
||||
embed_function("setSlideDampingOrthoAng", ID_TYPE_SUB);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("n", ID_TYPE_NUM);
|
||||
embed_function("setConstraintDampingOrthoLin", ID_TYPE_SUB);
|
||||
embed_function("setSlideDampingOrthoLin", ID_TYPE_SUB);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("n", ID_TYPE_NUM);
|
||||
embed_function("setConstraintLowerAngLimit", ID_TYPE_SUB);
|
||||
embed_function("setSlideLowerAngLimit", ID_TYPE_SUB);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("n", ID_TYPE_NUM);
|
||||
embed_function("setConstraintLowerLinLimit", ID_TYPE_SUB);
|
||||
embed_function("setSlideLowerLinLimit", ID_TYPE_SUB);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("n", ID_TYPE_NUM);
|
||||
embed_function("setConstraintRestitutionDirAng", ID_TYPE_SUB);
|
||||
embed_function("setSlideRestitutionDirAng", ID_TYPE_SUB);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("n", ID_TYPE_NUM);
|
||||
embed_function("setConstraintRestitutionDirLin", ID_TYPE_SUB);
|
||||
embed_function("setSlideRestitutionDirLin", ID_TYPE_SUB);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("n", ID_TYPE_NUM);
|
||||
embed_function("setConstraintRestitutionLimAng", ID_TYPE_SUB);
|
||||
embed_function("setSlideRestitutionLimAng", ID_TYPE_SUB);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("n", ID_TYPE_NUM);
|
||||
embed_function("setConstraintRestitutionLimLin", ID_TYPE_SUB);
|
||||
embed_function("setSlideRestitutionLimLin", ID_TYPE_SUB);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("n", ID_TYPE_NUM);
|
||||
embed_function("setConstraintRestitutionOrthoAng", ID_TYPE_SUB);
|
||||
embed_function("setSlideRestitutionOrthoAng", ID_TYPE_SUB);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("n", ID_TYPE_NUM);
|
||||
embed_function("setConstraintRestitutionOrthoLin", ID_TYPE_SUB);
|
||||
embed_function("setSlideRestitutionOrthoLin", ID_TYPE_SUB);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("n", ID_TYPE_NUM);
|
||||
embed_function("setConstraintSoftnessDirAng", ID_TYPE_SUB);
|
||||
embed_function("setSlideSoftnessDirAng", ID_TYPE_SUB);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("n", ID_TYPE_NUM);
|
||||
embed_function("setConstraintSoftnessDirLin", ID_TYPE_SUB);
|
||||
embed_function("setSlideSoftnessDirLin", ID_TYPE_SUB);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("n", ID_TYPE_NUM);
|
||||
embed_function("setConstraintSoftnessLimAng", ID_TYPE_SUB);
|
||||
embed_function("setSlideSoftnessLimAng", ID_TYPE_SUB);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("n", ID_TYPE_NUM);
|
||||
embed_function("setConstraintSoftnessLimLin", ID_TYPE_SUB);
|
||||
embed_function("setSlideSoftnessLimLin", ID_TYPE_SUB);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("n", ID_TYPE_NUM);
|
||||
embed_function("setConstraintSoftnessOrthoAng", ID_TYPE_SUB);
|
||||
embed_function("setSlideSoftnessOrthoAng", ID_TYPE_SUB);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("n", ID_TYPE_NUM);
|
||||
embed_function("setConstraintSoftnessOrthoLin", ID_TYPE_SUB);
|
||||
embed_function("setSlideSoftnessOrthoLin", ID_TYPE_SUB);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("n", ID_TYPE_NUM);
|
||||
embed_function("setConstraintUpperAngLimit", ID_TYPE_SUB);
|
||||
embed_function("setSlideUpperAngLimit", ID_TYPE_SUB);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("n", ID_TYPE_NUM);
|
||||
embed_function("setConstraintUpperLinLimit", ID_TYPE_SUB);
|
||||
embed_function("setSlideUpperLinLimit", ID_TYPE_SUB);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("n", ID_TYPE_NUM);
|
||||
embed_function("ConstraintExists", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("constraint_id", ID_TYPE_NUM);
|
||||
embed_function("SetCameraPosition", ID_TYPE_SUB);
|
||||
add_embedded_arg("x", ID_TYPE_NUM);
|
||||
add_embedded_arg("y", ID_TYPE_NUM);
|
||||
@@ -2041,8 +2049,6 @@ add_embedded_arg("txPercentage", ID_TYPE_NUM);
|
||||
add_embedded_arg("spherePercentage", ID_TYPE_NUM);
|
||||
add_embedded_arg("radius", ID_TYPE_NUM);
|
||||
embed_function("RemoveSceneSky", ID_TYPE_SUB);
|
||||
embed_function("SetWorld3DDeltaTime", ID_TYPE_SUB);
|
||||
add_embedded_arg("dt", ID_TYPE_NUM);
|
||||
embed_function("SetWorld3DMaxSubSteps", ID_TYPE_SUB);
|
||||
add_embedded_arg("steps", ID_TYPE_NUM);
|
||||
embed_function("SetWorld3DTimeStep", ID_TYPE_SUB);
|
||||
@@ -2079,15 +2085,15 @@ add_embedded_arg("actor", ID_TYPE_NUM);
|
||||
embed_function("setParticleMesh", ID_TYPE_SUB);
|
||||
add_embedded_arg("actor", ID_TYPE_NUM);
|
||||
add_embedded_arg("mesh", ID_TYPE_NUM);
|
||||
embed_function("setParticleMinParticlesPerSecond", ID_TYPE_SUB);
|
||||
embed_function("setMinParticlesPerSecond", ID_TYPE_SUB);
|
||||
add_embedded_arg("actor", ID_TYPE_NUM);
|
||||
add_embedded_arg("minParticlesPerSecond", ID_TYPE_NUM);
|
||||
embed_function("getParticleMinParticlesPerSecond", ID_TYPE_FN_NUM);
|
||||
embed_function("getMinParticlesPerSecond", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("actor", ID_TYPE_NUM);
|
||||
embed_function("setParticleMaxParticlesPerSecond", ID_TYPE_SUB);
|
||||
embed_function("setMaxParticlesPerSecond", ID_TYPE_SUB);
|
||||
add_embedded_arg("actor", ID_TYPE_NUM);
|
||||
add_embedded_arg("maxParticlesPerSecond", ID_TYPE_NUM);
|
||||
embed_function("getParticleMaxParticlesPerSecond", ID_TYPE_FN_NUM);
|
||||
embed_function("getMaxParticlesPerSecond", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("actor", ID_TYPE_NUM);
|
||||
embed_function("setParticleMinStartColor", ID_TYPE_SUB);
|
||||
add_embedded_arg("actor", ID_TYPE_NUM);
|
||||
@@ -2186,6 +2192,8 @@ add_embedded_arg("actor", ID_TYPE_NUM);
|
||||
add_embedded_arg("flag", ID_TYPE_NUM);
|
||||
embed_function("particleIsUsingOutlineOnly", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("actor", ID_TYPE_NUM);
|
||||
embed_function("getParticleType", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("actor", ID_TYPE_NUM);
|
||||
embed_function("lightIsCastingShadow", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("actor", ID_TYPE_NUM);
|
||||
embed_function("getLightType", ID_TYPE_FN_NUM);
|
||||
@@ -2504,3 +2512,5 @@ add_embedded_arg("material_type", ID_TYPE_NUM);
|
||||
embed_function("getActorMaterialType", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("actor", ID_TYPE_NUM);
|
||||
add_embedded_arg("material", ID_TYPE_NUM);
|
||||
embed_function("MaterialExists", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("material", ID_TYPE_NUM);
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -5,7 +5,7 @@ case FN_Input$: //String Function
|
||||
rc_push_str(rc_input( INPUT$_PROMPT$ ));
|
||||
break;
|
||||
case FN_tst: //Sub Procedure
|
||||
rc_tst( &TST_X );
|
||||
rc_tst( );
|
||||
break;
|
||||
case FN_ArrayDim: //Number Function
|
||||
//DUMMY CASE
|
||||
@@ -556,8 +556,8 @@ case FN_OpenCanvas: //Number Function
|
||||
case FN_CloseCanvas: //Sub Procedure
|
||||
rc_canvasClose( CLOSECANVAS_C_NUM );
|
||||
break;
|
||||
case FN_SetCanvas3D: //Sub Procedure
|
||||
rc_setCanvas3D( SETCANVAS3D_C_NUM, SETCANVAS3D_FLAG );
|
||||
case FN_OpenCanvas3D: //Number Function
|
||||
rc_push_num(rc_canvasOpen3D( OPENCANVAS3D_W, OPENCANVAS3D_H, OPENCANVAS3D_VIEWPORT_X, OPENCANVAS3D_VIEWPORT_Y, OPENCANVAS3D_VIEWPORT_W, OPENCANVAS3D_VIEWPORT_H, OPENCANVAS3D_MODE ));
|
||||
break;
|
||||
case FN_SetCanvasVisible: //Sub Procedure
|
||||
rc_setCanvasVisible( SETCANVASVISIBLE_C_NUM, SETCANVASVISIBLE_FLAG );
|
||||
@@ -598,8 +598,8 @@ case FN_SetCanvasColorMod: //Sub Procedure
|
||||
case FN_GetCanvasColorMod: //Number Function
|
||||
rc_push_num(rc_getCanvasColorMod( GETCANVASCOLORMOD_C_NUM ));
|
||||
break;
|
||||
case FN_CloneCanvas: //Sub Procedure
|
||||
rc_cloneCanvas( CLONECANVAS_SRC, CLONECANVAS_DST );
|
||||
case FN_CloneCanvas: //Number Function
|
||||
rc_push_num(rc_cloneCanvas( CLONECANVAS_C_NUM, CLONECANVAS_MODE ));
|
||||
break;
|
||||
case FN_SetCanvasZ: //Sub Procedure
|
||||
rc_setCanvasZ( SETCANVASZ_C_NUM, SETCANVASZ_Z );
|
||||
@@ -613,6 +613,12 @@ case FN_CanvasClip: //Number Function
|
||||
case FN_ActiveCanvas: //Number Function
|
||||
rc_push_num(rc_activeCanvas( ));
|
||||
break;
|
||||
case FN_SetCanvasPhysics2D: //Sub Procedure
|
||||
rc_setCanvasPhysics2D( SETCANVASPHYSICS2D_C_NUM, SETCANVASPHYSICS2D_STATE );
|
||||
break;
|
||||
case FN_OpenSpriteCanvas: //Number Function
|
||||
rc_push_num(rc_canvasOpenSpriteLayer( OPENSPRITECANVAS_W, OPENSPRITECANVAS_H, OPENSPRITECANVAS_VIEWPORT_X, OPENSPRITECANVAS_VIEWPORT_Y, OPENSPRITECANVAS_VIEWPORT_W, OPENSPRITECANVAS_VIEWPORT_H ));
|
||||
break;
|
||||
case FN_Circle: //Sub Procedure
|
||||
rc_drawCircle( CIRCLE_X, CIRCLE_Y, CIRCLE_RADIUS );
|
||||
break;
|
||||
@@ -667,8 +673,8 @@ case FN_createImage: //Number Function
|
||||
case FN_createImageEx: //Number Function
|
||||
rc_push_num(rc_createImageEx( CREATEIMAGEEX_W, CREATEIMAGEEX_H, &CREATEIMAGEEX_BUFFER, CREATEIMAGEEX_COLOR ));
|
||||
break;
|
||||
case FN_getImageBuffer: //Sub Procedure
|
||||
rc_getImageBuffer( GETIMAGEBUFFER_IMG_ID, &GETIMAGEBUFFER_BUFFER );
|
||||
case FN_BufferFromImage: //Sub Procedure
|
||||
rc_getImageBuffer( BUFFERFROMIMAGE_SLOT, &BUFFERFROMIMAGE_BUFFER );
|
||||
break;
|
||||
case FN_ImageExists: //Number Function
|
||||
rc_push_num(rc_imageExists( IMAGEEXISTS_SLOT ));
|
||||
@@ -1415,6 +1421,9 @@ case FN_CreateBillboardActor: //Number Function
|
||||
case FN_CreateTerrainActor: //Number Function
|
||||
rc_push_num(rc_createTerrainActor( CREATETERRAINACTOR_HMAP_FILE$ ));
|
||||
break;
|
||||
case FN_CreateParticleActor: //Number Function
|
||||
rc_push_num(rc_createParticleActor( CREATEPARTICLEACTOR_PARTICLE_TYPE ));
|
||||
break;
|
||||
case FN_DeleteActor: //Sub Procedure
|
||||
rc_deleteActor( DELETEACTOR_ACTOR );
|
||||
break;
|
||||
@@ -1424,8 +1433,8 @@ case FN_GetActorTransform: //Sub Procedure
|
||||
case FN_SetActorPosition: //Sub Procedure
|
||||
rc_setActorPosition( SETACTORPOSITION_ACTOR, SETACTORPOSITION_X, SETACTORPOSITION_Y, SETACTORPOSITION_Z );
|
||||
break;
|
||||
case FN_TranslateActor: //Sub Procedure
|
||||
rc_translateActor( TRANSLATEACTOR_ACTOR, TRANSLATEACTOR_X, TRANSLATEACTOR_Y, TRANSLATEACTOR_Z );
|
||||
case FN_TranslateActorLocal: //Sub Procedure
|
||||
rc_translateActorLocal( TRANSLATEACTORLOCAL_ACTOR, TRANSLATEACTORLOCAL_X, TRANSLATEACTORLOCAL_Y, TRANSLATEACTORLOCAL_Z );
|
||||
break;
|
||||
case FN_TranslateActorWorld: //Sub Procedure
|
||||
rc_translateActorWorld( TRANSLATEACTORWORLD_ACTOR, TRANSLATEACTORWORLD_X, TRANSLATEACTORWORLD_Y, TRANSLATEACTORWORLD_Z );
|
||||
@@ -1469,6 +1478,9 @@ case FN_AddActorShadow: //Sub Procedure
|
||||
case FN_RemoveActorShadow: //Sub Procedure
|
||||
rc_removeActorShadow( REMOVEACTORSHADOW_ACTOR );
|
||||
break;
|
||||
case FN_ActorExists: //Number Function
|
||||
rc_push_num(rc_actorExists( ACTOREXISTS_ACTOR ));
|
||||
break;
|
||||
case FN_SetGravity3D: //Sub Procedure
|
||||
rc_setGravity3D( SETGRAVITY3D_X, SETGRAVITY3D_Y, SETGRAVITY3D_Z );
|
||||
break;
|
||||
@@ -1592,11 +1604,11 @@ case FN_getActorCOMPosition: //Sub Procedure
|
||||
case FN_getActorRotationQ: //Sub Procedure
|
||||
rc_getActorRotationQ( GETACTORROTATIONQ_ACTOR, &GETACTORROTATIONQ_X, &GETACTORROTATIONQ_Y, &GETACTORROTATIONQ_Z, &GETACTORROTATIONQ_W );
|
||||
break;
|
||||
case FN_getActorLinearVelocity: //Sub Procedure
|
||||
rc_getActorLinearVelocity( GETACTORLINEARVELOCITY_ACTOR, &GETACTORLINEARVELOCITY_X, &GETACTORLINEARVELOCITY_Y, &GETACTORLINEARVELOCITY_Z );
|
||||
case FN_getActorLinearVelocityWorld: //Sub Procedure
|
||||
rc_getActorLinearVelocityWorld( GETACTORLINEARVELOCITYWORLD_ACTOR, &GETACTORLINEARVELOCITYWORLD_X, &GETACTORLINEARVELOCITYWORLD_Y, &GETACTORLINEARVELOCITYWORLD_Z );
|
||||
break;
|
||||
case FN_getActorAngularVelocity: //Sub Procedure
|
||||
rc_getActorAngularVelocity( GETACTORANGULARVELOCITY_ACTOR, &GETACTORANGULARVELOCITY_X, &GETACTORANGULARVELOCITY_Y, &GETACTORANGULARVELOCITY_Z );
|
||||
case FN_getActorAngularVelocityWorld: //Sub Procedure
|
||||
rc_getActorAngularVelocityWorld( GETACTORANGULARVELOCITYWORLD_ACTOR, &GETACTORANGULARVELOCITYWORLD_X, &GETACTORANGULARVELOCITYWORLD_Y, &GETACTORANGULARVELOCITYWORLD_Z );
|
||||
break;
|
||||
case FN_setActorLinearVelocityLocal: //Sub Procedure
|
||||
rc_setActorLinearVelocityLocal( SETACTORLINEARVELOCITYLOCAL_ACTOR, SETACTORLINEARVELOCITYLOCAL_X, SETACTORLINEARVELOCITYLOCAL_Y, SETACTORLINEARVELOCITYLOCAL_Z );
|
||||
@@ -1643,23 +1655,26 @@ case FN_computeActorGyroImpulseWorld: //Sub Procedure
|
||||
case FN_getActorLocalInertia: //Sub Procedure
|
||||
rc_getActorLocalInertia( GETACTORLOCALINERTIA_ACTOR, &GETACTORLOCALINERTIA_X, &GETACTORLOCALINERTIA_Y, &GETACTORLOCALINERTIA_Z );
|
||||
break;
|
||||
case FN_SetActorSleepState: //Sub Procedure
|
||||
rc_setActorSleepState( SETACTORSLEEPSTATE_ACTOR, SETACTORSLEEPSTATE_STATE );
|
||||
break;
|
||||
case FN_createPointConstraint: //Number Function
|
||||
rc_push_num(rc_createPointConstraint( CREATEPOINTCONSTRAINT_ACTORA, CREATEPOINTCONSTRAINT_PXA, CREATEPOINTCONSTRAINT_PYA, CREATEPOINTCONSTRAINT_PZA ));
|
||||
break;
|
||||
case FN_createPointConstraintEx: //Number Function
|
||||
rc_push_num(rc_createPointConstraintEx( CREATEPOINTCONSTRAINTEX_ACTORA, CREATEPOINTCONSTRAINTEX_ACTORB, CREATEPOINTCONSTRAINTEX_PXA, CREATEPOINTCONSTRAINTEX_PYA, CREATEPOINTCONSTRAINTEX_PZA, CREATEPOINTCONSTRAINTEX_PXB, CREATEPOINTCONSTRAINTEX_PYB, CREATEPOINTCONSTRAINTEX_PZB ));
|
||||
break;
|
||||
case FN_setConstraintPivotA: //Sub Procedure
|
||||
rc_setConstraintPivotA( SETCONSTRAINTPIVOTA_CONSTRAINT_ID, SETCONSTRAINTPIVOTA_X, SETCONSTRAINTPIVOTA_Y, SETCONSTRAINTPIVOTA_Z );
|
||||
case FN_setPointPivotA: //Sub Procedure
|
||||
rc_setPointPivotA( SETPOINTPIVOTA_CONSTRAINT_ID, SETPOINTPIVOTA_X, SETPOINTPIVOTA_Y, SETPOINTPIVOTA_Z );
|
||||
break;
|
||||
case FN_setConstraintPivotB: //Sub Procedure
|
||||
rc_setConstraintPivotB( SETCONSTRAINTPIVOTB_CONSTRAINT_ID, SETCONSTRAINTPIVOTB_X, SETCONSTRAINTPIVOTB_Y, SETCONSTRAINTPIVOTB_Z );
|
||||
case FN_setPointPivotB: //Sub Procedure
|
||||
rc_setPointPivotB( SETPOINTPIVOTB_CONSTRAINT_ID, SETPOINTPIVOTB_X, SETPOINTPIVOTB_Y, SETPOINTPIVOTB_Z );
|
||||
break;
|
||||
case FN_createHingeConstraint: //Number Function
|
||||
rc_push_num(rc_createHingeConstraint( CREATEHINGECONSTRAINT_ACTORA, CREATEHINGECONSTRAINT_PXA, CREATEHINGECONSTRAINT_PYA, CREATEHINGECONSTRAINT_PZA, CREATEHINGECONSTRAINT_AXA, CREATEHINGECONSTRAINT_AYA, CREATEHINGECONSTRAINT_AZA ));
|
||||
rc_push_num(rc_createHingeConstraint( CREATEHINGECONSTRAINT_ACTORA, CREATEHINGECONSTRAINT_FRAMEA, CREATEHINGECONSTRAINT_USEREFERENCEFRAMEA ));
|
||||
break;
|
||||
case FN_createHingeConstraintEx: //Number Function
|
||||
rc_push_num(rc_createHingeConstraintEx( CREATEHINGECONSTRAINTEX_ACTORA, CREATEHINGECONSTRAINTEX_ACTORB, CREATEHINGECONSTRAINTEX_PXA, CREATEHINGECONSTRAINTEX_PYA, CREATEHINGECONSTRAINTEX_PZA, CREATEHINGECONSTRAINTEX_PXB, CREATEHINGECONSTRAINTEX_PYB, CREATEHINGECONSTRAINTEX_PZB, CREATEHINGECONSTRAINTEX_AXA, CREATEHINGECONSTRAINTEX_AYA, CREATEHINGECONSTRAINTEX_AZA, CREATEHINGECONSTRAINTEX_AXB, CREATEHINGECONSTRAINTEX_AYB, CREATEHINGECONSTRAINTEX_AZB ));
|
||||
rc_push_num(rc_createHingeConstraintEx( CREATEHINGECONSTRAINTEX_ACTORA, CREATEHINGECONSTRAINTEX_ACTORB, CREATEHINGECONSTRAINTEX_FRAMEA, CREATEHINGECONSTRAINTEX_FRAMEB, CREATEHINGECONSTRAINTEX_USEREFERENCEFRAMEA ));
|
||||
break;
|
||||
case FN_createSlideConstraint: //Number Function
|
||||
rc_push_num(rc_createSlideConstraint( CREATESLIDECONSTRAINT_ACTORA, CREATESLIDECONSTRAINT_FRAMEINB_MATRIX, CREATESLIDECONSTRAINT_USELINEARREFERENCEFRAMEA ));
|
||||
@@ -1700,8 +1715,8 @@ case FN_getConstraintAFrame: //Number Function
|
||||
case FN_getConstraintBFrame: //Number Function
|
||||
rc_push_num(rc_getConstraintBFrame( GETCONSTRAINTBFRAME_CONSTRAINT_ID, GETCONSTRAINTBFRAME_MA ));
|
||||
break;
|
||||
case FN_setConstraintAxis: //Sub Procedure
|
||||
rc_setConstraintAxis( SETCONSTRAINTAXIS_CONSTRAINT_ID, SETCONSTRAINTAXIS_X, SETCONSTRAINTAXIS_Y, SETCONSTRAINTAXIS_Z );
|
||||
case FN_setHingeAxis: //Sub Procedure
|
||||
rc_setHingeAxis( SETHINGEAXIS_CONSTRAINT_ID, SETHINGEAXIS_X, SETHINGEAXIS_Y, SETHINGEAXIS_Z );
|
||||
break;
|
||||
case FN_setConstraintBreakingImpulseThreshold: //Sub Procedure
|
||||
rc_setConstraintBreakingImpulseThreshold( SETCONSTRAINTBREAKINGIMPULSETHRESHOLD_CONSTRAINT_ID, SETCONSTRAINTBREAKINGIMPULSETHRESHOLD_THRESHOLD );
|
||||
@@ -1715,14 +1730,14 @@ case FN_setHingeLimit: //Sub Procedure
|
||||
case FN_setConeLimit: //Sub Procedure
|
||||
rc_setConeLimit( SETCONELIMIT_CONSTRAINT_ID, SETCONELIMIT_SWINGSPAN1, SETCONELIMIT_SWINGSPAN2, SETCONELIMIT_TWISTSPAN, SETCONELIMIT_SOFTNESS, SETCONELIMIT_BIAS_FACTOR, SETCONELIMIT_RELAXATION_FACTOR );
|
||||
break;
|
||||
case FN_getConstraintLimitBiasFactor: //Number Function
|
||||
rc_push_num(rc_getConstraintLimitBiasFactor( GETCONSTRAINTLIMITBIASFACTOR_CONSTRAINT_ID ));
|
||||
case FN_getHingeLimitBiasFactor: //Number Function
|
||||
rc_push_num(rc_getHingeLimitBiasFactor( GETHINGELIMITBIASFACTOR_CONSTRAINT_ID ));
|
||||
break;
|
||||
case FN_getLimitRelaxationFactor: //Number Function
|
||||
rc_push_num(rc_getLimitRelaxationFactor( GETLIMITRELAXATIONFACTOR_CONSTRAINT_ID ));
|
||||
case FN_getHingeLimitRelaxationFactor: //Number Function
|
||||
rc_push_num(rc_getHingeLimitRelaxationFactor( GETHINGELIMITRELAXATIONFACTOR_CONSTRAINT_ID ));
|
||||
break;
|
||||
case FN_getConstraintLimitSign: //Number Function
|
||||
rc_push_num(rc_getConstraintLimitSign( GETCONSTRAINTLIMITSIGN_CONSTRAINT_ID ));
|
||||
case FN_getHingeLimitSign: //Number Function
|
||||
rc_push_num(rc_getHingeLimitSign( GETHINGELIMITSIGN_CONSTRAINT_ID ));
|
||||
break;
|
||||
case FN_getHingeSolveLimit: //Number Function
|
||||
rc_push_num(rc_getHingeSolveLimit( GETHINGESOLVELIMIT_CONSTRAINT_ID ));
|
||||
@@ -1736,11 +1751,11 @@ case FN_getConstraintAppliedImpulse: //Number Function
|
||||
case FN_getConstraintFixedActor: //Number Function
|
||||
rc_push_num(rc_getConstraintFixedActor( GETCONSTRAINTFIXEDACTOR_CONSTRAINT_ID ));
|
||||
break;
|
||||
case FN_getConstraintPivotA: //Sub Procedure
|
||||
rc_getConstraintPivotA( GETCONSTRAINTPIVOTA_CONSTRAINT_ID, & GETCONSTRAINTPIVOTA_X, & GETCONSTRAINTPIVOTA_Y, & GETCONSTRAINTPIVOTA_Z );
|
||||
case FN_getPointPivotA: //Sub Procedure
|
||||
rc_getPointPivotA( GETPOINTPIVOTA_CONSTRAINT_ID, & GETPOINTPIVOTA_X, & GETPOINTPIVOTA_Y, & GETPOINTPIVOTA_Z );
|
||||
break;
|
||||
case FN_getConstraintPivotB: //Sub Procedure
|
||||
rc_getConstraintPivotB( GETCONSTRAINTPIVOTB_CONSTRAINT_ID, & GETCONSTRAINTPIVOTB_X, & GETCONSTRAINTPIVOTB_Y, & GETCONSTRAINTPIVOTB_Z );
|
||||
case FN_getPointPivotB: //Sub Procedure
|
||||
rc_getPointPivotB( GETPOINTPIVOTB_CONSTRAINT_ID, & GETPOINTPIVOTB_X, & GETPOINTPIVOTB_Y, & GETPOINTPIVOTB_Z );
|
||||
break;
|
||||
case FN_getConstraintActorA: //Number Function
|
||||
rc_push_num(rc_getConstraintActorA( GETCONSTRAINTACTORA_CONSTRAINT_ID ));
|
||||
@@ -1751,17 +1766,17 @@ case FN_getConstraintActorB: //Number Function
|
||||
case FN_setConstraintSolverIterations: //Sub Procedure
|
||||
rc_setConstraintSolverIterations( SETCONSTRAINTSOLVERITERATIONS_CONSTRAINT_ID, SETCONSTRAINTSOLVERITERATIONS_NUM );
|
||||
break;
|
||||
case FN_getConstraintBiasFactor: //Number Function
|
||||
rc_push_num(rc_getConstraintBiasFactor( GETCONSTRAINTBIASFACTOR_CONSTRAINT_ID ));
|
||||
case FN_getConeBiasFactor: //Number Function
|
||||
rc_push_num(rc_getConeBiasFactor( GETCONEBIASFACTOR_CONSTRAINT_ID ));
|
||||
break;
|
||||
case FN_getConstraintDamping: //Number Function
|
||||
rc_push_num(rc_getConstraintDamping( GETCONSTRAINTDAMPING_CONSTRAINT_ID ));
|
||||
case FN_getConeDamping: //Number Function
|
||||
rc_push_num(rc_getConeDamping( GETCONEDAMPING_CONSTRAINT_ID ));
|
||||
break;
|
||||
case FN_getConstraintFixThresh: //Number Function
|
||||
rc_push_num(rc_getConstraintFixThresh( GETCONSTRAINTFIXTHRESH_CONSTRAINT_ID ));
|
||||
case FN_getConeFixThresh: //Number Function
|
||||
rc_push_num(rc_getConeFixThresh( GETCONEFIXTHRESH_CONSTRAINT_ID ));
|
||||
break;
|
||||
case FN_getConstraintLimit: //Number Function
|
||||
rc_push_num(rc_getConstraintLimit( GETCONSTRAINTLIMIT_CONSTRAINT_ID, GETCONSTRAINTLIMIT_LIMIT_INDEX ));
|
||||
case FN_getConeLimit: //Number Function
|
||||
rc_push_num(rc_getConeLimit( GETCONELIMIT_CONSTRAINT_ID, GETCONELIMIT_LIMIT_INDEX ));
|
||||
break;
|
||||
case FN_getConstraintLimitSoftness: //Number Function
|
||||
rc_push_num(rc_getConstraintLimitSoftness( GETCONSTRAINTLIMITSOFTNESS_CONSTRAINT_ID ));
|
||||
@@ -1769,203 +1784,203 @@ case FN_getConstraintLimitSoftness: //Number Function
|
||||
case FN_getConstraintSolverIterations: //Number Function
|
||||
rc_push_num(rc_getConstraintSolverIterations( GETCONSTRAINTSOLVERITERATIONS_CONSTRAINT_ID ));
|
||||
break;
|
||||
case FN_getConstraintAnglePoint: //Sub Procedure
|
||||
rc_getConstraintAnglePoint( GETCONSTRAINTANGLEPOINT_CONSTRAINT_ID, GETCONSTRAINTANGLEPOINT_ANGLE, GETCONSTRAINTANGLEPOINT_C_LEN, & GETCONSTRAINTANGLEPOINT_X, & GETCONSTRAINTANGLEPOINT_Y, & GETCONSTRAINTANGLEPOINT_Z );
|
||||
case FN_getConeAnglePoint: //Sub Procedure
|
||||
rc_getConeAnglePoint( GETCONEANGLEPOINT_CONSTRAINT_ID, GETCONEANGLEPOINT_ANGLE, GETCONEANGLEPOINT_C_LEN, & GETCONEANGLEPOINT_X, & GETCONEANGLEPOINT_Y, & GETCONEANGLEPOINT_Z );
|
||||
break;
|
||||
case FN_getConstraintAngularOnly: //Number Function
|
||||
rc_push_num(rc_getConstraintAngularOnly( GETCONSTRAINTANGULARONLY_CONSTRAINT_ID ));
|
||||
break;
|
||||
case FN_getConstraintSolveSwingLimit: //Number Function
|
||||
rc_push_num(rc_getConstraintSolveSwingLimit( GETCONSTRAINTSOLVESWINGLIMIT_CONSTRAINT_ID ));
|
||||
case FN_getConeSolveSwingLimit: //Number Function
|
||||
rc_push_num(rc_getConeSolveSwingLimit( GETCONESOLVESWINGLIMIT_CONSTRAINT_ID ));
|
||||
break;
|
||||
case FN_getConstraintSolveTwistLimit: //Number Function
|
||||
rc_push_num(rc_getConstraintSolveTwistLimit( GETCONSTRAINTSOLVETWISTLIMIT_CONSTRAINT_ID ));
|
||||
case FN_getConeSolveTwistLimit: //Number Function
|
||||
rc_push_num(rc_getConeSolveTwistLimit( GETCONESOLVETWISTLIMIT_CONSTRAINT_ID ));
|
||||
break;
|
||||
case FN_getConstraintSolveLimit: //Number Function
|
||||
rc_push_num(rc_getConstraintSolveLimit( GETCONSTRAINTSOLVELIMIT_CONSTRAINT_ID ));
|
||||
case FN_getConeSwingSpan1: //Number Function
|
||||
rc_push_num(rc_getConeSwingSpan1( GETCONESWINGSPAN1_CONSTRAINT_ID ));
|
||||
break;
|
||||
case FN_getConstraintSwingSpan1: //Number Function
|
||||
rc_push_num(rc_getConstraintSwingSpan1( GETCONSTRAINTSWINGSPAN1_CONSTRAINT_ID ));
|
||||
case FN_getConeSwingSpan2: //Number Function
|
||||
rc_push_num(rc_getConeSwingSpan2( GETCONESWINGSPAN2_CONSTRAINT_ID ));
|
||||
break;
|
||||
case FN_getConstraintSwingSpan2: //Number Function
|
||||
rc_push_num(rc_getConstraintSwingSpan2( GETCONSTRAINTSWINGSPAN2_CONSTRAINT_ID ));
|
||||
case FN_getConeTwistAngle: //Number Function
|
||||
rc_push_num(rc_getConeTwistAngle( GETCONETWISTANGLE_CONSTRAINT_ID ));
|
||||
break;
|
||||
case FN_getConstraintTwistAngle: //Number Function
|
||||
rc_push_num(rc_getConstraintTwistAngle( GETCONSTRAINTTWISTANGLE_CONSTRAINT_ID ));
|
||||
case FN_getConeTwistLimitSign: //Number Function
|
||||
rc_push_num(rc_getConeTwistLimitSign( GETCONETWISTLIMITSIGN_CONSTRAINT_ID ));
|
||||
break;
|
||||
case FN_getConstraintTwistLimitSign: //Number Function
|
||||
rc_push_num(rc_getConstraintTwistLimitSign( GETCONSTRAINTTWISTLIMITSIGN_CONSTRAINT_ID ));
|
||||
break;
|
||||
case FN_getConstraintTwistSpan: //Number Function
|
||||
rc_push_num(rc_getConstraintTwistSpan( GETCONSTRAINTTWISTSPAN_CONSTRAINT_ID ));
|
||||
case FN_getConeTwistSpan: //Number Function
|
||||
rc_push_num(rc_getConeTwistSpan( GETCONETWISTSPAN_CONSTRAINT_ID ));
|
||||
break;
|
||||
case FN_setConstraintAngularOnly: //Sub Procedure
|
||||
rc_setConstraintAngularOnly( SETCONSTRAINTANGULARONLY_CONSTRAINT_ID, SETCONSTRAINTANGULARONLY_FLAG );
|
||||
break;
|
||||
case FN_setConstraintDamping: //Sub Procedure
|
||||
rc_setConstraintDamping( SETCONSTRAINTDAMPING_CONSTRAINT_ID, SETCONSTRAINTDAMPING_DAMPING );
|
||||
case FN_setConeDamping: //Sub Procedure
|
||||
rc_setConeDamping( SETCONEDAMPING_CONSTRAINT_ID, SETCONEDAMPING_DAMPING );
|
||||
break;
|
||||
case FN_setConstraintFixThresh: //Sub Procedure
|
||||
rc_setConstraintFixThresh( SETCONSTRAINTFIXTHRESH_CONSTRAINT_ID, SETCONSTRAINTFIXTHRESH_FIXTHRESH );
|
||||
case FN_setConeFixThresh: //Sub Procedure
|
||||
rc_setConeFixThresh( SETCONEFIXTHRESH_CONSTRAINT_ID, SETCONEFIXTHRESH_FIXTHRESH );
|
||||
break;
|
||||
case FN_getConstraintAnchorA: //Sub Procedure
|
||||
rc_getConstraintAnchorA( GETCONSTRAINTANCHORA_CONSTRAINT_ID, & GETCONSTRAINTANCHORA_X, & GETCONSTRAINTANCHORA_Y, & GETCONSTRAINTANCHORA_Z );
|
||||
case FN_getSlideAnchorA: //Sub Procedure
|
||||
rc_getSlideAnchorA( GETSLIDEANCHORA_CONSTRAINT_ID, & GETSLIDEANCHORA_X, & GETSLIDEANCHORA_Y, & GETSLIDEANCHORA_Z );
|
||||
break;
|
||||
case FN_getConstraintAnchorB: //Sub Procedure
|
||||
rc_getConstraintAnchorB( GETCONSTRAINTANCHORB_CONSTRAINT_ID, & GETCONSTRAINTANCHORB_X, & GETCONSTRAINTANCHORB_Y, & GETCONSTRAINTANCHORB_Z );
|
||||
case FN_getSlideAnchorB: //Sub Procedure
|
||||
rc_getSlideAnchorB( GETSLIDEANCHORB_CONSTRAINT_ID, & GETSLIDEANCHORB_X, & GETSLIDEANCHORB_Y, & GETSLIDEANCHORB_Z );
|
||||
break;
|
||||
case FN_getConstraintAngDepth: //Number Function
|
||||
rc_push_num(rc_getConstraintAngDepth( GETCONSTRAINTANGDEPTH_CONSTRAINT_ID ));
|
||||
case FN_getSlideAngDepth: //Number Function
|
||||
rc_push_num(rc_getSlideAngDepth( GETSLIDEANGDEPTH_CONSTRAINT_ID ));
|
||||
break;
|
||||
case FN_getConstraintAngularPos: //Number Function
|
||||
rc_push_num(rc_getConstraintAngularPos( GETCONSTRAINTANGULARPOS_CONSTRAINT_ID ));
|
||||
case FN_getSlideAngularPos: //Number Function
|
||||
rc_push_num(rc_getSlideAngularPos( GETSLIDEANGULARPOS_CONSTRAINT_ID ));
|
||||
break;
|
||||
case FN_getConstraintDampingDirAng: //Number Function
|
||||
rc_push_num(rc_getConstraintDampingDirAng( GETCONSTRAINTDAMPINGDIRANG_CONSTRAINT_ID ));
|
||||
case FN_getSlideDampingDirAng: //Number Function
|
||||
rc_push_num(rc_getSlideDampingDirAng( GETSLIDEDAMPINGDIRANG_CONSTRAINT_ID ));
|
||||
break;
|
||||
case FN_getConstraintDampingDirLin: //Number Function
|
||||
rc_push_num(rc_getConstraintDampingDirLin( GETCONSTRAINTDAMPINGDIRLIN_CONSTRAINT_ID ));
|
||||
case FN_getSlideDampingDirLin: //Number Function
|
||||
rc_push_num(rc_getSlideDampingDirLin( GETSLIDEDAMPINGDIRLIN_CONSTRAINT_ID ));
|
||||
break;
|
||||
case FN_getConstraintDampingLimAng: //Number Function
|
||||
rc_push_num(rc_getConstraintDampingLimAng( GETCONSTRAINTDAMPINGLIMANG_CONSTRAINT_ID ));
|
||||
case FN_getSlideDampingLimAng: //Number Function
|
||||
rc_push_num(rc_getSlideDampingLimAng( GETSLIDEDAMPINGLIMANG_CONSTRAINT_ID ));
|
||||
break;
|
||||
case FN_getConstraintDampingLimLin: //Number Function
|
||||
rc_push_num(rc_getConstraintDampingLimLin( GETCONSTRAINTDAMPINGLIMLIN_CONSTRAINT_ID ));
|
||||
case FN_getSlideDampingLimLin: //Number Function
|
||||
rc_push_num(rc_getSlideDampingLimLin( GETSLIDEDAMPINGLIMLIN_CONSTRAINT_ID ));
|
||||
break;
|
||||
case FN_getConstraintDampingOrthoAng: //Number Function
|
||||
rc_push_num(rc_getConstraintDampingOrthoAng( GETCONSTRAINTDAMPINGORTHOANG_CONSTRAINT_ID ));
|
||||
case FN_getSlideDampingOrthoAng: //Number Function
|
||||
rc_push_num(rc_getSlideDampingOrthoAng( GETSLIDEDAMPINGORTHOANG_CONSTRAINT_ID ));
|
||||
break;
|
||||
case FN_getConstraintDampingOrthoLin: //Number Function
|
||||
rc_push_num(rc_getConstraintDampingOrthoLin( GETCONSTRAINTDAMPINGORTHOLIN_CONSTRAINT_ID ));
|
||||
case FN_getSlideDampingOrthoLin: //Number Function
|
||||
rc_push_num(rc_getSlideDampingOrthoLin( GETSLIDEDAMPINGORTHOLIN_CONSTRAINT_ID ));
|
||||
break;
|
||||
case FN_getConstraintLinearPos: //Number Function
|
||||
rc_push_num(rc_getConstraintLinearPos( GETCONSTRAINTLINEARPOS_CONSTRAINT_ID ));
|
||||
case FN_getSlideLinearPos: //Number Function
|
||||
rc_push_num(rc_getSlideLinearPos( GETSLIDELINEARPOS_CONSTRAINT_ID ));
|
||||
break;
|
||||
case FN_getConstraintLinDepth: //Number Function
|
||||
rc_push_num(rc_getConstraintLinDepth( GETCONSTRAINTLINDEPTH_CONSTRAINT_ID ));
|
||||
case FN_getSlideLinDepth: //Number Function
|
||||
rc_push_num(rc_getSlideLinDepth( GETSLIDELINDEPTH_CONSTRAINT_ID ));
|
||||
break;
|
||||
case FN_getConstraintLowerAngLimit: //Number Function
|
||||
rc_push_num(rc_getConstraintLowerAngLimit( GETCONSTRAINTLOWERANGLIMIT_CONSTRAINT_ID ));
|
||||
case FN_getSlideLowerAngLimit: //Number Function
|
||||
rc_push_num(rc_getSlideLowerAngLimit( GETSLIDELOWERANGLIMIT_CONSTRAINT_ID ));
|
||||
break;
|
||||
case FN_getConstraintLowerLinLimit: //Number Function
|
||||
rc_push_num(rc_getConstraintLowerLinLimit( GETCONSTRAINTLOWERLINLIMIT_CONSTRAINT_ID ));
|
||||
case FN_getSlideLowerLinLimit: //Number Function
|
||||
rc_push_num(rc_getSlideLowerLinLimit( GETSLIDELOWERLINLIMIT_CONSTRAINT_ID ));
|
||||
break;
|
||||
case FN_getConstraintRestitutionDirAng: //Number Function
|
||||
rc_push_num(rc_getConstraintRestitutionDirAng( GETCONSTRAINTRESTITUTIONDIRANG_CONSTRAINT_ID ));
|
||||
case FN_getSlideRestitutionDirAng: //Number Function
|
||||
rc_push_num(rc_getSlideRestitutionDirAng( GETSLIDERESTITUTIONDIRANG_CONSTRAINT_ID ));
|
||||
break;
|
||||
case FN_getConstraintRestitutionDirLin: //Number Function
|
||||
rc_push_num(rc_getConstraintRestitutionDirLin( GETCONSTRAINTRESTITUTIONDIRLIN_CONSTRAINT_ID ));
|
||||
case FN_getSlideRestitutionDirLin: //Number Function
|
||||
rc_push_num(rc_getSlideRestitutionDirLin( GETSLIDERESTITUTIONDIRLIN_CONSTRAINT_ID ));
|
||||
break;
|
||||
case FN_getConstraintRestitutionLimAng: //Number Function
|
||||
rc_push_num(rc_getConstraintRestitutionLimAng( GETCONSTRAINTRESTITUTIONLIMANG_CONSTRAINT_ID ));
|
||||
case FN_getSlideRestitutionLimAng: //Number Function
|
||||
rc_push_num(rc_getSlideRestitutionLimAng( GETSLIDERESTITUTIONLIMANG_CONSTRAINT_ID ));
|
||||
break;
|
||||
case FN_getConstraintRestitutionLimLin: //Number Function
|
||||
rc_push_num(rc_getConstraintRestitutionLimLin( GETCONSTRAINTRESTITUTIONLIMLIN_CONSTRAINT_ID ));
|
||||
case FN_getSlideRestitutionLimLin: //Number Function
|
||||
rc_push_num(rc_getSlideRestitutionLimLin( GETSLIDERESTITUTIONLIMLIN_CONSTRAINT_ID ));
|
||||
break;
|
||||
case FN_getConstraintRestitutionOrthoAng: //Number Function
|
||||
rc_push_num(rc_getConstraintRestitutionOrthoAng( GETCONSTRAINTRESTITUTIONORTHOANG_CONSTRAINT_ID ));
|
||||
case FN_getSlideRestitutionOrthoAng: //Number Function
|
||||
rc_push_num(rc_getSlideRestitutionOrthoAng( GETSLIDERESTITUTIONORTHOANG_CONSTRAINT_ID ));
|
||||
break;
|
||||
case FN_getConstraintRestitutionOrthoLin: //Number Function
|
||||
rc_push_num(rc_getConstraintRestitutionOrthoLin( GETCONSTRAINTRESTITUTIONORTHOLIN_CONSTRAINT_ID ));
|
||||
case FN_getSlideRestitutionOrthoLin: //Number Function
|
||||
rc_push_num(rc_getSlideRestitutionOrthoLin( GETSLIDERESTITUTIONORTHOLIN_CONSTRAINT_ID ));
|
||||
break;
|
||||
case FN_getConstraintSoftnessDirAng: //Number Function
|
||||
rc_push_num(rc_getConstraintSoftnessDirAng( GETCONSTRAINTSOFTNESSDIRANG_CONSTRAINT_ID ));
|
||||
case FN_getSlideSoftnessDirAng: //Number Function
|
||||
rc_push_num(rc_getSlideSoftnessDirAng( GETSLIDESOFTNESSDIRANG_CONSTRAINT_ID ));
|
||||
break;
|
||||
case FN_getConstraintSoftnessDirLin: //Number Function
|
||||
rc_push_num(rc_getConstraintSoftnessDirLin( GETCONSTRAINTSOFTNESSDIRLIN_CONSTRAINT_ID ));
|
||||
case FN_getSlideSoftnessDirLin: //Number Function
|
||||
rc_push_num(rc_getSlideSoftnessDirLin( GETSLIDESOFTNESSDIRLIN_CONSTRAINT_ID ));
|
||||
break;
|
||||
case FN_getConstraintSoftnessLimAng: //Number Function
|
||||
rc_push_num(rc_getConstraintSoftnessLimAng( GETCONSTRAINTSOFTNESSLIMANG_CONSTRAINT_ID ));
|
||||
case FN_getSlideSoftnessLimAng: //Number Function
|
||||
rc_push_num(rc_getSlideSoftnessLimAng( GETSLIDESOFTNESSLIMANG_CONSTRAINT_ID ));
|
||||
break;
|
||||
case FN_getConstraintSoftnessLimLin: //Number Function
|
||||
rc_push_num(rc_getConstraintSoftnessLimLin( GETCONSTRAINTSOFTNESSLIMLIN_CONSTRAINT_ID ));
|
||||
case FN_getSlideSoftnessLimLin: //Number Function
|
||||
rc_push_num(rc_getSlideSoftnessLimLin( GETSLIDESOFTNESSLIMLIN_CONSTRAINT_ID ));
|
||||
break;
|
||||
case FN_getConstraintSoftnessOrthoAng: //Number Function
|
||||
rc_push_num(rc_getConstraintSoftnessOrthoAng( GETCONSTRAINTSOFTNESSORTHOANG_CONSTRAINT_ID ));
|
||||
case FN_getSlideSoftnessOrthoAng: //Number Function
|
||||
rc_push_num(rc_getSlideSoftnessOrthoAng( GETSLIDESOFTNESSORTHOANG_CONSTRAINT_ID ));
|
||||
break;
|
||||
case FN_getConstraintSoftnessOrthoLin: //Number Function
|
||||
rc_push_num(rc_getConstraintSoftnessOrthoLin( GETCONSTRAINTSOFTNESSORTHOLIN_CONSTRAINT_ID ));
|
||||
case FN_getSlideSoftnessOrthoLin: //Number Function
|
||||
rc_push_num(rc_getSlideSoftnessOrthoLin( GETSLIDESOFTNESSORTHOLIN_CONSTRAINT_ID ));
|
||||
break;
|
||||
case FN_getConstraintSolveAngLimit: //Number Function
|
||||
rc_push_num(rc_getConstraintSolveAngLimit( GETCONSTRAINTSOLVEANGLIMIT_CONSTRAINT_ID ));
|
||||
case FN_getSlideSolveAngLimit: //Number Function
|
||||
rc_push_num(rc_getSlideSolveAngLimit( GETSLIDESOLVEANGLIMIT_CONSTRAINT_ID ));
|
||||
break;
|
||||
case FN_getConstraintSolveLinLimit: //Number Function
|
||||
rc_push_num(rc_getConstraintSolveLinLimit( GETCONSTRAINTSOLVELINLIMIT_CONSTRAINT_ID ));
|
||||
case FN_getSlideSolveLinLimit: //Number Function
|
||||
rc_push_num(rc_getSlideSolveLinLimit( GETSLIDESOLVELINLIMIT_CONSTRAINT_ID ));
|
||||
break;
|
||||
case FN_getConstraintUpperAngLimit: //Number Function
|
||||
rc_push_num(rc_getConstraintUpperAngLimit( GETCONSTRAINTUPPERANGLIMIT_CONSTRAINT_ID ));
|
||||
case FN_getSlideUpperAngLimit: //Number Function
|
||||
rc_push_num(rc_getSlideUpperAngLimit( GETSLIDEUPPERANGLIMIT_CONSTRAINT_ID ));
|
||||
break;
|
||||
case FN_getConstraintUpperLinLimit: //Number Function
|
||||
rc_push_num(rc_getConstraintUpperLinLimit( GETCONSTRAINTUPPERLINLIMIT_CONSTRAINT_ID ));
|
||||
case FN_getSlideUpperLinLimit: //Number Function
|
||||
rc_push_num(rc_getSlideUpperLinLimit( GETSLIDEUPPERLINLIMIT_CONSTRAINT_ID ));
|
||||
break;
|
||||
case FN_getConstraintUseFrameOffset: //Number Function
|
||||
rc_push_num(rc_getConstraintUseFrameOffset( GETCONSTRAINTUSEFRAMEOFFSET_CONSTRAINT_ID ));
|
||||
case FN_getSlideUseFrameOffset: //Number Function
|
||||
rc_push_num(rc_getSlideUseFrameOffset( GETSLIDEUSEFRAMEOFFSET_CONSTRAINT_ID ));
|
||||
break;
|
||||
case FN_setConstraintDampingDirAng: //Sub Procedure
|
||||
rc_setConstraintDampingDirAng( SETCONSTRAINTDAMPINGDIRANG_CONSTRAINT_ID, SETCONSTRAINTDAMPINGDIRANG_N );
|
||||
case FN_setSlideDampingDirAng: //Sub Procedure
|
||||
rc_setSlideDampingDirAng( SETSLIDEDAMPINGDIRANG_CONSTRAINT_ID, SETSLIDEDAMPINGDIRANG_N );
|
||||
break;
|
||||
case FN_setConstraintDampingDirLin: //Sub Procedure
|
||||
rc_setConstraintDampingDirLin( SETCONSTRAINTDAMPINGDIRLIN_CONSTRAINT_ID, SETCONSTRAINTDAMPINGDIRLIN_N );
|
||||
case FN_setSlideDampingDirLin: //Sub Procedure
|
||||
rc_setSlideDampingDirLin( SETSLIDEDAMPINGDIRLIN_CONSTRAINT_ID, SETSLIDEDAMPINGDIRLIN_N );
|
||||
break;
|
||||
case FN_setConstraintDampingLimAng: //Sub Procedure
|
||||
rc_setConstraintDampingLimAng( SETCONSTRAINTDAMPINGLIMANG_CONSTRAINT_ID, SETCONSTRAINTDAMPINGLIMANG_N );
|
||||
case FN_setSlideDampingLimAng: //Sub Procedure
|
||||
rc_setSlideDampingLimAng( SETSLIDEDAMPINGLIMANG_CONSTRAINT_ID, SETSLIDEDAMPINGLIMANG_N );
|
||||
break;
|
||||
case FN_setConstraintDampingLimLin: //Sub Procedure
|
||||
rc_setConstraintDampingLimLin( SETCONSTRAINTDAMPINGLIMLIN_CONSTRAINT_ID, SETCONSTRAINTDAMPINGLIMLIN_N );
|
||||
case FN_setSlideDampingLimLin: //Sub Procedure
|
||||
rc_setSlideDampingLimLin( SETSLIDEDAMPINGLIMLIN_CONSTRAINT_ID, SETSLIDEDAMPINGLIMLIN_N );
|
||||
break;
|
||||
case FN_setConstraintDampingOrthoAng: //Sub Procedure
|
||||
rc_setConstraintDampingOrthoAng( SETCONSTRAINTDAMPINGORTHOANG_CONSTRAINT_ID, SETCONSTRAINTDAMPINGORTHOANG_N );
|
||||
case FN_setSlideDampingOrthoAng: //Sub Procedure
|
||||
rc_setSlideDampingOrthoAng( SETSLIDEDAMPINGORTHOANG_CONSTRAINT_ID, SETSLIDEDAMPINGORTHOANG_N );
|
||||
break;
|
||||
case FN_setConstraintDampingOrthoLin: //Sub Procedure
|
||||
rc_setConstraintDampingOrthoLin( SETCONSTRAINTDAMPINGORTHOLIN_CONSTRAINT_ID, SETCONSTRAINTDAMPINGORTHOLIN_N );
|
||||
case FN_setSlideDampingOrthoLin: //Sub Procedure
|
||||
rc_setSlideDampingOrthoLin( SETSLIDEDAMPINGORTHOLIN_CONSTRAINT_ID, SETSLIDEDAMPINGORTHOLIN_N );
|
||||
break;
|
||||
case FN_setConstraintLowerAngLimit: //Sub Procedure
|
||||
rc_setConstraintLowerAngLimit( SETCONSTRAINTLOWERANGLIMIT_CONSTRAINT_ID, SETCONSTRAINTLOWERANGLIMIT_N );
|
||||
case FN_setSlideLowerAngLimit: //Sub Procedure
|
||||
rc_setSlideLowerAngLimit( SETSLIDELOWERANGLIMIT_CONSTRAINT_ID, SETSLIDELOWERANGLIMIT_N );
|
||||
break;
|
||||
case FN_setConstraintLowerLinLimit: //Sub Procedure
|
||||
rc_setConstraintLowerLinLimit( SETCONSTRAINTLOWERLINLIMIT_CONSTRAINT_ID, SETCONSTRAINTLOWERLINLIMIT_N );
|
||||
case FN_setSlideLowerLinLimit: //Sub Procedure
|
||||
rc_setSlideLowerLinLimit( SETSLIDELOWERLINLIMIT_CONSTRAINT_ID, SETSLIDELOWERLINLIMIT_N );
|
||||
break;
|
||||
case FN_setConstraintRestitutionDirAng: //Sub Procedure
|
||||
rc_setConstraintRestitutionDirAng( SETCONSTRAINTRESTITUTIONDIRANG_CONSTRAINT_ID, SETCONSTRAINTRESTITUTIONDIRANG_N );
|
||||
case FN_setSlideRestitutionDirAng: //Sub Procedure
|
||||
rc_setSlideRestitutionDirAng( SETSLIDERESTITUTIONDIRANG_CONSTRAINT_ID, SETSLIDERESTITUTIONDIRANG_N );
|
||||
break;
|
||||
case FN_setConstraintRestitutionDirLin: //Sub Procedure
|
||||
rc_setConstraintRestitutionDirLin( SETCONSTRAINTRESTITUTIONDIRLIN_CONSTRAINT_ID, SETCONSTRAINTRESTITUTIONDIRLIN_N );
|
||||
case FN_setSlideRestitutionDirLin: //Sub Procedure
|
||||
rc_setSlideRestitutionDirLin( SETSLIDERESTITUTIONDIRLIN_CONSTRAINT_ID, SETSLIDERESTITUTIONDIRLIN_N );
|
||||
break;
|
||||
case FN_setConstraintRestitutionLimAng: //Sub Procedure
|
||||
rc_setConstraintRestitutionLimAng( SETCONSTRAINTRESTITUTIONLIMANG_CONSTRAINT_ID, SETCONSTRAINTRESTITUTIONLIMANG_N );
|
||||
case FN_setSlideRestitutionLimAng: //Sub Procedure
|
||||
rc_setSlideRestitutionLimAng( SETSLIDERESTITUTIONLIMANG_CONSTRAINT_ID, SETSLIDERESTITUTIONLIMANG_N );
|
||||
break;
|
||||
case FN_setConstraintRestitutionLimLin: //Sub Procedure
|
||||
rc_setConstraintRestitutionLimLin( SETCONSTRAINTRESTITUTIONLIMLIN_CONSTRAINT_ID, SETCONSTRAINTRESTITUTIONLIMLIN_N );
|
||||
case FN_setSlideRestitutionLimLin: //Sub Procedure
|
||||
rc_setSlideRestitutionLimLin( SETSLIDERESTITUTIONLIMLIN_CONSTRAINT_ID, SETSLIDERESTITUTIONLIMLIN_N );
|
||||
break;
|
||||
case FN_setConstraintRestitutionOrthoAng: //Sub Procedure
|
||||
rc_setConstraintRestitutionOrthoAng( SETCONSTRAINTRESTITUTIONORTHOANG_CONSTRAINT_ID, SETCONSTRAINTRESTITUTIONORTHOANG_N );
|
||||
case FN_setSlideRestitutionOrthoAng: //Sub Procedure
|
||||
rc_setSlideRestitutionOrthoAng( SETSLIDERESTITUTIONORTHOANG_CONSTRAINT_ID, SETSLIDERESTITUTIONORTHOANG_N );
|
||||
break;
|
||||
case FN_setConstraintRestitutionOrthoLin: //Sub Procedure
|
||||
rc_setConstraintRestitutionOrthoLin( SETCONSTRAINTRESTITUTIONORTHOLIN_CONSTRAINT_ID, SETCONSTRAINTRESTITUTIONORTHOLIN_N );
|
||||
case FN_setSlideRestitutionOrthoLin: //Sub Procedure
|
||||
rc_setSlideRestitutionOrthoLin( SETSLIDERESTITUTIONORTHOLIN_CONSTRAINT_ID, SETSLIDERESTITUTIONORTHOLIN_N );
|
||||
break;
|
||||
case FN_setConstraintSoftnessDirAng: //Sub Procedure
|
||||
rc_setConstraintSoftnessDirAng( SETCONSTRAINTSOFTNESSDIRANG_CONSTRAINT_ID, SETCONSTRAINTSOFTNESSDIRANG_N );
|
||||
case FN_setSlideSoftnessDirAng: //Sub Procedure
|
||||
rc_setSlideSoftnessDirAng( SETSLIDESOFTNESSDIRANG_CONSTRAINT_ID, SETSLIDESOFTNESSDIRANG_N );
|
||||
break;
|
||||
case FN_setConstraintSoftnessDirLin: //Sub Procedure
|
||||
rc_setConstraintSoftnessDirLin( SETCONSTRAINTSOFTNESSDIRLIN_CONSTRAINT_ID, SETCONSTRAINTSOFTNESSDIRLIN_N );
|
||||
case FN_setSlideSoftnessDirLin: //Sub Procedure
|
||||
rc_setSlideSoftnessDirLin( SETSLIDESOFTNESSDIRLIN_CONSTRAINT_ID, SETSLIDESOFTNESSDIRLIN_N );
|
||||
break;
|
||||
case FN_setConstraintSoftnessLimAng: //Sub Procedure
|
||||
rc_setConstraintSoftnessLimAng( SETCONSTRAINTSOFTNESSLIMANG_CONSTRAINT_ID, SETCONSTRAINTSOFTNESSLIMANG_N );
|
||||
case FN_setSlideSoftnessLimAng: //Sub Procedure
|
||||
rc_setSlideSoftnessLimAng( SETSLIDESOFTNESSLIMANG_CONSTRAINT_ID, SETSLIDESOFTNESSLIMANG_N );
|
||||
break;
|
||||
case FN_setConstraintSoftnessLimLin: //Sub Procedure
|
||||
rc_setConstraintSoftnessLimLin( SETCONSTRAINTSOFTNESSLIMLIN_CONSTRAINT_ID, SETCONSTRAINTSOFTNESSLIMLIN_N );
|
||||
case FN_setSlideSoftnessLimLin: //Sub Procedure
|
||||
rc_setSlideSoftnessLimLin( SETSLIDESOFTNESSLIMLIN_CONSTRAINT_ID, SETSLIDESOFTNESSLIMLIN_N );
|
||||
break;
|
||||
case FN_setConstraintSoftnessOrthoAng: //Sub Procedure
|
||||
rc_setConstraintSoftnessOrthoAng( SETCONSTRAINTSOFTNESSORTHOANG_CONSTRAINT_ID, SETCONSTRAINTSOFTNESSORTHOANG_N );
|
||||
case FN_setSlideSoftnessOrthoAng: //Sub Procedure
|
||||
rc_setSlideSoftnessOrthoAng( SETSLIDESOFTNESSORTHOANG_CONSTRAINT_ID, SETSLIDESOFTNESSORTHOANG_N );
|
||||
break;
|
||||
case FN_setConstraintSoftnessOrthoLin: //Sub Procedure
|
||||
rc_setConstraintSoftnessOrthoLin( SETCONSTRAINTSOFTNESSORTHOLIN_CONSTRAINT_ID, SETCONSTRAINTSOFTNESSORTHOLIN_N );
|
||||
case FN_setSlideSoftnessOrthoLin: //Sub Procedure
|
||||
rc_setSlideSoftnessOrthoLin( SETSLIDESOFTNESSORTHOLIN_CONSTRAINT_ID, SETSLIDESOFTNESSORTHOLIN_N );
|
||||
break;
|
||||
case FN_setConstraintUpperAngLimit: //Sub Procedure
|
||||
rc_setConstraintUpperAngLimit( SETCONSTRAINTUPPERANGLIMIT_CONSTRAINT_ID, SETCONSTRAINTUPPERANGLIMIT_N );
|
||||
case FN_setSlideUpperAngLimit: //Sub Procedure
|
||||
rc_setSlideUpperAngLimit( SETSLIDEUPPERANGLIMIT_CONSTRAINT_ID, SETSLIDEUPPERANGLIMIT_N );
|
||||
break;
|
||||
case FN_setConstraintUpperLinLimit: //Sub Procedure
|
||||
rc_setConstraintUpperLinLimit( SETCONSTRAINTUPPERLINLIMIT_CONSTRAINT_ID, SETCONSTRAINTUPPERLINLIMIT_N );
|
||||
case FN_setSlideUpperLinLimit: //Sub Procedure
|
||||
rc_setSlideUpperLinLimit( SETSLIDEUPPERLINLIMIT_CONSTRAINT_ID, SETSLIDEUPPERLINLIMIT_N );
|
||||
break;
|
||||
case FN_ConstraintExists: //Number Function
|
||||
rc_push_num(rc_constraintExists( CONSTRAINTEXISTS_CONSTRAINT_ID ));
|
||||
break;
|
||||
case FN_SetCameraPosition: //Sub Procedure
|
||||
rc_setCameraPosition( SETCAMERAPOSITION_X, SETCAMERAPOSITION_Y, SETCAMERAPOSITION_Z );
|
||||
@@ -2021,9 +2036,6 @@ case FN_AddSceneSkyDomeEx: //Sub Procedure
|
||||
case FN_RemoveSceneSky: //Sub Procedure
|
||||
rc_removeSceneSky( );
|
||||
break;
|
||||
case FN_SetWorld3DDeltaTime: //Sub Procedure
|
||||
rc_setWorld3DDeltaTime( SETWORLD3DDELTATIME_DT );
|
||||
break;
|
||||
case FN_SetWorld3DMaxSubSteps: //Sub Procedure
|
||||
rc_setWorld3DMaxSubSteps( SETWORLD3DMAXSUBSTEPS_STEPS );
|
||||
break;
|
||||
@@ -2063,17 +2075,17 @@ case FN_particleIsUsingNormalDirection: //Number Function
|
||||
case FN_setParticleMesh: //Sub Procedure
|
||||
rc_setParticleMesh( SETPARTICLEMESH_ACTOR, SETPARTICLEMESH_MESH );
|
||||
break;
|
||||
case FN_setParticleMinParticlesPerSecond: //Sub Procedure
|
||||
rc_setParticleMinParticlesPerSecond( SETPARTICLEMINPARTICLESPERSECOND_ACTOR, SETPARTICLEMINPARTICLESPERSECOND_MINPARTICLESPERSECOND );
|
||||
case FN_setMinParticlesPerSecond: //Sub Procedure
|
||||
rc_setMinParticlesPerSecond( SETMINPARTICLESPERSECOND_ACTOR, SETMINPARTICLESPERSECOND_MINPARTICLESPERSECOND );
|
||||
break;
|
||||
case FN_getParticleMinParticlesPerSecond: //Number Function
|
||||
rc_push_num(rc_getParticleMinParticlesPerSecond( GETPARTICLEMINPARTICLESPERSECOND_ACTOR ));
|
||||
case FN_getMinParticlesPerSecond: //Number Function
|
||||
rc_push_num(rc_getMinParticlesPerSecond( GETMINPARTICLESPERSECOND_ACTOR ));
|
||||
break;
|
||||
case FN_setParticleMaxParticlesPerSecond: //Sub Procedure
|
||||
rc_setParticleMaxParticlesPerSecond( SETPARTICLEMAXPARTICLESPERSECOND_ACTOR, SETPARTICLEMAXPARTICLESPERSECOND_MAXPARTICLESPERSECOND );
|
||||
case FN_setMaxParticlesPerSecond: //Sub Procedure
|
||||
rc_setMaxParticlesPerSecond( SETMAXPARTICLESPERSECOND_ACTOR, SETMAXPARTICLESPERSECOND_MAXPARTICLESPERSECOND );
|
||||
break;
|
||||
case FN_getParticleMaxParticlesPerSecond: //Number Function
|
||||
rc_push_num(rc_getParticleMaxParticlesPerSecond( GETPARTICLEMAXPARTICLESPERSECOND_ACTOR ));
|
||||
case FN_getMaxParticlesPerSecond: //Number Function
|
||||
rc_push_num(rc_getMaxParticlesPerSecond( GETMAXPARTICLESPERSECOND_ACTOR ));
|
||||
break;
|
||||
case FN_setParticleMinStartColor: //Sub Procedure
|
||||
rc_setParticleMinStartColor( SETPARTICLEMINSTARTCOLOR_ACTOR, SETPARTICLEMINSTARTCOLOR_COLOR );
|
||||
@@ -2159,6 +2171,9 @@ case FN_useParticleOutlineOnly: //Sub Procedure
|
||||
case FN_particleIsUsingOutlineOnly: //Number Function
|
||||
rc_push_num(rc_particleIsUsingOutlineOnly( PARTICLEISUSINGOUTLINEONLY_ACTOR ));
|
||||
break;
|
||||
case FN_getParticleType: //Number Function
|
||||
rc_push_num(rc_getParticleType( GETPARTICLETYPE_ACTOR ));
|
||||
break;
|
||||
case FN_lightIsCastingShadow: //Number Function
|
||||
rc_push_num(rc_lightIsCastingShadow( LIGHTISCASTINGSHADOW_ACTOR ));
|
||||
break;
|
||||
@@ -2495,3 +2510,6 @@ case FN_setActorMaterialType: //Sub Procedure
|
||||
case FN_getActorMaterialType: //Number Function
|
||||
rc_push_num(rc_getActorMaterialType( GETACTORMATERIALTYPE_ACTOR, GETACTORMATERIALTYPE_MATERIAL ));
|
||||
break;
|
||||
case FN_MaterialExists: //Number Function
|
||||
rc_push_num(rc_materialExists( MATERIALEXISTS_MATERIAL ));
|
||||
break;
|
||||
|
||||
@@ -1009,8 +1009,200 @@ string rc_keywordToken(string sline)
|
||||
else if(sline.compare("ON_ERROR_CONTINUE")==0)
|
||||
return "<num>0";
|
||||
else if(sline.compare("ON_ERROR_STOP")==0)
|
||||
return "<num>1";
|
||||
else
|
||||
return "<num>1";
|
||||
else if(sline.compare("FLASH_CANCEL")==0)
|
||||
return "<num>" + rc_intToString((int)SDL_FLASH_CANCEL);
|
||||
else if(sline.compare("FLASH_BRIEFLY")==0)
|
||||
return "<num>" + rc_intToString((int)SDL_FLASH_BRIEFLY);
|
||||
else if(sline.compare("FLASH_UNTIL_FOCUSED")==0)
|
||||
return "<num>" + rc_intToString((int)SDL_FLASH_UNTIL_FOCUSED);
|
||||
else if(sline.compare("SHAPE_TYPE_NONE")==0)
|
||||
return "<num>0";
|
||||
else if(sline.compare("SHAPE_TYPE_BOX")==0)
|
||||
return "<num>1";
|
||||
else if(sline.compare("SHAPE_TYPE_SPHERE")==0)
|
||||
return "<num>2";
|
||||
else if(sline.compare("SHAPE_TYPE_CYLINDER")==0)
|
||||
return "<num>3";
|
||||
else if(sline.compare("SHAPE_TYPE_CAPSULE")==0)
|
||||
return "<num>4";
|
||||
else if(sline.compare("SHAPE_TYPE_CONE")==0)
|
||||
return "<num>5";
|
||||
else if(sline.compare("SHAPE_TYPE_CONVEXHULL")==0)
|
||||
return "<num>6";
|
||||
else if(sline.compare("SHAPE_TYPE_TRIMESH")==0)
|
||||
return "<num>7";
|
||||
else if(sline.compare("MATERIAL_FLAG_WIREFRAME")==0)
|
||||
return "<num>" + rc_intToString( 0x1);
|
||||
else if(sline.compare("MATERIAL_FLAG_POINTCLOUD")==0)
|
||||
return "<num>" + rc_intToString( 0x2);
|
||||
else if(sline.compare("MATERIAL_FLAG_GOURAUD_SHADING")==0)
|
||||
return "<num>" + rc_intToString( 0x4);
|
||||
else if(sline.compare("MATERIAL_FLAG_LIGHTING")==0)
|
||||
return "<num>" + rc_intToString( 0x8);
|
||||
else if(sline.compare("MATERIAL_FLAG_ZBUFFER")==0)
|
||||
return "<num>" + rc_intToString( 0x10);
|
||||
else if(sline.compare("MATERIAL_FLAG_ZWRITE_ENABLE")==0)
|
||||
return "<num>" + rc_intToString( 0x20);
|
||||
else if(sline.compare("MATERIAL_FLAG_BACK_FACE_CULLING")==0)
|
||||
return "<num>" + rc_intToString( 0x40);
|
||||
else if(sline.compare("MATERIAL_FLAG_FRONT_FACE_CULLING")==0)
|
||||
return "<num>" + rc_intToString( 0x80);
|
||||
else if(sline.compare("MATERIAL_FLAG_BILINEAR_FILTER")==0)
|
||||
return "<num>" + rc_intToString( 0x100);
|
||||
else if(sline.compare("MATERIAL_FLAG_TRILINEAR_FILTER")==0)
|
||||
return "<num>" + rc_intToString( 0x200);
|
||||
else if(sline.compare("MATERIAL_FLAG_ANISOTROPIC_FILTER")==0)
|
||||
return "<num>" + rc_intToString( 0x400);
|
||||
else if(sline.compare("MATERIAL_FLAG_FOG_ENABLE")==0)
|
||||
return "<num>" + rc_intToString( 0x800);
|
||||
else if(sline.compare("MATERIAL_FLAG_NORMALIZE_NORMALS")==0)
|
||||
return "<num>" + rc_intToString( 0x1000);
|
||||
else if(sline.compare("MATERIAL_FLAG_TEXTURE_WRAP")==0)
|
||||
return "<num>" + rc_intToString( 0x2000);
|
||||
else if(sline.compare("MATERIAL_FLAG_ANTI_ALIASING")==0)
|
||||
return "<num>" + rc_intToString( 0x4000);
|
||||
else if(sline.compare("MATERIAL_FLAG_COLOR_MASK")==0)
|
||||
return "<num>" + rc_intToString( 0x8000);
|
||||
else if(sline.compare("MATERIAL_FLAG_COLOR_MATERIAL")==0)
|
||||
return "<num>" + rc_intToString( 0x10000);
|
||||
else if(sline.compare("MATERIAL_FLAG_USE_MIP_MAPS")==0)
|
||||
return "<num>" + rc_intToString( 0x20000);
|
||||
else if(sline.compare("MATERIAL_FLAG_BLEND_OPERATION")==0)
|
||||
return "<num>" + rc_intToString( 0x40000);
|
||||
else if(sline.compare("MATERIAL_FLAG_POLYGON_OFFSET")==0)
|
||||
return "<num>" + rc_intToString( 0x80000);
|
||||
else if(sline.compare("MATERIAL_TYPE_SOLID")==0)
|
||||
return "<num>0";
|
||||
else if(sline.compare("MATERIAL_TYPE_SOLID_2_LAYER")==0)
|
||||
return "<num>1";
|
||||
else if(sline.compare("MATERIAL_TYPE_LIGHTMAP")==0)
|
||||
return "<num>2";
|
||||
else if(sline.compare("MATERIAL_TYPE_LIGHTMAP_ADD")==0)
|
||||
return "<num>3";
|
||||
else if(sline.compare("MATERIAL_TYPE_LIGHTMAP_M2")==0)
|
||||
return "<num>4";
|
||||
else if(sline.compare("MATERIAL_TYPE_LIGHTMAP_M4")==0)
|
||||
return "<num>5";
|
||||
else if(sline.compare("MATERIAL_TYPE_LIGHTMAP_LIGHTING")==0)
|
||||
return "<num>6";
|
||||
else if(sline.compare("MATERIAL_TYPE_LIGHTMAP_LIGHTING_M2")==0)
|
||||
return "<num>7";
|
||||
else if(sline.compare("MATERIAL_TYPE_LIGHTMAP_LIGHTING_M4")==0)
|
||||
return "<num>8";
|
||||
else if(sline.compare("MATERIAL_TYPE_DETAIL_MAP")==0)
|
||||
return "<num>9";
|
||||
else if(sline.compare("MATERIAL_TYPE_SPHERE_MAP")==0)
|
||||
return "<num>10";
|
||||
else if(sline.compare("MATERIAL_TYPE_REFLECTION_2_LAYER")==0)
|
||||
return "<num>11";
|
||||
else if(sline.compare("MATERIAL_TYPE_TRANSPARENT_ADD_COLOR")==0)
|
||||
return "<num>12";
|
||||
else if(sline.compare("MATERIAL_TYPE_TRANSPARENT_ALPHA_CHANNEL")==0)
|
||||
return "<num>13";
|
||||
else if(sline.compare("MATERIAL_TYPE_TRANSPARENT_ALPHA_CHANNEL_REF")==0)
|
||||
return "<num>14";
|
||||
else if(sline.compare("MATERIAL_TYPE_TRANSPARENT_VERTEX_ALPHA")==0)
|
||||
return "<num>15";
|
||||
else if(sline.compare("MATERIAL_TYPE_TRANSPARENT_REFLECTION_2_LAYER")==0)
|
||||
return "<num>16";
|
||||
else if(sline.compare("MATERIAL_TYPE_NORMAL_MAP_SOLID")==0)
|
||||
return "<num>17";
|
||||
else if(sline.compare("MATERIAL_TYPE_NORMAL_MAP_TRANSPARENT_ADD_COLOR")==0)
|
||||
return "<num>18";
|
||||
else if(sline.compare("MATERIAL_TYPE_NORMAL_MAP_TRANSPARENT_VERTEX_ALPHA")==0)
|
||||
return "<num>19";
|
||||
else if(sline.compare("MATERIAL_TYPE_PARALLAX_MAP_SOLID")==0)
|
||||
return "<num>20";
|
||||
else if(sline.compare("MATERIAL_TYPE_PARALLAX_MAP_TRANSPARENT_ADD_COLOR")==0)
|
||||
return "<num>21";
|
||||
else if(sline.compare("MATERIAL_TYPE_PARALLAX_MAP_TRANSPARENT_VERTEX_ALPHA")==0)
|
||||
return "<num>22";
|
||||
else if(sline.compare("MATERIAL_TYPE_ONETEXTURE_BLEND")==0)
|
||||
return "<num>23";
|
||||
else if(sline.compare("MATERIAL_TYPE_FORCE_32BIT")==0)
|
||||
return "<num>24";
|
||||
else if(sline.compare("BLEND_MODE_NONE")==0)
|
||||
return "<num>0";
|
||||
else if(sline.compare("BLEND_MODE_ADD")==0)
|
||||
return "<num>1";
|
||||
else if(sline.compare("BLEND_MODE_SUBTRACT")==0)
|
||||
return "<num>2";
|
||||
else if(sline.compare("BLEND_MODE_REVSUBTRACT")==0)
|
||||
return "<num>3";
|
||||
else if(sline.compare("BLEND_MODE_MIN")==0)
|
||||
return "<num>4";
|
||||
else if(sline.compare("BLEND_MODE_MAX")==0)
|
||||
return "<num>5";
|
||||
else if(sline.compare("BLEND_MODE_MIN_FACTOR")==0)
|
||||
return "<num>6";
|
||||
else if(sline.compare("BLEND_MODE_MAX_FACTOR")==0)
|
||||
return "<num>7";
|
||||
else if(sline.compare("BLEND_MODE_MIN_ALPHA")==0)
|
||||
return "<num>8";
|
||||
else if(sline.compare("BLEND_MODE_MAX_ALPHA")==0)
|
||||
return "<num>9";
|
||||
else if(sline.compare("LIGHT_TYPE_POINT")==0)
|
||||
return "<num>0";
|
||||
else if(sline.compare("LIGHT_TYPE_SPOT")==0)
|
||||
return "<num>1";
|
||||
else if(sline.compare("LIGHT_TYPE_DIRECTIONAL")==0)
|
||||
return "<num>2";
|
||||
else if(sline.compare("AA_MODE_OFF")==0)
|
||||
return "<num>0";
|
||||
else if(sline.compare("AA_MODE_SIMPLE")==0)
|
||||
return "<num>1";
|
||||
else if(sline.compare("AA_MODE_QUALITY")==0)
|
||||
return "<num>3";
|
||||
else if(sline.compare("AA_MODE_LINE_SMOOTH")==0)
|
||||
return "<num>4";
|
||||
else if(sline.compare("AA_MODE_POINT_SMOOTH")==0)
|
||||
return "<num>8";
|
||||
else if(sline.compare("AA_MODE_FULL_BASIC")==0)
|
||||
return "<num>15";
|
||||
else if(sline.compare("AA_MODE_ALPHA_TO_COVERAGE")==0)
|
||||
return "<num>16";
|
||||
else if(sline.compare("COLOR_MODE_NONE")==0)
|
||||
return "<num>0";
|
||||
else if(sline.compare("COLOR_MODE_DIFFUSE")==0)
|
||||
return "<num>1";
|
||||
else if(sline.compare("COLOR_MODE_AMBIENT")==0)
|
||||
return "<num>2";
|
||||
else if(sline.compare("COLOR_MODE_EMISSIVE")==0)
|
||||
return "<num>3";
|
||||
else if(sline.compare("COLOR_MODE_SPECULAR")==0)
|
||||
return "<num>4";
|
||||
else if(sline.compare("COLOR_MODE_DIFFUSE_AND_AMBIENT")==0)
|
||||
return "<num>5";
|
||||
else if(sline.compare("PARTICLE_TYPE_POINT")==0)
|
||||
return "<num>1";
|
||||
else if(sline.compare("PARTICLE_TYPE_BOX")==0)
|
||||
return "<num>2";
|
||||
else if(sline.compare("PARTICLE_TYPE_SPHERE")==0)
|
||||
return "<num>3";
|
||||
else if(sline.compare("PARTICLE_TYPE_CYLINDER")==0)
|
||||
return "<num>4";
|
||||
else if(sline.compare("PARTICLE_TYPE_MESH")==0)
|
||||
return "<num>5";
|
||||
else if(sline.compare("PARTICLE_TYPE_RING")==0)
|
||||
return "<num>6";
|
||||
else if(sline.compare("AUTOCULLING_OFF")==0)
|
||||
return "<num>0";
|
||||
else if(sline.compare("AUTOCULLING_BOX")==0)
|
||||
return "<num>1";
|
||||
else if(sline.compare("AUTOCULLING_FRUSTUM_BOX")==0)
|
||||
return "<num>2";
|
||||
else if(sline.compare("AUTOCULLING_FRUSTUM_SPHERE")==0)
|
||||
return "<num>4";
|
||||
else if(sline.compare("AUTOCULLING_OCC_QUERY")==0)
|
||||
return "<num>8";
|
||||
else if(sline.compare("SPRITE_TYPE_STATIC")==0)
|
||||
return "<num>0";
|
||||
else if(sline.compare("SPRITE_TYPE_KINEMATIC")==0)
|
||||
return "<num>1";
|
||||
else if(sline.compare("SPRITE_TYPE_DYNAMIC")==0)
|
||||
return "<num>2";
|
||||
else
|
||||
{
|
||||
for(int i = 0; i < rc_constants.size(); i++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user