;Importfile Generated by wrapperDoc
;Number of Scanned Files:23
;Number of Functions:509
;Not Documented / only imported : 169

Import #PB_Compiler_Home + "Includes\Libraries\win32\Newton.lib"
EndImport

Import #PB_Compiler_Home + "Includes\Libraries\win32\Irrklang.lib"
EndImport

ImportC #PB_Compiler_Home + "includes\Libraries\win32\IrrlichtWrapper.lib"
 ; ----------------------------------------------------------
 ;from File : t:\projects\IrrlichtWrapperSVN\IrrlichtWrapper_1_05\IrrlichtWrapper_source\wrapperfiling.cpp
    IrrAddZipFile(filename.p-ascii, bIgnoreCase.l, bIgnorePaths.l)
    IrrAddPakFile(filename.p-ascii, bIgnoreCase.l, bIgnorePaths.l)
    IrrAddUnzipFile(filename.p-ascii, bIgnoreCase.l, bIgnorePaths.l)
    IrrChangeWorkingDirectory(path.p-ascii)
    IrrGetWorkingDirectory()
 ; ----------------------------------------------------------
 ;from File : t:\projects\IrrlichtWrapperSVN\IrrlichtWrapper_1_05\IrrlichtWrapper_source\wrappertiledterrain.cpp
    IrrAddTiledTerain(sizeX.l, sizeY.l, visibility.l)
    IrrTlTGetMaterialCount(*prt2TiledTerrainSceneNode.l)
    IrrTlTGetMaterial(*prt2TiledTerrainSceneNode.l, materialnumber.l)
    IrrTlTSetHeight(*prt2TiledTerrainSceneNode.l, posX.l, posY.l, newheight.f)
    IrrTlTGetHeight(*prt2TiledTerrainSceneNode.l, posX.l, posY.l, *newheight.f)
    IrrTlTSetNormal(*prt2TiledTerrainSceneNode.l, posX.l, posY.l, normX.f, normY.f, normZ.f)
    IrrTlTGetNormal(*prt2TiledTerrainSceneNode.l, posX.l, posY.l, *normX.f, *normY.f, *normZ.f)
    IrrTlTSetTileUVs(*prt2TiledTerrainSceneNode.l, posX.l, posY.l, uv0_X.f,uv0_Y.f,uv1_X.f,uv1_Y.f,uv2_X.f,uv2_Y.f,uv3_X.f,uv3_Y.f)
    IrrTlTGetVisibleTerrainPosition(*prt2TiledTerrainSceneNode.l, *posX.l, *posY.l)
    IrrTlTSetVisibleTerrainPosition(*prt2TiledTerrainSceneNode.l, posX.l, posY.l)
    IrrTlTCenterVisibleTerrainPos(*prt2TiledTerrainSceneNode.l, x.f, y.f, z.f)
    IrrTlTCenterVisibleTerrainNode(*prt2TiledTerrainSceneNode.l, *ptr2IrrlichtSceneNode.l)
    IrrTlTFollow(*prt2TiledTerrainSceneNode.l, *ptr2IrrlichtSceneNode.l)
    IrrTlTStopFollow(*prt2TiledTerrainSceneNode.l)
    IrrTlTgetHeightPos(*prt2TiledTerrainSceneNode.l, x.f, y.f, z.f, *retHeight.f)
    IrrTlTsetTexture(*prt2TiledTerrainSceneNode.l, filename.p-ascii)
    IrrTlTWireframe(*prt2TiledTerrainSceneNode.l, bool.l)
    IrrTlTLighting(*prt2TiledTerrainSceneNode.l, bool.l)
    IrrTlTBackfaceCulling(*prt2TiledTerrainSceneNode.l, bool.l)
    IrrTlTFog(*prt2TiledTerrainSceneNode.l, bool.l)
    IrrTlTGetSize(*prt2TiledTerrainSceneNode.l, *width.l, *height.l)
    IrrTlTGetTileSize(*prt2TiledTerrainSceneNode.l, *retSize.l)
    IrrTlTSmoothNormals(*prt2TiledTerrainSceneNode.l)
    IrrTlTGetIntersectionWithLine(*prt2TiledTerrainSceneNode.l,*vectorStart.IRR_VECTOR,*vectorEnd.IRR_VECTOR,*ourIntersection.IRR_VECTOR )
 ; ----------------------------------------------------------
 ;from File : t:\projects\IrrlichtWrapperSVN\IrrlichtWrapper_1_05\IrrlichtWrapper_source\wrapperanimation.cpp
    IrrSetNodeAnimationRange(*node.l, iStart.l, iEnd.l)
    IrrPlayNodeMD2Animation(*node.l, iAnimation.l)
    IrrPlayNodeMD2AnimationByName(*node.l, animationName.p-ascii)
    IrrSetNodeAnimationSpeed(*node.l, framesPerSecond.l)
    IrrGetNodeAnimationFrame(*node.l)
    IrrSetNodeAnimationFrame(*node.l,frameNr.l)
    IrrSetNodeAnimationLooped(*node.l,bLooped.l)
    IrrAddCollisionAnimator(*irr_selector.l, *irr_node.l, radiusx.f, radiusy.f, radiusz.f,gravityx.f,gravityy.f,gravityz.f,offsetx.f,offsety.f,offsetz.f)
    IrrAddDeleteAnimator(*irr_node.l, delete_after_n_milliseconds.l)
    IrrAddFlyCircleAnimator(*irr_node.l,centre_x.f,centre_y.f,centre_z.f, radius.f, speed.f=0.0001, dirX.f=0.0, dirY.f=1.0, dirZ.f=0.0)
    IrrAddFlyStraightAnimator(*irr_node.l, start_x.f,start_y.f, start_z.f, end_x.f,end_y.f,end_z.f,time_to_complete.l,loop_path.l)
    IrrAddRotationAnimator(*irr_node.l, x.f,y.f,z.f)
    IrrAddSplineAnimator(*irr_node.l, array_size.l,*x.f,*y.f,*z.f,time_to_start.l,speed.f,tightness.f)
    IrrAddTextureAnimator( *irr_node.l, iTextures.l,*texArray.l,speed.l,loop.l )
    IrrAddCallbackAnimator(*irr_node.l, *callback.l, userdata.l = #Null)
    IrrRemoveAnimator(*irr_node.l, *irr_animator.l)
 ; ----------------------------------------------------------
 ;from File : t:\projects\IrrlichtWrapperSVN\IrrlichtWrapper_1_05\IrrlichtWrapper_source\wrapperanimsprite.cpp
    IrrAddAnimSprite(*parent.l=#Null,id.l=-1)
    IrrAnimSpriteLoad(*animNode.l, filename.p-ascii, Ax.l, Ay.l, Aw.l, Ah.l, frmWidth.l, frmHeight.l, useClrKey.l=#False )
    IrrAnimSpriteCatch(*animNode.l, *memory.l, length.l, filename.p-ascii, Ax.l, Ay.l, Aw.l, Ah.l, frmWidth.l, frmHeight.l, useClrKey.l=#False )
    IrrAnimSpritePlayForward(*animNode.l)
    IrrAnimSpritePlayBackward(*animNode.l)
    IrrAnimSpriteSetSpeed(*animNode.l, speed.l)
    IrrAnimSpriteGetSpeed(*animNode.l)
    IrrAnimSpriteSetLoop(*animNode.l, looped.l)
    IrrAnimSpriteGetLoop(*animNode.l)
    IrrAnimSpriteResetLoop(*animNode.l)
    IrrAnimSpriteSetFrame(*animNode.l, frame.l)
    IrrAnimSpriteSetStartEndFrame(*animNode.l, StartFrame.l, EndFrame.l)
    IrrAnimSpriteGetMaxFrames(*animNode.l)
    IrrAnimSpriteSetPosition(*animNode.l, x.l, y.l, x2.l, y2.l)
    IrrAnimSpriteSetScaleToRect(*animNode.l, x.l, y.l, x2.l, y2.l)
    IrrAnimSpriteGetSize(*animNode.l, *width.l, *height.l)
    IrrAnimSpriteDraw(*animNode.l, x.l, y.l, x2.l, y2.l)
    IrrAnimSpriteSetColor(*animNode.l, alpha.l, r.l, g.l, b.l)
    IrrAnimSpriteChangeAlpha(*animNode.l, alpha.b)
 ; ----------------------------------------------------------
 ;from File : t:\projects\IrrlichtWrapperSVN\IrrlichtWrapper_1_05\IrrlichtWrapper_source\wrappercollision.cpp
    IrrGetCollisionGroupFromComplexMesh(*ptr2IrrAnimatedMesh.l, *ptr2IrrSceneNode.l)
    IrrGetCollisionGroupFromBox(*ptr2IrrSceneNode.l)
    IrrGetCollisionGroupFromTerrain(*ptr2IrrTerrainSceneNode.l, level_of_detail.l)
    IrrCreateCombinedCollisionGroup()
    IrrAddCollisionGroupToCombination(*ptr2IrrMetaTriangleSelector.l, *ptr2IrrTriangleSelector.l)
    IrrRemoveAllCollisionGroupsFromCombination(*ptr2IrrMetaTriangleSelector.l)
    IrrRemoveCollisionGroupFromCombination(*ptr2IrrMetaTriangleSelector.l, *ptr2IrrTriangleSelector.l)
    IrrGetCollisionPoint(*vectorStart.IRR_VECTOR, *vectorEnd.IRR_VECTOR, *ptr2IrrTriangleSelector.l, *vectorCollision.IRR_VECTOR)
    IrrGetRayFromScreenCoordinates(x.l, y.l, *ptr2IrrCamera.l, *vectorStart.IRR_VECTOR, *vectorEnd.IRR_VECTOR)
    IrrGetCollisionNodeFromCamera(*ptr2IrrCamera.l, bitMask.l=-1)
    IrrGetCollisionNodeFromRay(*vectorStart.IRR_VECTOR, *vectorEnd.IRR_VECTOR)
    IrrGetCollisionNodeFromScreenCoordinates(x.l, y.l)
    IrrGetCollisionNodeFromCursor(bitMask.l)
    IrrGetScreenCoordinatesFrom3DPosition( *x.l, *y.l, *vector.IRR_VECTOR)
    IrrNodesIntersect(*ptr2IrrSceneNode.l,*ptr2IrrSceneNode2.l)
    IrrCollisionAssign(*ptr2IrrSceneNode.l)
    IrrCollisionGatherCombined(*ptr2IrrSceneNode.l, *ptr2IrrMetaTriangleSelector.l)
 ; ----------------------------------------------------------
 ;from File : t:\projects\IrrlichtWrapperSVN\IrrlichtWrapper_1_05\IrrlichtWrapper_source\wrapperlighting.cpp
    IrrAddLight(x.f,y.f,z.f, red.f, green.f, blue.f, size.f)
    IrrSetAmbientLight(red.f,green.f,blue.f ,alpha.f=1.0)
    IrrSetLightAmbientColor(*node.l, alpha.l, red.l, green.l, blue.l)
    IrrSetLightSpecularColor(*node.l, alpha.l, red.l, green.l, blue.l)
    IrrSetLightDiffuseColor(*node.l, alpha.l, red.l, green.l, blue.l)
    IrrSetLightPosition(*node.l, x.f,y.f,z.f)
    IrrSetLightRadius(*node.l, radius.f)
    IrrGetLightRadius(*node.l, *radius.f)
    IrrSetLightType(*node.l, lightType.l)
 ; ----------------------------------------------------------
 ;from File : t:\projects\IrrlichtWrapperSVN\IrrlichtWrapper_1_05\IrrlichtWrapper_source\wrapper_irrklang.cpp
    IrrKlangStart( driver.l=#IRRKLANG_ESOD_AUTO_DETECT, option.l=#IRRKLANG_ESEO_DEFAULT_OPTIONS)
    IrrKlangStop()
    IrrKlangAddSound(filename.p-ascii,mode.l=#IRRKLANG_ESM_AUTO_DETECT)
    IrrKlangCatchSound(*memory.l, lemgth.l, filename.p-ascii)
    IrrKlangPlay2D(*soundsource.l, playLooped.l=#False, startPaused.l=#False,track.l=#false )
    IrrKlangPlay3D(*soundsource.l, x.f, y.f, z.f, playLooped.l=#False, startPaused.l=#False,track.l=#false )
    IrrKlangGetSoundVolume.f()
    IrrKLangSetSoundVolume(level.f)
    IrrKlangGetSoundSource(index.l)
    IrrKlangGetSoundSourceByName(name.p-ascii)
    IrrKlangGetSoundSourceCount()
    IrrKlangIsCurrentlyPlaying(*soundsource.l)
    IrrKlangIsCurrentlyPlayingByName(soundname.p-ascii)
    IrrKlangIsMultiThreaded()
    IrrKlangRemoveAllSoundSources()
    IrrKlangRemoveSoundSource(*soundsource.l)
    IrrKlangSetAllSoundsPaused(bPaused.l)
    IrrKlangListenerPosition (posx.f, posy.f, posZ.f, lookX.f, lookY.f, lookZ.f, velpersecX.f, velpersecY.f, velpersecZ.f, upVectorX.f, upVectorY.f,  upVectorZ.f)
    IrrKlangGetDefault3DSoundMaxDistance.f()
    IrrKlangGetDefault3DSoundMinDistance.f()
    IrrKlangSetDefault3DSoundMaxDistance(maxDistance.f)
    IrrKlangSetDefault3DSoundMinDistance(minDistance.f)
    IrrKlangStopAllSounds()
    IrrKlangSoundGetIsPaused(*sound.l)
    IrrKlangSoundGetMaxDistance.f(*sound.l)
    IrrKlangSoundGetMinDistance.f(*sound.l)
    IrrKlangSoundGetPan.f(*sound.l)
    IrrKlangSoundGetPlayLength(*sound.l)
    IrrKlangSoundGetPlayPosition(*sound.l)
    IrrKlangSoundGetPosition(*sound.l,*x.f,*y.f,*z.f)
    IrrKlangSoundGetSoundSource(*sound.l)
    IrrKlangSoundGetVolume.f(*sound.l)
    IrrKlangSoundIsFinished(*sound.l)
    IrrKlangSoundIsLooped(*sound.l)
    IrrKlangSoundSetIsPaused(*sound.l, bPaused.l)
    IrrKlangSoundSetMaxDistance(*sound.l, max.f)
    IrrKlangSoundSetMinDistance(*sound.l, min.f)
    IrrKlangSoundSetPan(*sound.l, pan.f)
    IrrKlangSoundSetPosition(*sound.l, x.f,y.f,z.f)
    IrrKlangSoundSetVolume(*sound.l, vol.f)
    IrrKlangSoundStop(*sound.l)
    IrrKlangSSForceReloadAtNextUse(*soundsource.l)
    IrrKlangSSGetDefaultMaxDistance.f(*soundsource.l)
    IrrKlangSSGetDefaultMinDistance.f(*soundsource.l)
    IrrKlangSSGetForcedStreamingForceThreshold(*soundsource.l)
    IrrKlangSSGetName_byMacro(*soundsource.l)
    IrrKlangSSGetPlayLength(*soundsource.l)
    IrrKlangSSGetStreamMode(*soundsource.l)
    IrrKlangSSSetDefaultMaxDistance(*soundsource.l, maxDistance.f)
    IrrKlangSSSetDefaultMinDistance(*soundsource.l, minDistance.f)
    IrrKlangSSSetForcedStreamingThreshold(*soundsource.l, thresholdBytes.l)
    
   Macro IrrKlangSSGetName(__SOUNDSOURCE__)
       PeekS(IrrKlangSSGetName_byMacro(__SOUNDSOURCE__),-1,#PB_Ascii)
   EndMacro
 ; ----------------------------------------------------------
 ;from File : t:\projects\IrrlichtWrapperSVN\IrrlichtWrapper_1_05\IrrlichtWrapper_source\wrapperkeyboardmouse.cpp
    IrrKeyEventAvailable()
    IrrReadKeyEvent()
    IrrMouseEventAvailable()
    IrrReadMouseEvent()
    IrrGuiEventAvailable()
    IrrReadGuiEvent()
    IrrDisplayMouse(bEnabled.l)
 ; ----------------------------------------------------------
 ;from File : t:\projects\IrrlichtWrapperSVN\IrrlichtWrapper_1_05\IrrlichtWrapper_source\wrapperparticles.cpp
    IrrSetParticleSize(*particleSystem.l, x.f, y.f)
    IrrAddParticleEmitter(*particleSystem.l,  *properties.IRR_PARTICLE_EMITTER)
    IrrAddFadeOutParticleAffector(*particleSystem.l, alpha.l=0, red.l=0, green.l=0, blue.l=0, timeNeededToFadeOut.l=1000)
    IrrAddGravityParticleAffector(*particleSystem.l, x.f=0.0, y.f=-0.03, z.f=0.0, timeForceLost.l = 1000)
    IrrAddStopParticleAffector(*particleSystem.l, timeWhenStop.l)
    IrrRemoveAffectors(*particleSystem.l)
    IrrAddParticleCallbackEmitter(*particleSystem.l, *properties.IRR_PARTICLE_EMITTER, *callbackfunction.l)
 ; ----------------------------------------------------------
 ;from File : t:\projects\IrrlichtWrapperSVN\IrrlichtWrapper_1_05\IrrlichtWrapper_source\wrappershader.cpp
    IrrAddHighLevelShaderMaterial(vertexShaderProgram.p-ascii, vertexProgramEntry.p-ascii, vsCompileTarget.l, pixelShaderProgram.p-ascii, pixelProgramEntry.p-ascii,  psCompileTarget.l, *ptr2shaderCallBack.l, basematerial.l, userData.l=#Null)
    IrrAddHighLevelShaderMaterialFromFiles(vertexShaderProgramFile.p-ascii, vertexProgramEntry.p-ascii, vsCompileTarget.l, pixelShaderProgramFile.p-ascii, pixelProgramEntry.p-ascii,  psCompileTarget.l, *ptr2shaderCallBack.l, basematerial.l, userData.l=#Null)
    IrrAddShaderMaterial(vertexShaderProgram.p-ascii, pixelShaderProgram.p-ascii, *ptr2shaderCallBack.l, basematerial.l, userData.l=#Null)
    IrrAddShaderMaterialFromFiles(vertexShaderProgramFile.p-ascii, pixelShaderProgramFile.p-ascii, *ptr2shaderCallBack.l, basematerial.l, userData.l=#Null)
    IrrSetPixelShaderConstant(*ptr2MaterailRendererServices.l, *datas.f, startRegister.l, count.l)
    IrrSetPixelShaderConstantName(*ptr2MaterailRendererServices.l, name.p-ascii, startRegister.l, count.l)
    IrrSetVertexShaderConstant(*ptr2MaterailRendererServices.l, *datas.f, startRegister.l, count.l)
    IrrSetVertexShaderConstantName(*ptr2MaterailRendererServices.l, name.p-ascii, startRegister.l, count.l)
 ; ----------------------------------------------------------
 ;from File : t:\projects\IrrlichtWrapperSVN\IrrlichtWrapper_1_05\IrrlichtWrapper_source\wrappernode.cpp
    IrrGetNodeParent(*node.l)
    IrrGetNodeID(*node.l)
    IrrSetNodeID(*node.l, id.l)
    IrrGetNodeName(*node.l)
    IrrSetNodeName(*node.l, nodeName.p-ascii)
    IrrDebugDataVisible(*node.l, bVisible.l)
    IrrSetNodeMaterialTexture(*node.l, *texture.l, index.l)
    IrrSetNodeMaterialFlag(*node.l, flag.l, bEnable.l)
    IrrSetNodeMaterialType(*node.l, type.l)
    IrrSetNodePosition(*node.l, x.f, y.f, z.f)
    IrrSetNodeRotation(*node.l, x.f, y.f, z.f)
    IrrSetNodeScale(*node.l, x.f, y.f, z.f)
    IrrGetNodeScale(*node.l, *x.f, *y.f, *z.f)
    IrrGetNodePosition(*node.l, *x.f, *y.f, *z.f)
    IrrGetNodeRotation(*node.l, *x.f, *y.f, *z.f)
    IrrGetNodeAbsolutePosition(*node.l, *x.f, *y.f, *z.f)
    IrrGetMS3DJointNode(*node.l, JointName.p-ascii)
    IrrGetDirectXJointNode(*node.l, JointName.p-ascii)
    IrrGetB3DJointNode(*node.l, JointName.p-ascii)
    IrrAddChildToParent(*nodeChild.l, *nodeParent)
    IrrAddNodeShadow(*node.l, bZfailmethod.l=#False, infinity.f=10000.00)
    IrrSetNodeVisibility(*node.l, bVisible.l)
    IrrGetNodeVisibility(*node.l)
    IrrRemoveNode(*node.l)
    IrrSetNodeMaterialShininess(*node.l,materialID.l, shininess.f)
    IrrGetNodeMaterial(*node.l,materialID.l)
    IrrGetNodeMaterialCount(*node.l)
    IrrGetToTargetPitchRoll(*sourceNode.l, *targetNode.l, *x.f, *y.f, *z.f)
    IrrMoveNodeForward(*node.l, speed.f)
    IrrMoveNodeRight(*node.l, speed.f)
    IrrMoveNodeUp(*node.l, speed.f)
    IrrSetNodeAutomaticCulling(*node.l, bCull.l)
    IrrSetNodeDebugData(*node.l, bDebug.l)
    IrrIsNodeDebugData(*node.l)
    IrrSetNodeAllMaterialShininess(*node.l, shininess.f)
    IrrSetNodeAllMaterialDiffuseColor(*node.l, alpha.l, red.l, green.l, blue.l)
    IrrSetNodeAllMaterialSpecularColor(*node.l, alpha.l, red.l, green.l, blue.l)
    IrrSetNodeAllMaterialEmissiveColor(*node.l, alpha.l, red.l, green.l, blue.l)
    IrrSetNodeAllMaterialAmbientColor(*node.l, alpha.l, red.l, green.l, blue.l)
    IrrGetNodeCenter(*node.l, *x.f,*y.f,*z.f)
    IrrGetNodeCenterTransformed(*node.l, *x.f,*y.f,*z.f)
    IrrGetNodeExtent(*node.l, *x.f,*y.f,*z.f)
    IrrGetNodeExtentTransformed(*node.l, *x.f,*y.f,*z.f)
    IrrRemoveAllChilds(*node.l)
    IrrGetNodeChildCount(*node.l)
    IrrGetNodeChildAt(*node.l, index.l)
    IrrSetNodeVertexColors(*node.l, alpha.l,red.l,green.l,blue.l)
    IrrRotateNodeByCenter(*node.l, mode.l, degrees.d, x.f,y.f,z.f)
    IrrRotateNodeByNode(*node.l, mode.l, degrees.d, *rotNode.l)
 ; ----------------------------------------------------------
 ;from File : t:\projects\IrrlichtWrapperSVN\IrrlichtWrapper_1_05\IrrlichtWrapper_source\wrappervideomodes.cpp
    IrrGetDesktopDepth()
    IrrGetDesktopResolution(*resol.IRR_DIM2D)
    IrrGetVideoModeCount()
    IrrGetVideoModeDepth(mode.l)
    IrrGetVideoModeResolution(mode.l,*resolution.IRR_DIM2D)
 ; ----------------------------------------------------------
 ;from File : t:\projects\IrrlichtWrapperSVN\IrrlichtWrapper_1_05\IrrlichtWrapper_source\wrapper_physics.cpp
    IrrPhysicsInit()
    IrrPhysicsClose()
    IrrPhysicsUpdate()
    IrrPhysicsAddStaticCube(*ptr2IrrlichtSceneNOde.l, size_X.f, size_y.f, size_z.f, mass.f)
    IrrPhysicsAddDynamicCube(*ptr2IrrlichtSceneNOde.l, size_X.f, size_y.f, size_z.f, mass.f)
    IrrPhysicsAddStaticSphere(*ptr2IrrlichtSceneNOde.l, radius_X.f, radius_y.f, radius_z.f, mass.f)
    IrrPhysicsAddDynamicSphere(*ptr2IrrlichtSceneNOde.l, radius_X.f, radius_y.f, radius_z.f, mass.f)
    IrrPhysicsAddStaticMesh(*ptr2IrrlichtMesh.l,*ptr2IrrSceneNode.l, scale_X.f, scale_y.f, scale_z.f, mass.f)
    IrrPhysicsAddTerrain(*ptr2IrrlichtTerrain.l)
    IrrPhysicsAddMesh(*ptr2IrrlichtMesh.l, *ptr2IrrlichtSceneNode.l, scale_X.f, scale_y.f, scale_z.f, mass.f)
    IrrPhysicsAddCar(*car.SPhysicsCar)
    IrrPhysicsSetEntityPos(*ptr2IrrlichtPhysicsEntity.l, x.f,y.f,z.f)
    IrrPhysicsGetEntityPos(*ptr2IrrlichtPhysicsEntity.l, *x.f, *y.f, *z.f)
    IrrPhysicsSetEntityRot(*ptr2IrrlichtPhysicsEntity.l, x.f, y.f, z.f)
    IrrPhysicsGetEntityRot(*ptr2IrrlichtPhysicsEntity.l, *x.f, *y.f, *z.f)
    IrrPhysicsGetEntityVelocity(*ptr2IrrlichtPhysicsEntity.l, *x.f, *y.f, *z.f)
    IrrPhysicsSetEntityVelocity(*ptr2IrrlichtPhysicsEntity.l, x.f, y.f, z.f)
    IrrPhysicsSetEntityMassMatrix(*ptr2IrrlichtPhysicsEntity.l, mass.f, x.f, y.f, z.f)
    IrrPhysicsCarSetSteeringPercent(*ptr2IrrlichtPhysicsCar.l, steeringPercent.f)
    IrrPhysicsCarSetThrottlePercent(*ptr2IrrlichtPhysicsCar.l, throttlePercent.f)
    IrrPhysicsCarSetBrakesPercent(*ptr2IrrlichtPhysicsCar.l, brakesPercent.f)
    IrrVectorNormalize(*x.f, *y.f, *z.f)
 ; ----------------------------------------------------------
 ;from File : t:\projects\IrrlichtWrapperSVN\IrrlichtWrapper_1_05\IrrlichtWrapper_source\wrappermatrix.cpp
    IrrMatrixGetTransform( transformstate.l, *resMat.f )
    IrrMatrixMakeInverse( *inMat.f, *resMat.f )
    IrrMatrixMakeIdentity( *inMat.f, *resMat.f )
    IrrMatrixGetTransposed( *inMat.f, *resMat.f )
    IrrMatrixGetWorldView( *resMat.f )
 ; ----------------------------------------------------------
 ;from File : t:\projects\IrrlichtWrapperSVN\IrrlichtWrapper_1_05\IrrlichtWrapper_source\wrappersystem.cpp
    IrrStart(Irr_Device_Type.l, Width.l, Height.l, Fullscreen.l, Shadows.l, CaptureEvents.l)
    IrrStartEx(Irr_Device_Type.l, Width.l, Height.l, Fullscreen.l, Shadows.l, CaptureEvents.l, Bits.l, AntiAlias.l, useFPU.l, VSync.l, WindowID.l)
    IrrRunning()
    IrrBeginScene( red.l, green.l, blue.l,backBuffer.l=#True, zBuffer.l=#True)
    IrrDrawScene()
    IrrDrawGUI()
    IrrEndScene();
    IrrStop();
    IrrGetFPS()
    IrrGetPrimitivesDrawn()
    IrrSetWindowCaption(title.p-unicode)
    IrrSaveScreenshot(filename.p-ascii)
    IrrCreateRenderTargetTexture(width.l, height.l)
    IrrSetRenderTarget(*targetTexture.l,red.l, green.l, blue.l, clearBackbuffer.l=#True, clearZBuffer.l = #True)
    IrrGetCursorPosition(*pos.IRR_POS2D)
    IrrGetCursorRelativePosition(*pos.IRR_POS2DF)
    IrrQueryFeature(feature.l)
    IrrWinGetHWnd()
    IrrGetExposedVideoData(*videodatas.SExposedVideoData)
    IrrSetTextureCreationFlag(flag.l, bool.l)
    IrrCreateEventReceiver(*callbackfunction.l)
    IrrDestroyEventReceiver(*eventreceiver.l)
    IrrGetEventReceiver()
    IrrSetEventReceiver(*eventreceiver.l)
    IrrIsWindowActive()
    IrrSetResizeAble(bool.l)
    IrrGetVersion()
    IrrSetViewPort(x1.l, y1.l, x2.l, y2.l)
    IrrGetViewPort(*x1.l, *y1.l, *x2.l, *y2.l)
    IrrPostEventFromUser(UserData1.l,UserData2.l,UserData3.f)
 ; ----------------------------------------------------------
 ;from File : t:\projects\IrrlichtWrapperSVN\IrrlichtWrapper_1_05\IrrlichtWrapper_source\wrapperxml.cpp
    IrrXmlCreateReader(filename.p-ascii)
    IrrXmlFreeReader(*xmlreader.l)
    IrrXmlRead(*xmlreader.l)
    IrrXmlGetAttributeCount(*xmlreader.l)
    IrrXmlGetAttributeName(*xmlreader.l, index.l)
    IrrXmlGetAttributeValue(*xmlreader.l, index.l)
    IrrXmlGetAttributeValueByName(*xmlreader.l, attributeName.p-unicode)
    IrrXmlGetNodeName(*xmlreader.l)
    IrrXmlGetNodeData(*xmlreader.l)
    IrrXmlGetNodeType(*xmlreader.l)
    IrrXmlIsEmptyElement(*xmlreader.l)
 ; ----------------------------------------------------------
 ;from File : t:\projects\IrrlichtWrapperSVN\IrrlichtWrapper_1_05\IrrlichtWrapper_source\wrapperterrain.cpp
    IrrAddTerrain(filename.p-ascii)
    IrrScaleTexture(*terrain, scale1.f, scale2.f)
    IrrTerrainHeight(*terrain, x.f, y.f, *height.f)
    IrrTerrainGetIndexCount(*terrain)
    IrrTerrainGetCenter(*terrain,*x.f,*y.f,*z.f)
    IrrTerrainOverrideLODDistance(*terrain, LOD.l, newDistance.d)
    IrrTerrainSetCameraMovementDelta(*terrain, delta.f = 10.0)
    IrrTerrainSetCameraRotationDelta(*terrain, delta.f=1.0)
    IrrTerrainSetDynamicSelectorUpdate(*terrain, bbVal.l)
    IrrTerrainSetLODOfPatch(*terrain, patchX.l, patchZ.l, LOD.l)
 ; ----------------------------------------------------------
 ;from File : t:\projects\IrrlichtWrapperSVN\IrrlichtWrapper_1_05\IrrlichtWrapper_source\wrapper2d.cpp
    IrrGetTexture( TextureFilename.p-ascii )
    IrrColorKeyTexture( *texture.l, red.l, green.l, blue.l )
    IrrColorKeyTextureFromPoint( *texture.l, x.l, y.l)
    IrrDraw2DImage( *texture.l, x.l, y.l)
    IrrDraw2DImageElement(*texture.l, x.l,y.l, source_tx.l,source_ty.l, source_bx.l,source_by.l,use_alpha.l=#True,color_alpha.l=255,color_r.l=255,color_g.l=255,color_b.l=255)
    IrrGetFont( Path2Font.p-ascii )
    Irr2DFontDraw( *BitmapFont, MyText.p-unicode, Top_X.l, Top_Y.l, Bottom_X.l, Bottom_Y.l )
    IrrCreateImageFromData(ColorFormat.l,ImageWidth.l,ImageHeight.l,*ptr2Image )
    IrrAddTextureFromImage( TextureName.p-ascii , *ptr2IrrlichtImage )
    IrrImageLock( *ptr2IrrlichtImage )
    IrrImageUnLock( *ptr2IrrlichtImage )
    IrrImageWidth( *ptr2IrrlichtImage )
    IrrImageHeight( *ptr2IrrlichtImage )
    IrrImageBitsPerPixel( *ptr2IrrlichtImage )
    IrrImageBytesPerPixel( *ptr2IrrlichtImage )
    IrrImageDataSizeInBytes( *ptr2IrrlichtImage )
    IrrImageDataSizeInPixels( *ptr2IrrlichtImage )
    IrrImageGetPixel( *ptr2IrrlichtImage, X_Pos.l, Y_Pos.l )
    IrrImageGetColorFormat( *ptr2IrrlichtImage )
    IrrImageGetPitch( *ptr2IrrlichtImage )
    IrrChangeTextureAlpha( *ptr2IrrlichtTexture.l, alpha.l )
 ; ----------------------------------------------------------
 ;from File : t:\projects\IrrlichtWrapperSVN\IrrlichtWrapper_1_05\IrrlichtWrapper_source\irrlichtwrapper.cpp
    IrrDropPointer(*iUnknown.l)
 ; ----------------------------------------------------------
 ;from File : t:\projects\IrrlichtWrapperSVN\IrrlichtWrapper_1_05\IrrlichtWrapper_source\wrappergui.cpp
    IrrGuiAddStaticText(Text.p-unicode, topX.l, topY.l, bottomX.l, bottomY.l, bBorder=#False, bWordWrap.l = #True, bFillBackground.l=#False, *parent.l=#Null, id.l=-1)
    IrrGuiAddButton(Text.p-unicode, topX.l, topY.l, bottomX.l, bottomY.l, *parent.l=#Null, id.l=-1)
    IrrGuiAddCheckBox(bChecked.l, topX.l, topY.l, bottomX.l, bottomY.l,Text.p-unicode, *parent.l=#Null, id.l=-1)
    IrrGuiAddComboBox(topX.l, topY.l, bottomX.l, bottomY.l, *parent.l=#Null, id.l=-1)
    IrrGuiAddContextMenu(topX.l, topY.l, bottomX.l, bottomY.l, *parent.l=#Null, id.l=-1)
    IrrGuiAddEditBox(Text.p-unicode, topX.l, topY.l, bottomX.l, bottomY.l, bBorder=#False,*parent.l=#Null, id.l=-1)
    IrrGuiAddFileOpenDialog(Text.p-unicode,  bModal=#True,*parent.l=#Null, id.l=-1)
    IrrGuiAddImage(topX.l, topY.l, bottomX.l, bottomY.l,*parent.l=#Null, id.l=-1)
    IrrGuiAddImageFromTexture(*texture.l,posX.l, posY.l, bUseAlphaCHannel.l=#True,*parent.l=#Null, id.l=-1)
    IrrGuiAddImageFromFile(filename.p-ascii,posX.l, posY.l, bUseAlphaCHannel.l=#True,*parent.l=#Null, id.l=-1)
    IrrGuiAddInOutFader()
    IrrGuiFaderFadeIn(*fader, time.l)
    IrrGuiFaderFadeOut(*fader, time.l)
    IrrGuiFaderGetColor(*fader, *alpha.l,*r.l,*g.l,*b.l)
    IrrGuiFaderSetColor(*fader, alpha.l,r.l,g.l,b.l)
    IrrGuiFaderIsReady(*fader)
    IrrGuiAddListBox(topX.l, topY.l, bottomX.l, bottomY.l, *parent.l = #Null, id.l=-1 )
    IrrGuiAddMenu( *parent.l = #Null, id.l=-1 )
    IrrGuiAddMessageBox( Caption.p-unicode, Text.p-unicode, bModal=#True, flags.l = #IRR_EMBF_OK, *parent.l=#Null, id.l=-1 )
    IrrGuiAddScrollBar( bHorizontal.l, topX.l, topY.l, bottomX.l, bottomY.l, *parent.l=#Null, id.l=-1 )
    IrrGuiAddTab( topX.l, topY.l, bottomX.l, bottomY.l, *parent.l=#Null, id.l=-1 )
    IrrGuiAddTabControl( topX.l, topY.l, bottomX.l, bottomY.l, bFillBackground.l=#True, bBorder.l=#True, *parent.l=#Null, id.l=-1 )
    IrrGuiAddToolBar( *parent.l=#Null, id.l=-1 )
    IrrGuiAddWindow( topX.l, topY.l, bottomX.l, bottomY.l, Text.p-unicode, bModal.l=#False, *parent.l=#Null, id.l=-1 )
    IrrGuiCreateSkin( SkinTemplateType.l)
    IrrGuiGetSkin()
    IrrGuiSetSkin(*ptr2IrrlichtSkin.l)
    IrrGuiGetRootGUIElement()
    IrrGuiSetText(*ptr2IrrGuiElement.l, text.p-unicode)
    IrrGuiGetText_byMacro(*ptr2IrrGuiElement.l)
    IrrGuiSetId(*ptr2IrrGuiElement.l, id.l)
    IrrGuiGetId(*ptr2IrrGuiElement.l)
    IrrGuiAddChild(*ptr2IrrGuiElementParent.l, *ptr2IrrGuiElementChild.l)
    IrrGuiBringToFront(*ptr2IrrGuiElementParent.l, *ptr2IrrGuiElement.l)
    IrrGuiGetElementFromId(*ptr2IrrGuiElementt.l, idToSearch.l, boolSerachChildren.l=#True)
    IrrGuiGetElementFromPoint(*ptr2IrrGuiElementt.l, x.l, y.l)
    IrrGuiGetType(*ptr2IrrGuiElementt.l)
    IrrGuiSetEnabled(*ptr2IrrGuiElementt.l, boolEnable.l)
    IrrGuiIsEnabled(*ptr2IrrGuiElementt.l)
    IrrGuiSetVisible(*ptr2IrrGuiElement.l, boolVisible.l)
    IrrGuiIsVisible(*ptr2IrrGuiElement.l)
    IrrGetBuitInFont()
    IrrGuiHasFocus(*ptr2IrrGuiElement.l)
    IrrGuiSetFocus(*ptr2IrrGuiElement.l)
    IrrGuiRemoveFocus(*ptr2IrrGuiElement.l)
    IrrGuiButtonGetUseAlphaChannels(*ptr2IrrGuiButton.l)
    IrrGuiButtonIsPressed(*ptr2IrrGuiButton.l)
    IrrGuiButtonSetImage2(*ptr2IrrGuiButton.l, *ptr2IrrlichtTexture.l, topX.l, topY.l, bottomX.l, bottomY.l)
    IrrGuiButtonSetImage(*ptr2IrrGuiButton.l, *ptr2IrrlichtTexture.l)
    IrrGuiButtonSetIsPushButton(*ptr2IrrGuiButton.l, boolIsPushButton.l)
    IrrGuiButtonSetOverrideFont(*ptr2IrrGuiButton.l, *ptr2IrrlichtFont.l)
    IrrGuiButtonSetPressed(*ptr2IrrGuiButton.l, boolPressed.l)
    IrrGuiButtonSetPressedImage2(*ptr2IrrGuiButton.l, *ptr2IrrlichtTexture.l, topX.l, topY.l, bottomX.l, bottomY.l)
    IrrGuiButtonSetPressedImage(*ptr2IrrGuiButton.l, *ptr2IrrlichtTexture.l)
    IrrGuiButtonSetUseAlphaChannel(*ptr2IrrGuiButton.l, boolUseAlphaChannel.l)
    IrrGuiCheckBoxIsChecked(*ptr2IrrlichtCheckbox.l)
    IrrGuiCheckBoxSetChecked(*ptr2IrrlichtCheckbox.l, boolChecked.l)
    IrrGuiComboBoxAddItem(*ptr2IrrGuiCombo.l, itemText.p-unicode)
    IrrGuiComboBoxClear(*ptr2IrrGuiCombo.l)
    IrrGuiComboBoxGetItem_byMacro(*ptr2IrrGuiCombo.l, index.l)
    IrrGuiComboBoxGetItemCount(*ptr2IrrGuiCombo.l)
    IrrGuiComboBoxGetSelected(*ptr2IrrGuiCombo.l)
    IrrGuiComboBoxSetSelected(*ptr2IrrGuiCombo.l, index.l)
    IrrGuiContextMenuAddItem(*ptr2IrrGuiContextMenu.l, text.p-unicode, id.l, boolEnable.l = #True, boolHasSubmenu.l = #False)
    IrrGuiContextMenuAddSeparator(*ptr2IrrGuiContextMenu.l)
    IrrGuiContextMenuGetItemCommandId(*ptr2IrrGuiContextMenu.l,index.l)
    IrrGuiContextMenuGetItemCount(*ptr2IrrGuiContextMenu.l)
    IrrGuiContextMenuGetItemtext(*ptr2IrrGuiContextMenu.l,index.l)
    IrrGuiContextMenuGetSelectedItem(*ptr2IrrGuiContextMenu.l)
    IrrGuiContextMenuIsItemEnabled(*ptr2IrrGuiContextMenu.l, index.l)
    IrrGuiContextMenuRemoveAllItems(*ptr2IrrGuiContextMenu.l)
    IrrGuiContextMenuRemoveItem(*ptr2IrrGuiContextMenu.l,index.l)
    IrrGuiContextMenuSetItemCommandId(*ptr2IrrGuiContextMenu.l,index.l, id.l)
    IrrGuiContextMenuSetItemEnabled(*ptr2IrrGuiContextMenu.l,index.l, boolEnabled.l)
    IrrGuiContextMenuSetItemText(*ptr2IrrGuiContextMenu.l,index.l, text.p-unicode)
    IrrGuiContextMenuGetSubMenu(*ptr2IrrGuiContextMenu.l,index.l)
    IrrGuiEditBoxEnableOverrideColor(*ptr2IrrGuiEditBox.l, boolEnable.l)
    IrrGuiEditBoxGetMax(*ptr2IrrGuiEditBox.l)
    IrrGuiEditBoxSetMax(*ptr2IrrGuiEditBox.l, max.l)
    IrrGuiEditBoxSetOverrideColor(*ptr2IrrGuiEditBox.l, red.l, green.l, blue.l)
    IrrGuiEditBoxSetOverrideFont(*ptr2IrrGuiEditBox.l, *ptr2IrrFont)
    IrrGuiFileOpenDialogGetFilename(*ptr2IrrGuiFileOpenDialog.l)
    IrrGuiImageSetImage(*ptr2IrrGuiImage.l, *ptr2IrrTexture.l)
    IrrGuiImageSetUseAlphaChannel(*ptr2IrrGuiImage.l, boolUse.l)
    IrrGuiListBoxAddItem(*ptr2IrrGuiListBox.l, text.p-unicode)
    IrrGuiListBoxClear(*ptr2IrrGuiListBox.l)
    IrrGuiListBoxGetItemCount(*ptr2IrrGuiListBox.l)
    IrrGuiListBoxGetListItem(*ptr2IrrGuiListBox.l, index.l)
    IrrGuiListBoxGetSelected(*ptr2IrrGuiListBox.l)
    IrrGuiListBoxSetSelected(*ptr2IrrGuiListBox.l, index.l)
    IrrGuiScrollBarGetPos(*ptr2IrrGuiScrollBar.l)
    IrrGuiScrollBarSetPos(*ptr2IrrGuiScrollBar.l, pos.l)
    IrrGuiScrollBarSetMax(*ptr2IrrGuiScrollBar.l, max.l)
    IrrGuiStaticEnableOverrideColor(*ptr2IrrGuiStaticText.l, boolEnable.l)
    IrrGuiStaticGetTextHeight(*ptr2IrrGuiStaticText.l)
    IrrGuiStaticSetOverrideColor(*ptr2IrrGuiStaticText.l, red.l, green.l, blue.l)
    IrrGuiStaticSetOverrideFont(*ptr2IrrGuiStaticText.l, *ptr2IrrFont.l)
    IrrGuiStaticSetWordWrap(*ptr2IrrGuiStaticText.l, boolEnable.l)
    IrrGuiTabGetNumber(*ptr2IrrGuiTab.l)
    IrrGuiTabSetBackgroundColor(*ptr2IrrGuiTab.l, red.l, green.l, blue.l)
    IrrGuiTabSetDrawBackground(*ptr2IrrGuiTab.l, boolDraw.l)
    IrrGuiTabControlAddTab(*ptr2IrrGuiTabControl.l, caption.p-unicode)
    IrrGuiTabControlGetActiveTab(*ptr2IrrGuiTabControl.l)
    IrrGuiTabControlGetTab(*ptr2IrrGuiTabControl.l, index.l)
    IrrGuiTabControlGetCount(*ptr2IrrGuiTabControl.l)
    IrrGuiTabControlSetActiveTab(*ptr2IrrGuiTabControl.l, index.l)
    IrrGuiToolBarAddButton(*ptr2IrrGuiToolBar.l, id.l, text.p-unicode, *ptr2IrrTexture.l,*ptr2IrrTexturePressed.l,boolIsPushButton.l, boolUseAlphaChannel.l )
    IrrGuiWindowGetCloseButton(*ptr2IrrGuiWindow.l )
    IrrGuiWindowGetMaximizeButton(*ptr2IrrGuiWindow.l )
    IrrGuiWindowGetMinimzeButton(*ptr2IrrGuiWindow.l )
    IrrGuiSetAlpha(alpha.l)
    IrrGuiGetAlpha()
    IrrGuiSetSkinFont(*ptr2IrrFont.l)
    IrrGuiSetSkinDefaultColor(color.l, alpha.l, red.l, green.l, blue.l)
    IrrGuiRemoveElement(*ptr2IrrGuiElement.l)
    IrrGuiSetRelativePosition(*ptr2IrrGuiElement.l, topX.l,topY.l,bottomX.l,bottomY.l)
    IrrGuiGetRelativePosition(*ptr2IrrGuiElement.l, *topX.l,*topY.l,*bottomX.l,*bottomY.l)
    IrrGuiMoveElement(*ptr2IrrGuiElement.l, topX.l,topY.l)
    IrrGuiCreateImageSkin()
    IrrGuiImageSkinLoad(*ptr2IrrGuiImageSkin.l, elemenzTape.l, filename.s, Ax.l, Ay.l, Aw.l, aH.l, frmWidth.l, frmHeight.l, boolUseColorKey.l)
    IrrGuiImageSkinSetAnimSpeed(*ptr2IrrGuiImageSkin.l, elemenzTape.l, speed.l)
    IrrGuiImageSkinGetAnimSpeed(*ptr2IrrGuiImageSkin.l, elemenzTape.l)
    IrrGuiImageSkinSetLoop(*ptr2IrrGuiImageSkin.l, elementType.l, boolLooped.l)
    IrrGuiImageSkinGetLoop(*ptr2IrrGuiImageSkin.l, elementType.l)
    IrrGuiImageSkinPlayForward(*ptr2IrrGuiImageSkin.l, elementType.l)
    IrrGuiImageSkinPlayBackward(*ptr2IrrGuiImageSkin.l, elementType.l)
    IrrGuiImageSkinResetAnim(*ptr2IrrGuiImageSkin.l, elementType.l)
    
   Macro IrrGuiComboBoxGetItem(__ELEMENT__, __INDEX__)
       PeekS(IrrGuiGetText_byMacro(__ELEMENT__,__INDEX__),-1,#PB_Unicode)
   EndMacro
    
   Macro IrrGuiGetText(__ELEMENT__)
       PeekS(IrrGuiGetText_byMacro(__ELEMENT__),-1,#PB_Unicode)
   EndMacro
 ; ----------------------------------------------------------
 ;from File : t:\projects\IrrlichtWrapperSVN\IrrlichtWrapper_1_05\IrrlichtWrapper_source\wrappermaterial.cpp
    IrrSetMaterialLighting( *ptr2IrrlichtMaterial.l, bool.l )
    IrrSetMaterialTexture( *ptr2IrrlichtMaterial.l, id.l, *ptr2IrrlichtTexture.l )
    IrrSetMaterialParam( *ptr2IrrlichtMaterial.l, paramter1.f)
    IrrSetMaterialParam2( *ptr2IrrlichtMaterial.l, paramter2.f)
    IrrSetMaterialDiffuseColor( *ptr2IrrlichtMaterial.l, alpha.l, red.l, green.l, blue.l )
    IrrSetMaterialSpecularColor( *ptr2IrrlichtMaterial.l, alpha.l, red.l, green.l, blue.l )
    IrrSetMaterialAmbientColor( *ptr2IrrlichtMaterial.l, alpha.l, red.l, green.l, blue.l )
    IrrSetMaterialEmissiveColor( *ptr2IrrlichtMaterial.l, alpha.l, red.l, green.l, blue.l )
    IrrGetMaterialTexture( *ptr2IrrlichtMaterial.l, index.l)
 ; ----------------------------------------------------------
 ;from File : t:\projects\IrrlichtWrapperSVN\IrrlichtWrapper_1_05\IrrlichtWrapper_source\wrappercamera.cpp
    IrrAddFPSCamera( bVerticalMovement.l = #False, rotateSpeed.f = 100.00, moveSpeed.f=500.00, keyMapSize.l=0, *keyMapArray.IRR_KEYMAP=#Null)
    IrrAddCamera(posX.f,posY.f,posZ.f, lookAtX.f, lookAtY.f, lookAtZ.f)
    IrrAddCameraMaya(*parentNode.l=#NULL, rotateSpeed.f=-1500.0, zoomSpeed.f=200.00, translationSpeed.f=1500.00, id.l=-1)
    IrrSetCameraTarget(*camera.l, x.f,y.f,z.f)
    IrrGetCameraTarget(*camera.l, *x.f,*y.f,*z.f)
    IrrSetCameraClipDistance(*camera.l, distance.f)
    IrrGetCameraClipDistance(*camera.l, *distance.f)
    IrrSetActiveCamera(*camera.l)
    IrrGetActiveCamera()
    IrrSetCameraFOV(*camera.l, fov.f)
    IrrGetCameraFOV(*camera.l, *fov.f)
    IrrSetCameraAspectRatio(*camera.l, ratio.f)
    IrrGetCameraAspectRatio(*camera.l, *ratio.f)
    IrrSetCameraNearValue(*camera.l, near.f)
    IrrGetCameraNearValue(*camera.l, *near.f)
    IrrSetCameraUpVector(*camera.l, upX.f, upY.f, upZ.f)
    IrrGetCameraUpVector(*camera.l, *upX.f, *upY.f, *upZ.f)
    IrrSetCameraOrthogonal(*camera.l,  bOrtho.l)
    IrrGetCameraOrthogonal(*camera.l)
 ; ----------------------------------------------------------
 ;from File : t:\projects\IrrlichtWrapperSVN\IrrlichtWrapper_1_05\IrrlichtWrapper_source\wrapperscene.cpp
    IrrGetMesh(filename.p-ascii)
    IrrGetStaticFromMesh(*animatedMesh.l,frameNumber.l=0)
    IrrGetMeshFromMemory(*memoryadress.l, size.l, name.p-ascii, deleteMemoryWhenDropped.l )
    IrrCreateMesh(name.p-ascii, vertexCount, *vertices.l, indicesCount.l, *indices.l )
    IrrRemoveMesh(*mesh.l)
    IrrGetMeshIndexCount(*mesh.l, Frame.l)
    IrrGetMeshIndices(*mesh.l, Frame.l, *memory.l)
    IrrSetMeshIndices(*mesh.l, Frame.l, *memory.l)
    IrrGetMeshVertexCount(*mesh.l, Frame.l)
    IrrGetMeshVertices(*mesh.l, Frame.l, *memory.IRR_VERT)
    IrrSetMeshVertices(*mesh.l, Frame.l, *memory.IRR_VERT)
    IrrAddMeshToScene(*mesh.l)
    IrrAddMeshToSceneAsOcttree(*mesh.l)
    IrrAddBillBoardToScene(sizex.f, sizey.f,  x.f, y.f, z.f)
    IrrAddParticleSystemToScene(bDefaultemitter.l)
    IrrAddSkyBoxToScene(*texture_up.l, *texture_down.l, *texture_left.l, *texture_right.l, * texture_front.l, *texture_back.l)
    IrrAddCubeSceneNode(size.f)
    IrrAddPlaneSceneNode(name.p-ascii, sizeX.f, sizeY.f, tilesX.l, tilesY.l, texRepeatX.f, texRepeatY.f)
    IrrAddHillPlaneSceneNode(name.p-ascii, sizeX.f, sizeY.f, tilesX.f, tilesY.f, texRepeatX.f, texRepeatY.f, hillsHeight.f, hillsCount.f)
    IrrAddHillPlaneMesh(name.p-ascii, sizeX.f, sizeY.f, tilesX.l, tilesY.l, texRepeatX.f, texRepeatY.f, hillsHeight.f, hillsCount.f)
    IrrAddWaterSceneNode(*mesh.l, waveHeight.f=2.0, waveSpeed.f=100.0, waveLength.f=30.0)
    IrrAddSphereSceneNode(radius.f, polyCount.l)
    IrrAddCylinderSceneNode(gridX.l=25, gridY.l=25, radius.f=1.0)
    IrrAddConeSceneNode(gridX.l=25, gridY.l=25, radius.f=1.0)
    IrrAddDiamondSceneNode()
    IrrAddTextSceneNode(*font.l, text.p-unicode)
    IrrAddEmptySceneNode()
    IrrAddSkyDomeToScene(*texture.l, horiRes.l, vertRes.l, texturePercentage.d, spherePercentage.d )
    IrrSetShadowColor(alpha.l, red.l, green.l, blue.l )
    IrrSetFog(alpha.l, red.l, green.l, blue.l , fogType.l, fogStart.f, fogEnd.f, fogDensity.f, pixelFog.l = #False,rangeFog.l=#False)
    IrrGetSceneNodeFromName(nodeName.p-ascii)
    IrrGetSceneNodeFromId(nodeId.l)
    IrrGetRootSceneNode()
    IrrLoadScene(sceneFile.p-ascii)
    IrrSaveScene(sceneFile.p-ascii)
    IrrMakePlanarTextureMapping(*mesh.l, resolution.f = 0.001)
    IrrAddLensFlareSceneNode()
EndImport

