shattered_ogrerb 0.5.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/shattered_ogrerb.rb +17 -0
- data/lib/shattered_ogrerb/base.rb +28 -0
- data/lib/shattered_ogrerb/camera.rb +6 -0
- data/lib/shattered_ogrerb/key_manager.rb +54 -0
- data/lib/shattered_ogrerb/light.rb +5 -0
- data/lib/shattered_ogrerb/mesh_instance.rb +92 -0
- data/lib/shattered_ogrerb/rmaterial.rb +86 -0
- data/lib/shattered_ogrerb/vector.rb +211 -0
- data/vendor/Ogre/OIS.dll +0 -0
- data/vendor/Ogre/OgreGUIRenderer.dll +0 -0
- data/vendor/Ogre/OgreMain.dll +0 -0
- data/vendor/Ogre/Plugin_BSPSceneManager.dll +0 -0
- data/vendor/Ogre/Plugin_CgProgramManager.dll +0 -0
- data/vendor/Ogre/Plugin_OctreeSceneManager.dll +0 -0
- data/vendor/Ogre/Plugin_ParticleFX.dll +0 -0
- data/vendor/Ogre/RenderSystem_Direct3D9.dll +0 -0
- data/vendor/Ogre/RenderSystem_GL.dll +0 -0
- data/vendor/Ogre/cg.dll +0 -0
- data/vendor/Ogre/plugins.cfg +9 -0
- data/vendor/ogrerb/MIT_LICENCE +19 -0
- data/vendor/ogrerb/README +79 -0
- data/vendor/ogrerb/Rakefile +220 -0
- data/vendor/ogrerb/build/navi/extconf.rb +53 -0
- data/vendor/ogrerb/build/ogre/extconf.rb +50 -0
- data/vendor/ogrerb/build/ois/extconf.rb +48 -0
- data/vendor/ogrerb/doc_src/ogre.rb +152 -0
- data/vendor/ogrerb/doc_src/ois.rb +67 -0
- data/vendor/ogrerb/lib/constants.rb +35 -0
- data/vendor/ogrerb/lib/ogre.dll +0 -0
- data/vendor/ogrerb/lib/ruby_ois.dll +0 -0
- data/vendor/ogrerb/navi/Navi.i +5 -0
- data/vendor/ogrerb/navi/NaviData.i +18 -0
- data/vendor/ogrerb/navi/NaviManager.i +5 -0
- data/vendor/ogrerb/navi/NaviProxies.i +7 -0
- data/vendor/ogrerb/navi/lib/Navi.lib +0 -0
- data/vendor/ogrerb/navi/lib/Navi_d.lib +0 -0
- data/vendor/ogrerb/navi/lib/llmozlib.lib +0 -0
- data/vendor/ogrerb/navi/lib/llmozlib_d.lib +0 -0
- data/vendor/ogrerb/navi/navi_rb.i +53 -0
- data/vendor/ogrerb/navi/std_multimap.i +581 -0
- data/vendor/ogrerb/ogre.rb +23 -0
- data/vendor/ogrerb/ogre/Application.i +59 -0
- data/vendor/ogrerb/ogre/ApplicationFrameListener.i +67 -0
- data/vendor/ogrerb/ogre/ExampleApplication.i +7 -0
- data/vendor/ogrerb/ogre/ExampleFrameListener.i +7 -0
- data/vendor/ogrerb/ogre/OgreAlignedAllocator.i +5 -0
- data/vendor/ogrerb/ogre/OgreAnimable.i +5 -0
- data/vendor/ogrerb/ogre/OgreAnimation.i +5 -0
- data/vendor/ogrerb/ogre/OgreAnimationState.i +9 -0
- data/vendor/ogrerb/ogre/OgreAnimationTrack.i +5 -0
- data/vendor/ogrerb/ogre/OgreAny.i +5 -0
- data/vendor/ogrerb/ogre/OgreArchive.i +5 -0
- data/vendor/ogrerb/ogre/OgreArchiveFactory.i +5 -0
- data/vendor/ogrerb/ogre/OgreArchiveManager.i +5 -0
- data/vendor/ogrerb/ogre/OgreAutoParamDataSource.i +5 -0
- data/vendor/ogrerb/ogre/OgreAxisAlignedBox.i +5 -0
- data/vendor/ogrerb/ogre/OgreBillboard.i +5 -0
- data/vendor/ogrerb/ogre/OgreBillboardChain.i +11 -0
- data/vendor/ogrerb/ogre/OgreBillboardParticleRenderer.i +5 -0
- data/vendor/ogrerb/ogre/OgreBillboardSet.i +5 -0
- data/vendor/ogrerb/ogre/OgreBitwise.i +5 -0
- data/vendor/ogrerb/ogre/OgreBlendMode.i +5 -0
- data/vendor/ogrerb/ogre/OgreBone.i +5 -0
- data/vendor/ogrerb/ogre/OgreBorderPanelOverlayElement.i +5 -0
- data/vendor/ogrerb/ogre/OgreCamera.i +5 -0
- data/vendor/ogrerb/ogre/OgreCodec.i +5 -0
- data/vendor/ogrerb/ogre/OgreColourValue.i +5 -0
- data/vendor/ogrerb/ogre/OgreCommon.i +33 -0
- data/vendor/ogrerb/ogre/OgreCompiler2Pass.i +5 -0
- data/vendor/ogrerb/ogre/OgreCompositionPass.i +5 -0
- data/vendor/ogrerb/ogre/OgreCompositionTargetPass.i +5 -0
- data/vendor/ogrerb/ogre/OgreCompositionTechnique.i +5 -0
- data/vendor/ogrerb/ogre/OgreCompositor.i +5 -0
- data/vendor/ogrerb/ogre/OgreCompositorChain.i +5 -0
- data/vendor/ogrerb/ogre/OgreCompositorInstance.i +5 -0
- data/vendor/ogrerb/ogre/OgreCompositorManager.i +5 -0
- data/vendor/ogrerb/ogre/OgreCompositorScriptCompiler.i +5 -0
- data/vendor/ogrerb/ogre/OgreCompositorSerializer.i +5 -0
- data/vendor/ogrerb/ogre/OgreConfig.i +5 -0
- data/vendor/ogrerb/ogre/OgreConfigDialog.i +5 -0
- data/vendor/ogrerb/ogre/OgreConfigFile.i +13 -0
- data/vendor/ogrerb/ogre/OgreConfigOptionMap.i +5 -0
- data/vendor/ogrerb/ogre/OgreController.i +5 -0
- data/vendor/ogrerb/ogre/OgreControllerManager.i +5 -0
- data/vendor/ogrerb/ogre/OgreConvexBody.i +5 -0
- data/vendor/ogrerb/ogre/OgreDDSCodec.i +5 -0
- data/vendor/ogrerb/ogre/OgreDataStream.i +9 -0
- data/vendor/ogrerb/ogre/OgreDefaultHardwareBufferManager.i +5 -0
- data/vendor/ogrerb/ogre/OgreDynLib.i +5 -0
- data/vendor/ogrerb/ogre/OgreDynLibManager.i +5 -0
- data/vendor/ogrerb/ogre/OgreEdgeListBuilder.i +5 -0
- data/vendor/ogrerb/ogre/OgreEntity.i +5 -0
- data/vendor/ogrerb/ogre/OgreErrorDialog.i +5 -0
- data/vendor/ogrerb/ogre/OgreException.i +5 -0
- data/vendor/ogrerb/ogre/OgreExternalTextureSource.i +5 -0
- data/vendor/ogrerb/ogre/OgreExternalTextureSourceManager.i +5 -0
- data/vendor/ogrerb/ogre/OgreFactoryObj.i +5 -0
- data/vendor/ogrerb/ogre/OgreFileSystem.i +5 -0
- data/vendor/ogrerb/ogre/OgreFont.i +5 -0
- data/vendor/ogrerb/ogre/OgreFontManager.i +5 -0
- data/vendor/ogrerb/ogre/OgreFrameListener.i +12 -0
- data/vendor/ogrerb/ogre/OgreFreeImageCodec.i +5 -0
- data/vendor/ogrerb/ogre/OgreFrustum.i +5 -0
- data/vendor/ogrerb/ogre/OgreGpuProgram.i +5 -0
- data/vendor/ogrerb/ogre/OgreGpuProgramManager.i +5 -0
- data/vendor/ogrerb/ogre/OgreGpuProgramUsage.i +5 -0
- data/vendor/ogrerb/ogre/OgreHardwareBuffer.i +5 -0
- data/vendor/ogrerb/ogre/OgreHardwareBufferManager.i +9 -0
- data/vendor/ogrerb/ogre/OgreHardwareIndexBuffer.i +9 -0
- data/vendor/ogrerb/ogre/OgreHardwareOcclusionQuery.i +5 -0
- data/vendor/ogrerb/ogre/OgreHardwarePixelBuffer.i +9 -0
- data/vendor/ogrerb/ogre/OgreHardwareVertexBuffer.i +10 -0
- data/vendor/ogrerb/ogre/OgreHighLevelGpuProgram.i +5 -0
- data/vendor/ogrerb/ogre/OgreHighLevelGpuProgramManager.i +5 -0
- data/vendor/ogrerb/ogre/OgreImage.i +5 -0
- data/vendor/ogrerb/ogre/OgreImageCodec.i +5 -0
- data/vendor/ogrerb/ogre/OgreInstancedGeometry.i +5 -0
- data/vendor/ogrerb/ogre/OgreIteratorWrappers.i +5 -0
- data/vendor/ogrerb/ogre/OgreKeyFrame.i +7 -0
- data/vendor/ogrerb/ogre/OgreLight.i +5 -0
- data/vendor/ogrerb/ogre/OgreLog.i +5 -0
- data/vendor/ogrerb/ogre/OgreLogManager.i +9 -0
- data/vendor/ogrerb/ogre/OgreManualObject.i +5 -0
- data/vendor/ogrerb/ogre/OgreMaterial.i +9 -0
- data/vendor/ogrerb/ogre/OgreMaterialManager.i +22 -0
- data/vendor/ogrerb/ogre/OgreMaterialScriptCompiler.i +5 -0
- data/vendor/ogrerb/ogre/OgreMaterialSerializer.i +5 -0
- data/vendor/ogrerb/ogre/OgreMath.i +48 -0
- data/vendor/ogrerb/ogre/OgreMatrix3.i +5 -0
- data/vendor/ogrerb/ogre/OgreMatrix4.i +5 -0
- data/vendor/ogrerb/ogre/OgreMemoryMacros.i +5 -0
- data/vendor/ogrerb/ogre/OgreMemoryManager.i +5 -0
- data/vendor/ogrerb/ogre/OgreMesh.i +11 -0
- data/vendor/ogrerb/ogre/OgreMeshFileFormat.i +5 -0
- data/vendor/ogrerb/ogre/OgreMeshManager.i +9 -0
- data/vendor/ogrerb/ogre/OgreMeshSerializer.i +5 -0
- data/vendor/ogrerb/ogre/OgreMeshSerializerImpl.i +5 -0
- data/vendor/ogrerb/ogre/OgreMovableObject.i +46 -0
- data/vendor/ogrerb/ogre/OgreMovablePlane.i +5 -0
- data/vendor/ogrerb/ogre/OgreNoMemoryMacros.i +5 -0
- data/vendor/ogrerb/ogre/OgreNode.i +11 -0
- data/vendor/ogrerb/ogre/OgreNumerics.i +5 -0
- data/vendor/ogrerb/ogre/OgreOverlay.i +5 -0
- data/vendor/ogrerb/ogre/OgreOverlayContainer.i +5 -0
- data/vendor/ogrerb/ogre/OgreOverlayElement.i +5 -0
- data/vendor/ogrerb/ogre/OgreOverlayElementCommands.i +5 -0
- data/vendor/ogrerb/ogre/OgreOverlayElementFactory.i +5 -0
- data/vendor/ogrerb/ogre/OgreOverlayManager.i +9 -0
- data/vendor/ogrerb/ogre/OgrePanelOverlayElement.i +5 -0
- data/vendor/ogrerb/ogre/OgreParticle.i +5 -0
- data/vendor/ogrerb/ogre/OgreParticleAffector.i +5 -0
- data/vendor/ogrerb/ogre/OgreParticleAffectorFactory.i +5 -0
- data/vendor/ogrerb/ogre/OgreParticleEmitter.i +5 -0
- data/vendor/ogrerb/ogre/OgreParticleEmitterCommands.i +5 -0
- data/vendor/ogrerb/ogre/OgreParticleEmitterFactory.i +5 -0
- data/vendor/ogrerb/ogre/OgreParticleIterator.i +5 -0
- data/vendor/ogrerb/ogre/OgreParticleSystem.i +9 -0
- data/vendor/ogrerb/ogre/OgreParticleSystemManager.i +9 -0
- data/vendor/ogrerb/ogre/OgreParticleSystemRenderer.i +9 -0
- data/vendor/ogrerb/ogre/OgrePass.i +10 -0
- data/vendor/ogrerb/ogre/OgrePatchMesh.i +11 -0
- data/vendor/ogrerb/ogre/OgrePatchSurface.i +5 -0
- data/vendor/ogrerb/ogre/OgrePixelFormat.i +5 -0
- data/vendor/ogrerb/ogre/OgrePlane.i +5 -0
- data/vendor/ogrerb/ogre/OgrePlaneBoundedVolume.i +5 -0
- data/vendor/ogrerb/ogre/OgrePlatform.i +5 -0
- data/vendor/ogrerb/ogre/OgrePlugin.i +5 -0
- data/vendor/ogrerb/ogre/OgrePolygon.i +5 -0
- data/vendor/ogrerb/ogre/OgrePose.i +5 -0
- data/vendor/ogrerb/ogre/OgrePredefinedControllers.i +5 -0
- data/vendor/ogrerb/ogre/OgrePrefabFactory.i +5 -0
- data/vendor/ogrerb/ogre/OgrePrerequisites.i +5 -0
- data/vendor/ogrerb/ogre/OgreProfiler.i +5 -0
- data/vendor/ogrerb/ogre/OgreProgressiveMesh.i +5 -0
- data/vendor/ogrerb/ogre/OgreProxies.i +10 -0
- data/vendor/ogrerb/ogre/OgreQuaternion.i +5 -0
- data/vendor/ogrerb/ogre/OgreRadixSort.i +5 -0
- data/vendor/ogrerb/ogre/OgreRay.i +5 -0
- data/vendor/ogrerb/ogre/OgreRectangle.i +5 -0
- data/vendor/ogrerb/ogre/OgreRectangle2D.i +5 -0
- data/vendor/ogrerb/ogre/OgreRenderOperation.i +5 -0
- data/vendor/ogrerb/ogre/OgreRenderQueue.i +10 -0
- data/vendor/ogrerb/ogre/OgreRenderQueueInvocation.i +5 -0
- data/vendor/ogrerb/ogre/OgreRenderQueueListener.i +5 -0
- data/vendor/ogrerb/ogre/OgreRenderQueueSortingGrouping.i +5 -0
- data/vendor/ogrerb/ogre/OgreRenderSystem.i +12 -0
- data/vendor/ogrerb/ogre/OgreRenderSystemCapabilities.i +7 -0
- data/vendor/ogrerb/ogre/OgreRenderTarget.i +27 -0
- data/vendor/ogrerb/ogre/OgreRenderTargetListener.i +7 -0
- data/vendor/ogrerb/ogre/OgreRenderTexture.i +5 -0
- data/vendor/ogrerb/ogre/OgreRenderWindow.i +9 -0
- data/vendor/ogrerb/ogre/OgreRenderable.i +5 -0
- data/vendor/ogrerb/ogre/OgreResource.i +68 -0
- data/vendor/ogrerb/ogre/OgreResourceBackgroundQueue.i +5 -0
- data/vendor/ogrerb/ogre/OgreResourceGroupManager.i +17 -0
- data/vendor/ogrerb/ogre/OgreResourceManager.i +5 -0
- data/vendor/ogrerb/ogre/OgreRibbonTrail.i +5 -0
- data/vendor/ogrerb/ogre/OgreRoot.i +9 -0
- data/vendor/ogrerb/ogre/OgreRotationalSpline.i +5 -0
- data/vendor/ogrerb/ogre/OgreSceneManager.i +17 -0
- data/vendor/ogrerb/ogre/OgreSceneManagerEnumerator.i +8 -0
- data/vendor/ogrerb/ogre/OgreSceneNode.i +9 -0
- data/vendor/ogrerb/ogre/OgreSceneQuery.i +5 -0
- data/vendor/ogrerb/ogre/OgreScriptLoader.i +5 -0
- data/vendor/ogrerb/ogre/OgreSearchOps.i +5 -0
- data/vendor/ogrerb/ogre/OgreSerializer.i +5 -0
- data/vendor/ogrerb/ogre/OgreShadowCameraSetup.i +5 -0
- data/vendor/ogrerb/ogre/OgreShadowCameraSetupFocused.i +5 -0
- data/vendor/ogrerb/ogre/OgreShadowCameraSetupLiSPSM.i +5 -0
- data/vendor/ogrerb/ogre/OgreShadowCameraSetupPlaneOptimal.i +5 -0
- data/vendor/ogrerb/ogre/OgreShadowCaster.i +5 -0
- data/vendor/ogrerb/ogre/OgreShadowTextureManager.i +7 -0
- data/vendor/ogrerb/ogre/OgreShadowVolumeExtrudeProgram.i +5 -0
- data/vendor/ogrerb/ogre/OgreSharedPtr.i +5 -0
- data/vendor/ogrerb/ogre/OgreSimpleRenderable.i +5 -0
- data/vendor/ogrerb/ogre/OgreSimpleSpline.i +5 -0
- data/vendor/ogrerb/ogre/OgreSingleton.i +9 -0
- data/vendor/ogrerb/ogre/OgreSkeleton.i +5 -0
- data/vendor/ogrerb/ogre/OgreSkeletonFileFormat.i +5 -0
- data/vendor/ogrerb/ogre/OgreSkeletonInstance.i +5 -0
- data/vendor/ogrerb/ogre/OgreSkeletonManager.i +5 -0
- data/vendor/ogrerb/ogre/OgreSkeletonSerializer.i +5 -0
- data/vendor/ogrerb/ogre/OgreSphere.i +5 -0
- data/vendor/ogrerb/ogre/OgreSpotShadowFadePng.i +5 -0
- data/vendor/ogrerb/ogre/OgreStableHeaders.i +5 -0
- data/vendor/ogrerb/ogre/OgreStaticFaceGroup.i +5 -0
- data/vendor/ogrerb/ogre/OgreStaticGeometry.i +5 -0
- data/vendor/ogrerb/ogre/OgreStdHeaders.i +5 -0
- data/vendor/ogrerb/ogre/OgreString.i +5 -0
- data/vendor/ogrerb/ogre/OgreStringConverter.i +5 -0
- data/vendor/ogrerb/ogre/OgreStringInterface.i +5 -0
- data/vendor/ogrerb/ogre/OgreStringVector.i +5 -0
- data/vendor/ogrerb/ogre/OgreSubEntity.i +5 -0
- data/vendor/ogrerb/ogre/OgreSubMesh.i +5 -0
- data/vendor/ogrerb/ogre/OgreTagPoint.i +5 -0
- data/vendor/ogrerb/ogre/OgreTechnique.i +5 -0
- data/vendor/ogrerb/ogre/OgreTextAreaOverlayElement.i +5 -0
- data/vendor/ogrerb/ogre/OgreTexture.i +9 -0
- data/vendor/ogrerb/ogre/OgreTextureManager.i +12 -0
- data/vendor/ogrerb/ogre/OgreTextureUnitState.i +12 -0
- data/vendor/ogrerb/ogre/OgreTimer.i +6 -0
- data/vendor/ogrerb/ogre/OgreUTFString.i +5 -0
- data/vendor/ogrerb/ogre/OgreUnifiedHighLevelGpuProgram.i +5 -0
- data/vendor/ogrerb/ogre/OgreUserDefinedObject.i +5 -0
- data/vendor/ogrerb/ogre/OgreVector2.i +5 -0
- data/vendor/ogrerb/ogre/OgreVector3.i +30 -0
- data/vendor/ogrerb/ogre/OgreVector4.i +5 -0
- data/vendor/ogrerb/ogre/OgreVertexBoneAssignment.i +5 -0
- data/vendor/ogrerb/ogre/OgreVertexIndexData.i +5 -0
- data/vendor/ogrerb/ogre/OgreViewport.i +5 -0
- data/vendor/ogrerb/ogre/OgreWindowEventUtilities.i +7 -0
- data/vendor/ogrerb/ogre/OgreWireBoundingBox.i +5 -0
- data/vendor/ogrerb/ogre/OgreZip.i +5 -0
- data/vendor/ogrerb/ogre/ogre_rb.i +343 -0
- data/vendor/ogrerb/ogre/std_multimap.i +581 -0
- data/vendor/ogrerb/ois/OISProxies.i +9 -0
- data/vendor/ogrerb/ois/OISRenames.i +11 -0
- data/vendor/ogrerb/ois/ois.i +135 -0
- data/vendor/ogrerb/ois/std_multimap.i +581 -0
- data/vendor/ogrerb/platform.rb +23 -0
- data/vendor/ogrerb/samples/application.rb +146 -0
- data/vendor/ogrerb/samples/application_frame_listener.rb +302 -0
- data/vendor/ogrerb/samples/application_loading_bar.rb +115 -0
- data/vendor/ogrerb/samples/bsp.rb +74 -0
- data/vendor/ogrerb/samples/cg.dll +0 -0
- data/vendor/ogrerb/samples/js3250.dll +0 -0
- data/vendor/ogrerb/samples/lighting.rb +136 -0
- data/vendor/ogrerb/samples/media/materials/scripts/CloudySky.material +17 -0
- data/vendor/ogrerb/samples/media/materials/scripts/Flare.material +17 -0
- data/vendor/ogrerb/samples/media/materials/scripts/Knot.material +14 -0
- data/vendor/ogrerb/samples/media/materials/scripts/MorningSkyBox.material +17 -0
- data/vendor/ogrerb/samples/media/materials/scripts/Ogre.material +119 -0
- data/vendor/ogrerb/samples/media/materials/scripts/Razor.material +14 -0
- data/vendor/ogrerb/samples/media/materials/scripts/Ribbon.material +19 -0
- data/vendor/ogrerb/samples/media/materials/scripts/RustySteel.material +14 -0
- data/vendor/ogrerb/samples/media/materials/scripts/SpaceSkyBox.material +17 -0
- data/vendor/ogrerb/samples/media/materials/scripts/SpaceSkyPlane.material +17 -0
- data/vendor/ogrerb/samples/media/materials/scripts/TextureEffects.material +15 -0
- data/vendor/ogrerb/samples/media/materials/scripts/dragon.material +42 -0
- data/vendor/ogrerb/samples/media/materials/scripts/smoke.material +18 -0
- data/vendor/ogrerb/samples/media/materials/textures/GreenSkin.jpg +0 -0
- data/vendor/ogrerb/samples/media/materials/textures/MtlPlat2.jpg +0 -0
- data/vendor/ogrerb/samples/media/materials/textures/RustedMetal.jpg +0 -0
- data/vendor/ogrerb/samples/media/materials/textures/RustySteel.jpg +0 -0
- data/vendor/ogrerb/samples/media/materials/textures/Water02.jpg +0 -0
- data/vendor/ogrerb/samples/media/materials/textures/WeirdEye.png +0 -0
- data/vendor/ogrerb/samples/media/materials/textures/clouds.jpg +0 -0
- data/vendor/ogrerb/samples/media/materials/textures/cursor.png +0 -0
- data/vendor/ogrerb/samples/media/materials/textures/dirt01.jpg +0 -0
- data/vendor/ogrerb/samples/media/materials/textures/flare.png +0 -0
- data/vendor/ogrerb/samples/media/materials/textures/ogreborder.png +0 -0
- data/vendor/ogrerb/samples/media/materials/textures/ogreborderUp.png +0 -0
- data/vendor/ogrerb/samples/media/materials/textures/ribbonband.png +0 -0
- data/vendor/ogrerb/samples/media/materials/textures/smoke.png +0 -0
- data/vendor/ogrerb/samples/media/materials/textures/smokecolors.png +0 -0
- data/vendor/ogrerb/samples/media/materials/textures/spacesky.jpg +0 -0
- data/vendor/ogrerb/samples/media/materials/textures/spheremap.png +0 -0
- data/vendor/ogrerb/samples/media/materials/textures/texmap2.jpg +0 -0
- data/vendor/ogrerb/samples/media/models/knot.mesh +0 -0
- data/vendor/ogrerb/samples/media/models/ogrehead.mesh +0 -0
- data/vendor/ogrerb/samples/media/models/razor.mesh +0 -0
- data/vendor/ogrerb/samples/media/packs/OgreCore.zip +0 -0
- data/vendor/ogrerb/samples/media/packs/chiropteraDM.pk3 +0 -0
- data/vendor/ogrerb/samples/media/packs/chiropteraDM.txt +99 -0
- data/vendor/ogrerb/samples/media/packs/cubemap.zip +0 -0
- data/vendor/ogrerb/samples/media/packs/cubemapsJS.zip +0 -0
- data/vendor/ogrerb/samples/media/packs/dragon.zip +0 -0
- data/vendor/ogrerb/samples/media/packs/skybox.zip +0 -0
- data/vendor/ogrerb/samples/media/particles/smoke.particle +43 -0
- data/vendor/ogrerb/samples/navi/Media/NaviDemo.material +60 -0
- data/vendor/ogrerb/samples/navi/Media/OgreCore.zip +0 -0
- data/vendor/ogrerb/samples/navi/Media/cerulean.jpg +0 -0
- data/vendor/ogrerb/samples/navi/Media/clouds.jpg +0 -0
- data/vendor/ogrerb/samples/navi/Media/controlsNaviMask.png +0 -0
- data/vendor/ogrerb/samples/navi/Media/grass.jpg +0 -0
- data/vendor/ogrerb/samples/navi/Media/knot.mesh +0 -0
- data/vendor/ogrerb/samples/navi/Media/testNaviMask.png +0 -0
- data/vendor/ogrerb/samples/navi/NaviLocal/Navi.js +136 -0
- data/vendor/ogrerb/samples/navi/NaviLocal/buttonBg.jpg +0 -0
- data/vendor/ogrerb/samples/navi/NaviLocal/controls.html +303 -0
- data/vendor/ogrerb/samples/navi/NaviLocal/knobBg.jpg +0 -0
- data/vendor/ogrerb/samples/navi/NaviLocal/moo.dropdownmenu.js +87 -0
- data/vendor/ogrerb/samples/navi/NaviLocal/mootools.v1.1.js +6964 -0
- data/vendor/ogrerb/samples/navi/NaviLocal/naviLogo.html +32 -0
- data/vendor/ogrerb/samples/navi/NaviLocal/naviLogo.png +0 -0
- data/vendor/ogrerb/samples/navi/NaviLocal/pageBg.jpg +0 -0
- data/vendor/ogrerb/samples/navi/NaviLocal/sliderBg.jpg +0 -0
- data/vendor/ogrerb/samples/navi/NaviLocal/test.html +5 -0
- data/vendor/ogrerb/samples/navi/NaviLocal/welcome.html +36 -0
- data/vendor/ogrerb/samples/navi/NaviLocal/welcome.png +0 -0
- data/vendor/ogrerb/samples/navi/chrome/chromelist.txt +597 -0
- data/vendor/ogrerb/samples/navi/chrome/classic.jar +0 -0
- data/vendor/ogrerb/samples/navi/chrome/classic.manifest +4 -0
- data/vendor/ogrerb/samples/navi/chrome/comm.jar +0 -0
- data/vendor/ogrerb/samples/navi/chrome/comm.manifest +2 -0
- data/vendor/ogrerb/samples/navi/chrome/en-US.jar +0 -0
- data/vendor/ogrerb/samples/navi/chrome/en-US.manifest +9 -0
- data/vendor/ogrerb/samples/navi/chrome/toolkit.jar +0 -0
- data/vendor/ogrerb/samples/navi/chrome/toolkit.manifest +6 -0
- data/vendor/ogrerb/samples/navi/components/FeedProcessor.js +1825 -0
- data/vendor/ogrerb/samples/navi/components/alerts.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/appshell.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/appstartup.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/auth.dll +0 -0
- data/vendor/ogrerb/samples/navi/components/autocomplete.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/autoconfig.dll +0 -0
- data/vendor/ogrerb/samples/navi/components/autoconfig.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/caps.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/chardet.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/chrome.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/commandhandler.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/commandlines.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/composer.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/compreg.dat +1474 -0
- data/vendor/ogrerb/samples/navi/components/content_base.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/content_html.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/content_htmldoc.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/content_xmldoc.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/content_xslt.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/content_xtf.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/directory.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/docshell_base.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/dom.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/dom_base.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/dom_canvas.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/dom_core.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/dom_css.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/dom_events.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/dom_html.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/dom_loadsave.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/dom_range.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/dom_sidebar.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/dom_storage.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/dom_stylesheets.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/dom_svg.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/dom_traversal.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/dom_views.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/dom_xbl.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/dom_xpath.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/dom_xul.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/downloads.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/editor.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/embed_base.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/extensions.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/exthandler.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/fastfind.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/feeds.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/find.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/gfx.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/gksvgrenderer.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/history.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/htmlparser.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/imglib2.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/inspector.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/intl.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/intlcmpt.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/jar.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/jsconsole-clhandler.js +170 -0
- data/vendor/ogrerb/samples/navi/components/jsconsole.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/jsdservice.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/layout_base.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/layout_printing.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/layout_xul.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/layout_xul_tree.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/locale.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/lwbrk.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/mimetype.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/mozbrwsr.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/mozfind.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/necko.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/necko_about.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/necko_cache.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/necko_cookie.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/necko_data.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/necko_dns.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/necko_file.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/necko_ftp.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/necko_http.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/necko_res.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/necko_socket.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/necko_strconv.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/necko_viewsource.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/nsCloseAllWindows.js +143 -0
- data/vendor/ogrerb/samples/navi/components/nsDefaultCLH.js +231 -0
- data/vendor/ogrerb/samples/navi/components/nsDictionary.js +148 -0
- data/vendor/ogrerb/samples/navi/components/nsExtensionManager.js +8497 -0
- data/vendor/ogrerb/samples/navi/components/nsHelperAppDlg.js +990 -0
- data/vendor/ogrerb/samples/navi/components/nsInterfaceInfoToIDL.js +590 -0
- data/vendor/ogrerb/samples/navi/components/nsKillAll.js +200 -0
- data/vendor/ogrerb/samples/navi/components/nsPostUpdateWin.js +711 -0
- data/vendor/ogrerb/samples/navi/components/nsProgressDialog.js +949 -0
- data/vendor/ogrerb/samples/navi/components/nsProxyAutoConfig.js +396 -0
- data/vendor/ogrerb/samples/navi/components/nsResetPref.js +175 -0
- data/vendor/ogrerb/samples/navi/components/nsURLFormatter.js +179 -0
- data/vendor/ogrerb/samples/navi/components/nsUpdateService.js +3074 -0
- data/vendor/ogrerb/samples/navi/components/nsXULAppInstall.js +301 -0
- data/vendor/ogrerb/samples/navi/components/nsXmlRpcClient.js +1038 -0
- data/vendor/ogrerb/samples/navi/components/oji.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/passwordmgr.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/pipboot.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/pipnss.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/plugin.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/pref.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/prefetch.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/profile.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/progressDlg.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/proxyObject.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/rdf.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/satchel.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/saxparser.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/shistory.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/storage.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/toolkitprofile.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/transformiix.dll +0 -0
- data/vendor/ogrerb/samples/navi/components/txmgr.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/txtsvc.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/uconv.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/unicharutil.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/universalchardet.dll +0 -0
- data/vendor/ogrerb/samples/navi/components/update.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/uriloader.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/urlformatter.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/webBrowser_core.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/webbrowserpersist.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/webshell_idls.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/websrvcs.dll +0 -0
- data/vendor/ogrerb/samples/navi/components/websrvcs.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/widget.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/windowds.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/windowwatcher.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/xml-rpc.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/xmlextras.dll +0 -0
- data/vendor/ogrerb/samples/navi/components/xpcom_base.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/xpcom_components.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/xpcom_ds.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/xpcom_io.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/xpcom_obsolete.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/xpcom_thread.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/xpcom_xpti.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/xpconnect.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/xpinstall.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/xpti.dat +1424 -0
- data/vendor/ogrerb/samples/navi/components/xulapp.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/xulapp_setup.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/xuldoc.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/xulrunner.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/xultmpl.xpt +0 -0
- data/vendor/ogrerb/samples/navi/components/xulutil.dll +0 -0
- data/vendor/ogrerb/samples/navi/controlsNaviMask.png +0 -0
- data/vendor/ogrerb/samples/navi/greprefs/all.js +1344 -0
- data/vendor/ogrerb/samples/navi/greprefs/security-prefs.js +69 -0
- data/vendor/ogrerb/samples/navi/greprefs/xpinstall.js +2 -0
- data/vendor/ogrerb/samples/navi/navi_demo.rb +207 -0
- data/vendor/ogrerb/samples/navi/plugins.cfg +10 -0
- data/vendor/ogrerb/samples/navi/plugins/NPSWF32.dll +0 -0
- data/vendor/ogrerb/samples/navi/plugins/flashplayer.xpt +0 -0
- data/vendor/ogrerb/samples/navi/plugins/npnul32.dll +0 -0
- data/vendor/ogrerb/samples/navi/res/EditorOverride.css +359 -0
- data/vendor/ogrerb/samples/navi/res/Thumbs.db +0 -0
- data/vendor/ogrerb/samples/navi/res/arrow.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/arrowd.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/bloatcycle.html +40 -0
- data/vendor/ogrerb/samples/navi/res/broken-image.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/charsetData.properties +199 -0
- data/vendor/ogrerb/samples/navi/res/charsetalias.properties +517 -0
- data/vendor/ogrerb/samples/navi/res/cmessage.txt +1 -0
- data/vendor/ogrerb/samples/navi/res/dtd/xhtml11.dtd +300 -0
- data/vendor/ogrerb/samples/navi/res/entityTables/html40Latin1.properties +146 -0
- data/vendor/ogrerb/samples/navi/res/entityTables/html40Special.properties +69 -0
- data/vendor/ogrerb/samples/navi/res/entityTables/html40Symbols.properties +164 -0
- data/vendor/ogrerb/samples/navi/res/entityTables/htmlEntityVersions.properties +50 -0
- data/vendor/ogrerb/samples/navi/res/entityTables/transliterate.properties +2367 -0
- data/vendor/ogrerb/samples/navi/res/fonts/fontEncoding.properties +127 -0
- data/vendor/ogrerb/samples/navi/res/fonts/fontNameMap.properties +134 -0
- data/vendor/ogrerb/samples/navi/res/forms.css +531 -0
- data/vendor/ogrerb/samples/navi/res/grabber.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/hiddenWindow.html +1 -0
- data/vendor/ogrerb/samples/navi/res/html.css +478 -0
- data/vendor/ogrerb/samples/navi/res/html/Thumbs.db +0 -0
- data/vendor/ogrerb/samples/navi/res/html/gopher-audio.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/html/gopher-binary.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/html/gopher-find.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/html/gopher-image.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/html/gopher-menu.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/html/gopher-movie.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/html/gopher-sound.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/html/gopher-telnet.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/html/gopher-text.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/html/gopher-unknown.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/langGroups.properties +236 -0
- data/vendor/ogrerb/samples/navi/res/language.properties +259 -0
- data/vendor/ogrerb/samples/navi/res/loading-image.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/quirk.css +282 -0
- data/vendor/ogrerb/samples/navi/res/samples/Anieyes.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/samples/Thumbs.db +0 -0
- data/vendor/ogrerb/samples/navi/res/samples/aform.css +69 -0
- data/vendor/ogrerb/samples/navi/res/samples/beeptest.html +18 -0
- data/vendor/ogrerb/samples/navi/res/samples/bform.css +45 -0
- data/vendor/ogrerb/samples/navi/res/samples/bg.jpg +0 -0
- data/vendor/ogrerb/samples/navi/res/samples/cform.css +40 -0
- data/vendor/ogrerb/samples/navi/res/samples/checkboxTest.xul +47 -0
- data/vendor/ogrerb/samples/navi/res/samples/demoform.css +97 -0
- data/vendor/ogrerb/samples/navi/res/samples/find.html +97 -0
- data/vendor/ogrerb/samples/navi/res/samples/gear1.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/samples/image_props.html +58 -0
- data/vendor/ogrerb/samples/navi/res/samples/mozform.css +256 -0
- data/vendor/ogrerb/samples/navi/res/samples/printsetup.html +175 -0
- data/vendor/ogrerb/samples/navi/res/samples/raptor.jpg +0 -0
- data/vendor/ogrerb/samples/navi/res/samples/rock_gra.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/samples/scrollbarTest1.xul +66 -0
- data/vendor/ogrerb/samples/navi/res/samples/scrollbarTest2.xul +19 -0
- data/vendor/ogrerb/samples/navi/res/samples/sliderTest1.xul +14 -0
- data/vendor/ogrerb/samples/navi/res/samples/soundtest.html +20 -0
- data/vendor/ogrerb/samples/navi/res/samples/test.wav +0 -0
- data/vendor/ogrerb/samples/navi/res/samples/test0.html +220 -0
- data/vendor/ogrerb/samples/navi/res/samples/test1.html +84 -0
- data/vendor/ogrerb/samples/navi/res/samples/test10.html +16 -0
- data/vendor/ogrerb/samples/navi/res/samples/test11.html +42 -0
- data/vendor/ogrerb/samples/navi/res/samples/test12.html +79 -0
- data/vendor/ogrerb/samples/navi/res/samples/test13.html +126 -0
- data/vendor/ogrerb/samples/navi/res/samples/test14.html +5 -0
- data/vendor/ogrerb/samples/navi/res/samples/test15.html +5 -0
- data/vendor/ogrerb/samples/navi/res/samples/test16.html +124 -0
- data/vendor/ogrerb/samples/navi/res/samples/test2.html +41 -0
- data/vendor/ogrerb/samples/navi/res/samples/test3.html +126 -0
- data/vendor/ogrerb/samples/navi/res/samples/test4.html +335 -0
- data/vendor/ogrerb/samples/navi/res/samples/test5.html +199 -0
- data/vendor/ogrerb/samples/navi/res/samples/test6.html +335 -0
- data/vendor/ogrerb/samples/navi/res/samples/test7.html +11 -0
- data/vendor/ogrerb/samples/navi/res/samples/test8-1.html +66 -0
- data/vendor/ogrerb/samples/navi/res/samples/test8.html +662 -0
- data/vendor/ogrerb/samples/navi/res/samples/test8dom.html +64 -0
- data/vendor/ogrerb/samples/navi/res/samples/test8sca.html +308 -0
- data/vendor/ogrerb/samples/navi/res/samples/test8siz.html +224 -0
- data/vendor/ogrerb/samples/navi/res/samples/test8tab.html +9 -0
- data/vendor/ogrerb/samples/navi/res/samples/test9.html +12 -0
- data/vendor/ogrerb/samples/navi/res/samples/test9a.html +39 -0
- data/vendor/ogrerb/samples/navi/res/samples/test9b.html +16 -0
- data/vendor/ogrerb/samples/navi/res/samples/test_ed.html +5 -0
- data/vendor/ogrerb/samples/navi/res/samples/test_form.html +34 -0
- data/vendor/ogrerb/samples/navi/res/samples/test_gfx.html +75 -0
- data/vendor/ogrerb/samples/navi/res/samples/test_lbox.html +100 -0
- data/vendor/ogrerb/samples/navi/res/samples/test_pr.html +87 -0
- data/vendor/ogrerb/samples/navi/res/samples/test_weight.html +45 -0
- data/vendor/ogrerb/samples/navi/res/samples/toolbarTest1.xul +51 -0
- data/vendor/ogrerb/samples/navi/res/samples/treeTest1.css +62 -0
- data/vendor/ogrerb/samples/navi/res/samples/treeTest1.xul +110 -0
- data/vendor/ogrerb/samples/navi/res/samples/xulTest.css +130 -0
- data/vendor/ogrerb/samples/navi/res/svg.css +64 -0
- data/vendor/ogrerb/samples/navi/res/table-add-column-after-active.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/table-add-column-after-hover.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/table-add-column-after.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/table-add-column-before-active.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/table-add-column-before-hover.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/table-add-column-before.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/table-add-row-after-active.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/table-add-row-after-hover.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/table-add-row-after.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/table-add-row-before-active.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/table-add-row-before-hover.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/table-add-row-before.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/table-remove-column-active.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/table-remove-column-hover.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/table-remove-column.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/table-remove-row-active.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/table-remove-row-hover.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/table-remove-row.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/Thumbs.db +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anim.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims00.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims01.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims02.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims03.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims04.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims05.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims06.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims07.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims08.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims09.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims10.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims11.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims12.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims13.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims14.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims15.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims16.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims17.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims18.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims19.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims20.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims21.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims22.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims23.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims24.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims25.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims26.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims27.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims28.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/throbber/anims29.gif +0 -0
- data/vendor/ogrerb/samples/navi/res/ua.css +235 -0
- data/vendor/ogrerb/samples/navi/res/viewer.properties +1 -0
- data/vendor/ogrerb/samples/navi/res/viewsource.css +118 -0
- data/vendor/ogrerb/samples/navi/res/wincharset.properties +55 -0
- data/vendor/ogrerb/samples/navi/resources.cfg +14 -0
- data/vendor/ogrerb/samples/navi/testNaviMask.png +0 -0
- data/vendor/ogrerb/samples/plugins.cfg +11 -0
- data/vendor/ogrerb/samples/quake3settings.cfg +2 -0
- data/vendor/ogrerb/samples/render_to_texture.rb +159 -0
- data/vendor/ogrerb/samples/resources.cfg +14 -0
- data/vendor/ogrerb/samples/sky_box.rb +105 -0
- data/vendor/ogrerb/samples/sky_dome.rb +84 -0
- data/vendor/ogrerb/samples/sky_plane.rb +24 -0
- data/vendor/ogrerb/samples/smoke.rb +21 -0
- data/vendor/ogrerb/src_headers/ExampleApplication/ExampleApplication.h +266 -0
- data/vendor/ogrerb/src_headers/ExampleApplication/ExampleFrameListener.h +408 -0
- data/vendor/ogrerb/src_headers/ExampleApplication/ExampleLoadingBar.h +182 -0
- data/vendor/ogrerb/src_headers/OGRE/GLX/OgreConfigDialogImp.h +76 -0
- data/vendor/ogrerb/src_headers/OGRE/GLX/OgreErrorDialogImp.h +53 -0
- data/vendor/ogrerb/src_headers/OGRE/GLX/OgreTimerImp.h +63 -0
- data/vendor/ogrerb/src_headers/OGRE/Ogre.h +130 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreAlignedAllocator.h +181 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreAnimable.h +299 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreAnimation.h +406 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreAnimationState.h +229 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreAnimationTrack.h +547 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreAny.h +405 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreArchive.h +191 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreArchiveFactory.h +62 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreArchiveManager.h +130 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreAutoParamDataSource.h +225 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreAxisAlignedBox.h +790 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreBillboard.h +217 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreBillboardChain.h +343 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreBillboardParticleRenderer.h +250 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreBillboardSet.h +841 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreBitwise.h +323 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreBlendMode.h +245 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreBone.h +142 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreBorderPanelOverlayElement.h +344 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreCamera.h +566 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreCodec.h +133 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreColourValue.h +319 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreCommon.h +425 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreCompiler2Pass.h +667 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreCompositionPass.h +271 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreCompositionTargetPass.h +153 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreCompositionTechnique.h +146 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreCompositor.h +179 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreCompositorChain.h +208 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreCompositorInstance.h +262 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreCompositorManager.h +170 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreCompositorScriptCompiler.h +186 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreCompositorSerializer.h +59 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreConfig.h +120 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreConfigDialog.h +50 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreConfigFile.h +102 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreConfigOptionMap.h +56 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreController.h +227 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreControllerManager.h +287 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreConvexBody.h +252 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreDDSCodec.h +90 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreDataStream.h +442 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreDefaultHardwareBufferManager.h +116 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreDynLib.h +116 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreDynLibManager.h +110 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreEdgeListBuilder.h +261 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreEntity.h +771 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreErrorDialog.h +50 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreException.h +341 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreExternalTextureSource.h +184 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreExternalTextureSourceManager.h +117 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreFactoryObj.h +65 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreFileSystem.h +111 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreFont.h +432 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreFontManager.h +93 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreFrameListener.h +106 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreFreeImageCodec.h +77 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreFrustum.h +590 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreGpuProgram.h +1632 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreGpuProgramManager.h +190 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreGpuProgramUsage.h +129 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreHardwareBuffer.h +330 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreHardwareBufferManager.h +399 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreHardwareIndexBuffer.h +78 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreHardwareOcclusionQuery.h +125 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreHardwarePixelBuffer.h +198 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreHardwareVertexBuffer.h +541 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreHighLevelGpuProgram.h +185 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreHighLevelGpuProgramManager.h +146 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreImage.h +428 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreImageCodec.h +82 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreInstancedGeometry.h +833 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreIteratorWrappers.h +359 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreKeyFrame.h +248 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreLight.h +433 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreLog.h +149 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreLogManager.h +163 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreManualObject.h +513 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreMaterial.h +680 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreMaterialManager.h +242 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreMaterialScriptCompiler.h +330 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreMaterialSerializer.h +278 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreMath.h +606 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreMatrix3.h +306 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreMatrix4.h +603 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreMemoryMacros.h +69 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreMemoryManager.h +422 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreMesh.h +875 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreMeshFileFormat.h +277 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreMeshManager.h +431 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreMeshSerializer.h +99 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreMeshSerializerImpl.h +218 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreMovableObject.h +530 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreMovablePlane.h +87 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreNoMemoryMacros.h +42 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreNode.h +727 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreNumerics.h +55 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreOverlay.h +285 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreOverlayContainer.h +145 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreOverlayElement.h +490 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreOverlayElementCommands.h +115 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreOverlayElementFactory.h +121 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreOverlayManager.h +235 -0
- data/vendor/ogrerb/src_headers/OGRE/OgrePanelOverlayElement.h +154 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreParticle.h +147 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreParticleAffector.h +116 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreParticleAffectorFactory.h +74 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreParticleEmitter.h +506 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreParticleEmitterCommands.h +200 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreParticleEmitterFactory.h +77 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreParticleIterator.h +61 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreParticleSystem.h +878 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreParticleSystemManager.h +389 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreParticleSystemRenderer.h +124 -0
- data/vendor/ogrerb/src_headers/OGRE/OgrePass.h +1321 -0
- data/vendor/ogrerb/src_headers/OGRE/OgrePatchMesh.h +152 -0
- data/vendor/ogrerb/src_headers/OGRE/OgrePatchSurface.h +233 -0
- data/vendor/ogrerb/src_headers/OGRE/OgrePixelFormat.h +473 -0
- data/vendor/ogrerb/src_headers/OGRE/OgrePlane.h +154 -0
- data/vendor/ogrerb/src_headers/OGRE/OgrePlaneBoundedVolume.h +128 -0
- data/vendor/ogrerb/src_headers/OGRE/OgrePlatform.h +224 -0
- data/vendor/ogrerb/src_headers/OGRE/OgrePlugin.h +132 -0
- data/vendor/ogrerb/src_headers/OGRE/OgrePolygon.h +130 -0
- data/vendor/ogrerb/src_headers/OGRE/OgrePose.h +111 -0
- data/vendor/ogrerb/src_headers/OGRE/OgrePredefinedControllers.h +285 -0
- data/vendor/ogrerb/src_headers/OGRE/OgrePrefabFactory.h +66 -0
- data/vendor/ogrerb/src_headers/OGRE/OgrePrerequisites.h +390 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreProfiler.h +415 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreProgressiveMesh.h +248 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreQuaternion.h +277 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreRadixSort.h +322 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreRay.h +115 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreRectangle.h +69 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreRectangle2D.h +79 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreRenderOperation.h +84 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreRenderQueue.h +256 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreRenderQueueInvocation.h +218 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreRenderQueueListener.h +89 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreRenderQueueSortingGrouping.h +653 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreRenderSystem.h +1255 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreRenderSystemCapabilities.h +380 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreRenderTarget.h +359 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreRenderTargetListener.h +132 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreRenderTexture.h +101 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreRenderWindow.h +204 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreRenderable.h +296 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreResource.h +415 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreResourceBackgroundQueue.h +453 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreResourceGroupManager.h +858 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreResourceManager.h +446 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreRibbonTrail.h +224 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreRoot.h +844 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreRotationalSpline.h +129 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreSceneManager.h +2871 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreSceneManagerEnumerator.h +221 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreSceneNode.h +448 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreSceneQuery.h +557 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreScriptLoader.h +89 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreSearchOps.h +65 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreSerializer.h +113 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreShadowCameraSetup.h +100 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreShadowCameraSetupFocused.h +281 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreShadowCameraSetupLiSPSM.h +226 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreShadowCameraSetupPlaneOptimal.h +81 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreShadowCaster.h +215 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreShadowTextureManager.h +145 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreShadowVolumeExtrudeProgram.h +233 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreSharedPtr.h +244 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreSimpleRenderable.h +98 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreSimpleSpline.h +130 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreSingleton.h +79 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreSkeleton.h +519 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreSkeletonFileFormat.h +102 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreSkeletonInstance.h +156 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreSkeletonManager.h +98 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreSkeletonSerializer.h +117 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreSphere.h +101 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreSpotShadowFadePng.h +648 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreStableHeaders.h +80 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreStaticFaceGroup.h +134 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreStaticGeometry.h +748 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreStdHeaders.h +102 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreString.h +149 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreStringConverter.h +246 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreStringInterface.h +332 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreStringVector.h +45 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreSubEntity.h +230 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreSubMesh.h +267 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreTagPoint.h +116 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreTechnique.h +488 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreTextAreaOverlayElement.h +247 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreTexture.h +414 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreTextureManager.h +398 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreTextureUnitState.h +1169 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreTimer.h +44 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreUTFString.h +2406 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreUnifiedHighLevelGpuProgram.h +168 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreUserDefinedObject.h +93 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreVector2.h +532 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreVector3.h +768 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreVector4.h +396 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreVertexBoneAssignment.h +56 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreVertexIndexData.h +286 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreViewport.h +331 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreWindowEventUtilities.h +151 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreWireBoundingBox.h +81 -0
- data/vendor/ogrerb/src_headers/OGRE/OgreZip.h +136 -0
- data/vendor/ogrerb/src_headers/OGRE/asm_math.h +367 -0
- data/vendor/ogrerb/src_headers/OIS/OIS.h +38 -0
- data/vendor/ogrerb/src_headers/OIS/OISConfig.h +49 -0
- data/vendor/ogrerb/src_headers/OIS/OISEffect.h +254 -0
- data/vendor/ogrerb/src_headers/OIS/OISEvents.h +43 -0
- data/vendor/ogrerb/src_headers/OIS/OISException.h +70 -0
- data/vendor/ogrerb/src_headers/OIS/OISForceFeedback.h +102 -0
- data/vendor/ogrerb/src_headers/OIS/OISInputManager.h +127 -0
- data/vendor/ogrerb/src_headers/OIS/OISInterface.h +47 -0
- data/vendor/ogrerb/src_headers/OIS/OISJoyStick.h +179 -0
- data/vendor/ogrerb/src_headers/OIS/OISKeyboard.h +310 -0
- data/vendor/ogrerb/src_headers/OIS/OISMouse.h +135 -0
- data/vendor/ogrerb/src_headers/OIS/OISObject.h +89 -0
- data/vendor/ogrerb/src_headers/OIS/OISPrereqs.h +170 -0
- data/vendor/ogrerb/src_headers/navi/Navi.h +121 -0
- data/vendor/ogrerb/src_headers/navi/NaviData.h +145 -0
- data/vendor/ogrerb/src_headers/navi/NaviEventListener.h +56 -0
- data/vendor/ogrerb/src_headers/navi/NaviManager.h +439 -0
- data/vendor/ogrerb/src_headers/navi/llmozlib.h +222 -0
- data/vendor/ogrerb/src_headers/wrappers/Application.h +61 -0
- data/vendor/ogrerb/src_headers/wrappers/ApplicationFrameListener.h +43 -0
- data/vendor/ogrerb/src_headers/wrappers/NaviProxies.h +15 -0
- data/vendor/ogrerb/src_headers/wrappers/OISProxies.h +58 -0
- data/vendor/ogrerb/src_headers/wrappers/OgreProxies.h +98 -0
- data/vendor/ogrerb/website/contact.html +43 -0
- data/vendor/ogrerb/website/docs.html +92 -0
- data/vendor/ogrerb/website/get.html +60 -0
- data/vendor/ogrerb/website/images/Thumbs.db +0 -0
- data/vendor/ogrerb/website/images/header.png +0 -0
- data/vendor/ogrerb/website/images/header.xcf +0 -0
- data/vendor/ogrerb/website/images/ogre3d.gif +0 -0
- data/vendor/ogrerb/website/images/redogrehead.png +0 -0
- data/vendor/ogrerb/website/images/ruby.png +0 -0
- data/vendor/ogrerb/website/images/sample.png +0 -0
- data/vendor/ogrerb/website/index.html +80 -0
- data/vendor/ogrerb/website/javascripts/prototype.js +3271 -0
- data/vendor/ogrerb/website/stylesheets/main.css +96 -0
- metadata +997 -0
@@ -0,0 +1,415 @@
|
|
1
|
+
/*
|
2
|
+
-----------------------------------------------------------------------------
|
3
|
+
This source file is part of OGRE
|
4
|
+
(Object-oriented Graphics Rendering Engine)
|
5
|
+
For the latest info, see http://www.ogre3d.org/
|
6
|
+
|
7
|
+
Copyright (c) 2000-2006 Torus Knot Software Ltd
|
8
|
+
Also see acknowledgements in Readme.html
|
9
|
+
|
10
|
+
This program is free software; you can redistribute it and/or modify it under
|
11
|
+
the terms of the GNU Lesser General Public License as published by the Free Software
|
12
|
+
Foundation; either version 2 of the License, or (at your option) any later
|
13
|
+
version.
|
14
|
+
|
15
|
+
This program is distributed in the hope that it will be useful, but WITHOUT
|
16
|
+
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
17
|
+
FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
18
|
+
|
19
|
+
You should have received a copy of the GNU Lesser General Public License along with
|
20
|
+
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
21
|
+
Place - Suite 330, Boston, MA 02111-1307, USA, or go to
|
22
|
+
http://www.gnu.org/copyleft/lesser.txt.
|
23
|
+
|
24
|
+
You may alternatively use this source under the terms of a specific version of
|
25
|
+
the OGRE Unrestricted License provided you have obtained such a license from
|
26
|
+
Torus Knot Software Ltd.
|
27
|
+
-----------------------------------------------------------------------------
|
28
|
+
*/
|
29
|
+
#ifndef _Resource_H__
|
30
|
+
#define _Resource_H__
|
31
|
+
|
32
|
+
#include "OgrePrerequisites.h"
|
33
|
+
#include "OgreString.h"
|
34
|
+
#include "OgreSharedPtr.h"
|
35
|
+
#include "OgreStringInterface.h"
|
36
|
+
|
37
|
+
namespace Ogre {
|
38
|
+
|
39
|
+
typedef unsigned long ResourceHandle;
|
40
|
+
|
41
|
+
|
42
|
+
// Forward declaration
|
43
|
+
class ManualResourceLoader;
|
44
|
+
|
45
|
+
/** Abstract class reprensenting a loadable resource (e.g. textures, sounds etc)
|
46
|
+
@remarks
|
47
|
+
Resources are data objects that must be loaded and managed throughout
|
48
|
+
an application. A resource might be a mesh, a texture, or any other
|
49
|
+
piece of data - the key thing is that they must be identified by
|
50
|
+
a name which is unique, must be loaded only once,
|
51
|
+
must be managed efficiently in terms of retrieval, and they may
|
52
|
+
also be unloadable to free memory up when they have not been used for
|
53
|
+
a while and the memory budget is under stress.
|
54
|
+
@par
|
55
|
+
All Resource instances must be a member of a resource group; see
|
56
|
+
ResourceGroupManager for full details.
|
57
|
+
@par
|
58
|
+
Subclasses must implement:
|
59
|
+
<ol>
|
60
|
+
<li>A constructor, overriding the same parameters as the constructor
|
61
|
+
defined by this class. Subclasses are not allowed to define
|
62
|
+
constructors with other parameters; other settings must be
|
63
|
+
settable through accessor methods before loading.</li>
|
64
|
+
<li>The loadImpl() and unloadImpl() methods - mSize must be set
|
65
|
+
after loadImpl()</li>
|
66
|
+
<li>StringInterface ParamCommand and ParamDictionary setups
|
67
|
+
in order to allow setting of core parameters (prior to load)
|
68
|
+
through a generic interface.</li>
|
69
|
+
</ol>
|
70
|
+
*/
|
71
|
+
class _OgreExport Resource : public StringInterface
|
72
|
+
{
|
73
|
+
public:
|
74
|
+
OGRE_AUTO_MUTEX // public to allow external locking
|
75
|
+
class Listener
|
76
|
+
{
|
77
|
+
public:
|
78
|
+
Listener() {}
|
79
|
+
virtual ~Listener() {}
|
80
|
+
|
81
|
+
/** Callback to indicate that background loading has completed.
|
82
|
+
@remarks
|
83
|
+
This callback is only relevant when a Resource has been
|
84
|
+
marked as background loaded (@see Resource::setBackgroundLoaded)
|
85
|
+
, and occurs when that loading has completed. The call itself
|
86
|
+
does not itself occur in the thread which is doing the loading;
|
87
|
+
when loading is complete a response indicator is placed with the
|
88
|
+
ResourceGroupManager, which will then be sent back to the
|
89
|
+
listener as part of the application's primary frame loop thread.
|
90
|
+
*/
|
91
|
+
virtual void backgroundLoadingComplete(Resource*) {}
|
92
|
+
|
93
|
+
};
|
94
|
+
|
95
|
+
/// Enum identifying the loading state of the resource
|
96
|
+
enum LoadingState
|
97
|
+
{
|
98
|
+
/// Not loaded
|
99
|
+
LOADSTATE_UNLOADED,
|
100
|
+
/// Loading is in progress
|
101
|
+
LOADSTATE_LOADING,
|
102
|
+
/// Fully loaded
|
103
|
+
LOADSTATE_LOADED,
|
104
|
+
/// Currently unloading
|
105
|
+
LOADSTATE_UNLOADING
|
106
|
+
};
|
107
|
+
protected:
|
108
|
+
/// Creator
|
109
|
+
ResourceManager* mCreator;
|
110
|
+
/// Unique name of the resource
|
111
|
+
String mName;
|
112
|
+
/// The name of the resource group
|
113
|
+
String mGroup;
|
114
|
+
/// Numeric handle for more efficient look up than name
|
115
|
+
ResourceHandle mHandle;
|
116
|
+
/// Is the resource currently loaded?
|
117
|
+
volatile LoadingState mLoadingState;
|
118
|
+
/// Is this resource going to be background loaded? Only applicable for multithreaded
|
119
|
+
volatile bool mIsBackgroundLoaded;
|
120
|
+
/// Mutex to cover the status of loading
|
121
|
+
OGRE_MUTEX(mLoadingStatusMutex)
|
122
|
+
/// The size of the resource in bytes
|
123
|
+
size_t mSize;
|
124
|
+
/// Is this file manually loaded?
|
125
|
+
bool mIsManual;
|
126
|
+
/// Origin of this resource (e.g. script name) - optional
|
127
|
+
String mOrigin;
|
128
|
+
/// Optional manual loader; if provided, data is loaded from here instead of a file
|
129
|
+
ManualResourceLoader* mLoader;
|
130
|
+
|
131
|
+
typedef std::list<Listener*> ListenerList;
|
132
|
+
ListenerList mListenerList;
|
133
|
+
|
134
|
+
/** Protected unnamed constructor to prevent default construction.
|
135
|
+
*/
|
136
|
+
Resource()
|
137
|
+
: mCreator(0), mHandle(0), mLoadingState(LOADSTATE_UNLOADED),
|
138
|
+
mIsBackgroundLoaded(false), mSize(0), mIsManual(0), mLoader(0)
|
139
|
+
{
|
140
|
+
}
|
141
|
+
|
142
|
+
/** Internal hook to perform actions before the load process, but
|
143
|
+
after the resource has been marked as 'loading'.
|
144
|
+
@note Mutex will have already been acquired by the loading thread.
|
145
|
+
Also, this call will occur even when using a ManualResourceLoader
|
146
|
+
(when loadImpl is not actually called)
|
147
|
+
*/
|
148
|
+
virtual void preLoadImpl(void) {}
|
149
|
+
/** Internal hook to perform actions after the load process, but
|
150
|
+
before the resource has been marked as fully loaded.
|
151
|
+
@note Mutex will have already been acquired by the loading thread.
|
152
|
+
Also, this call will occur even when using a ManualResourceLoader
|
153
|
+
(when loadImpl is not actually called)
|
154
|
+
*/
|
155
|
+
virtual void postLoadImpl(void) {}
|
156
|
+
|
157
|
+
/** Internal hook to perform actions before the unload process.
|
158
|
+
@note Mutex will have already been acquired by the unloading thread.
|
159
|
+
*/
|
160
|
+
virtual void preUnloadImpl(void) {}
|
161
|
+
/** Internal hook to perform actions after the unload process, but
|
162
|
+
before the resource has been marked as fully unloaded.
|
163
|
+
@note Mutex will have already been acquired by the unloading thread.
|
164
|
+
*/
|
165
|
+
virtual void postUnloadImpl(void) {}
|
166
|
+
|
167
|
+
/** Internal implementation of the meat of the 'load' action, only called if this
|
168
|
+
resource is not being loaded from a ManualResourceLoader.
|
169
|
+
*/
|
170
|
+
virtual void loadImpl(void) = 0;
|
171
|
+
/** Internal implementation of the 'unload' action; called regardless of
|
172
|
+
whether this resource is being loaded from a ManualResourceLoader.
|
173
|
+
*/
|
174
|
+
virtual void unloadImpl(void) = 0;
|
175
|
+
/** Calculate the size of a resource; this will only be called after 'load' */
|
176
|
+
virtual size_t calculateSize(void) const = 0;
|
177
|
+
|
178
|
+
/// Queue the firing of background loading complete event
|
179
|
+
virtual void queueFireBackgroundLoadingComplete(void);
|
180
|
+
|
181
|
+
public:
|
182
|
+
/** Standard constructor.
|
183
|
+
@param creator Pointer to the ResourceManager that is creating this resource
|
184
|
+
@param name The unique name of the resource
|
185
|
+
@param group The name of the resource group to which this resource belongs
|
186
|
+
@param isManual Is this resource manually loaded? If so, you should really
|
187
|
+
populate the loader parameter in order that the load process
|
188
|
+
can call the loader back when loading is required.
|
189
|
+
@param loader Pointer to a ManualResourceLoader implementation which will be called
|
190
|
+
when the Resource wishes to load (should be supplied if you set
|
191
|
+
isManual to true). You can in fact leave this parameter null
|
192
|
+
if you wish, but the Resource will never be able to reload if
|
193
|
+
anything ever causes it to unload. Therefore provision of a proper
|
194
|
+
ManualResourceLoader instance is strongly recommended.
|
195
|
+
*/
|
196
|
+
Resource(ResourceManager* creator, const String& name, ResourceHandle handle,
|
197
|
+
const String& group, bool isManual = false, ManualResourceLoader* loader = 0);
|
198
|
+
|
199
|
+
/** Virtual destructor. Shouldn't need to be overloaded, as the resource
|
200
|
+
deallocation code should reside in unload()
|
201
|
+
@see
|
202
|
+
Resource::unload()
|
203
|
+
*/
|
204
|
+
virtual ~Resource();
|
205
|
+
|
206
|
+
/** Loads the resource, if it is not already.
|
207
|
+
@remarks
|
208
|
+
If the resource is loaded from a file, loading is automatic. If not,
|
209
|
+
if for example this resource gained it's data from procedural calls
|
210
|
+
rather than loading from a file, then this resource will not reload
|
211
|
+
on it's own.
|
212
|
+
@param backgroundThread Indicates whether the caller of this method is
|
213
|
+
the background resource loading thread.
|
214
|
+
|
215
|
+
*/
|
216
|
+
virtual void load(bool backgroundThread = false);
|
217
|
+
|
218
|
+
/** Reloads the resource, if it is already loaded.
|
219
|
+
@remarks
|
220
|
+
Calls unload() and then load() again, if the resource is already
|
221
|
+
loaded. If it is not loaded already, then nothing happens.
|
222
|
+
*/
|
223
|
+
virtual void reload(void);
|
224
|
+
|
225
|
+
/** Returns true if the Resource is reloadable, false otherwise.
|
226
|
+
*/
|
227
|
+
bool isReloadable(void) const
|
228
|
+
{
|
229
|
+
return !mIsManual || mLoader;
|
230
|
+
}
|
231
|
+
|
232
|
+
/** Is this resource manually loaded?
|
233
|
+
*/
|
234
|
+
bool isManuallyLoaded(void) const
|
235
|
+
{
|
236
|
+
return mIsManual;
|
237
|
+
}
|
238
|
+
|
239
|
+
/** Unloads the resource; this is not permanent, the resource can be
|
240
|
+
reloaded later if required.
|
241
|
+
*/
|
242
|
+
virtual void unload(void);
|
243
|
+
|
244
|
+
/** Retrieves info about the size of the resource.
|
245
|
+
*/
|
246
|
+
size_t getSize(void) const
|
247
|
+
{
|
248
|
+
return mSize;
|
249
|
+
}
|
250
|
+
|
251
|
+
/** 'Touches' the resource to indicate it has been used.
|
252
|
+
*/
|
253
|
+
virtual void touch(void);
|
254
|
+
|
255
|
+
/** Gets resource name.
|
256
|
+
*/
|
257
|
+
const String& getName(void) const
|
258
|
+
{
|
259
|
+
return mName;
|
260
|
+
}
|
261
|
+
|
262
|
+
ResourceHandle getHandle(void) const
|
263
|
+
{
|
264
|
+
return mHandle;
|
265
|
+
}
|
266
|
+
|
267
|
+
/** Returns true if the Resource has been loaded, false otherwise.
|
268
|
+
*/
|
269
|
+
bool isLoaded(void) const
|
270
|
+
{
|
271
|
+
// No lock required to read this state since no modify
|
272
|
+
return (mLoadingState == LOADSTATE_LOADED);
|
273
|
+
}
|
274
|
+
|
275
|
+
/** Returns whether the resource is currently in the process of
|
276
|
+
background loading.
|
277
|
+
*/
|
278
|
+
LoadingState isLoading() const
|
279
|
+
{
|
280
|
+
return mLoadingState;
|
281
|
+
}
|
282
|
+
|
283
|
+
/** Returns the current loading state.
|
284
|
+
*/
|
285
|
+
LoadingState getLoadingState() const
|
286
|
+
{
|
287
|
+
return mLoadingState;
|
288
|
+
}
|
289
|
+
|
290
|
+
|
291
|
+
|
292
|
+
/** Returns whether this Resource has been earmarked for background loading.
|
293
|
+
@remarks
|
294
|
+
This option only makes sense when you have built Ogre with
|
295
|
+
thread support (OGRE_THREAD_SUPPORT). If a resource has been marked
|
296
|
+
for background loading, then it won't load on demand like normal
|
297
|
+
when load() is called. Instead, it will ignore request to load()
|
298
|
+
except if the caller indicates it is the background loader. Any
|
299
|
+
other users of this resource should check isLoaded(), and if that
|
300
|
+
returns false, don't use the resource and come back later.
|
301
|
+
*/
|
302
|
+
bool isBackgroundLoaded(void) const { return mIsBackgroundLoaded; }
|
303
|
+
|
304
|
+
/** Tells the resource whether it is background loaded or not.
|
305
|
+
@remarks
|
306
|
+
@see Resource::isBackgroundLoaded . Note that calling this only
|
307
|
+
defers the normal on-demand loading behaviour of a resource, it
|
308
|
+
does not actually set up a thread to make sure the resource gets
|
309
|
+
loaded in the background. You should use ResourceBackgroundLoadingQueue
|
310
|
+
to manage the actual loading (which will call this method itself).
|
311
|
+
*/
|
312
|
+
void setBackgroundLoaded(bool bl) { mIsBackgroundLoaded = bl; }
|
313
|
+
|
314
|
+
/** Escalates the loading of a background loaded resource.
|
315
|
+
@remarks
|
316
|
+
If a resource is set to load in the background, but something needs
|
317
|
+
it before it's been loaded, there could be a problem. If the user
|
318
|
+
of this resource really can't wait, they can escalate the loading
|
319
|
+
which basically pulls the loading into the current thread immediately.
|
320
|
+
If the resource is already being loaded but just hasn't quite finished
|
321
|
+
then this method will simply wait until the background load is complete.
|
322
|
+
*/
|
323
|
+
void escalateLoading();
|
324
|
+
|
325
|
+
/** Register a listener on this resource.
|
326
|
+
@see Resource::Listener
|
327
|
+
*/
|
328
|
+
void addListener(Listener* lis);
|
329
|
+
|
330
|
+
/** Remove a listener on this resource.
|
331
|
+
@see Resource::Listener
|
332
|
+
*/
|
333
|
+
void removeListener(Listener* lis);
|
334
|
+
|
335
|
+
/// Gets the group which this resource is a member of
|
336
|
+
const String& getGroup(void) { return mGroup; }
|
337
|
+
|
338
|
+
/** Change the resource group ownership of a Resource.
|
339
|
+
@remarks
|
340
|
+
This method is generally reserved for internal use, although
|
341
|
+
if you really know what you're doing you can use it to move
|
342
|
+
this resource from one group to another.
|
343
|
+
@param newGroup Name of the new group
|
344
|
+
*/
|
345
|
+
void changeGroupOwnership(const String& newGroup);
|
346
|
+
|
347
|
+
/// Gets the manager which created this resource
|
348
|
+
ResourceManager* getCreator(void) { return mCreator; }
|
349
|
+
/** Get the origin of this resource, e.g. a script file name.
|
350
|
+
@remarks
|
351
|
+
This property will only contain something if the creator of
|
352
|
+
this resource chose to populate it. Script loaders are advised
|
353
|
+
to populate it.
|
354
|
+
*/
|
355
|
+
const String& getOrigin(void) const { return mOrigin; }
|
356
|
+
/// Notify this resource of it's origin
|
357
|
+
void _notifyOrigin(const String& origin) { mOrigin = origin; }
|
358
|
+
|
359
|
+
};
|
360
|
+
|
361
|
+
/** Shared pointer to a Resource.
|
362
|
+
@remarks
|
363
|
+
This shared pointer allows many references to a resource to be held, and
|
364
|
+
when the final reference is removed, the resource will be destroyed.
|
365
|
+
Note that the ResourceManager which created this Resource will be holding
|
366
|
+
at least one reference, so this resource will not get destroyed until
|
367
|
+
someone removes the resource from the manager - this at least gives you
|
368
|
+
strong control over when resources are freed. But the nature of the
|
369
|
+
shared pointer means that if anyone refers to the removed resource in the
|
370
|
+
meantime, the resource will remain valid.
|
371
|
+
@par
|
372
|
+
You may well see references to ResourcePtr (i.e. ResourcePtr&) being passed
|
373
|
+
around internally within Ogre. These are 'weak references' ie they do
|
374
|
+
not increment the reference count on the Resource. This is done for
|
375
|
+
efficiency in temporary operations that shouldn't need to incur the
|
376
|
+
overhead of maintaining the reference count; however we don't recommend
|
377
|
+
you do it yourself since these references are not guaranteed to remain valid.
|
378
|
+
*/
|
379
|
+
typedef SharedPtr<Resource> ResourcePtr;
|
380
|
+
|
381
|
+
/** Interface describing a manual resource loader.
|
382
|
+
@remarks
|
383
|
+
Resources are usually loaded from files; however in some cases you
|
384
|
+
want to be able to set the data up manually instead. This provides
|
385
|
+
some problems, such as how to reload a Resource if it becomes
|
386
|
+
unloaded for some reason, either because of memory constraints, or
|
387
|
+
because a device fails and some or all of the data is lost.
|
388
|
+
@par
|
389
|
+
This interface should be implemented by all classes which wish to
|
390
|
+
provide manual data to a resource. They provide a pointer to themselves
|
391
|
+
when defining the resource (via the appropriate ResourceManager),
|
392
|
+
and will be called when the Resource tries to load.
|
393
|
+
They should implement the loadResource method such that the Resource
|
394
|
+
is in the end set up exactly as if it had loaded from a file,
|
395
|
+
although the implementations will likely differ between subclasses
|
396
|
+
of Resource, which is why no generic algorithm can be stated here.
|
397
|
+
@note
|
398
|
+
The loader must remain valid for the entire life of the resource,
|
399
|
+
so that if need be it can be called upon to re-load the resource
|
400
|
+
at any time.
|
401
|
+
*/
|
402
|
+
class _OgreExport ManualResourceLoader
|
403
|
+
{
|
404
|
+
public:
|
405
|
+
ManualResourceLoader() {}
|
406
|
+
virtual ~ManualResourceLoader() {}
|
407
|
+
|
408
|
+
/** Called when a resource wishes to load.
|
409
|
+
@param resource The resource which wishes to load
|
410
|
+
*/
|
411
|
+
virtual void loadResource(Resource* resource) = 0;
|
412
|
+
};
|
413
|
+
}
|
414
|
+
|
415
|
+
#endif
|
@@ -0,0 +1,453 @@
|
|
1
|
+
/*
|
2
|
+
-----------------------------------------------------------------------------
|
3
|
+
This source file is part of OGRE
|
4
|
+
(Object-oriented Graphics Rendering Engine)
|
5
|
+
For the latest info, see http://www.ogre3d.org/
|
6
|
+
|
7
|
+
Copyright (c) 2000-2006 Torus Knot Software Ltd
|
8
|
+
Also see acknowledgements in Readme.html
|
9
|
+
|
10
|
+
This program is free software; you can redistribute it and/or modify it under
|
11
|
+
the terms of the GNU Lesser General Public License as published by the Free Software
|
12
|
+
Foundation; either version 2 of the License, or (at your option) any later
|
13
|
+
version.
|
14
|
+
|
15
|
+
This program is distributed in the hope that it will be useful, but WITHOUT
|
16
|
+
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
17
|
+
FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
18
|
+
|
19
|
+
You should have received a copy of the GNU Lesser General Public License along with
|
20
|
+
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
|
21
|
+
Place - Suite 330, Boston, MA 02111-1307, USA, or go to
|
22
|
+
http://www.gnu.org/copyleft/lesser.txt.
|
23
|
+
|
24
|
+
You may alternatively use this source under the terms of a specific version of
|
25
|
+
the OGRE Unrestricted License provided you have obtained such a license from
|
26
|
+
Torus Knot Software Ltd.
|
27
|
+
-----------------------------------------------------------------------------
|
28
|
+
*/
|
29
|
+
#ifndef __ResourceBackgroundQueue_H__
|
30
|
+
#define __ResourceBackgroundQueue_H__
|
31
|
+
|
32
|
+
|
33
|
+
#include "OgrePrerequisites.h"
|
34
|
+
#include "OgreCommon.h"
|
35
|
+
#include "OgreSingleton.h"
|
36
|
+
#include "OgreResource.h"
|
37
|
+
|
38
|
+
#if OGRE_THREAD_SUPPORT
|
39
|
+
# include <boost/thread/thread.hpp>
|
40
|
+
# include <boost/thread/condition.hpp>
|
41
|
+
#endif
|
42
|
+
|
43
|
+
namespace Ogre {
|
44
|
+
|
45
|
+
/// Identifier of a background process
|
46
|
+
typedef unsigned long BackgroundProcessTicket;
|
47
|
+
|
48
|
+
/** This class is used to perform Resource operations in a
|
49
|
+
background thread.
|
50
|
+
@remarks
|
51
|
+
If threading is enabled, Ogre will create a single background thread
|
52
|
+
which can be used to load / unload resources in parallel. Only one
|
53
|
+
resource will be processed at once in this background thread, but it
|
54
|
+
will be in parallel with the main thread.
|
55
|
+
@par
|
56
|
+
The general approach here is that on requesting a background resource
|
57
|
+
process, your request is placed on a queue ready for the background
|
58
|
+
thread to be picked up, and you will get a 'ticket' back, identifying
|
59
|
+
the request. Your call will then return and your thread can
|
60
|
+
proceed, knowing that at some point in the background the operation wil
|
61
|
+
be performed. In it's own thread, the resource operation will be
|
62
|
+
performed, and once finished the ticket will be marked as complete.
|
63
|
+
You can check the status of tickets by calling isProcessComplete()
|
64
|
+
from your queueing thread. It is also possible to get immediate
|
65
|
+
callbacks on completion, but these callbacks happen in the background
|
66
|
+
loading thread (not your calling thread), so should only be used if you
|
67
|
+
really understand multithreading.
|
68
|
+
@par
|
69
|
+
By default, when threading is enabled this class will start its own
|
70
|
+
separate thread to perform the actual loading. However, if you would
|
71
|
+
prefer to use your own existing thread to perform the background load,
|
72
|
+
then be sure to call setStartBackgroundThread(false) before initialise() is
|
73
|
+
called by Root::initialise. Your own thread should call _initThread
|
74
|
+
immediately on startup, before any resources are loaded at all, and
|
75
|
+
_doNextQueuedBackgroundProcess to process background requests.
|
76
|
+
@note
|
77
|
+
This class will only perform tasks in a background thread if
|
78
|
+
OGRE_THREAD_SUPPORT is defined to be 1. Otherwise, all methods will
|
79
|
+
call their exact equivalents in ResourceGroupManager synchronously.
|
80
|
+
*/
|
81
|
+
class _OgreExport ResourceBackgroundQueue : public Singleton<ResourceBackgroundQueue>
|
82
|
+
{
|
83
|
+
public:
|
84
|
+
/** This abstract listener interface lets you get notifications of
|
85
|
+
completed background processes instead of having to poll ticket
|
86
|
+
statuses.
|
87
|
+
@note
|
88
|
+
For simplicity, these callbacks are not issued direct from the background
|
89
|
+
loading thread, they are queued themselves to be sent from the main thread
|
90
|
+
so that you don't have to be concerned about thread safety.
|
91
|
+
*/
|
92
|
+
class _OgreExport Listener
|
93
|
+
{
|
94
|
+
public:
|
95
|
+
/** Called when a requested operation completes, queued into main thread.
|
96
|
+
@note
|
97
|
+
For simplicity, this callback is not issued direct from the background
|
98
|
+
loading thread, it is queued to be sent from the main thread
|
99
|
+
so that you don't have to be concerned about thread safety.
|
100
|
+
*/
|
101
|
+
virtual void operationCompleted(BackgroundProcessTicket ticket) = 0;
|
102
|
+
/** Called when a requested operation completes, immediate in background thread.
|
103
|
+
@note
|
104
|
+
This is the advanced version of the background operation notification,
|
105
|
+
it happens immediately when the background operation is completed, and
|
106
|
+
your callback is executed in the <b>background thread</b>. Therefore if
|
107
|
+
you use this version, you have to be aware of thread safety issues
|
108
|
+
and what you can and cannot do in your callback implementation.
|
109
|
+
*/
|
110
|
+
virtual void operationCompletedInThread(BackgroundProcessTicket ticket) {}
|
111
|
+
/// Need virtual destructor in case subclasses use it
|
112
|
+
virtual ~Listener() {}
|
113
|
+
|
114
|
+
};
|
115
|
+
/// Init notification mutex (must lock before waiting on initCondition)
|
116
|
+
OGRE_MUTEX(initMutex)
|
117
|
+
/// Synchroniser token to wait / notify on thread init (public incase external thread)
|
118
|
+
OGRE_THREAD_SYNCHRONISER(initSync);
|
119
|
+
|
120
|
+
protected:
|
121
|
+
/** Enumerates the type of requests */
|
122
|
+
enum RequestType
|
123
|
+
{
|
124
|
+
RT_INITIALISE_GROUP,
|
125
|
+
RT_INITIALISE_ALL_GROUPS,
|
126
|
+
RT_LOAD_GROUP,
|
127
|
+
RT_LOAD_RESOURCE,
|
128
|
+
RT_UNLOAD_GROUP,
|
129
|
+
RT_UNLOAD_RESOURCE,
|
130
|
+
RT_SHUTDOWN
|
131
|
+
};
|
132
|
+
/** Encapsulates a queued request for the background queue */
|
133
|
+
struct Request
|
134
|
+
{
|
135
|
+
BackgroundProcessTicket ticketID;
|
136
|
+
RequestType type;
|
137
|
+
String resourceName;
|
138
|
+
ResourceHandle resourceHandle;
|
139
|
+
String resourceType;
|
140
|
+
String groupName;
|
141
|
+
bool isManual;
|
142
|
+
ManualResourceLoader* loader;
|
143
|
+
const NameValuePairList* loadParams;
|
144
|
+
Listener* listener;
|
145
|
+
};
|
146
|
+
typedef std::list<Request> RequestQueue;
|
147
|
+
typedef std::map<BackgroundProcessTicket, Request*> RequestTicketMap;
|
148
|
+
|
149
|
+
/// Queue of requests, used to store and order requests
|
150
|
+
RequestQueue mRequestQueue;
|
151
|
+
|
152
|
+
/// Request lookup by ticket
|
153
|
+
RequestTicketMap mRequestTicketMap;
|
154
|
+
|
155
|
+
/// Next ticket ID
|
156
|
+
unsigned long mNextTicketID;
|
157
|
+
|
158
|
+
/// Struct that holds details of queued notifications
|
159
|
+
struct QueuedNotification
|
160
|
+
{
|
161
|
+
QueuedNotification(Resource::Listener* l, Resource* r)
|
162
|
+
: resourceListener(l), resource(r), opListener(0), ticket(0)
|
163
|
+
{}
|
164
|
+
|
165
|
+
QueuedNotification(Listener* l, BackgroundProcessTicket t)
|
166
|
+
: resourceListener(0), resource(0), opListener(l), ticket(t)
|
167
|
+
{}
|
168
|
+
|
169
|
+
// Type 1 - Resource::Listener kind
|
170
|
+
Resource::Listener* resourceListener;
|
171
|
+
Resource* resource;
|
172
|
+
// Type 2 - ResourceBackgroundQueue::Listener kind
|
173
|
+
Listener* opListener;
|
174
|
+
BackgroundProcessTicket ticket;
|
175
|
+
};
|
176
|
+
typedef std::list<QueuedNotification> NotificationQueue;
|
177
|
+
/// Queued notifications of background loading being finished
|
178
|
+
NotificationQueue mNotificationQueue;
|
179
|
+
/// Mutex to protect the background event queue]
|
180
|
+
OGRE_MUTEX(mNotificationQueueMutex)
|
181
|
+
|
182
|
+
/// Whether this class should start it's own thread or not
|
183
|
+
bool mStartThread;
|
184
|
+
|
185
|
+
#if OGRE_THREAD_SUPPORT
|
186
|
+
/// The single background thread which will process loading requests
|
187
|
+
boost::thread* mThread;
|
188
|
+
/// Synchroniser token to wait / notify on queue
|
189
|
+
boost::condition mCondition;
|
190
|
+
/// Thread function
|
191
|
+
static void threadFunc(void);
|
192
|
+
/// Internal method for adding a request; also assigns a ticketID
|
193
|
+
BackgroundProcessTicket addRequest(Request& req);
|
194
|
+
/// Thread shutdown?
|
195
|
+
bool mShuttingDown;
|
196
|
+
#else
|
197
|
+
/// Dummy
|
198
|
+
void* mThread;
|
199
|
+
#endif
|
200
|
+
|
201
|
+
/// Private mutex, not allowed to lock from outside
|
202
|
+
OGRE_AUTO_MUTEX
|
203
|
+
|
204
|
+
/** Queue the firing of the 'background loading complete' event to
|
205
|
+
a Resource::Listener event.
|
206
|
+
@remarks
|
207
|
+
The purpose of this is to allow the background loading thread to
|
208
|
+
call this method to queue the notification to listeners waiting on
|
209
|
+
the background loading of a resource. Rather than allow the resource
|
210
|
+
background loading thread to directly call these listeners, which
|
211
|
+
would require all the listeners to be thread-safe, this method
|
212
|
+
implements a thread-safe queue which can be processed in the main
|
213
|
+
frame loop thread each frame to clear the events in a simpler
|
214
|
+
manner.
|
215
|
+
@param listener The listener to be notified
|
216
|
+
@param ticket The ticket for the operation that has completed
|
217
|
+
*/
|
218
|
+
virtual void queueFireBackgroundOperationComplete(Listener* listener,
|
219
|
+
BackgroundProcessTicket ticket);
|
220
|
+
|
221
|
+
public:
|
222
|
+
ResourceBackgroundQueue();
|
223
|
+
virtual ~ResourceBackgroundQueue();
|
224
|
+
|
225
|
+
/** Sets whether or not a thread should be created and started to handle
|
226
|
+
the background loading, or whether a user thread will call the
|
227
|
+
appropriate hooks.
|
228
|
+
@remarks
|
229
|
+
By default, a new thread will be started to handle the background
|
230
|
+
load requests. However, the application may well have some threads
|
231
|
+
of its own which is wishes to use to perform the background loading
|
232
|
+
as well as other tasks (for example on most platforms there will be
|
233
|
+
a fixed number of hardware threads which the application will wish
|
234
|
+
to work within). Use this method to turn off the creation of a separate
|
235
|
+
thread if you wish, and call the _doNextQueuedBackgroundProcess
|
236
|
+
method from your own thread to process background requests.
|
237
|
+
@note
|
238
|
+
You <b>must</b> call this method prior to initialisation. Initialisation
|
239
|
+
of this class is automatically done when Root::initialise is called.
|
240
|
+
*/
|
241
|
+
void setStartBackgroundThread(bool startThread) { mStartThread = startThread; }
|
242
|
+
|
243
|
+
/** Gets whether or not a thread should be created and started to handle
|
244
|
+
the background loading, or whether a user thread will call the
|
245
|
+
appropriate hooks.
|
246
|
+
*/
|
247
|
+
bool getStartBackgroundThread(void) { return mStartThread; }
|
248
|
+
/** Initialise the background queue system.
|
249
|
+
@note Called automatically by Root::initialise.
|
250
|
+
*/
|
251
|
+
virtual void initialise(void);
|
252
|
+
|
253
|
+
/** Shut down the background queue system.
|
254
|
+
@note Called automatically by Root::shutdown.
|
255
|
+
*/
|
256
|
+
virtual void shutdown(void);
|
257
|
+
|
258
|
+
/** Initialise a resource group in the background.
|
259
|
+
@see ResourceGroupManager::initialiseResourceGroup
|
260
|
+
@param name The name of the resource group to initialise
|
261
|
+
@param listener Optional callback interface, take note of warnings in
|
262
|
+
the header and only use if you understand them.
|
263
|
+
@returns Ticket identifying the request, use isProcessComplete() to
|
264
|
+
determine if completed if not using listener
|
265
|
+
*/
|
266
|
+
virtual BackgroundProcessTicket initialiseResourceGroup(
|
267
|
+
const String& name, Listener* listener = 0);
|
268
|
+
|
269
|
+
/** Initialise all resource groups which are yet to be initialised in
|
270
|
+
the background.
|
271
|
+
@see ResourceGroupManager::intialiseResourceGroup
|
272
|
+
@param listener Optional callback interface, take note of warnings in
|
273
|
+
the header and only use if you understand them.
|
274
|
+
@returns Ticket identifying the request, use isProcessComplete() to
|
275
|
+
determine if completed if not using listener
|
276
|
+
*/
|
277
|
+
virtual BackgroundProcessTicket initialiseAllResourceGroups(
|
278
|
+
Listener* listener = 0);
|
279
|
+
/** Loads a resource group in the background.
|
280
|
+
@see ResourceGroupManager::loadResourceGroup
|
281
|
+
@param name The name of the resource group to load
|
282
|
+
@param listener Optional callback interface, take note of warnings in
|
283
|
+
the header and only use if you understand them.
|
284
|
+
@returns Ticket identifying the request, use isProcessComplete() to
|
285
|
+
determine if completed if not using listener
|
286
|
+
*/
|
287
|
+
virtual BackgroundProcessTicket loadResourceGroup(const String& name,
|
288
|
+
Listener* listener = 0);
|
289
|
+
|
290
|
+
|
291
|
+
/** Unload a single resource in the background.
|
292
|
+
@see ResourceManager::unload
|
293
|
+
@param resType The type of the resource
|
294
|
+
(from ResourceManager::getResourceType())
|
295
|
+
@param name The name of the Resource
|
296
|
+
*/
|
297
|
+
virtual BackgroundProcessTicket unload(
|
298
|
+
const String& resType, const String& name);
|
299
|
+
|
300
|
+
/** Unload a single resource in the background.
|
301
|
+
@see ResourceManager::unload
|
302
|
+
@param resType The type of the resource
|
303
|
+
(from ResourceManager::getResourceType())
|
304
|
+
@param handle Handle to the resource
|
305
|
+
*/
|
306
|
+
virtual BackgroundProcessTicket unload(
|
307
|
+
const String& resType, ResourceHandle handle);
|
308
|
+
|
309
|
+
/** Unloads a resource group in the background.
|
310
|
+
@see ResourceGroupManager::unloadResourceGroup
|
311
|
+
@param name The name of the resource group to load
|
312
|
+
@returns Ticket identifying the request, use isProcessComplete() to
|
313
|
+
determine if completed if not using listener
|
314
|
+
*/
|
315
|
+
virtual BackgroundProcessTicket unloadResourceGroup(const String& name);
|
316
|
+
|
317
|
+
|
318
|
+
/** Load a single resource in the background.
|
319
|
+
@see ResourceManager::load
|
320
|
+
@param resType The type of the resource
|
321
|
+
(from ResourceManager::getResourceType())
|
322
|
+
@param name The name of the Resource
|
323
|
+
@param group The resource group to which this resource will belong
|
324
|
+
@param isManual Is the resource to be manually loaded? If so, you should
|
325
|
+
provide a value for the loader parameter
|
326
|
+
@param loader The manual loader which is to perform the required actions
|
327
|
+
when this resource is loaded; only applicable when you specify true
|
328
|
+
for the previous parameter. NOTE: must be thread safe!!
|
329
|
+
@param loadParams Optional pointer to a list of name/value pairs
|
330
|
+
containing loading parameters for this type of resource. Remember
|
331
|
+
that this must have a lifespan longer than the return of this call!
|
332
|
+
*/
|
333
|
+
virtual BackgroundProcessTicket load(
|
334
|
+
const String& resType, const String& name,
|
335
|
+
const String& group, bool isManual = false,
|
336
|
+
ManualResourceLoader* loader = 0,
|
337
|
+
const NameValuePairList* loadParams = 0,
|
338
|
+
Listener* listener = 0);
|
339
|
+
/** Returns whether a previously queued process has completed or not.
|
340
|
+
@remarks
|
341
|
+
This method of checking that a background process has completed is
|
342
|
+
the 'polling' approach. Each queued method takes an optional listener
|
343
|
+
parameter to allow you to register a callback instead, which is
|
344
|
+
arguably more efficient.
|
345
|
+
@param ticket The ticket which was returned when the process was queued
|
346
|
+
@returns true if process has completed (or if the ticket is
|
347
|
+
unrecognised), false otherwise
|
348
|
+
@note Tickets are not stored onced complete so do not accumulate over
|
349
|
+
time.
|
350
|
+
This is why a non-existent ticket will return 'true'.
|
351
|
+
*/
|
352
|
+
virtual bool isProcessComplete(BackgroundProcessTicket ticket);
|
353
|
+
|
354
|
+
/** Process a single queued background operation.
|
355
|
+
@remarks
|
356
|
+
If you are using your own thread to perform background loading, calling
|
357
|
+
this method from that thread triggers the processing of a single
|
358
|
+
background loading request from the queue. This method will not
|
359
|
+
return until the request has been fully processed. It also returns
|
360
|
+
whether it did in fact process anything - if it returned false, there
|
361
|
+
was nothing more in the queue.
|
362
|
+
@note
|
363
|
+
<b>Do not</b> call this method unless you are using your own thread
|
364
|
+
to perform the background loading and called setStartBackgroundThread(false).
|
365
|
+
You must only have one background loading thread.
|
366
|
+
@returns true if a request was processed, false if the queue was empty.
|
367
|
+
*/
|
368
|
+
bool _doNextQueuedBackgroundProcess();
|
369
|
+
|
370
|
+
/** Initialise processing for a background thread.
|
371
|
+
@remarks
|
372
|
+
You must call this method if you use your own thread rather than
|
373
|
+
letting this class create its own. Moreover, you must call it after
|
374
|
+
initialise() and after you've started your own thread, but before
|
375
|
+
any resources have been loaded. There are some
|
376
|
+
per-thread tasks which have to be performed on some rendering APIs
|
377
|
+
and it's important that they are done before rendering resources are
|
378
|
+
created.
|
379
|
+
@par
|
380
|
+
You must call this method in your own background thread, not the main
|
381
|
+
thread. It's important to block the main thread whilst this initialisation
|
382
|
+
is happening, use an OGRE_THREAD_WAIT on the public initSync token
|
383
|
+
after locking the initMutex.
|
384
|
+
*/
|
385
|
+
void _initThread();
|
386
|
+
|
387
|
+
/** Queue the firing of the 'background loading complete' event to
|
388
|
+
a Resource::Listener event.
|
389
|
+
@remarks
|
390
|
+
The purpose of this is to allow the background loading thread to
|
391
|
+
call this method to queue the notification to listeners waiting on
|
392
|
+
the background loading of a resource. Rather than allow the resource
|
393
|
+
background loading thread to directly call these listeners, which
|
394
|
+
would require all the listeners to be thread-safe, this method
|
395
|
+
implements a thread-safe queue which can be processed in the main
|
396
|
+
frame loop thread each frame to clear the events in a simpler
|
397
|
+
manner.
|
398
|
+
@param listener The listener to be notified
|
399
|
+
@param res The resource listened on
|
400
|
+
*/
|
401
|
+
virtual void _queueFireBackgroundLoadingComplete(Resource::Listener* listener,
|
402
|
+
Resource* res);
|
403
|
+
|
404
|
+
/** Fires all the queued events for background loaded resources.
|
405
|
+
@remarks
|
406
|
+
You should call this from the thread that runs the main frame loop
|
407
|
+
to avoid having to make the receivers of this event thread-safe.
|
408
|
+
If you use Ogre's built in frame loop you don't need to call this
|
409
|
+
yourself.
|
410
|
+
*/
|
411
|
+
virtual void _fireBackgroundLoadingComplete(void);
|
412
|
+
|
413
|
+
/** Override standard Singleton retrieval.
|
414
|
+
@remarks
|
415
|
+
Why do we do this? Well, it's because the Singleton
|
416
|
+
implementation is in a .h file, which means it gets compiled
|
417
|
+
into anybody who includes it. This is needed for the
|
418
|
+
Singleton template to work, but we actually only want it
|
419
|
+
compiled into the implementation of the class based on the
|
420
|
+
Singleton, not all of them. If we don't change this, we get
|
421
|
+
link errors when trying to use the Singleton-based class from
|
422
|
+
an outside dll.
|
423
|
+
@par
|
424
|
+
This method just delegates to the template version anyway,
|
425
|
+
but the implementation stays in this single compilation unit,
|
426
|
+
preventing link errors.
|
427
|
+
*/
|
428
|
+
static ResourceBackgroundQueue& getSingleton(void);
|
429
|
+
/** Override standard Singleton retrieval.
|
430
|
+
@remarks
|
431
|
+
Why do we do this? Well, it's because the Singleton
|
432
|
+
implementation is in a .h file, which means it gets compiled
|
433
|
+
into anybody who includes it. This is needed for the
|
434
|
+
Singleton template to work, but we actually only want it
|
435
|
+
compiled into the implementation of the class based on the
|
436
|
+
Singleton, not all of them. If we don't change this, we get
|
437
|
+
link errors when trying to use the Singleton-based class from
|
438
|
+
an outside dll.
|
439
|
+
@par
|
440
|
+
This method just delegates to the template version anyway,
|
441
|
+
but the implementation stays in this single compilation unit,
|
442
|
+
preventing link errors.
|
443
|
+
*/
|
444
|
+
static ResourceBackgroundQueue* getSingletonPtr(void);
|
445
|
+
|
446
|
+
|
447
|
+
};
|
448
|
+
|
449
|
+
|
450
|
+
}
|
451
|
+
|
452
|
+
#endif
|
453
|
+
|