Added Sprite Physics and Joints
This commit is contained in:
@@ -513,8 +513,6 @@ embed_function("SetCanvasPhysics2D", ID_TYPE_SUB);
|
||||
add_embedded_arg("c_num", ID_TYPE_NUM);
|
||||
add_embedded_arg("state", ID_TYPE_NUM);
|
||||
embed_function("OpenCanvasSpriteLayer", 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);
|
||||
@@ -1398,6 +1396,397 @@ add_embedded_arg("sprite", ID_TYPE_NUM);
|
||||
embed_function("DeleteSpriteAnimation", ID_TYPE_SUB);
|
||||
add_embedded_arg("sprite", ID_TYPE_NUM);
|
||||
add_embedded_arg("animation", ID_TYPE_NUM);
|
||||
embed_function("getSpriteCenter", ID_TYPE_SUB);
|
||||
add_embedded_arg("spr_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
|
||||
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
|
||||
embed_function("setSpriteLinearVelocity", ID_TYPE_SUB);
|
||||
add_embedded_arg("spr_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("x", ID_TYPE_NUM);
|
||||
add_embedded_arg("y", ID_TYPE_NUM);
|
||||
embed_function("getSpriteLinearVelocity", ID_TYPE_SUB);
|
||||
add_embedded_arg("spr_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
|
||||
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
|
||||
embed_function("setSpriteAngularVelocity", ID_TYPE_SUB);
|
||||
add_embedded_arg("spr_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("av", ID_TYPE_NUM);
|
||||
embed_function("getSpriteAngularVelocity", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("spr_id", ID_TYPE_NUM);
|
||||
embed_function("applySpriteForce", ID_TYPE_SUB);
|
||||
add_embedded_arg("spr_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("fX", ID_TYPE_NUM);
|
||||
add_embedded_arg("fY", ID_TYPE_NUM);
|
||||
add_embedded_arg("pX", ID_TYPE_NUM);
|
||||
add_embedded_arg("pY", ID_TYPE_NUM);
|
||||
embed_function("applySpriteCentralForce", ID_TYPE_SUB);
|
||||
add_embedded_arg("spr_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("x", ID_TYPE_NUM);
|
||||
add_embedded_arg("y", ID_TYPE_NUM);
|
||||
embed_function("applySpriteTorque", ID_TYPE_SUB);
|
||||
add_embedded_arg("spr_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("torque", ID_TYPE_NUM);
|
||||
embed_function("applySpriteLinearImpulse", ID_TYPE_SUB);
|
||||
add_embedded_arg("spr_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("iX", ID_TYPE_NUM);
|
||||
add_embedded_arg("iY", ID_TYPE_NUM);
|
||||
add_embedded_arg("pX", ID_TYPE_NUM);
|
||||
add_embedded_arg("pY", ID_TYPE_NUM);
|
||||
embed_function("applySpriteAngularImpulse", ID_TYPE_SUB);
|
||||
add_embedded_arg("spr_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("impulse", ID_TYPE_NUM);
|
||||
embed_function("getSpriteMass", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("spr_id", ID_TYPE_NUM);
|
||||
embed_function("getSpriteInertia", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("spr_id", ID_TYPE_NUM);
|
||||
embed_function("getSpriteWorldPoint", ID_TYPE_SUB);
|
||||
add_embedded_arg("spr_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("lX", ID_TYPE_NUM);
|
||||
add_embedded_arg("lY", ID_TYPE_NUM);
|
||||
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
|
||||
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
|
||||
embed_function("getSpriteWorldVector", ID_TYPE_SUB);
|
||||
add_embedded_arg("spr_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("lX", ID_TYPE_NUM);
|
||||
add_embedded_arg("lY", ID_TYPE_NUM);
|
||||
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
|
||||
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
|
||||
embed_function("getSpriteLocalPoint", ID_TYPE_SUB);
|
||||
add_embedded_arg("spr_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("wX", ID_TYPE_NUM);
|
||||
add_embedded_arg("wY", ID_TYPE_NUM);
|
||||
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
|
||||
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
|
||||
embed_function("getSpriteLocalVector", ID_TYPE_SUB);
|
||||
add_embedded_arg("spr_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("wX", ID_TYPE_NUM);
|
||||
add_embedded_arg("wY", ID_TYPE_NUM);
|
||||
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
|
||||
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
|
||||
embed_function("getSpriteLinearVelocityFromLocalPoint", ID_TYPE_SUB);
|
||||
add_embedded_arg("spr_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("pX", ID_TYPE_NUM);
|
||||
add_embedded_arg("pY", ID_TYPE_NUM);
|
||||
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
|
||||
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
|
||||
embed_function("getSpriteLinearVelocityFromWorldPoint", ID_TYPE_SUB);
|
||||
add_embedded_arg("spr_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("wX", ID_TYPE_NUM);
|
||||
add_embedded_arg("wY", ID_TYPE_NUM);
|
||||
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
|
||||
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
|
||||
embed_function("getSpriteLinearDamping", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("spr_id", ID_TYPE_NUM);
|
||||
embed_function("setSpriteLinearDamping", ID_TYPE_SUB);
|
||||
add_embedded_arg("spr_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("linearDamping", ID_TYPE_NUM);
|
||||
embed_function("getSpriteAngularDamping", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("spr_id", ID_TYPE_NUM);
|
||||
embed_function("setSpriteAngularDamping", ID_TYPE_SUB);
|
||||
add_embedded_arg("spr_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("angularDamping", ID_TYPE_NUM);
|
||||
embed_function("getSpriteGravityScale", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("spr_id", ID_TYPE_NUM);
|
||||
embed_function("setSpriteGravityScale", ID_TYPE_SUB);
|
||||
add_embedded_arg("spr_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("g_scale", ID_TYPE_NUM);
|
||||
embed_function("setSpriteBullet", ID_TYPE_SUB);
|
||||
add_embedded_arg("spr_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("flag", ID_TYPE_NUM);
|
||||
embed_function("spriteIsBullet", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("spr_id", ID_TYPE_NUM);
|
||||
embed_function("setSpriteSleepAllowed", ID_TYPE_SUB);
|
||||
add_embedded_arg("spr_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("flag", ID_TYPE_NUM);
|
||||
embed_function("spriteSleepAllowed", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("spr_id", ID_TYPE_NUM);
|
||||
embed_function("setSpriteAwake", ID_TYPE_SUB);
|
||||
add_embedded_arg("spr_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("flag", ID_TYPE_NUM);
|
||||
embed_function("spriteIsAwake", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("spr_id", ID_TYPE_NUM);
|
||||
embed_function("setSpriteFixedRotation", ID_TYPE_SUB);
|
||||
add_embedded_arg("spr_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("flag", ID_TYPE_NUM);
|
||||
embed_function("spriteIsFixedRotation", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("spr_id", ID_TYPE_NUM);
|
||||
embed_function("createDistanceJoint", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("spriteA", ID_TYPE_NUM);
|
||||
add_embedded_arg("spriteB", ID_TYPE_NUM);
|
||||
add_embedded_arg("aX", ID_TYPE_NUM);
|
||||
add_embedded_arg("aY", ID_TYPE_NUM);
|
||||
add_embedded_arg("bX", ID_TYPE_NUM);
|
||||
add_embedded_arg("bY", ID_TYPE_NUM);
|
||||
embed_function("createFrictionJoint", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("spriteA", ID_TYPE_NUM);
|
||||
add_embedded_arg("spriteB", ID_TYPE_NUM);
|
||||
add_embedded_arg("x", ID_TYPE_NUM);
|
||||
add_embedded_arg("y", ID_TYPE_NUM);
|
||||
embed_function("createGearJoint", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("jointA", ID_TYPE_NUM);
|
||||
add_embedded_arg("jointB", ID_TYPE_NUM);
|
||||
add_embedded_arg("g_ratio", ID_TYPE_NUM);
|
||||
embed_function("createMotorJoint", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("spriteA", ID_TYPE_NUM);
|
||||
add_embedded_arg("spriteB", ID_TYPE_NUM);
|
||||
embed_function("createPrismaticJoint", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("spriteA", ID_TYPE_NUM);
|
||||
add_embedded_arg("spriteB", ID_TYPE_NUM);
|
||||
add_embedded_arg("aX", ID_TYPE_NUM);
|
||||
add_embedded_arg("aY", ID_TYPE_NUM);
|
||||
add_embedded_arg("axisX", ID_TYPE_NUM);
|
||||
add_embedded_arg("axisY", ID_TYPE_NUM);
|
||||
embed_function("createPulleyJoint", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("spriteA", ID_TYPE_NUM);
|
||||
add_embedded_arg("spriteB", ID_TYPE_NUM);
|
||||
add_embedded_arg("gaX", ID_TYPE_NUM);
|
||||
add_embedded_arg("gaY", ID_TYPE_NUM);
|
||||
add_embedded_arg("gbX", ID_TYPE_NUM);
|
||||
add_embedded_arg("gbY", ID_TYPE_NUM);
|
||||
add_embedded_arg("aX", ID_TYPE_NUM);
|
||||
add_embedded_arg("aY", ID_TYPE_NUM);
|
||||
add_embedded_arg("bX", ID_TYPE_NUM);
|
||||
add_embedded_arg("bY", ID_TYPE_NUM);
|
||||
add_embedded_arg("j_ratio", ID_TYPE_NUM);
|
||||
embed_function("createRevoluteJoint", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("spriteA", ID_TYPE_NUM);
|
||||
add_embedded_arg("spriteB", ID_TYPE_NUM);
|
||||
add_embedded_arg("x", ID_TYPE_NUM);
|
||||
add_embedded_arg("y", ID_TYPE_NUM);
|
||||
embed_function("createWeldJoint", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("spriteA", ID_TYPE_NUM);
|
||||
add_embedded_arg("spriteB", ID_TYPE_NUM);
|
||||
add_embedded_arg("x", ID_TYPE_NUM);
|
||||
add_embedded_arg("y", ID_TYPE_NUM);
|
||||
embed_function("createWheelJoint", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("spriteA", ID_TYPE_NUM);
|
||||
add_embedded_arg("spriteB", ID_TYPE_NUM);
|
||||
add_embedded_arg("aX", ID_TYPE_NUM);
|
||||
add_embedded_arg("aY", ID_TYPE_NUM);
|
||||
add_embedded_arg("axisX", ID_TYPE_NUM);
|
||||
add_embedded_arg("axisY", ID_TYPE_NUM);
|
||||
embed_function("getJointWorldAnchorA", ID_TYPE_SUB);
|
||||
add_embedded_arg("joint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
|
||||
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
|
||||
embed_function("getJointWorldAnchorB", ID_TYPE_SUB);
|
||||
add_embedded_arg("joint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
|
||||
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
|
||||
embed_function("getJointReactionForce", ID_TYPE_SUB);
|
||||
add_embedded_arg("joint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("inv_dt", ID_TYPE_NUM);
|
||||
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
|
||||
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
|
||||
embed_function("getJointReactionTorque", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("joint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("inv_dt", ID_TYPE_NUM);
|
||||
embed_function("getJointLocalAnchorA", ID_TYPE_SUB);
|
||||
add_embedded_arg("joint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
|
||||
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
|
||||
embed_function("getJointLocalAnchorB", ID_TYPE_SUB);
|
||||
add_embedded_arg("joint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
|
||||
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
|
||||
embed_function("setJointLength", ID_TYPE_SUB);
|
||||
add_embedded_arg("joint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("jlen", ID_TYPE_NUM);
|
||||
embed_function("getJointLength", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("joint_id", ID_TYPE_NUM);
|
||||
embed_function("setJointMinLength", ID_TYPE_SUB);
|
||||
add_embedded_arg("joint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("jlen", ID_TYPE_NUM);
|
||||
embed_function("getJointMinLength", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("joint_id", ID_TYPE_NUM);
|
||||
embed_function("setJointMaxLength", ID_TYPE_SUB);
|
||||
add_embedded_arg("joint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("jlen", ID_TYPE_NUM);
|
||||
embed_function("getJointMaxLength", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("joint_id", ID_TYPE_NUM);
|
||||
embed_function("getJointCurrentLength", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("joint_id", ID_TYPE_NUM);
|
||||
embed_function("setJointStiffness", ID_TYPE_SUB);
|
||||
add_embedded_arg("joint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("stiffness", ID_TYPE_NUM);
|
||||
embed_function("getJointStiffness", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("joint_id", ID_TYPE_NUM);
|
||||
embed_function("setJointDamping", ID_TYPE_SUB);
|
||||
add_embedded_arg("joint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("damping", ID_TYPE_NUM);
|
||||
embed_function("getJointDamping", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("joint_id", ID_TYPE_NUM);
|
||||
embed_function("setJointMaxForce", ID_TYPE_SUB);
|
||||
add_embedded_arg("joint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("force", ID_TYPE_NUM);
|
||||
embed_function("getJointMaxForce", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("joint_id", ID_TYPE_NUM);
|
||||
embed_function("setJointMaxTorque", ID_TYPE_SUB);
|
||||
add_embedded_arg("joint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("torque", ID_TYPE_NUM);
|
||||
embed_function("getJointMaxTorque", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("joint_id", ID_TYPE_NUM);
|
||||
embed_function("setJointCorrectionFactor", ID_TYPE_SUB);
|
||||
add_embedded_arg("joint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("factor", ID_TYPE_NUM);
|
||||
embed_function("getJointCorrectionFactor", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("joint_id", ID_TYPE_NUM);
|
||||
embed_function("setJointRatio", ID_TYPE_SUB);
|
||||
add_embedded_arg("joint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("j_ratio", ID_TYPE_NUM);
|
||||
embed_function("getJointRatio", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("joint_id", ID_TYPE_NUM);
|
||||
embed_function("setJointLinearOffset", ID_TYPE_SUB);
|
||||
add_embedded_arg("joint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("x", ID_TYPE_NUM);
|
||||
add_embedded_arg("y", ID_TYPE_NUM);
|
||||
embed_function("getJointLinearOffset", ID_TYPE_SUB);
|
||||
add_embedded_arg("joint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
|
||||
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
|
||||
embed_function("setJointAngularOffset", ID_TYPE_SUB);
|
||||
add_embedded_arg("joint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("angleOffset", ID_TYPE_NUM);
|
||||
embed_function("getJointAngularOffset", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("joint_id", ID_TYPE_NUM);
|
||||
embed_function("getJointLocalAxisA", ID_TYPE_SUB);
|
||||
add_embedded_arg("joint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
|
||||
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
|
||||
embed_function("getJointReferenceAngle", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("joint_id", ID_TYPE_NUM);
|
||||
embed_function("getJointTranslation", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("joint_id", ID_TYPE_NUM);
|
||||
embed_function("getJointSpeed", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("joint_id", ID_TYPE_NUM);
|
||||
embed_function("jointIsLimitEnabled", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("joint_id", ID_TYPE_NUM);
|
||||
embed_function("enableJointLimit", ID_TYPE_SUB);
|
||||
add_embedded_arg("joint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("flag", ID_TYPE_NUM);
|
||||
embed_function("getJointLowerLimit", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("joint_id", ID_TYPE_NUM);
|
||||
embed_function("getJointUpperLimit", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("joint_id", ID_TYPE_NUM);
|
||||
embed_function("setJointLimits", ID_TYPE_SUB);
|
||||
add_embedded_arg("joint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("lower_limit", ID_TYPE_NUM);
|
||||
add_embedded_arg("upper_limit", ID_TYPE_NUM);
|
||||
embed_function("jointMotorIsEnabled", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("joint_id", ID_TYPE_NUM);
|
||||
embed_function("enableJointMotor", ID_TYPE_SUB);
|
||||
add_embedded_arg("joint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("flag", ID_TYPE_NUM);
|
||||
embed_function("setJointMotorSpeed", ID_TYPE_SUB);
|
||||
add_embedded_arg("joint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("speed", ID_TYPE_NUM);
|
||||
embed_function("getJointMotorSpeed", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("joint_id", ID_TYPE_NUM);
|
||||
embed_function("setJointMaxMotorForce", ID_TYPE_SUB);
|
||||
add_embedded_arg("joint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("force", ID_TYPE_NUM);
|
||||
embed_function("getJointMaxMotorForce", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("joint_id", ID_TYPE_NUM);
|
||||
embed_function("getJointMotorForce", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("joint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("inv_dt", ID_TYPE_NUM);
|
||||
embed_function("setJointMaxMotorTorque", ID_TYPE_SUB);
|
||||
add_embedded_arg("joint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("torque", ID_TYPE_NUM);
|
||||
embed_function("getJointMaxMotorTorque", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("joint_id", ID_TYPE_NUM);
|
||||
embed_function("getJointMotorTorque", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("joint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("inv_dt", ID_TYPE_NUM);
|
||||
embed_function("getJointGroundAnchorA", ID_TYPE_SUB);
|
||||
add_embedded_arg("joint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
|
||||
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
|
||||
embed_function("getJointGroundAnchorB", ID_TYPE_SUB);
|
||||
add_embedded_arg("joint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
|
||||
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
|
||||
embed_function("getJointLengthA", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("joint_id", ID_TYPE_NUM);
|
||||
embed_function("getJointLengthB", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("joint_id", ID_TYPE_NUM);
|
||||
embed_function("getJointCurrentLengthA", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("joint_id", ID_TYPE_NUM);
|
||||
embed_function("getJointCurrentLengthB", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("joint_id", ID_TYPE_NUM);
|
||||
embed_function("setJointOrigin", ID_TYPE_SUB);
|
||||
add_embedded_arg("joint_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("x", ID_TYPE_NUM);
|
||||
add_embedded_arg("y", ID_TYPE_NUM);
|
||||
embed_function("getJointAngle", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("joint_id", ID_TYPE_NUM);
|
||||
embed_function("getJointLinearSpeed", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("joint_id", ID_TYPE_NUM);
|
||||
embed_function("getJointAngularSpeed", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("joint_id", ID_TYPE_NUM);
|
||||
embed_function("CreateTileSet", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("img_id", ID_TYPE_NUM);
|
||||
add_embedded_arg("tile_w", ID_TYPE_NUM);
|
||||
add_embedded_arg("tile_h", ID_TYPE_NUM);
|
||||
embed_function("SetTileAnimationLength", ID_TYPE_SUB);
|
||||
add_embedded_arg("tileset", ID_TYPE_NUM);
|
||||
add_embedded_arg("base_tile", ID_TYPE_NUM);
|
||||
add_embedded_arg("num_frames", ID_TYPE_NUM);
|
||||
embed_function("GetTileAnimationLength", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("tileset", ID_TYPE_NUM);
|
||||
add_embedded_arg("base_tile", ID_TYPE_NUM);
|
||||
embed_function("SetTileAnimationFrame", ID_TYPE_SUB);
|
||||
add_embedded_arg("tileset", ID_TYPE_NUM);
|
||||
add_embedded_arg("base_tile", ID_TYPE_NUM);
|
||||
add_embedded_arg("anim_frame", ID_TYPE_NUM);
|
||||
add_embedded_arg("tile_frame", ID_TYPE_NUM);
|
||||
embed_function("GetTileAnimationFrame", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("tileset", ID_TYPE_NUM);
|
||||
add_embedded_arg("base_tile", ID_TYPE_NUM);
|
||||
add_embedded_arg("anim_frame", ID_TYPE_NUM);
|
||||
embed_function("SetTileAnimationSpeed", ID_TYPE_SUB);
|
||||
add_embedded_arg("tileset", ID_TYPE_NUM);
|
||||
add_embedded_arg("base_tile", ID_TYPE_NUM);
|
||||
add_embedded_arg("speed", ID_TYPE_NUM);
|
||||
embed_function("GetTileAnimationSpeed", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("tileset", ID_TYPE_NUM);
|
||||
add_embedded_arg("base_tile", ID_TYPE_NUM);
|
||||
embed_function("CreateTileMap", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("tileset", ID_TYPE_NUM);
|
||||
add_embedded_arg("widthInTiles", ID_TYPE_NUM);
|
||||
add_embedded_arg("heightInTiles", ID_TYPE_NUM);
|
||||
embed_function("SetTileMapSize", ID_TYPE_SUB);
|
||||
add_embedded_arg("tilemap", ID_TYPE_NUM);
|
||||
add_embedded_arg("widthInTiles", ID_TYPE_NUM);
|
||||
add_embedded_arg("heightInTiles", ID_TYPE_NUM);
|
||||
embed_function("GetTileMapSize", ID_TYPE_SUB);
|
||||
add_embedded_arg("tilemap", ID_TYPE_NUM);
|
||||
add_embedded_arg("widthInTiles", ID_TYPE_BYREF_NUM);
|
||||
add_embedded_arg("heightInTiles", ID_TYPE_BYREF_NUM);
|
||||
embed_function("SetTile", ID_TYPE_SUB);
|
||||
add_embedded_arg("tilemap", ID_TYPE_NUM);
|
||||
add_embedded_arg("tile", ID_TYPE_NUM);
|
||||
add_embedded_arg("x", ID_TYPE_NUM);
|
||||
add_embedded_arg("y", ID_TYPE_NUM);
|
||||
embed_function("GetTile", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("tilemap", ID_TYPE_NUM);
|
||||
add_embedded_arg("x", ID_TYPE_NUM);
|
||||
add_embedded_arg("y", ID_TYPE_NUM);
|
||||
embed_function("FillTile", ID_TYPE_SUB);
|
||||
add_embedded_arg("tilemap", ID_TYPE_NUM);
|
||||
add_embedded_arg("tile", ID_TYPE_NUM);
|
||||
add_embedded_arg("x", ID_TYPE_NUM);
|
||||
add_embedded_arg("y", ID_TYPE_NUM);
|
||||
add_embedded_arg("widthInTiles", ID_TYPE_NUM);
|
||||
add_embedded_arg("heightInTiles", ID_TYPE_NUM);
|
||||
embed_function("DrawTileMap", ID_TYPE_SUB);
|
||||
add_embedded_arg("tilemap", ID_TYPE_NUM);
|
||||
add_embedded_arg("x", ID_TYPE_NUM);
|
||||
add_embedded_arg("y", ID_TYPE_NUM);
|
||||
add_embedded_arg("w", ID_TYPE_NUM);
|
||||
add_embedded_arg("h", ID_TYPE_NUM);
|
||||
add_embedded_arg("offset_x", ID_TYPE_NUM);
|
||||
add_embedded_arg("offset_y", ID_TYPE_NUM);
|
||||
embed_function("LoadMesh", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("mesh_file$", ID_TYPE_STR);
|
||||
embed_function("DeleteMesh", ID_TYPE_SUB);
|
||||
@@ -1519,6 +1908,55 @@ 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("CreateActorAnimation", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("actor", ID_TYPE_NUM);
|
||||
add_embedded_arg("start_frame", ID_TYPE_NUM);
|
||||
add_embedded_arg("end_frame", ID_TYPE_NUM);
|
||||
add_embedded_arg("speed", ID_TYPE_NUM);
|
||||
embed_function("SetActorAnimation", ID_TYPE_SUB);
|
||||
add_embedded_arg("actor", ID_TYPE_NUM);
|
||||
add_embedded_arg("animation", ID_TYPE_NUM);
|
||||
add_embedded_arg("num_loops", ID_TYPE_NUM);
|
||||
embed_function("SetActorAnimationSpeed", ID_TYPE_SUB);
|
||||
add_embedded_arg("actor", ID_TYPE_NUM);
|
||||
add_embedded_arg("animation", ID_TYPE_NUM);
|
||||
add_embedded_arg("speed", ID_TYPE_NUM);
|
||||
embed_function("SetActorAnimationFrames", ID_TYPE_SUB);
|
||||
add_embedded_arg("actor", ID_TYPE_NUM);
|
||||
add_embedded_arg("animation", ID_TYPE_NUM);
|
||||
add_embedded_arg("start_frame", ID_TYPE_NUM);
|
||||
add_embedded_arg("end_frame", ID_TYPE_NUM);
|
||||
embed_function("GetActorCurrentAnimation", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("actor", ID_TYPE_NUM);
|
||||
embed_function("GetActorAnimationSpeed", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("actor", ID_TYPE_NUM);
|
||||
add_embedded_arg("animation", ID_TYPE_NUM);
|
||||
embed_function("GetActorAnimationStartFrame", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("actor", ID_TYPE_NUM);
|
||||
add_embedded_arg("animation", ID_TYPE_NUM);
|
||||
embed_function("GetActorAnimationEndFrame", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("actor", ID_TYPE_NUM);
|
||||
add_embedded_arg("animation", ID_TYPE_NUM);
|
||||
embed_function("SetActorFrame", ID_TYPE_SUB);
|
||||
add_embedded_arg("actor", ID_TYPE_NUM);
|
||||
add_embedded_arg("frame", ID_TYPE_NUM);
|
||||
embed_function("GetActorFrame", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("actor", ID_TYPE_NUM);
|
||||
embed_function("ActorAnimationIsPlaying", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("actor", ID_TYPE_NUM);
|
||||
embed_function("NumActorAnimationLoops", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("actor", ID_TYPE_NUM);
|
||||
embed_function("SetActorMD2Animation", ID_TYPE_SUB);
|
||||
add_embedded_arg("actor", ID_TYPE_NUM);
|
||||
add_embedded_arg("anim", ID_TYPE_NUM);
|
||||
add_embedded_arg("num_loops", ID_TYPE_NUM);
|
||||
embed_function("SetActorMD2AnimationByName", ID_TYPE_SUB);
|
||||
add_embedded_arg("actor", ID_TYPE_NUM);
|
||||
add_embedded_arg("anim_name$", ID_TYPE_STR);
|
||||
add_embedded_arg("num_loops", ID_TYPE_NUM);
|
||||
embed_function("DeleteActorAnimation", ID_TYPE_SUB);
|
||||
add_embedded_arg("actor", ID_TYPE_NUM);
|
||||
add_embedded_arg("animation", ID_TYPE_NUM);
|
||||
embed_function("SetGravity3D", ID_TYPE_SUB);
|
||||
add_embedded_arg("x", ID_TYPE_NUM);
|
||||
add_embedded_arg("y", ID_TYPE_NUM);
|
||||
@@ -1687,7 +2125,7 @@ embed_function("clearActorForces", ID_TYPE_SUB);
|
||||
add_embedded_arg("actor", ID_TYPE_NUM);
|
||||
embed_function("updateActorInertiaTensor", ID_TYPE_SUB);
|
||||
add_embedded_arg("actor", ID_TYPE_NUM);
|
||||
embed_function("getActorCOMPosition", ID_TYPE_SUB);
|
||||
embed_function("getActorCenter", 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);
|
||||
@@ -1728,7 +2166,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("getActorLocalPointVelocity", ID_TYPE_SUB);
|
||||
embed_function("getActorVelocityInLocalPoint", ID_TYPE_SUB);
|
||||
add_embedded_arg("actor", ID_TYPE_NUM);
|
||||
add_embedded_arg("rel_x", ID_TYPE_NUM);
|
||||
add_embedded_arg("rel_y", ID_TYPE_NUM);
|
||||
@@ -2430,55 +2868,6 @@ add_embedded_arg("actor", ID_TYPE_NUM);
|
||||
add_embedded_arg("patchX", ID_TYPE_NUM);
|
||||
add_embedded_arg("patchZ", ID_TYPE_NUM);
|
||||
add_embedded_arg("LOD", ID_TYPE_NUM);
|
||||
embed_function("CreateActorAnimation", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("actor", ID_TYPE_NUM);
|
||||
add_embedded_arg("start_frame", ID_TYPE_NUM);
|
||||
add_embedded_arg("end_frame", ID_TYPE_NUM);
|
||||
add_embedded_arg("speed", ID_TYPE_NUM);
|
||||
embed_function("SetActorAnimation", ID_TYPE_SUB);
|
||||
add_embedded_arg("actor", ID_TYPE_NUM);
|
||||
add_embedded_arg("animation", ID_TYPE_NUM);
|
||||
add_embedded_arg("num_loops", ID_TYPE_NUM);
|
||||
embed_function("SetActorAnimationSpeed", ID_TYPE_SUB);
|
||||
add_embedded_arg("actor", ID_TYPE_NUM);
|
||||
add_embedded_arg("animation", ID_TYPE_NUM);
|
||||
add_embedded_arg("speed", ID_TYPE_NUM);
|
||||
embed_function("SetActorAnimationFrames", ID_TYPE_SUB);
|
||||
add_embedded_arg("actor", ID_TYPE_NUM);
|
||||
add_embedded_arg("animation", ID_TYPE_NUM);
|
||||
add_embedded_arg("start_frame", ID_TYPE_NUM);
|
||||
add_embedded_arg("end_frame", ID_TYPE_NUM);
|
||||
embed_function("GetActorCurrentAnimation", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("actor", ID_TYPE_NUM);
|
||||
embed_function("GetActorAnimationSpeed", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("actor", ID_TYPE_NUM);
|
||||
add_embedded_arg("animation", ID_TYPE_NUM);
|
||||
embed_function("GetActorAnimationStartFrame", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("actor", ID_TYPE_NUM);
|
||||
add_embedded_arg("animation", ID_TYPE_NUM);
|
||||
embed_function("GetActorAnimationEndFrame", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("actor", ID_TYPE_NUM);
|
||||
add_embedded_arg("animation", ID_TYPE_NUM);
|
||||
embed_function("SetActorFrame", ID_TYPE_SUB);
|
||||
add_embedded_arg("actor", ID_TYPE_NUM);
|
||||
add_embedded_arg("frame", ID_TYPE_NUM);
|
||||
embed_function("GetActorFrame", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("actor", ID_TYPE_NUM);
|
||||
embed_function("ActorAnimationIsPlaying", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("actor", ID_TYPE_NUM);
|
||||
embed_function("NumActorAnimationLoops", ID_TYPE_FN_NUM);
|
||||
add_embedded_arg("actor", ID_TYPE_NUM);
|
||||
embed_function("SetActorMD2Animation", ID_TYPE_SUB);
|
||||
add_embedded_arg("actor", ID_TYPE_NUM);
|
||||
add_embedded_arg("anim", ID_TYPE_NUM);
|
||||
add_embedded_arg("num_loops", ID_TYPE_NUM);
|
||||
embed_function("SetActorMD2AnimationByName", ID_TYPE_SUB);
|
||||
add_embedded_arg("actor", ID_TYPE_NUM);
|
||||
add_embedded_arg("anim_name$", ID_TYPE_STR);
|
||||
add_embedded_arg("num_loops", ID_TYPE_NUM);
|
||||
embed_function("DeleteActorAnimation", ID_TYPE_SUB);
|
||||
add_embedded_arg("actor", ID_TYPE_NUM);
|
||||
add_embedded_arg("animation", ID_TYPE_NUM);
|
||||
embed_function("createMaterial", ID_TYPE_FN_NUM);
|
||||
embed_function("deleteMaterial", ID_TYPE_SUB);
|
||||
add_embedded_arg("material_id", ID_TYPE_NUM);
|
||||
|
||||
Reference in New Issue
Block a user