diff --git a/HGamer3D-Ogre-Binding.cabal b/HGamer3D-Ogre-Binding.cabal
--- a/HGamer3D-Ogre-Binding.cabal
+++ b/HGamer3D-Ogre-Binding.cabal
@@ -1,13 +1,13 @@
 Name:                HGamer3D-Ogre-Binding
-Version:             0.4.0
+Version:             0.5.0
 Synopsis:            Ogre Binding for HGamer3D
 Description:         
-   HGamer3D is a game engine for developing 3D games in the programming 
-   language Haskell. This package provides the Ogre binding. 
-   HGamer3D-Ogre-Binding is available on Windows and Linux. 
-   This binding does not claim to have full coverage of Ogre 
-   functionality, but only to support what is needed for the
-   HGamer3D-Graphics3D package.
+   HGamer3D is a toolset for developing 3D games in the programming 
+   language Haskell. This package provides the Ogre binding. 
+   HGamer3D-Ogre-Binding is available on Windows and Linux. 
+   This binding does not claim to have full coverage of Ogre 
+   functionality, but only to support what is needed for the
+   HGamer3D-Graphics3D package.
 
 	
 License:             OtherLicense
@@ -18,21 +18,21 @@
 Cabal-Version:       >=1.4
 Homepage:            http://www.hgamer3d.org
 Category:            Game Engine, Graphics
-Extra-source-files:  Setup.hs, include/EnumFrustumPlane.h, include/colorvalue_struct.h, include/StructHG3DClass.h, include/EnumBillboardOrigin.h, include/EnumProjectionType.h, include/ClassTimeIndex.h, include/hg3dstruct.h, include/EnumSkeletonAnimationBlendMode.h, include/StructVec3.h, include/EnumStencilOperation.h, include/ClassEntityFactory.h, include/EnumRenderTargetFrameBuffer.h, include/WindowUtilsHG3D.h, include/vector4_struct.h, include/ClassMaterial.h, include/ClassAnimationTrack.h, include/ClassNode.h, include/ClassMultiRenderTarget.h, include/ClassAnimation.h, include/ClassResourceManager.h, include/ClassEntity.h, include/ClassNumericAnimationTrack.h, include/ClassNodeAnimationTrack.h, include/ClassLogManager.h, include/radian_struct.h, include/EnumMeshManagerMeshBuildType.h, include/EnumGpuProgramType.h, include/ClassSceneNode.h, include/ClassMeshManager.h, include/EnumSceneManagerBoxPlane.h, include/EnumTexCoordCalcMethod.h, include/ClassManualObjectFactory.h, include/EnumSceneType.h, include/ClassMesh.h, include/ClassLog.h, include/ClassManualObject.h, include/vector2_struct.h, include/EnumRootFrameEventTimeType.h, include/ClassControllerManager.h, include/EnumEntityVertexDataBindChoice.h, include/EnumLogMessageLevel.h, include/EnumAnimationInterpolationMode.h, include/EnumBillboardChainTexCoordDirection.h, include/StructRadians.h, include/StructVec2.h, include/ClassManualObjectSection.h, include/EnumExceptionCode.h, include/sharedptr_struct.h, include/EnumRenderTargetStatFlags.h, include/EnumSceneManagerIlluminationRenderStage.h, include/ClassBillboard.h, include/EnumNodeTransformSpace.h, include/ClassBillboardSetFactory.h, include/ClassBillboardChain.h, include/ClassAnimationStateSet.h, include/ClassFrustum.h, include/ClassHG3DUtilities.h, include/ClassViewport.h, include/ClassBone.h, include/ClassBillboardSet.h, include/ClassArchiveManager.h, include/ClassPtr.h, include/ClassRenderSystem.h, include/ClassVertexAnimationTrack.h, include/ClassRoot.h, include/EnumAxisAlignedBoxExtent.h, include/ClassMovableObjectFactory.h, include/EnumLightType.h, include/EnumRenderOperationOperationType.h, include/ClassResourceGroupManager.h, include/EnumBillboardRotationType.h, include/ClassMovableObject.h, include/ClassRenderWindow.h, include/StructColour.h, include/quaternion_struct.h, include/EnumVertexAnimationType.h, include/ClassLightFactory.h, include/EnumLoggingLevel.h, include/ClassSceneManager.h, include/EnumAxisAlignedBoxCorner.h, include/StructQuaternion.h, include/ClassMaterialManager.h, include/ClassAnimationState.h, include/ClassCamera.h, include/ClassArchive.h, include/ClassSkeleton.h, include/vector3_struct.h, include/EnumDataStreamAccessMode.h, include/ClassConfigFile.h, include/StructDegrees.h, include/ClassRenderTarget.h, include/ClassLight.h, include/ClassSceneManagerFactory.h, include/EnumOrientationMode.h, include/ClassResource.h, include/OgreDllDefines.h, include/EnumBillboardType.h, include/ClassWindowEventUtilities.h, include/StructSharedPtr.h, include/ClassRenderTexture.h, include/ClassTextureManager.h, include/ClassException.h, include/ClassBillboardChainFactory.h, include/EnumAnimationRotationInterpolationMode.h, include/EnumMathAngleUnit.h, include/ClassRenderable.h, include/degree_struct.h, include/EnumSceneManagerSpecialCaseRenderQueueMode.h, include/EnumSceneManagerPrefabType.h, include/HG3DUtilities.h, include/ClassSkeletonManager.h, include/EnumVertexAnimationTrackTargetMode.h
+Extra-source-files:  Setup.hs, include/ClassAnimation.h, include/ClassAnimationState.h, include/ClassAnimationStateSet.h, include/ClassAnimationTrack.h, include/ClassArchive.h, include/ClassArchiveManager.h, include/ClassBillboard.h, include/ClassBillboardChain.h, include/ClassBillboardChainFactory.h, include/ClassBillboardSet.h, include/ClassBillboardSetFactory.h, include/ClassBone.h, include/ClassCamera.h, include/ClassConfigFile.h, include/ClassControllerManager.h, include/ClassEntity.h, include/ClassEntityFactory.h, include/ClassException.h, include/ClassFrustum.h, include/ClassHG3DUtilities.h, include/ClassLight.h, include/ClassLightFactory.h, include/ClassLog.h, include/ClassLogManager.h, include/ClassManualObject.h, include/ClassManualObjectFactory.h, include/ClassManualObjectSection.h, include/ClassMaterial.h, include/ClassMaterialManager.h, include/ClassMesh.h, include/ClassMeshManager.h, include/ClassMovableObject.h, include/ClassMovableObjectFactory.h, include/ClassMultiRenderTarget.h, include/ClassNode.h, include/ClassNodeAnimationTrack.h, include/ClassNumericAnimationTrack.h, include/ClassPtr.h, include/ClassRenderable.h, include/ClassRenderSystem.h, include/ClassRenderTarget.h, include/ClassRenderTexture.h, include/ClassRenderWindow.h, include/ClassResource.h, include/ClassResourceGroupManager.h, include/ClassResourceManager.h, include/ClassRoot.h, include/ClassSceneManager.h, include/ClassSceneManagerFactory.h, include/ClassSceneNode.h, include/ClassSkeleton.h, include/ClassSkeletonManager.h, include/ClassTextureManager.h, include/ClassTimeIndex.h, include/ClassVertexAnimationTrack.h, include/ClassViewport.h, include/ClassWindowEventUtilities.h, include/colorvalue_struct.h, include/degree_struct.h, include/EnumAnimationInterpolationMode.h, include/EnumAnimationRotationInterpolationMode.h, include/EnumAxisAlignedBoxCorner.h, include/EnumAxisAlignedBoxExtent.h, include/EnumBillboardChainTexCoordDirection.h, include/EnumBillboardOrigin.h, include/EnumBillboardRotationType.h, include/EnumBillboardType.h, include/EnumDataStreamAccessMode.h, include/EnumEntityVertexDataBindChoice.h, include/EnumExceptionCode.h, include/EnumFrustumPlane.h, include/EnumGpuProgramType.h, include/EnumLightType.h, include/EnumLoggingLevel.h, include/EnumLogMessageLevel.h, include/EnumMathAngleUnit.h, include/EnumMeshManagerMeshBuildType.h, include/EnumNodeTransformSpace.h, include/EnumOrientationMode.h, include/EnumProjectionType.h, include/EnumRenderOperationOperationType.h, include/EnumRenderTargetFrameBuffer.h, include/EnumRenderTargetStatFlags.h, include/EnumRootFrameEventTimeType.h, include/EnumSceneManagerBoxPlane.h, include/EnumSceneManagerIlluminationRenderStage.h, include/EnumSceneManagerPrefabType.h, include/EnumSceneManagerSpecialCaseRenderQueueMode.h, include/EnumSceneType.h, include/EnumSkeletonAnimationBlendMode.h, include/EnumStencilOperation.h, include/EnumTexCoordCalcMethod.h, include/EnumVertexAnimationTrackTargetMode.h, include/EnumVertexAnimationType.h, include/hg3dstruct.h, include/HG3DUtilities.h, include/OgreDllDefines.h, include/quaternion_struct.h, include/radian_struct.h, include/sharedptr_struct.h, include/StructColour.h, include/StructDegrees.h, include/StructHG3DClass.h, include/StructQuaternion.h, include/StructRadians.h, include/StructSharedPtr.h, include/StructVec2.h, include/StructVec3.h, include/vector2_struct.h, include/vector3_struct.h, include/vector4_struct.h, include/WindowUtilsHG3D.h
 
 Library
   Build-Depends:     base >= 3 && < 5, transformers>=0.3.0,mtl, HGamer3D-Data >= 0.3.0
 
-  Exposed-modules:   HGamer3D.Bindings.Ogre.Utils, HGamer3D.Bindings.Ogre.StructHG3DClass, HGamer3D.Bindings.Ogre.ClassPtr, HGamer3D.Bindings.Ogre.EnumRootFrameEventTimeType, HGamer3D.Bindings.Ogre.EnumLoggingLevel, HGamer3D.Bindings.Ogre.EnumRenderTargetFrameBuffer, HGamer3D.Bindings.Ogre.EnumMathAngleUnit, HGamer3D.Bindings.Ogre.EnumSceneType, HGamer3D.Bindings.Ogre.EnumAnimationRotationInterpolationMode, HGamer3D.Bindings.Ogre.EnumSceneManagerSpecialCaseRenderQueueMode, HGamer3D.Bindings.Ogre.EnumTexCoordCalcMethod, HGamer3D.Bindings.Ogre.EnumNodeTransformSpace, HGamer3D.Bindings.Ogre.EnumLightType, HGamer3D.Bindings.Ogre.EnumBillboardOrigin, HGamer3D.Bindings.Ogre.EnumRenderOperationOperationType, HGamer3D.Bindings.Ogre.EnumBillboardRotationType, HGamer3D.Bindings.Ogre.EnumVertexAnimationTrackTargetMode, HGamer3D.Bindings.Ogre.EnumSceneManagerBoxPlane, HGamer3D.Bindings.Ogre.EnumSkeletonAnimationBlendMode, HGamer3D.Bindings.Ogre.EnumBillboardChainTexCoordDirection, HGamer3D.Bindings.Ogre.EnumFrustumPlane, HGamer3D.Bindings.Ogre.EnumDataStreamAccessMode, HGamer3D.Bindings.Ogre.EnumStencilOperation, HGamer3D.Bindings.Ogre.EnumProjectionType, HGamer3D.Bindings.Ogre.EnumSceneManagerPrefabType, HGamer3D.Bindings.Ogre.EnumBillboardType, HGamer3D.Bindings.Ogre.EnumLogMessageLevel, HGamer3D.Bindings.Ogre.EnumEntityVertexDataBindChoice, HGamer3D.Bindings.Ogre.EnumAxisAlignedBoxExtent, HGamer3D.Bindings.Ogre.EnumAxisAlignedBoxCorner, HGamer3D.Bindings.Ogre.EnumGpuProgramType, HGamer3D.Bindings.Ogre.EnumRenderTargetStatFlags, HGamer3D.Bindings.Ogre.EnumExceptionCode, HGamer3D.Bindings.Ogre.EnumMeshManagerMeshBuildType, HGamer3D.Bindings.Ogre.EnumSceneManagerIlluminationRenderStage, HGamer3D.Bindings.Ogre.EnumOrientationMode, HGamer3D.Bindings.Ogre.EnumVertexAnimationType, HGamer3D.Bindings.Ogre.EnumAnimationInterpolationMode, HGamer3D.Bindings.Ogre.StructVec3, HGamer3D.Bindings.Ogre.StructQuaternion, HGamer3D.Bindings.Ogre.StructDegrees, HGamer3D.Bindings.Ogre.StructColour, HGamer3D.Bindings.Ogre.StructRadians, HGamer3D.Bindings.Ogre.StructVec2, HGamer3D.Bindings.Ogre.StructSharedPtr, HGamer3D.Bindings.Ogre.ClassHG3DUtilities, HGamer3D.Bindings.Ogre.ClassBone, HGamer3D.Bindings.Ogre.ClassMesh, HGamer3D.Bindings.Ogre.ClassLightFactory, HGamer3D.Bindings.Ogre.ClassResourceGroupManager, HGamer3D.Bindings.Ogre.ClassConfigFile, HGamer3D.Bindings.Ogre.ClassMaterial, HGamer3D.Bindings.Ogre.ClassBillboardChain, HGamer3D.Bindings.Ogre.ClassEntityFactory, HGamer3D.Bindings.Ogre.ClassWindowEventUtilities, HGamer3D.Bindings.Ogre.ClassTextureManager, HGamer3D.Bindings.Ogre.ClassNode, HGamer3D.Bindings.Ogre.ClassSceneNode, HGamer3D.Bindings.Ogre.ClassMultiRenderTarget, HGamer3D.Bindings.Ogre.ClassLight, HGamer3D.Bindings.Ogre.ClassViewport, HGamer3D.Bindings.Ogre.ClassManualObjectFactory, HGamer3D.Bindings.Ogre.ClassMovableObjectFactory, HGamer3D.Bindings.Ogre.ClassLogManager, HGamer3D.Bindings.Ogre.ClassVertexAnimationTrack, HGamer3D.Bindings.Ogre.ClassSceneManager, HGamer3D.Bindings.Ogre.ClassEntity, HGamer3D.Bindings.Ogre.ClassSkeleton, HGamer3D.Bindings.Ogre.ClassResourceManager, HGamer3D.Bindings.Ogre.ClassManualObject, HGamer3D.Bindings.Ogre.ClassBillboardSet, HGamer3D.Bindings.Ogre.ClassArchiveManager, HGamer3D.Bindings.Ogre.ClassTimeIndex, HGamer3D.Bindings.Ogre.ClassAnimation, HGamer3D.Bindings.Ogre.ClassBillboardChainFactory, HGamer3D.Bindings.Ogre.ClassAnimationTrack, HGamer3D.Bindings.Ogre.ClassRenderTexture, HGamer3D.Bindings.Ogre.ClassAnimationStateSet, HGamer3D.Bindings.Ogre.ClassNodeAnimationTrack, HGamer3D.Bindings.Ogre.ClassException, HGamer3D.Bindings.Ogre.ClassBillboardSetFactory, HGamer3D.Bindings.Ogre.ClassRoot, HGamer3D.Bindings.Ogre.ClassManualObjectSection, HGamer3D.Bindings.Ogre.ClassArchive, HGamer3D.Bindings.Ogre.ClassFrustum, HGamer3D.Bindings.Ogre.ClassNumericAnimationTrack, HGamer3D.Bindings.Ogre.ClassMaterialManager, HGamer3D.Bindings.Ogre.ClassSceneManagerFactory, HGamer3D.Bindings.Ogre.ClassControllerManager, HGamer3D.Bindings.Ogre.ClassMovableObject, HGamer3D.Bindings.Ogre.ClassAnimationState, HGamer3D.Bindings.Ogre.ClassBillboard, HGamer3D.Bindings.Ogre.ClassRenderWindow, HGamer3D.Bindings.Ogre.ClassResource, HGamer3D.Bindings.Ogre.ClassLog, HGamer3D.Bindings.Ogre.ClassCamera, HGamer3D.Bindings.Ogre.ClassRenderable, HGamer3D.Bindings.Ogre.ClassMeshManager, HGamer3D.Bindings.Ogre.ClassRenderSystem, HGamer3D.Bindings.Ogre.ClassSkeletonManager, HGamer3D.Bindings.Ogre.ClassRenderTarget
+  Exposed-modules:   HGamer3D.Bindings.Ogre.Utils, HGamer3D.Bindings.Ogre.ClassPtr, HGamer3D.Bindings.Ogre.StructHG3DClass, HGamer3D.Bindings.Ogre.EnumAnimationInterpolationMode, HGamer3D.Bindings.Ogre.EnumAnimationRotationInterpolationMode, HGamer3D.Bindings.Ogre.EnumAxisAlignedBoxCorner, HGamer3D.Bindings.Ogre.EnumAxisAlignedBoxExtent, HGamer3D.Bindings.Ogre.EnumBillboardChainTexCoordDirection, HGamer3D.Bindings.Ogre.EnumBillboardOrigin, HGamer3D.Bindings.Ogre.EnumBillboardRotationType, HGamer3D.Bindings.Ogre.EnumBillboardType, HGamer3D.Bindings.Ogre.EnumDataStreamAccessMode, HGamer3D.Bindings.Ogre.EnumEntityVertexDataBindChoice, HGamer3D.Bindings.Ogre.EnumExceptionCode, HGamer3D.Bindings.Ogre.EnumFrustumPlane, HGamer3D.Bindings.Ogre.EnumGpuProgramType, HGamer3D.Bindings.Ogre.EnumLightType, HGamer3D.Bindings.Ogre.EnumLoggingLevel, HGamer3D.Bindings.Ogre.EnumLogMessageLevel, HGamer3D.Bindings.Ogre.EnumMathAngleUnit, HGamer3D.Bindings.Ogre.EnumMeshManagerMeshBuildType, HGamer3D.Bindings.Ogre.EnumNodeTransformSpace, HGamer3D.Bindings.Ogre.EnumOrientationMode, HGamer3D.Bindings.Ogre.EnumProjectionType, HGamer3D.Bindings.Ogre.EnumRenderOperationOperationType, HGamer3D.Bindings.Ogre.EnumRenderTargetFrameBuffer, HGamer3D.Bindings.Ogre.EnumRenderTargetStatFlags, HGamer3D.Bindings.Ogre.EnumRootFrameEventTimeType, HGamer3D.Bindings.Ogre.EnumSceneManagerBoxPlane, HGamer3D.Bindings.Ogre.EnumSceneManagerIlluminationRenderStage, HGamer3D.Bindings.Ogre.EnumSceneManagerPrefabType, HGamer3D.Bindings.Ogre.EnumSceneManagerSpecialCaseRenderQueueMode, HGamer3D.Bindings.Ogre.EnumSceneType, HGamer3D.Bindings.Ogre.EnumSkeletonAnimationBlendMode, HGamer3D.Bindings.Ogre.EnumStencilOperation, HGamer3D.Bindings.Ogre.EnumTexCoordCalcMethod, HGamer3D.Bindings.Ogre.EnumVertexAnimationTrackTargetMode, HGamer3D.Bindings.Ogre.EnumVertexAnimationType, HGamer3D.Bindings.Ogre.StructColour, HGamer3D.Bindings.Ogre.StructDegrees, HGamer3D.Bindings.Ogre.StructQuaternion, HGamer3D.Bindings.Ogre.StructRadians, HGamer3D.Bindings.Ogre.StructSharedPtr, HGamer3D.Bindings.Ogre.StructVec2, HGamer3D.Bindings.Ogre.StructVec3, HGamer3D.Bindings.Ogre.ClassAnimation, HGamer3D.Bindings.Ogre.ClassAnimationState, HGamer3D.Bindings.Ogre.ClassAnimationStateSet, HGamer3D.Bindings.Ogre.ClassAnimationTrack, HGamer3D.Bindings.Ogre.ClassArchive, HGamer3D.Bindings.Ogre.ClassArchiveManager, HGamer3D.Bindings.Ogre.ClassBillboard, HGamer3D.Bindings.Ogre.ClassBillboardChain, HGamer3D.Bindings.Ogre.ClassBillboardChainFactory, HGamer3D.Bindings.Ogre.ClassBillboardSet, HGamer3D.Bindings.Ogre.ClassBillboardSetFactory, HGamer3D.Bindings.Ogre.ClassBone, HGamer3D.Bindings.Ogre.ClassCamera, HGamer3D.Bindings.Ogre.ClassConfigFile, HGamer3D.Bindings.Ogre.ClassControllerManager, HGamer3D.Bindings.Ogre.ClassEntity, HGamer3D.Bindings.Ogre.ClassEntityFactory, HGamer3D.Bindings.Ogre.ClassException, HGamer3D.Bindings.Ogre.ClassFrustum, HGamer3D.Bindings.Ogre.ClassHG3DUtilities, HGamer3D.Bindings.Ogre.ClassLight, HGamer3D.Bindings.Ogre.ClassLightFactory, HGamer3D.Bindings.Ogre.ClassLog, HGamer3D.Bindings.Ogre.ClassLogManager, HGamer3D.Bindings.Ogre.ClassManualObject, HGamer3D.Bindings.Ogre.ClassManualObjectFactory, HGamer3D.Bindings.Ogre.ClassManualObjectSection, HGamer3D.Bindings.Ogre.ClassMaterial, HGamer3D.Bindings.Ogre.ClassMaterialManager, HGamer3D.Bindings.Ogre.ClassMesh, HGamer3D.Bindings.Ogre.ClassMeshManager, HGamer3D.Bindings.Ogre.ClassMovableObject, HGamer3D.Bindings.Ogre.ClassMovableObjectFactory, HGamer3D.Bindings.Ogre.ClassMultiRenderTarget, HGamer3D.Bindings.Ogre.ClassNode, HGamer3D.Bindings.Ogre.ClassNodeAnimationTrack, HGamer3D.Bindings.Ogre.ClassNumericAnimationTrack, HGamer3D.Bindings.Ogre.ClassRenderable, HGamer3D.Bindings.Ogre.ClassRenderSystem, HGamer3D.Bindings.Ogre.ClassRenderTarget, HGamer3D.Bindings.Ogre.ClassRenderTexture, HGamer3D.Bindings.Ogre.ClassRenderWindow, HGamer3D.Bindings.Ogre.ClassResource, HGamer3D.Bindings.Ogre.ClassResourceGroupManager, HGamer3D.Bindings.Ogre.ClassResourceManager, HGamer3D.Bindings.Ogre.ClassRoot, HGamer3D.Bindings.Ogre.ClassSceneManager, HGamer3D.Bindings.Ogre.ClassSceneManagerFactory, HGamer3D.Bindings.Ogre.ClassSceneNode, HGamer3D.Bindings.Ogre.ClassSkeleton, HGamer3D.Bindings.Ogre.ClassSkeletonManager, HGamer3D.Bindings.Ogre.ClassTextureManager, HGamer3D.Bindings.Ogre.ClassTimeIndex, HGamer3D.Bindings.Ogre.ClassVertexAnimationTrack, HGamer3D.Bindings.Ogre.ClassViewport, HGamer3D.Bindings.Ogre.ClassWindowEventUtilities
   Other-modules:     
 
-  ghc-options:       
+  ghc-options:       -O2
   cc-options:        -Wno-attributes 
   hs-source-dirs:    .
   Include-dirs:      include
   Build-tools:       
   build-depends:     
   if os(windows)
-     extra-libraries:   hg3dogre040
+     extra-libraries:   hg3dogre050
   else
-     extra-libraries:   hg3dogre040,OgreMain,OgrePaging,OgreProperty,OgreRTShaderSystem,OgreTerrain
+     extra-libraries:   hg3dogre050,OgreMain,OgrePaging,OgreProperty,OgreRTShaderSystem,OgreTerrain
diff --git a/HGamer3D/Bindings/Ogre/ClassAnimation.chs b/HGamer3D/Bindings/Ogre/ClassAnimation.chs
--- a/HGamer3D/Bindings/Ogre/ClassAnimation.chs
+++ b/HGamer3D/Bindings/Ogre/ClassAnimation.chs
@@ -1,49 +1,49 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- ClassAnimation.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.ClassAnimation where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- ClassAnimation.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.ClassAnimation where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
 {# import HGamer3D.Bindings.Ogre.Utils #}
 {# import HGamer3D.Bindings.Ogre.ClassPtr #}
 {# import HGamer3D.Bindings.Ogre.StructHG3DClass #}
 {# import HGamer3D.Bindings.Ogre.EnumVertexAnimationType #}
 {# import HGamer3D.Bindings.Ogre.EnumAnimationInterpolationMode #}
 {# import HGamer3D.Bindings.Ogre.EnumAnimationRotationInterpolationMode #}
-
-#include "ClassAnimation.h"
+
+#include "ClassAnimation.h"
 {- function ~Animation -}
 {#fun ogre_anm_destruct as delete 
 { withHG3DClass* `HG3DClass' } -> `()'  #}
diff --git a/HGamer3D/Bindings/Ogre/ClassAnimationState.chs b/HGamer3D/Bindings/Ogre/ClassAnimationState.chs
--- a/HGamer3D/Bindings/Ogre/ClassAnimationState.chs
+++ b/HGamer3D/Bindings/Ogre/ClassAnimationState.chs
@@ -1,46 +1,46 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- ClassAnimationState.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.ClassAnimationState where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- ClassAnimationState.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.ClassAnimationState where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
 {# import HGamer3D.Bindings.Ogre.Utils #}
 {# import HGamer3D.Bindings.Ogre.ClassPtr #}
 {# import HGamer3D.Bindings.Ogre.StructHG3DClass #}
-
-#include "ClassAnimationState.h"
+
+#include "ClassAnimationState.h"
 {- function AnimationState -}
 {#fun ogre_anms_construct as new 
 { withCString* `String' ,
diff --git a/HGamer3D/Bindings/Ogre/ClassAnimationStateSet.chs b/HGamer3D/Bindings/Ogre/ClassAnimationStateSet.chs
--- a/HGamer3D/Bindings/Ogre/ClassAnimationStateSet.chs
+++ b/HGamer3D/Bindings/Ogre/ClassAnimationStateSet.chs
@@ -1,46 +1,46 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- ClassAnimationStateSet.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.ClassAnimationStateSet where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- ClassAnimationStateSet.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.ClassAnimationStateSet where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
 {# import HGamer3D.Bindings.Ogre.Utils #}
 {# import HGamer3D.Bindings.Ogre.ClassPtr #}
 {# import HGamer3D.Bindings.Ogre.StructHG3DClass #}
-
-#include "ClassAnimationStateSet.h"
+
+#include "ClassAnimationStateSet.h"
 {- function ~AnimationStateSet -}
 {#fun ogre_ass_destruct as delete 
 { withHG3DClass* `HG3DClass' } -> `()'  #}
diff --git a/HGamer3D/Bindings/Ogre/ClassAnimationTrack.chs b/HGamer3D/Bindings/Ogre/ClassAnimationTrack.chs
--- a/HGamer3D/Bindings/Ogre/ClassAnimationTrack.chs
+++ b/HGamer3D/Bindings/Ogre/ClassAnimationTrack.chs
@@ -1,46 +1,46 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- ClassAnimationTrack.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.ClassAnimationTrack where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- ClassAnimationTrack.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.ClassAnimationTrack where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
 {# import HGamer3D.Bindings.Ogre.Utils #}
 {# import HGamer3D.Bindings.Ogre.ClassPtr #}
 {# import HGamer3D.Bindings.Ogre.StructHG3DClass #}
-
-#include "ClassAnimationTrack.h"
+
+#include "ClassAnimationTrack.h"
 {- function ~AnimationTrack -}
 {#fun ogre_at_destruct as delete 
 { withHG3DClass* `HG3DClass' } -> `()'  #}
diff --git a/HGamer3D/Bindings/Ogre/ClassArchive.chs b/HGamer3D/Bindings/Ogre/ClassArchive.chs
--- a/HGamer3D/Bindings/Ogre/ClassArchive.chs
+++ b/HGamer3D/Bindings/Ogre/ClassArchive.chs
@@ -1,46 +1,46 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- ClassArchive.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.ClassArchive where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- ClassArchive.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.ClassArchive where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
 {# import HGamer3D.Bindings.Ogre.Utils #}
 {# import HGamer3D.Bindings.Ogre.ClassPtr #}
 {# import HGamer3D.Bindings.Ogre.StructHG3DClass #}
-
-#include "ClassArchive.h"
+
+#include "ClassArchive.h"
 {- function ~Archive -}
 {#fun ogre_arch_destruct as delete 
 { withHG3DClass* `HG3DClass' } -> `()'  #}
diff --git a/HGamer3D/Bindings/Ogre/ClassArchiveManager.chs b/HGamer3D/Bindings/Ogre/ClassArchiveManager.chs
--- a/HGamer3D/Bindings/Ogre/ClassArchiveManager.chs
+++ b/HGamer3D/Bindings/Ogre/ClassArchiveManager.chs
@@ -1,46 +1,46 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- ClassArchiveManager.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.ClassArchiveManager where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- ClassArchiveManager.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.ClassArchiveManager where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
 {# import HGamer3D.Bindings.Ogre.Utils #}
 {# import HGamer3D.Bindings.Ogre.ClassPtr #}
 {# import HGamer3D.Bindings.Ogre.StructHG3DClass #}
-
-#include "ClassArchiveManager.h"
+
+#include "ClassArchiveManager.h"
 {- function ~ArchiveManager -}
 {#fun ogre_archm_destruct as delete 
 { withHG3DClass* `HG3DClass' } -> `()'  #}
diff --git a/HGamer3D/Bindings/Ogre/ClassBillboard.chs b/HGamer3D/Bindings/Ogre/ClassBillboard.chs
--- a/HGamer3D/Bindings/Ogre/ClassBillboard.chs
+++ b/HGamer3D/Bindings/Ogre/ClassBillboard.chs
@@ -1,49 +1,49 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- ClassBillboard.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.ClassBillboard where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- ClassBillboard.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.ClassBillboard where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
 {# import HGamer3D.Bindings.Ogre.Utils #}
 {# import HGamer3D.Bindings.Ogre.ClassPtr #}
 {# import HGamer3D.Bindings.Ogre.StructHG3DClass #}
 {# import HGamer3D.Bindings.Ogre.StructRadians #}
 {# import HGamer3D.Bindings.Ogre.StructVec3 #}
 {# import HGamer3D.Bindings.Ogre.StructColour #}
-
-#include "ClassBillboard.h"
+
+#include "ClassBillboard.h"
 {- function Billboard -}
 {#fun ogre_bbd_construct as new 
 { alloca- `HG3DClass' peek*} -> `()'  #}
diff --git a/HGamer3D/Bindings/Ogre/ClassBillboardChain.chs b/HGamer3D/Bindings/Ogre/ClassBillboardChain.chs
--- a/HGamer3D/Bindings/Ogre/ClassBillboardChain.chs
+++ b/HGamer3D/Bindings/Ogre/ClassBillboardChain.chs
@@ -1,49 +1,49 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- ClassBillboardChain.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.ClassBillboardChain where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- ClassBillboardChain.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.ClassBillboardChain where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
 {# import HGamer3D.Bindings.Ogre.Utils #}
 {# import HGamer3D.Bindings.Ogre.ClassPtr #}
 {# import HGamer3D.Bindings.Ogre.StructHG3DClass #}
 {# import HGamer3D.Bindings.Ogre.EnumBillboardChainTexCoordDirection #}
 {# import HGamer3D.Bindings.Ogre.StructVec3 #}
 {# import HGamer3D.Bindings.Ogre.StructSharedPtr #}
-
-#include "ClassBillboardChain.h"
+
+#include "ClassBillboardChain.h"
 {- function ~BillboardChain -}
 {#fun ogre_bbdc_destruct as delete 
 { withHG3DClass* `HG3DClass' } -> `()'  #}
diff --git a/HGamer3D/Bindings/Ogre/ClassBillboardChainFactory.chs b/HGamer3D/Bindings/Ogre/ClassBillboardChainFactory.chs
--- a/HGamer3D/Bindings/Ogre/ClassBillboardChainFactory.chs
+++ b/HGamer3D/Bindings/Ogre/ClassBillboardChainFactory.chs
@@ -1,46 +1,46 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- ClassBillboardChainFactory.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.ClassBillboardChainFactory where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- ClassBillboardChainFactory.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.ClassBillboardChainFactory where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
 {# import HGamer3D.Bindings.Ogre.Utils #}
 {# import HGamer3D.Bindings.Ogre.ClassPtr #}
 {# import HGamer3D.Bindings.Ogre.StructHG3DClass #}
-
-#include "ClassBillboardChainFactory.h"
+
+#include "ClassBillboardChainFactory.h"
 {- function BillboardChainFactory -}
 {#fun ogre_bbdcf_construct as new 
 { alloca- `HG3DClass' peek*} -> `()'  #}
diff --git a/HGamer3D/Bindings/Ogre/ClassBillboardSet.chs b/HGamer3D/Bindings/Ogre/ClassBillboardSet.chs
--- a/HGamer3D/Bindings/Ogre/ClassBillboardSet.chs
+++ b/HGamer3D/Bindings/Ogre/ClassBillboardSet.chs
@@ -1,41 +1,41 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- ClassBillboardSet.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.ClassBillboardSet where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- ClassBillboardSet.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.ClassBillboardSet where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
 {# import HGamer3D.Bindings.Ogre.Utils #}
 {# import HGamer3D.Bindings.Ogre.ClassPtr #}
 {# import HGamer3D.Bindings.Ogre.StructHG3DClass #}
@@ -45,8 +45,8 @@
 {# import HGamer3D.Bindings.Ogre.EnumBillboardRotationType #}
 {# import HGamer3D.Bindings.Ogre.StructSharedPtr #}
 {# import HGamer3D.Bindings.Ogre.EnumBillboardType #}
-
-#include "ClassBillboardSet.h"
+
+#include "ClassBillboardSet.h"
 {- function BillboardSet2 -}
 {#fun ogre_bbs_construct as new 
 { withCString* `String' ,
diff --git a/HGamer3D/Bindings/Ogre/ClassBillboardSetFactory.chs b/HGamer3D/Bindings/Ogre/ClassBillboardSetFactory.chs
--- a/HGamer3D/Bindings/Ogre/ClassBillboardSetFactory.chs
+++ b/HGamer3D/Bindings/Ogre/ClassBillboardSetFactory.chs
@@ -1,46 +1,46 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- ClassBillboardSetFactory.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.ClassBillboardSetFactory where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- ClassBillboardSetFactory.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.ClassBillboardSetFactory where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
 {# import HGamer3D.Bindings.Ogre.Utils #}
 {# import HGamer3D.Bindings.Ogre.ClassPtr #}
 {# import HGamer3D.Bindings.Ogre.StructHG3DClass #}
-
-#include "ClassBillboardSetFactory.h"
+
+#include "ClassBillboardSetFactory.h"
 {- function BillboardSetFactory -}
 {#fun ogre_bbsf_construct as new 
 { alloca- `HG3DClass' peek*} -> `()'  #}
diff --git a/HGamer3D/Bindings/Ogre/ClassBone.chs b/HGamer3D/Bindings/Ogre/ClassBone.chs
--- a/HGamer3D/Bindings/Ogre/ClassBone.chs
+++ b/HGamer3D/Bindings/Ogre/ClassBone.chs
@@ -1,48 +1,48 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- ClassBone.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.ClassBone where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- ClassBone.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.ClassBone where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
 {# import HGamer3D.Bindings.Ogre.Utils #}
 {# import HGamer3D.Bindings.Ogre.ClassPtr #}
 {# import HGamer3D.Bindings.Ogre.StructHG3DClass #}
 {# import HGamer3D.Bindings.Ogre.StructVec3 #}
 {# import HGamer3D.Bindings.Ogre.StructQuaternion #}
-
-#include "ClassBone.h"
+
+#include "ClassBone.h"
 {- function ~Bone -}
 {#fun ogre_bn_destruct as delete 
 { withHG3DClass* `HG3DClass' } -> `()'  #}
diff --git a/HGamer3D/Bindings/Ogre/ClassCamera.chs b/HGamer3D/Bindings/Ogre/ClassCamera.chs
--- a/HGamer3D/Bindings/Ogre/ClassCamera.chs
+++ b/HGamer3D/Bindings/Ogre/ClassCamera.chs
@@ -1,41 +1,41 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- ClassCamera.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.ClassCamera where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- ClassCamera.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.ClassCamera where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
 {# import HGamer3D.Bindings.Ogre.Utils #}
 {# import HGamer3D.Bindings.Ogre.ClassPtr #}
 {# import HGamer3D.Bindings.Ogre.StructHG3DClass #}
@@ -43,8 +43,8 @@
 {# import HGamer3D.Bindings.Ogre.StructRadians #}
 {# import HGamer3D.Bindings.Ogre.StructQuaternion #}
 {# import HGamer3D.Bindings.Ogre.EnumFrustumPlane #}
-
-#include "ClassCamera.h"
+
+#include "ClassCamera.h"
 {- function Camera -}
 {#fun ogre_cam_construct as new 
 { withCString* `String' ,
diff --git a/HGamer3D/Bindings/Ogre/ClassConfigFile.chs b/HGamer3D/Bindings/Ogre/ClassConfigFile.chs
--- a/HGamer3D/Bindings/Ogre/ClassConfigFile.chs
+++ b/HGamer3D/Bindings/Ogre/ClassConfigFile.chs
@@ -1,46 +1,46 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- ClassConfigFile.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.ClassConfigFile where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- ClassConfigFile.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.ClassConfigFile where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
 {# import HGamer3D.Bindings.Ogre.Utils #}
 {# import HGamer3D.Bindings.Ogre.ClassPtr #}
 {# import HGamer3D.Bindings.Ogre.StructHG3DClass #}
-
-#include "ClassConfigFile.h"
+
+#include "ClassConfigFile.h"
 {- function ConfigFile -}
 {#fun ogre_cf_construct as new 
 { alloca- `HG3DClass' peek*} -> `()'  #}
diff --git a/HGamer3D/Bindings/Ogre/ClassControllerManager.chs b/HGamer3D/Bindings/Ogre/ClassControllerManager.chs
--- a/HGamer3D/Bindings/Ogre/ClassControllerManager.chs
+++ b/HGamer3D/Bindings/Ogre/ClassControllerManager.chs
@@ -1,46 +1,46 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- ClassControllerManager.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.ClassControllerManager where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- ClassControllerManager.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.ClassControllerManager where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
 {# import HGamer3D.Bindings.Ogre.Utils #}
 {# import HGamer3D.Bindings.Ogre.ClassPtr #}
 {# import HGamer3D.Bindings.Ogre.StructHG3DClass #}
-
-#include "ClassControllerManager.h"
+
+#include "ClassControllerManager.h"
 {- function ControllerManager -}
 {#fun ogre_cmgr_construct as new 
 { alloca- `HG3DClass' peek*} -> `()'  #}
diff --git a/HGamer3D/Bindings/Ogre/ClassEntity.chs b/HGamer3D/Bindings/Ogre/ClassEntity.chs
--- a/HGamer3D/Bindings/Ogre/ClassEntity.chs
+++ b/HGamer3D/Bindings/Ogre/ClassEntity.chs
@@ -1,48 +1,48 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- ClassEntity.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.ClassEntity where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- ClassEntity.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.ClassEntity where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
 {# import HGamer3D.Bindings.Ogre.Utils #}
 {# import HGamer3D.Bindings.Ogre.ClassPtr #}
 {# import HGamer3D.Bindings.Ogre.StructHG3DClass #}
 {# import HGamer3D.Bindings.Ogre.StructSharedPtr #}
 {# import HGamer3D.Bindings.Ogre.EnumEntityVertexDataBindChoice #}
-
-#include "ClassEntity.h"
+
+#include "ClassEntity.h"
 {- function ~Entity -}
 {#fun ogre_ent_destruct as delete 
 { withHG3DClass* `HG3DClass' } -> `()'  #}
diff --git a/HGamer3D/Bindings/Ogre/ClassEntityFactory.chs b/HGamer3D/Bindings/Ogre/ClassEntityFactory.chs
--- a/HGamer3D/Bindings/Ogre/ClassEntityFactory.chs
+++ b/HGamer3D/Bindings/Ogre/ClassEntityFactory.chs
@@ -1,46 +1,46 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- ClassEntityFactory.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.ClassEntityFactory where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- ClassEntityFactory.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.ClassEntityFactory where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
 {# import HGamer3D.Bindings.Ogre.Utils #}
 {# import HGamer3D.Bindings.Ogre.ClassPtr #}
 {# import HGamer3D.Bindings.Ogre.StructHG3DClass #}
-
-#include "ClassEntityFactory.h"
+
+#include "ClassEntityFactory.h"
 {- function EntityFactory -}
 {#fun ogre_entf_construct as new 
 { alloca- `HG3DClass' peek*} -> `()'  #}
diff --git a/HGamer3D/Bindings/Ogre/ClassException.chs b/HGamer3D/Bindings/Ogre/ClassException.chs
--- a/HGamer3D/Bindings/Ogre/ClassException.chs
+++ b/HGamer3D/Bindings/Ogre/ClassException.chs
@@ -1,46 +1,46 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- ClassException.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.ClassException where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- ClassException.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.ClassException where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
 {# import HGamer3D.Bindings.Ogre.Utils #}
 {# import HGamer3D.Bindings.Ogre.ClassPtr #}
 {# import HGamer3D.Bindings.Ogre.StructHG3DClass #}
-
-#include "ClassException.h"
+
+#include "ClassException.h"
 {- function Exception -}
 {#fun ogre_exc_construct as new 
 { fromIntegral `Int' ,
diff --git a/HGamer3D/Bindings/Ogre/ClassFrustum.chs b/HGamer3D/Bindings/Ogre/ClassFrustum.chs
--- a/HGamer3D/Bindings/Ogre/ClassFrustum.chs
+++ b/HGamer3D/Bindings/Ogre/ClassFrustum.chs
@@ -1,41 +1,41 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- ClassFrustum.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.ClassFrustum where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- ClassFrustum.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.ClassFrustum where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
 {# import HGamer3D.Bindings.Ogre.Utils #}
 {# import HGamer3D.Bindings.Ogre.ClassPtr #}
 {# import HGamer3D.Bindings.Ogre.StructHG3DClass #}
@@ -47,8 +47,8 @@
 {# import HGamer3D.Bindings.Ogre.EnumProjectionType #}
 {# import HGamer3D.Bindings.Ogre.StructQuaternion #}
 {# import HGamer3D.Bindings.Ogre.EnumOrientationMode #}
-
-#include "ClassFrustum.h"
+
+#include "ClassFrustum.h"
 {- function Frustum -}
 {#fun ogre_frst_construct as new 
 { withCString* `String' ,
diff --git a/HGamer3D/Bindings/Ogre/ClassHG3DUtilities.chs b/HGamer3D/Bindings/Ogre/ClassHG3DUtilities.chs
--- a/HGamer3D/Bindings/Ogre/ClassHG3DUtilities.chs
+++ b/HGamer3D/Bindings/Ogre/ClassHG3DUtilities.chs
@@ -1,46 +1,46 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- ClassHG3DUtilities.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.ClassHG3DUtilities where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- ClassHG3DUtilities.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.ClassHG3DUtilities where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
 {# import HGamer3D.Bindings.Ogre.Utils #}
 {# import HGamer3D.Bindings.Ogre.ClassPtr #}
 {# import HGamer3D.Bindings.Ogre.StructHG3DClass #}
-
-#include "ClassHG3DUtilities.h"
+
+#include "ClassHG3DUtilities.h"
 {- function getWindowHandle -}
 {#fun ogre_hg3dutl_getWindowHandle as getWindowHandle 
 { withHG3DClass* `HG3DClass' ,
diff --git a/HGamer3D/Bindings/Ogre/ClassLight.chs b/HGamer3D/Bindings/Ogre/ClassLight.chs
--- a/HGamer3D/Bindings/Ogre/ClassLight.chs
+++ b/HGamer3D/Bindings/Ogre/ClassLight.chs
@@ -1,41 +1,41 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- ClassLight.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.ClassLight where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- ClassLight.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.ClassLight where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
 {# import HGamer3D.Bindings.Ogre.Utils #}
 {# import HGamer3D.Bindings.Ogre.ClassPtr #}
 {# import HGamer3D.Bindings.Ogre.StructHG3DClass #}
@@ -43,8 +43,8 @@
 {# import HGamer3D.Bindings.Ogre.StructColour #}
 {# import HGamer3D.Bindings.Ogre.StructVec3 #}
 {# import HGamer3D.Bindings.Ogre.StructRadians #}
-
-#include "ClassLight.h"
+
+#include "ClassLight.h"
 {- function Light2 -}
 {#fun ogre_lgt_construct as new 
 { withCString* `String' ,
diff --git a/HGamer3D/Bindings/Ogre/ClassLightFactory.chs b/HGamer3D/Bindings/Ogre/ClassLightFactory.chs
--- a/HGamer3D/Bindings/Ogre/ClassLightFactory.chs
+++ b/HGamer3D/Bindings/Ogre/ClassLightFactory.chs
@@ -1,46 +1,46 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- ClassLightFactory.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.ClassLightFactory where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- ClassLightFactory.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.ClassLightFactory where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
 {# import HGamer3D.Bindings.Ogre.Utils #}
 {# import HGamer3D.Bindings.Ogre.ClassPtr #}
 {# import HGamer3D.Bindings.Ogre.StructHG3DClass #}
-
-#include "ClassLightFactory.h"
+
+#include "ClassLightFactory.h"
 {- function LightFactory -}
 {#fun ogre_lgtf_construct as new 
 { alloca- `HG3DClass' peek*} -> `()'  #}
diff --git a/HGamer3D/Bindings/Ogre/ClassLog.chs b/HGamer3D/Bindings/Ogre/ClassLog.chs
--- a/HGamer3D/Bindings/Ogre/ClassLog.chs
+++ b/HGamer3D/Bindings/Ogre/ClassLog.chs
@@ -1,48 +1,48 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- ClassLog.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.ClassLog where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- ClassLog.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.ClassLog where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
 {# import HGamer3D.Bindings.Ogre.Utils #}
 {# import HGamer3D.Bindings.Ogre.ClassPtr #}
 {# import HGamer3D.Bindings.Ogre.StructHG3DClass #}
 {# import HGamer3D.Bindings.Ogre.EnumLogMessageLevel #}
 {# import HGamer3D.Bindings.Ogre.EnumLoggingLevel #}
-
-#include "ClassLog.h"
+
+#include "ClassLog.h"
 {- function ~Log -}
 {#fun ogre_lg_destruct as delete 
 { withHG3DClass* `HG3DClass' } -> `()'  #}
diff --git a/HGamer3D/Bindings/Ogre/ClassLogManager.chs b/HGamer3D/Bindings/Ogre/ClassLogManager.chs
--- a/HGamer3D/Bindings/Ogre/ClassLogManager.chs
+++ b/HGamer3D/Bindings/Ogre/ClassLogManager.chs
@@ -1,48 +1,48 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- ClassLogManager.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.ClassLogManager where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- ClassLogManager.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.ClassLogManager where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
 {# import HGamer3D.Bindings.Ogre.Utils #}
 {# import HGamer3D.Bindings.Ogre.ClassPtr #}
 {# import HGamer3D.Bindings.Ogre.StructHG3DClass #}
 {# import HGamer3D.Bindings.Ogre.EnumLogMessageLevel #}
 {# import HGamer3D.Bindings.Ogre.EnumLoggingLevel #}
-
-#include "ClassLogManager.h"
+
+#include "ClassLogManager.h"
 {- function ~LogManager -}
 {#fun ogre_lmgr_destruct as delete 
 { withHG3DClass* `HG3DClass' } -> `()'  #}
diff --git a/HGamer3D/Bindings/Ogre/ClassManualObject.chs b/HGamer3D/Bindings/Ogre/ClassManualObject.chs
--- a/HGamer3D/Bindings/Ogre/ClassManualObject.chs
+++ b/HGamer3D/Bindings/Ogre/ClassManualObject.chs
@@ -1,41 +1,41 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- ClassManualObject.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.ClassManualObject where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- ClassManualObject.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.ClassManualObject where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
 {# import HGamer3D.Bindings.Ogre.Utils #}
 {# import HGamer3D.Bindings.Ogre.ClassPtr #}
 {# import HGamer3D.Bindings.Ogre.StructHG3DClass #}
@@ -44,8 +44,8 @@
 {# import HGamer3D.Bindings.Ogre.StructVec2 #}
 {# import HGamer3D.Bindings.Ogre.StructColour #}
 {# import HGamer3D.Bindings.Ogre.StructSharedPtr #}
-
-#include "ClassManualObject.h"
+
+#include "ClassManualObject.h"
 {- function ManualObject -}
 {#fun ogre_mno_construct as new 
 { withCString* `String' ,
diff --git a/HGamer3D/Bindings/Ogre/ClassManualObjectFactory.chs b/HGamer3D/Bindings/Ogre/ClassManualObjectFactory.chs
--- a/HGamer3D/Bindings/Ogre/ClassManualObjectFactory.chs
+++ b/HGamer3D/Bindings/Ogre/ClassManualObjectFactory.chs
@@ -1,46 +1,46 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- ClassManualObjectFactory.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.ClassManualObjectFactory where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- ClassManualObjectFactory.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.ClassManualObjectFactory where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
 {# import HGamer3D.Bindings.Ogre.Utils #}
 {# import HGamer3D.Bindings.Ogre.ClassPtr #}
 {# import HGamer3D.Bindings.Ogre.StructHG3DClass #}
-
-#include "ClassManualObjectFactory.h"
+
+#include "ClassManualObjectFactory.h"
 {- function ManualObjectFactory -}
 {#fun ogre_mnof_construct as new 
 { alloca- `HG3DClass' peek*} -> `()'  #}
diff --git a/HGamer3D/Bindings/Ogre/ClassManualObjectSection.chs b/HGamer3D/Bindings/Ogre/ClassManualObjectSection.chs
--- a/HGamer3D/Bindings/Ogre/ClassManualObjectSection.chs
+++ b/HGamer3D/Bindings/Ogre/ClassManualObjectSection.chs
@@ -1,48 +1,48 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- ClassManualObjectSection.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.ClassManualObjectSection where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- ClassManualObjectSection.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.ClassManualObjectSection where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
 {# import HGamer3D.Bindings.Ogre.Utils #}
 {# import HGamer3D.Bindings.Ogre.ClassPtr #}
 {# import HGamer3D.Bindings.Ogre.StructHG3DClass #}
 {# import HGamer3D.Bindings.Ogre.EnumRenderOperationOperationType #}
 {# import HGamer3D.Bindings.Ogre.StructSharedPtr #}
-
-#include "ClassManualObjectSection.h"
+
+#include "ClassManualObjectSection.h"
 {- function ManualObjectSection -}
 {#fun ogre_mnos_construct as new 
 { withHG3DClass* `HG3DClass' ,
diff --git a/HGamer3D/Bindings/Ogre/ClassMaterial.chs b/HGamer3D/Bindings/Ogre/ClassMaterial.chs
--- a/HGamer3D/Bindings/Ogre/ClassMaterial.chs
+++ b/HGamer3D/Bindings/Ogre/ClassMaterial.chs
@@ -1,48 +1,48 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- ClassMaterial.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.ClassMaterial where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- ClassMaterial.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.ClassMaterial where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
 {# import HGamer3D.Bindings.Ogre.Utils #}
 {# import HGamer3D.Bindings.Ogre.ClassPtr #}
 {# import HGamer3D.Bindings.Ogre.StructHG3DClass #}
 {# import HGamer3D.Bindings.Ogre.StructSharedPtr #}
 {# import HGamer3D.Bindings.Ogre.StructColour #}
-
-#include "ClassMaterial.h"
+
+#include "ClassMaterial.h"
 {- function ~Material -}
 {#fun ogre_mtrl_destruct as delete 
 { withHG3DClass* `HG3DClass' } -> `()'  #}
diff --git a/HGamer3D/Bindings/Ogre/ClassMaterialManager.chs b/HGamer3D/Bindings/Ogre/ClassMaterialManager.chs
--- a/HGamer3D/Bindings/Ogre/ClassMaterialManager.chs
+++ b/HGamer3D/Bindings/Ogre/ClassMaterialManager.chs
@@ -1,47 +1,47 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- ClassMaterialManager.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.ClassMaterialManager where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- ClassMaterialManager.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.ClassMaterialManager where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
 {# import HGamer3D.Bindings.Ogre.Utils #}
 {# import HGamer3D.Bindings.Ogre.ClassPtr #}
 {# import HGamer3D.Bindings.Ogre.StructHG3DClass #}
 {# import HGamer3D.Bindings.Ogre.StructSharedPtr #}
-
-#include "ClassMaterialManager.h"
+
+#include "ClassMaterialManager.h"
 {- function MaterialManager -}
 {#fun ogre_mtrlmgr_construct as new 
 { alloca- `HG3DClass' peek*} -> `()'  #}
diff --git a/HGamer3D/Bindings/Ogre/ClassMesh.chs b/HGamer3D/Bindings/Ogre/ClassMesh.chs
--- a/HGamer3D/Bindings/Ogre/ClassMesh.chs
+++ b/HGamer3D/Bindings/Ogre/ClassMesh.chs
@@ -1,48 +1,48 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- ClassMesh.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.ClassMesh where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- ClassMesh.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.ClassMesh where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
 {# import HGamer3D.Bindings.Ogre.Utils #}
 {# import HGamer3D.Bindings.Ogre.ClassPtr #}
 {# import HGamer3D.Bindings.Ogre.StructHG3DClass #}
 {# import HGamer3D.Bindings.Ogre.StructSharedPtr #}
 {# import HGamer3D.Bindings.Ogre.EnumVertexAnimationType #}
-
-#include "ClassMesh.h"
+
+#include "ClassMesh.h"
 {- function ~Mesh -}
 {#fun ogre_msh_destruct as delete 
 { withHG3DClass* `HG3DClass' } -> `()'  #}
diff --git a/HGamer3D/Bindings/Ogre/ClassMeshManager.chs b/HGamer3D/Bindings/Ogre/ClassMeshManager.chs
--- a/HGamer3D/Bindings/Ogre/ClassMeshManager.chs
+++ b/HGamer3D/Bindings/Ogre/ClassMeshManager.chs
@@ -1,46 +1,46 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- ClassMeshManager.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.ClassMeshManager where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- ClassMeshManager.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.ClassMeshManager where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
 {# import HGamer3D.Bindings.Ogre.Utils #}
 {# import HGamer3D.Bindings.Ogre.ClassPtr #}
 {# import HGamer3D.Bindings.Ogre.StructHG3DClass #}
-
-#include "ClassMeshManager.h"
+
+#include "ClassMeshManager.h"
 {- function MeshManager -}
 {#fun ogre_mshmgr_construct as new 
 { alloca- `HG3DClass' peek*} -> `()'  #}
diff --git a/HGamer3D/Bindings/Ogre/ClassMovableObject.chs b/HGamer3D/Bindings/Ogre/ClassMovableObject.chs
--- a/HGamer3D/Bindings/Ogre/ClassMovableObject.chs
+++ b/HGamer3D/Bindings/Ogre/ClassMovableObject.chs
@@ -1,46 +1,46 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- ClassMovableObject.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.ClassMovableObject where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- ClassMovableObject.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.ClassMovableObject where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
 {# import HGamer3D.Bindings.Ogre.Utils #}
 {# import HGamer3D.Bindings.Ogre.ClassPtr #}
 {# import HGamer3D.Bindings.Ogre.StructHG3DClass #}
-
-#include "ClassMovableObject.h"
+
+#include "ClassMovableObject.h"
 {- function ~MovableObject -}
 {#fun ogre_mvo_destruct as delete 
 { withHG3DClass* `HG3DClass' } -> `()'  #}
diff --git a/HGamer3D/Bindings/Ogre/ClassMovableObjectFactory.chs b/HGamer3D/Bindings/Ogre/ClassMovableObjectFactory.chs
--- a/HGamer3D/Bindings/Ogre/ClassMovableObjectFactory.chs
+++ b/HGamer3D/Bindings/Ogre/ClassMovableObjectFactory.chs
@@ -1,46 +1,46 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- ClassMovableObjectFactory.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.ClassMovableObjectFactory where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- ClassMovableObjectFactory.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.ClassMovableObjectFactory where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
 {# import HGamer3D.Bindings.Ogre.Utils #}
 {# import HGamer3D.Bindings.Ogre.ClassPtr #}
 {# import HGamer3D.Bindings.Ogre.StructHG3DClass #}
-
-#include "ClassMovableObjectFactory.h"
+
+#include "ClassMovableObjectFactory.h"
 {- function ~MovableObjectFactory -}
 {#fun ogre_mvof_destruct as delete 
 { withHG3DClass* `HG3DClass' } -> `()'  #}
diff --git a/HGamer3D/Bindings/Ogre/ClassMultiRenderTarget.chs b/HGamer3D/Bindings/Ogre/ClassMultiRenderTarget.chs
--- a/HGamer3D/Bindings/Ogre/ClassMultiRenderTarget.chs
+++ b/HGamer3D/Bindings/Ogre/ClassMultiRenderTarget.chs
@@ -1,46 +1,46 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- ClassMultiRenderTarget.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.ClassMultiRenderTarget where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- ClassMultiRenderTarget.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.ClassMultiRenderTarget where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
 {# import HGamer3D.Bindings.Ogre.Utils #}
 {# import HGamer3D.Bindings.Ogre.ClassPtr #}
 {# import HGamer3D.Bindings.Ogre.StructHG3DClass #}
-
-#include "ClassMultiRenderTarget.h"
+
+#include "ClassMultiRenderTarget.h"
 {- function bindSurface -}
 {#fun ogre_mrt_bindSurface as bindSurface 
 { withHG3DClass* `HG3DClass' ,
diff --git a/HGamer3D/Bindings/Ogre/ClassNode.chs b/HGamer3D/Bindings/Ogre/ClassNode.chs
--- a/HGamer3D/Bindings/Ogre/ClassNode.chs
+++ b/HGamer3D/Bindings/Ogre/ClassNode.chs
@@ -1,41 +1,41 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- ClassNode.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.ClassNode where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- ClassNode.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.ClassNode where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
 {# import HGamer3D.Bindings.Ogre.Utils #}
 {# import HGamer3D.Bindings.Ogre.ClassPtr #}
 {# import HGamer3D.Bindings.Ogre.StructHG3DClass #}
@@ -43,8 +43,8 @@
 {# import HGamer3D.Bindings.Ogre.StructVec3 #}
 {# import HGamer3D.Bindings.Ogre.EnumNodeTransformSpace #}
 {# import HGamer3D.Bindings.Ogre.StructRadians #}
-
-#include "ClassNode.h"
+
+#include "ClassNode.h"
 {- function ~Node -}
 {#fun ogre_nd_destruct as delete 
 { withHG3DClass* `HG3DClass' } -> `()'  #}
diff --git a/HGamer3D/Bindings/Ogre/ClassNodeAnimationTrack.chs b/HGamer3D/Bindings/Ogre/ClassNodeAnimationTrack.chs
--- a/HGamer3D/Bindings/Ogre/ClassNodeAnimationTrack.chs
+++ b/HGamer3D/Bindings/Ogre/ClassNodeAnimationTrack.chs
@@ -1,46 +1,46 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- ClassNodeAnimationTrack.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.ClassNodeAnimationTrack where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- ClassNodeAnimationTrack.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.ClassNodeAnimationTrack where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
 {# import HGamer3D.Bindings.Ogre.Utils #}
 {# import HGamer3D.Bindings.Ogre.ClassPtr #}
 {# import HGamer3D.Bindings.Ogre.StructHG3DClass #}
-
-#include "ClassNodeAnimationTrack.h"
+
+#include "ClassNodeAnimationTrack.h"
 {- function NodeAnimationTrack -}
 {#fun ogre_noat_construct as new 
 { withHG3DClass* `HG3DClass' ,
diff --git a/HGamer3D/Bindings/Ogre/ClassNumericAnimationTrack.chs b/HGamer3D/Bindings/Ogre/ClassNumericAnimationTrack.chs
--- a/HGamer3D/Bindings/Ogre/ClassNumericAnimationTrack.chs
+++ b/HGamer3D/Bindings/Ogre/ClassNumericAnimationTrack.chs
@@ -1,46 +1,46 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- ClassNumericAnimationTrack.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.ClassNumericAnimationTrack where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- ClassNumericAnimationTrack.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.ClassNumericAnimationTrack where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
 {# import HGamer3D.Bindings.Ogre.Utils #}
 {# import HGamer3D.Bindings.Ogre.ClassPtr #}
 {# import HGamer3D.Bindings.Ogre.StructHG3DClass #}
-
-#include "ClassNumericAnimationTrack.h"
+
+#include "ClassNumericAnimationTrack.h"
 {- function NumericAnimationTrack -}
 {#fun ogre_nuat_construct as new 
 { withHG3DClass* `HG3DClass' ,
diff --git a/HGamer3D/Bindings/Ogre/ClassPtr.chs b/HGamer3D/Bindings/Ogre/ClassPtr.chs
--- a/HGamer3D/Bindings/Ogre/ClassPtr.chs
+++ b/HGamer3D/Bindings/Ogre/ClassPtr.chs
@@ -1,45 +1,45 @@
 {-# LANGUAGE EmptyDataDecls #-}
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- ClassPtr.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
+-- 
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- ClassPtr.chs
+
 -- Class Ptr Utilities
-
-module HGamer3D.Bindings.Ogre.ClassPtr where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
+
+module HGamer3D.Bindings.Ogre.ClassPtr where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
 {# import HGamer3D.Bindings.Ogre.Utils #}
-
-#include "ClassPtr.h"
+
+#include "ClassPtr.h"
 {- class ClassAnimation -}
 {#pointer *ClassAnimation as ClassAnimation#}
 {- class ClassAnimationState -}
diff --git a/HGamer3D/Bindings/Ogre/ClassRenderSystem.chs b/HGamer3D/Bindings/Ogre/ClassRenderSystem.chs
--- a/HGamer3D/Bindings/Ogre/ClassRenderSystem.chs
+++ b/HGamer3D/Bindings/Ogre/ClassRenderSystem.chs
@@ -3,7 +3,7 @@
 
 -- This source file is part of HGamer3D, a project to enable 3D game development 
 -- in Haskell. For the latest info, see http://www.hgamer3d.org .
--- 
+-- 
 
 -- (c) 2011-2014 Peter Althainz
 -- 
@@ -18,12 +18,12 @@
 -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 -- See the License for the specific language governing permissions and
 -- limitations under the License.
--- 
+-- 
 
 
 -- ClassRenderSystem.chs
 
--- 
+-- 
 
 module HGamer3D.Bindings.Ogre.ClassRenderSystem where
 
@@ -36,273 +36,283 @@
 import HGamer3D.Data.Colour
 import HGamer3D.Data.Angle
 
-{# import HGamer3D.Bindings.Ogre.Utils #}
-{# import HGamer3D.Bindings.Ogre.ClassPtr #}
-{# import HGamer3D.Bindings.Ogre.StructHG3DClass #}
-{# import HGamer3D.Bindings.Ogre.StructColour #}
-{# import HGamer3D.Bindings.Ogre.EnumGpuProgramType #}
+{# import HGamer3D.Bindings.Ogre.Utils #}
+{# import HGamer3D.Bindings.Ogre.ClassPtr #}
+{# import HGamer3D.Bindings.Ogre.StructHG3DClass #}
+{# import HGamer3D.Bindings.Ogre.StructColour #}
+{# import HGamer3D.Bindings.Ogre.EnumGpuProgramType #}
 
 #include "ClassRenderSystem.h"
-{- function ~RenderSystem -}
-{#fun ogre_rds_destruct as delete 
-{ withHG3DClass* `HG3DClass' } -> `()'  #}
-
-{- function getName -}
-{#fun ogre_rds_getName as getName 
-{ withHG3DClass* `HG3DClass' ,
- alloc64k- `String' peekCString*} -> `()'  #}
-
-{- function setConfigOption -}
-{#fun ogre_rds_setConfigOption as setConfigOption 
-{ withHG3DClass* `HG3DClass' ,
- withCString* `String' ,
- withCString* `String' } -> `()'  #}
-
-{- function validateConfigOptions -}
-{#fun ogre_rds_validateConfigOptions as validateConfigOptions 
-{ withHG3DClass* `HG3DClass' ,
- alloc64k- `String' peekCString*} -> `()'  #}
-
-{- function reinitialise -}
-{#fun ogre_rds_reinitialise as reinitialise 
-{ withHG3DClass* `HG3DClass' } -> `()'  #}
-
-{- function shutdown -}
-{#fun ogre_rds_shutdown as shutdown 
-{ withHG3DClass* `HG3DClass' } -> `()'  #}
-
-{- function setAmbientLight -}
-{#fun ogre_rds_setAmbientLight as setAmbientLight 
-{ withHG3DClass* `HG3DClass' ,
- realToFrac `Float' ,
- realToFrac `Float' ,
- realToFrac `Float' } -> `()'  #}
-
-{- function setLightingEnabled -}
-{#fun ogre_rds_setLightingEnabled as setLightingEnabled 
-{ withHG3DClass* `HG3DClass' ,
- fromBool `Bool' } -> `()'  #}
-
-{- function setWBufferEnabled -}
-{#fun ogre_rds_setWBufferEnabled as setWBufferEnabled 
-{ withHG3DClass* `HG3DClass' ,
- fromBool `Bool' } -> `()'  #}
-
-{- function getWBufferEnabled -}
-{#fun ogre_rds_getWBufferEnabled as getWBufferEnabled 
-{ withHG3DClass* `HG3DClass' ,
- alloca- `Bool' peekBoolUtil*} -> `()'  #}
-
-{- function createMultiRenderTarget -}
-{#fun ogre_rds_createMultiRenderTarget as createMultiRenderTarget 
-{ withHG3DClass* `HG3DClass' ,
- withCString* `String' ,
- alloca- `HG3DClass' peek*} -> `()'  #}
-
-{- function destroyRenderWindow -}
-{#fun ogre_rds_destroyRenderWindow as destroyRenderWindow 
-{ withHG3DClass* `HG3DClass' ,
- withCString* `String' } -> `()'  #}
-
-{- function destroyRenderTexture -}
-{#fun ogre_rds_destroyRenderTexture as destroyRenderTexture 
-{ withHG3DClass* `HG3DClass' ,
- withCString* `String' } -> `()'  #}
-
-{- function destroyRenderTarget -}
-{#fun ogre_rds_destroyRenderTarget as destroyRenderTarget 
-{ withHG3DClass* `HG3DClass' ,
- withCString* `String' } -> `()'  #}
-
-{- function attachRenderTarget -}
-{#fun ogre_rds_attachRenderTarget as attachRenderTarget 
-{ withHG3DClass* `HG3DClass' ,
- withHG3DClass* `HG3DClass' } -> `()'  #}
-
-{- function getRenderTarget -}
-{#fun ogre_rds_getRenderTarget as getRenderTarget 
-{ withHG3DClass* `HG3DClass' ,
- withCString* `String' ,
- alloca- `HG3DClass' peek*} -> `()'  #}
-
-{- function detachRenderTarget -}
-{#fun ogre_rds_detachRenderTarget as detachRenderTarget 
-{ withHG3DClass* `HG3DClass' ,
- withCString* `String' ,
- alloca- `HG3DClass' peek*} -> `()'  #}
-
-{- function getErrorDescription -}
-{#fun ogre_rds_getErrorDescription as getErrorDescription 
-{ withHG3DClass* `HG3DClass' ,
- fromIntegral `Int' ,
- alloc64k- `String' peekCString*} -> `()'  #}
-
-{- function setWaitForVerticalBlank -}
-{#fun ogre_rds_setWaitForVerticalBlank as setWaitForVerticalBlank 
-{ withHG3DClass* `HG3DClass' ,
- fromBool `Bool' } -> `()'  #}
-
-{- function getWaitForVerticalBlank -}
-{#fun ogre_rds_getWaitForVerticalBlank as getWaitForVerticalBlank 
-{ withHG3DClass* `HG3DClass' ,
- alloca- `Bool' peekBoolUtil*} -> `()'  #}
-
-{- function getGlobalNumberOfInstances -}
-{#fun ogre_rds_getGlobalNumberOfInstances as getGlobalNumberOfInstances 
-{ withHG3DClass* `HG3DClass' ,
- alloca- `Int' peekIntConv*} -> `()'  #}
-
-{- function setGlobalNumberOfInstances -}
-{#fun ogre_rds_setGlobalNumberOfInstances as setGlobalNumberOfInstances 
-{ withHG3DClass* `HG3DClass' ,
- fromIntegral `Int' } -> `()'  #}
-
-{- function setDepthBufferFor -}
-{#fun ogre_rds_setDepthBufferFor as setDepthBufferFor 
-{ withHG3DClass* `HG3DClass' ,
- withHG3DClass* `HG3DClass' } -> `()'  #}
-
-{- function areFixedFunctionLightsInViewSpace -}
-{#fun ogre_rds_areFixedFunctionLightsInViewSpace as areFixedFunctionLightsInViewSpace 
-{ withHG3DClass* `HG3DClass' ,
- alloca- `Bool' peekBoolUtil*} -> `()'  #}
-
-{- function convertColourValue -}
-{#fun ogre_rds_convertColourValue as convertColourValue 
-{ withHG3DClass* `HG3DClass' ,
- withColour* `Colour' ,
- alloca- `Int' peekIntConv*} -> `()'  #}
-
-{- function setStencilCheckEnabled -}
-{#fun ogre_rds_setStencilCheckEnabled as setStencilCheckEnabled 
-{ withHG3DClass* `HG3DClass' ,
- fromBool `Bool' } -> `()'  #}
-
-{- function setNormaliseNormals -}
-{#fun ogre_rds_setNormaliseNormals as setNormaliseNormals 
-{ withHG3DClass* `HG3DClass' ,
- fromBool `Bool' } -> `()'  #}
-
-{- function bindGpuProgramPassIterationParameters -}
-{#fun ogre_rds_bindGpuProgramPassIterationParameters as bindGpuProgramPassIterationParameters 
-{ withHG3DClass* `HG3DClass' ,
- cIntFromEnum `EnumGpuProgramType' } -> `()'  #}
-
-{- function unbindGpuProgram -}
-{#fun ogre_rds_unbindGpuProgram as unbindGpuProgram 
-{ withHG3DClass* `HG3DClass' ,
- cIntFromEnum `EnumGpuProgramType' } -> `()'  #}
-
-{- function isGpuProgramBound -}
-{#fun ogre_rds_isGpuProgramBound as isGpuProgramBound 
-{ withHG3DClass* `HG3DClass' ,
- cIntFromEnum `EnumGpuProgramType' ,
- alloca- `Bool' peekBoolUtil*} -> `()'  #}
-
-{- function addClipPlane2 -}
-{#fun ogre_rds_addClipPlane2 as addClipPlane2 
-{ withHG3DClass* `HG3DClass' ,
- realToFrac `Float' ,
- realToFrac `Float' ,
- realToFrac `Float' ,
- realToFrac `Float' } -> `()'  #}
-
-{- function resetClipPlanes -}
-{#fun ogre_rds_resetClipPlanes as resetClipPlanes 
-{ withHG3DClass* `HG3DClass' } -> `()'  #}
-
-{- function setInvertVertexWinding -}
-{#fun ogre_rds_setInvertVertexWinding as setInvertVertexWinding 
-{ withHG3DClass* `HG3DClass' ,
- fromBool `Bool' } -> `()'  #}
-
-{- function getInvertVertexWinding -}
-{#fun ogre_rds_getInvertVertexWinding as getInvertVertexWinding 
-{ withHG3DClass* `HG3DClass' ,
- alloca- `Bool' peekBoolUtil*} -> `()'  #}
-
-{- function setScissorTest -}
-{#fun ogre_rds_setScissorTest as setScissorTest 
-{ withHG3DClass* `HG3DClass' ,
- fromBool `Bool' ,
- fromIntegral `Int' ,
- fromIntegral `Int' ,
- fromIntegral `Int' ,
- fromIntegral `Int' } -> `()'  #}
-
-{- function clearFrameBuffer -}
-{#fun ogre_rds_clearFrameBuffer as clearFrameBuffer 
-{ withHG3DClass* `HG3DClass' ,
- fromIntegral `Int' ,
- withColour* `Colour' ,
- realToFrac `Float' ,
- fromIntegral `Int' } -> `()'  #}
-
-{- function getHorizontalTexelOffset -}
-{#fun ogre_rds_getHorizontalTexelOffset as getHorizontalTexelOffset 
-{ withHG3DClass* `HG3DClass' ,
- alloca- `Float' peekFloatConv*} -> `()'  #}
-
-{- function getVerticalTexelOffset -}
-{#fun ogre_rds_getVerticalTexelOffset as getVerticalTexelOffset 
-{ withHG3DClass* `HG3DClass' ,
- alloca- `Float' peekFloatConv*} -> `()'  #}
-
-{- function getMinimumDepthInputValue -}
-{#fun ogre_rds_getMinimumDepthInputValue as getMinimumDepthInputValue 
-{ withHG3DClass* `HG3DClass' ,
- alloca- `Float' peekFloatConv*} -> `()'  #}
-
-{- function getMaximumDepthInputValue -}
-{#fun ogre_rds_getMaximumDepthInputValue as getMaximumDepthInputValue 
-{ withHG3DClass* `HG3DClass' ,
- alloca- `Float' peekFloatConv*} -> `()'  #}
-
-{- function setCurrentPassIterationCount -}
-{#fun ogre_rds_setCurrentPassIterationCount as setCurrentPassIterationCount 
-{ withHG3DClass* `HG3DClass' ,
- fromIntegral `Int' } -> `()'  #}
-
-{- function setDeriveDepthBias -}
-{#fun ogre_rds_setDeriveDepthBias as setDeriveDepthBias 
-{ withHG3DClass* `HG3DClass' ,
- fromBool `Bool' ,
- realToFrac `Float' ,
- realToFrac `Float' ,
- realToFrac `Float' } -> `()'  #}
-
-{- function preExtraThreadsStarted -}
-{#fun ogre_rds_preExtraThreadsStarted as preExtraThreadsStarted 
-{ withHG3DClass* `HG3DClass' } -> `()'  #}
-
-{- function postExtraThreadsStarted -}
-{#fun ogre_rds_postExtraThreadsStarted as postExtraThreadsStarted 
-{ withHG3DClass* `HG3DClass' } -> `()'  #}
-
-{- function registerThread -}
-{#fun ogre_rds_registerThread as registerThread 
-{ withHG3DClass* `HG3DClass' } -> `()'  #}
-
-{- function unregisterThread -}
-{#fun ogre_rds_unregisterThread as unregisterThread 
-{ withHG3DClass* `HG3DClass' } -> `()'  #}
-
-{- function getDisplayMonitorCount -}
-{#fun ogre_rds_getDisplayMonitorCount as getDisplayMonitorCount 
-{ withHG3DClass* `HG3DClass' ,
- alloca- `Int' peekIntConv*} -> `()'  #}
-
-{- function beginProfileEvent -}
-{#fun ogre_rds_beginProfileEvent as beginProfileEvent 
-{ withHG3DClass* `HG3DClass' ,
- withCString* `String' } -> `()'  #}
-
-{- function endProfileEvent -}
-{#fun ogre_rds_endProfileEvent as endProfileEvent 
-{ withHG3DClass* `HG3DClass' } -> `()'  #}
-
-{- function markProfileEvent -}
-{#fun ogre_rds_markProfileEvent as markProfileEvent 
-{ withHG3DClass* `HG3DClass' ,
- withCString* `String' } -> `()'  #}
-
+{- function ~RenderSystem -}
+{#fun ogre_rds_destruct as delete 
+{ withHG3DClass* `HG3DClass' } -> `()'  #}
+
+{- function getName -}
+{#fun ogre_rds_getName as getName 
+{ withHG3DClass* `HG3DClass' ,
+ alloc64k- `String' peekCString*} -> `()'  #}
+
+{- function setConfigOption -}
+{#fun ogre_rds_setConfigOption as setConfigOption 
+{ withHG3DClass* `HG3DClass' ,
+ withCString* `String' ,
+ withCString* `String' } -> `()'  #}
+
+{- function validateConfigOptions -}
+{#fun ogre_rds_validateConfigOptions as validateConfigOptions 
+{ withHG3DClass* `HG3DClass' ,
+ alloc64k- `String' peekCString*} -> `()'  #}
+
+{- function reinitialise -}
+{#fun ogre_rds_reinitialise as reinitialise 
+{ withHG3DClass* `HG3DClass' } -> `()'  #}
+
+{- function shutdown -}
+{#fun ogre_rds_shutdown as shutdown 
+{ withHG3DClass* `HG3DClass' } -> `()'  #}
+
+{- function setAmbientLight -}
+{#fun ogre_rds_setAmbientLight as setAmbientLight 
+{ withHG3DClass* `HG3DClass' ,
+ realToFrac `Float' ,
+ realToFrac `Float' ,
+ realToFrac `Float' } -> `()'  #}
+
+{- function setLightingEnabled -}
+{#fun ogre_rds_setLightingEnabled as setLightingEnabled 
+{ withHG3DClass* `HG3DClass' ,
+ fromBool `Bool' } -> `()'  #}
+
+{- function setWBufferEnabled -}
+{#fun ogre_rds_setWBufferEnabled as setWBufferEnabled 
+{ withHG3DClass* `HG3DClass' ,
+ fromBool `Bool' } -> `()'  #}
+
+{- function getWBufferEnabled -}
+{#fun ogre_rds_getWBufferEnabled as getWBufferEnabled 
+{ withHG3DClass* `HG3DClass' ,
+ alloca- `Bool' peekBoolUtil*} -> `()'  #}
+
+{- function createMultiRenderTarget -}
+{#fun ogre_rds_createMultiRenderTarget as createMultiRenderTarget 
+{ withHG3DClass* `HG3DClass' ,
+ withCString* `String' ,
+ alloca- `HG3DClass' peek*} -> `()'  #}
+
+{- function destroyRenderWindow -}
+{#fun ogre_rds_destroyRenderWindow as destroyRenderWindow 
+{ withHG3DClass* `HG3DClass' ,
+ withCString* `String' } -> `()'  #}
+
+{- function destroyRenderTexture -}
+{#fun ogre_rds_destroyRenderTexture as destroyRenderTexture 
+{ withHG3DClass* `HG3DClass' ,
+ withCString* `String' } -> `()'  #}
+
+{- function destroyRenderTarget -}
+{#fun ogre_rds_destroyRenderTarget as destroyRenderTarget 
+{ withHG3DClass* `HG3DClass' ,
+ withCString* `String' } -> `()'  #}
+
+{- function attachRenderTarget -}
+{#fun ogre_rds_attachRenderTarget as attachRenderTarget 
+{ withHG3DClass* `HG3DClass' ,
+ withHG3DClass* `HG3DClass' } -> `()'  #}
+
+{- function getRenderTarget -}
+{#fun ogre_rds_getRenderTarget as getRenderTarget 
+{ withHG3DClass* `HG3DClass' ,
+ withCString* `String' ,
+ alloca- `HG3DClass' peek*} -> `()'  #}
+
+{- function detachRenderTarget -}
+{#fun ogre_rds_detachRenderTarget as detachRenderTarget 
+{ withHG3DClass* `HG3DClass' ,
+ withCString* `String' ,
+ alloca- `HG3DClass' peek*} -> `()'  #}
+
+{- function getErrorDescription -}
+{#fun ogre_rds_getErrorDescription as getErrorDescription 
+{ withHG3DClass* `HG3DClass' ,
+ fromIntegral `Int' ,
+ alloc64k- `String' peekCString*} -> `()'  #}
+
+{- function setWaitForVerticalBlank -}
+{#fun ogre_rds_setWaitForVerticalBlank as setWaitForVerticalBlank 
+{ withHG3DClass* `HG3DClass' ,
+ fromBool `Bool' } -> `()'  #}
+
+{- function getWaitForVerticalBlank -}
+{#fun ogre_rds_getWaitForVerticalBlank as getWaitForVerticalBlank 
+{ withHG3DClass* `HG3DClass' ,
+ alloca- `Bool' peekBoolUtil*} -> `()'  #}
+
+{- function getGlobalNumberOfInstances -}
+{#fun ogre_rds_getGlobalNumberOfInstances as getGlobalNumberOfInstances 
+{ withHG3DClass* `HG3DClass' ,
+ alloca- `Int' peekIntConv*} -> `()'  #}
+
+{- function setGlobalNumberOfInstances -}
+{#fun ogre_rds_setGlobalNumberOfInstances as setGlobalNumberOfInstances 
+{ withHG3DClass* `HG3DClass' ,
+ fromIntegral `Int' } -> `()'  #}
+
+{- function setFixedPipelineEnabled -}
+{#fun ogre_rds_setFixedPipelineEnabled as setFixedPipelineEnabled 
+{ withHG3DClass* `HG3DClass' ,
+ fromBool `Bool' } -> `()'  #}
+
+{- function getFixedPipelineEnabled -}
+{#fun ogre_rds_getFixedPipelineEnabled as getFixedPipelineEnabled 
+{ withHG3DClass* `HG3DClass' ,
+ alloca- `Bool' peekBoolUtil*} -> `()'  #}
+
+{- function setDepthBufferFor -}
+{#fun ogre_rds_setDepthBufferFor as setDepthBufferFor 
+{ withHG3DClass* `HG3DClass' ,
+ withHG3DClass* `HG3DClass' } -> `()'  #}
+
+{- function areFixedFunctionLightsInViewSpace -}
+{#fun ogre_rds_areFixedFunctionLightsInViewSpace as areFixedFunctionLightsInViewSpace 
+{ withHG3DClass* `HG3DClass' ,
+ alloca- `Bool' peekBoolUtil*} -> `()'  #}
+
+{- function convertColourValue -}
+{#fun ogre_rds_convertColourValue as convertColourValue 
+{ withHG3DClass* `HG3DClass' ,
+ withColour* `Colour' ,
+ alloca- `Int' peekIntConv*} -> `()'  #}
+
+{- function setStencilCheckEnabled -}
+{#fun ogre_rds_setStencilCheckEnabled as setStencilCheckEnabled 
+{ withHG3DClass* `HG3DClass' ,
+ fromBool `Bool' } -> `()'  #}
+
+{- function setNormaliseNormals -}
+{#fun ogre_rds_setNormaliseNormals as setNormaliseNormals 
+{ withHG3DClass* `HG3DClass' ,
+ fromBool `Bool' } -> `()'  #}
+
+{- function bindGpuProgramPassIterationParameters -}
+{#fun ogre_rds_bindGpuProgramPassIterationParameters as bindGpuProgramPassIterationParameters 
+{ withHG3DClass* `HG3DClass' ,
+ cIntFromEnum `EnumGpuProgramType' } -> `()'  #}
+
+{- function unbindGpuProgram -}
+{#fun ogre_rds_unbindGpuProgram as unbindGpuProgram 
+{ withHG3DClass* `HG3DClass' ,
+ cIntFromEnum `EnumGpuProgramType' } -> `()'  #}
+
+{- function isGpuProgramBound -}
+{#fun ogre_rds_isGpuProgramBound as isGpuProgramBound 
+{ withHG3DClass* `HG3DClass' ,
+ cIntFromEnum `EnumGpuProgramType' ,
+ alloca- `Bool' peekBoolUtil*} -> `()'  #}
+
+{- function addClipPlane2 -}
+{#fun ogre_rds_addClipPlane2 as addClipPlane2 
+{ withHG3DClass* `HG3DClass' ,
+ realToFrac `Float' ,
+ realToFrac `Float' ,
+ realToFrac `Float' ,
+ realToFrac `Float' } -> `()'  #}
+
+{- function resetClipPlanes -}
+{#fun ogre_rds_resetClipPlanes as resetClipPlanes 
+{ withHG3DClass* `HG3DClass' } -> `()'  #}
+
+{- function setInvertVertexWinding -}
+{#fun ogre_rds_setInvertVertexWinding as setInvertVertexWinding 
+{ withHG3DClass* `HG3DClass' ,
+ fromBool `Bool' } -> `()'  #}
+
+{- function getInvertVertexWinding -}
+{#fun ogre_rds_getInvertVertexWinding as getInvertVertexWinding 
+{ withHG3DClass* `HG3DClass' ,
+ alloca- `Bool' peekBoolUtil*} -> `()'  #}
+
+{- function setScissorTest -}
+{#fun ogre_rds_setScissorTest as setScissorTest 
+{ withHG3DClass* `HG3DClass' ,
+ fromBool `Bool' ,
+ fromIntegral `Int' ,
+ fromIntegral `Int' ,
+ fromIntegral `Int' ,
+ fromIntegral `Int' } -> `()'  #}
+
+{- function clearFrameBuffer -}
+{#fun ogre_rds_clearFrameBuffer as clearFrameBuffer 
+{ withHG3DClass* `HG3DClass' ,
+ fromIntegral `Int' ,
+ withColour* `Colour' ,
+ realToFrac `Float' ,
+ fromIntegral `Int' } -> `()'  #}
+
+{- function getHorizontalTexelOffset -}
+{#fun ogre_rds_getHorizontalTexelOffset as getHorizontalTexelOffset 
+{ withHG3DClass* `HG3DClass' ,
+ alloca- `Float' peekFloatConv*} -> `()'  #}
+
+{- function getVerticalTexelOffset -}
+{#fun ogre_rds_getVerticalTexelOffset as getVerticalTexelOffset 
+{ withHG3DClass* `HG3DClass' ,
+ alloca- `Float' peekFloatConv*} -> `()'  #}
+
+{- function getMinimumDepthInputValue -}
+{#fun ogre_rds_getMinimumDepthInputValue as getMinimumDepthInputValue 
+{ withHG3DClass* `HG3DClass' ,
+ alloca- `Float' peekFloatConv*} -> `()'  #}
+
+{- function getMaximumDepthInputValue -}
+{#fun ogre_rds_getMaximumDepthInputValue as getMaximumDepthInputValue 
+{ withHG3DClass* `HG3DClass' ,
+ alloca- `Float' peekFloatConv*} -> `()'  #}
+
+{- function setCurrentPassIterationCount -}
+{#fun ogre_rds_setCurrentPassIterationCount as setCurrentPassIterationCount 
+{ withHG3DClass* `HG3DClass' ,
+ fromIntegral `Int' } -> `()'  #}
+
+{- function setDeriveDepthBias -}
+{#fun ogre_rds_setDeriveDepthBias as setDeriveDepthBias 
+{ withHG3DClass* `HG3DClass' ,
+ fromBool `Bool' ,
+ realToFrac `Float' ,
+ realToFrac `Float' ,
+ realToFrac `Float' } -> `()'  #}
+
+{- function preExtraThreadsStarted -}
+{#fun ogre_rds_preExtraThreadsStarted as preExtraThreadsStarted 
+{ withHG3DClass* `HG3DClass' } -> `()'  #}
+
+{- function postExtraThreadsStarted -}
+{#fun ogre_rds_postExtraThreadsStarted as postExtraThreadsStarted 
+{ withHG3DClass* `HG3DClass' } -> `()'  #}
+
+{- function registerThread -}
+{#fun ogre_rds_registerThread as registerThread 
+{ withHG3DClass* `HG3DClass' } -> `()'  #}
+
+{- function unregisterThread -}
+{#fun ogre_rds_unregisterThread as unregisterThread 
+{ withHG3DClass* `HG3DClass' } -> `()'  #}
+
+{- function getDisplayMonitorCount -}
+{#fun ogre_rds_getDisplayMonitorCount as getDisplayMonitorCount 
+{ withHG3DClass* `HG3DClass' ,
+ alloca- `Int' peekIntConv*} -> `()'  #}
+
+{- function beginProfileEvent -}
+{#fun ogre_rds_beginProfileEvent as beginProfileEvent 
+{ withHG3DClass* `HG3DClass' ,
+ withCString* `String' } -> `()'  #}
+
+{- function endProfileEvent -}
+{#fun ogre_rds_endProfileEvent as endProfileEvent 
+{ withHG3DClass* `HG3DClass' } -> `()'  #}
+
+{- function markProfileEvent -}
+{#fun ogre_rds_markProfileEvent as markProfileEvent 
+{ withHG3DClass* `HG3DClass' ,
+ withCString* `String' } -> `()'  #}
+
diff --git a/HGamer3D/Bindings/Ogre/ClassRenderTarget.chs b/HGamer3D/Bindings/Ogre/ClassRenderTarget.chs
--- a/HGamer3D/Bindings/Ogre/ClassRenderTarget.chs
+++ b/HGamer3D/Bindings/Ogre/ClassRenderTarget.chs
@@ -1,46 +1,46 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- ClassRenderTarget.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.ClassRenderTarget where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- ClassRenderTarget.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.ClassRenderTarget where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
 {# import HGamer3D.Bindings.Ogre.Utils #}
 {# import HGamer3D.Bindings.Ogre.ClassPtr #}
 {# import HGamer3D.Bindings.Ogre.StructHG3DClass #}
-
-#include "ClassRenderTarget.h"
+
+#include "ClassRenderTarget.h"
 {- function ~RenderTarget -}
 {#fun ogre_rtgt_destruct as delete 
 { withHG3DClass* `HG3DClass' } -> `()'  #}
diff --git a/HGamer3D/Bindings/Ogre/ClassRenderTexture.chs b/HGamer3D/Bindings/Ogre/ClassRenderTexture.chs
--- a/HGamer3D/Bindings/Ogre/ClassRenderTexture.chs
+++ b/HGamer3D/Bindings/Ogre/ClassRenderTexture.chs
@@ -1,46 +1,46 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- ClassRenderTexture.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.ClassRenderTexture where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- ClassRenderTexture.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.ClassRenderTexture where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
 {# import HGamer3D.Bindings.Ogre.Utils #}
 {# import HGamer3D.Bindings.Ogre.ClassPtr #}
 {# import HGamer3D.Bindings.Ogre.StructHG3DClass #}
-
-#include "ClassRenderTexture.h"
+
+#include "ClassRenderTexture.h"
 {- function ~RenderTexture -}
 {#fun ogre_rtx_destruct as delete 
 { withHG3DClass* `HG3DClass' } -> `()'  #}
diff --git a/HGamer3D/Bindings/Ogre/ClassRenderWindow.chs b/HGamer3D/Bindings/Ogre/ClassRenderWindow.chs
--- a/HGamer3D/Bindings/Ogre/ClassRenderWindow.chs
+++ b/HGamer3D/Bindings/Ogre/ClassRenderWindow.chs
@@ -1,46 +1,46 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- ClassRenderWindow.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.ClassRenderWindow where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- ClassRenderWindow.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.ClassRenderWindow where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
 {# import HGamer3D.Bindings.Ogre.Utils #}
 {# import HGamer3D.Bindings.Ogre.ClassPtr #}
 {# import HGamer3D.Bindings.Ogre.StructHG3DClass #}
-
-#include "ClassRenderWindow.h"
+
+#include "ClassRenderWindow.h"
 {- function setFullscreen -}
 {#fun ogre_rw_setFullscreen as setFullscreen 
 { withHG3DClass* `HG3DClass' ,
diff --git a/HGamer3D/Bindings/Ogre/ClassRenderable.chs b/HGamer3D/Bindings/Ogre/ClassRenderable.chs
--- a/HGamer3D/Bindings/Ogre/ClassRenderable.chs
+++ b/HGamer3D/Bindings/Ogre/ClassRenderable.chs
@@ -1,47 +1,47 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- ClassRenderable.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.ClassRenderable where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- ClassRenderable.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.ClassRenderable where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
 {# import HGamer3D.Bindings.Ogre.Utils #}
 {# import HGamer3D.Bindings.Ogre.ClassPtr #}
 {# import HGamer3D.Bindings.Ogre.StructHG3DClass #}
 {# import HGamer3D.Bindings.Ogre.StructSharedPtr #}
-
-#include "ClassRenderable.h"
+
+#include "ClassRenderable.h"
 {- function ~Renderable -}
 {#fun ogre_rndl_destruct as delete 
 { withHG3DClass* `HG3DClass' } -> `()'  #}
diff --git a/HGamer3D/Bindings/Ogre/ClassResource.chs b/HGamer3D/Bindings/Ogre/ClassResource.chs
--- a/HGamer3D/Bindings/Ogre/ClassResource.chs
+++ b/HGamer3D/Bindings/Ogre/ClassResource.chs
@@ -1,46 +1,46 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- ClassResource.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.ClassResource where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- ClassResource.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.ClassResource where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
 {# import HGamer3D.Bindings.Ogre.Utils #}
 {# import HGamer3D.Bindings.Ogre.ClassPtr #}
 {# import HGamer3D.Bindings.Ogre.StructHG3DClass #}
-
-#include "ClassResource.h"
+
+#include "ClassResource.h"
 {- function ~Resource -}
 {#fun ogre_rsrc_destruct as delete 
 { withHG3DClass* `HG3DClass' } -> `()'  #}
diff --git a/HGamer3D/Bindings/Ogre/ClassResourceGroupManager.chs b/HGamer3D/Bindings/Ogre/ClassResourceGroupManager.chs
--- a/HGamer3D/Bindings/Ogre/ClassResourceGroupManager.chs
+++ b/HGamer3D/Bindings/Ogre/ClassResourceGroupManager.chs
@@ -1,46 +1,46 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- ClassResourceGroupManager.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.ClassResourceGroupManager where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- ClassResourceGroupManager.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.ClassResourceGroupManager where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
 {# import HGamer3D.Bindings.Ogre.Utils #}
 {# import HGamer3D.Bindings.Ogre.ClassPtr #}
 {# import HGamer3D.Bindings.Ogre.StructHG3DClass #}
-
-#include "ClassResourceGroupManager.h"
+
+#include "ClassResourceGroupManager.h"
 {- function ResourceGroupManager -}
 {#fun ogre_rgmgr_construct as new 
 { alloca- `HG3DClass' peek*} -> `()'  #}
diff --git a/HGamer3D/Bindings/Ogre/ClassResourceManager.chs b/HGamer3D/Bindings/Ogre/ClassResourceManager.chs
--- a/HGamer3D/Bindings/Ogre/ClassResourceManager.chs
+++ b/HGamer3D/Bindings/Ogre/ClassResourceManager.chs
@@ -1,46 +1,46 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- ClassResourceManager.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.ClassResourceManager where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- ClassResourceManager.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.ClassResourceManager where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
 {# import HGamer3D.Bindings.Ogre.Utils #}
 {# import HGamer3D.Bindings.Ogre.ClassPtr #}
 {# import HGamer3D.Bindings.Ogre.StructHG3DClass #}
-
-#include "ClassResourceManager.h"
+
+#include "ClassResourceManager.h"
 {- function ~ResourceManager -}
 {#fun ogre_rsrcmgr_destruct as delete 
 { withHG3DClass* `HG3DClass' } -> `()'  #}
diff --git a/HGamer3D/Bindings/Ogre/ClassRoot.chs b/HGamer3D/Bindings/Ogre/ClassRoot.chs
--- a/HGamer3D/Bindings/Ogre/ClassRoot.chs
+++ b/HGamer3D/Bindings/Ogre/ClassRoot.chs
@@ -1,47 +1,47 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- ClassRoot.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.ClassRoot where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- ClassRoot.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.ClassRoot where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
 {# import HGamer3D.Bindings.Ogre.Utils #}
 {# import HGamer3D.Bindings.Ogre.ClassPtr #}
 {# import HGamer3D.Bindings.Ogre.StructHG3DClass #}
 {# import HGamer3D.Bindings.Ogre.StructColour #}
-
-#include "ClassRoot.h"
+
+#include "ClassRoot.h"
 {- function Root -}
 {#fun ogre_rt_construct as new 
 { withCString* `String' ,
diff --git a/HGamer3D/Bindings/Ogre/ClassSceneManager.chs b/HGamer3D/Bindings/Ogre/ClassSceneManager.chs
--- a/HGamer3D/Bindings/Ogre/ClassSceneManager.chs
+++ b/HGamer3D/Bindings/Ogre/ClassSceneManager.chs
@@ -1,41 +1,41 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- ClassSceneManager.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.ClassSceneManager where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- ClassSceneManager.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.ClassSceneManager where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
 {# import HGamer3D.Bindings.Ogre.Utils #}
 {# import HGamer3D.Bindings.Ogre.ClassPtr #}
 {# import HGamer3D.Bindings.Ogre.StructHG3DClass #}
@@ -45,8 +45,8 @@
 {# import HGamer3D.Bindings.Ogre.StructQuaternion #}
 {# import HGamer3D.Bindings.Ogre.EnumSceneManagerSpecialCaseRenderQueueMode #}
 {# import HGamer3D.Bindings.Ogre.EnumLightType #}
-
-#include "ClassSceneManager.h"
+
+#include "ClassSceneManager.h"
 {- function ~SceneManager -}
 {#fun ogre_scmgr_destruct as delete 
 { withHG3DClass* `HG3DClass' } -> `()'  #}
diff --git a/HGamer3D/Bindings/Ogre/ClassSceneManagerFactory.chs b/HGamer3D/Bindings/Ogre/ClassSceneManagerFactory.chs
--- a/HGamer3D/Bindings/Ogre/ClassSceneManagerFactory.chs
+++ b/HGamer3D/Bindings/Ogre/ClassSceneManagerFactory.chs
@@ -1,46 +1,46 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- ClassSceneManagerFactory.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.ClassSceneManagerFactory where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- ClassSceneManagerFactory.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.ClassSceneManagerFactory where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
 {# import HGamer3D.Bindings.Ogre.Utils #}
 {# import HGamer3D.Bindings.Ogre.ClassPtr #}
 {# import HGamer3D.Bindings.Ogre.StructHG3DClass #}
-
-#include "ClassSceneManagerFactory.h"
+
+#include "ClassSceneManagerFactory.h"
 {- function ~SceneManagerFactory -}
 {#fun ogre_smf_destruct as delete 
 { withHG3DClass* `HG3DClass' } -> `()'  #}
diff --git a/HGamer3D/Bindings/Ogre/ClassSceneNode.chs b/HGamer3D/Bindings/Ogre/ClassSceneNode.chs
--- a/HGamer3D/Bindings/Ogre/ClassSceneNode.chs
+++ b/HGamer3D/Bindings/Ogre/ClassSceneNode.chs
@@ -1,48 +1,48 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- ClassSceneNode.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.ClassSceneNode where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- ClassSceneNode.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.ClassSceneNode where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
 {# import HGamer3D.Bindings.Ogre.Utils #}
 {# import HGamer3D.Bindings.Ogre.ClassPtr #}
 {# import HGamer3D.Bindings.Ogre.StructHG3DClass #}
 {# import HGamer3D.Bindings.Ogre.StructVec3 #}
 {# import HGamer3D.Bindings.Ogre.StructQuaternion #}
-
-#include "ClassSceneNode.h"
+
+#include "ClassSceneNode.h"
 {- function ~SceneNode -}
 {#fun ogre_sn_destruct as delete 
 { withHG3DClass* `HG3DClass' } -> `()'  #}
diff --git a/HGamer3D/Bindings/Ogre/ClassSkeleton.chs b/HGamer3D/Bindings/Ogre/ClassSkeleton.chs
--- a/HGamer3D/Bindings/Ogre/ClassSkeleton.chs
+++ b/HGamer3D/Bindings/Ogre/ClassSkeleton.chs
@@ -1,47 +1,47 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- ClassSkeleton.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.ClassSkeleton where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- ClassSkeleton.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.ClassSkeleton where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
 {# import HGamer3D.Bindings.Ogre.Utils #}
 {# import HGamer3D.Bindings.Ogre.ClassPtr #}
 {# import HGamer3D.Bindings.Ogre.StructHG3DClass #}
 {# import HGamer3D.Bindings.Ogre.EnumSkeletonAnimationBlendMode #}
-
-#include "ClassSkeleton.h"
+
+#include "ClassSkeleton.h"
 {- function ~Skeleton -}
 {#fun ogre_skl_destruct as delete 
 { withHG3DClass* `HG3DClass' } -> `()'  #}
diff --git a/HGamer3D/Bindings/Ogre/ClassSkeletonManager.chs b/HGamer3D/Bindings/Ogre/ClassSkeletonManager.chs
--- a/HGamer3D/Bindings/Ogre/ClassSkeletonManager.chs
+++ b/HGamer3D/Bindings/Ogre/ClassSkeletonManager.chs
@@ -1,46 +1,46 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- ClassSkeletonManager.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.ClassSkeletonManager where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- ClassSkeletonManager.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.ClassSkeletonManager where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
 {# import HGamer3D.Bindings.Ogre.Utils #}
 {# import HGamer3D.Bindings.Ogre.ClassPtr #}
 {# import HGamer3D.Bindings.Ogre.StructHG3DClass #}
-
-#include "ClassSkeletonManager.h"
+
+#include "ClassSkeletonManager.h"
 {- function SkeletonManager -}
 {#fun ogre_sklmgr_construct as new 
 { alloca- `HG3DClass' peek*} -> `()'  #}
diff --git a/HGamer3D/Bindings/Ogre/ClassTextureManager.chs b/HGamer3D/Bindings/Ogre/ClassTextureManager.chs
--- a/HGamer3D/Bindings/Ogre/ClassTextureManager.chs
+++ b/HGamer3D/Bindings/Ogre/ClassTextureManager.chs
@@ -1,46 +1,46 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- ClassTextureManager.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.ClassTextureManager where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- ClassTextureManager.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.ClassTextureManager where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
 {# import HGamer3D.Bindings.Ogre.Utils #}
 {# import HGamer3D.Bindings.Ogre.ClassPtr #}
 {# import HGamer3D.Bindings.Ogre.StructHG3DClass #}
-
-#include "ClassTextureManager.h"
+
+#include "ClassTextureManager.h"
 {- function ~TextureManager -}
 {#fun ogre_txmgr_destruct as delete 
 { withHG3DClass* `HG3DClass' } -> `()'  #}
diff --git a/HGamer3D/Bindings/Ogre/ClassTimeIndex.chs b/HGamer3D/Bindings/Ogre/ClassTimeIndex.chs
--- a/HGamer3D/Bindings/Ogre/ClassTimeIndex.chs
+++ b/HGamer3D/Bindings/Ogre/ClassTimeIndex.chs
@@ -1,46 +1,46 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- ClassTimeIndex.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.ClassTimeIndex where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- ClassTimeIndex.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.ClassTimeIndex where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
 {# import HGamer3D.Bindings.Ogre.Utils #}
 {# import HGamer3D.Bindings.Ogre.ClassPtr #}
 {# import HGamer3D.Bindings.Ogre.StructHG3DClass #}
-
-#include "ClassTimeIndex.h"
+
+#include "ClassTimeIndex.h"
 {- function TimeIndex -}
 {#fun ogre_tnx_construct as new 
 { realToFrac `Float' ,
diff --git a/HGamer3D/Bindings/Ogre/ClassVertexAnimationTrack.chs b/HGamer3D/Bindings/Ogre/ClassVertexAnimationTrack.chs
--- a/HGamer3D/Bindings/Ogre/ClassVertexAnimationTrack.chs
+++ b/HGamer3D/Bindings/Ogre/ClassVertexAnimationTrack.chs
@@ -1,48 +1,48 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- ClassVertexAnimationTrack.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.ClassVertexAnimationTrack where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- ClassVertexAnimationTrack.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.ClassVertexAnimationTrack where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
 {# import HGamer3D.Bindings.Ogre.Utils #}
 {# import HGamer3D.Bindings.Ogre.ClassPtr #}
 {# import HGamer3D.Bindings.Ogre.StructHG3DClass #}
 {# import HGamer3D.Bindings.Ogre.EnumVertexAnimationType #}
 {# import HGamer3D.Bindings.Ogre.EnumVertexAnimationTrackTargetMode #}
-
-#include "ClassVertexAnimationTrack.h"
+
+#include "ClassVertexAnimationTrack.h"
 {- function VertexAnimationTrack -}
 {#fun ogre_vat_construct as new 
 { withHG3DClass* `HG3DClass' ,
diff --git a/HGamer3D/Bindings/Ogre/ClassViewport.chs b/HGamer3D/Bindings/Ogre/ClassViewport.chs
--- a/HGamer3D/Bindings/Ogre/ClassViewport.chs
+++ b/HGamer3D/Bindings/Ogre/ClassViewport.chs
@@ -1,49 +1,49 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- ClassViewport.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.ClassViewport where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- ClassViewport.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.ClassViewport where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
 {# import HGamer3D.Bindings.Ogre.Utils #}
 {# import HGamer3D.Bindings.Ogre.ClassPtr #}
 {# import HGamer3D.Bindings.Ogre.StructHG3DClass #}
 {# import HGamer3D.Bindings.Ogre.StructColour #}
 {# import HGamer3D.Bindings.Ogre.EnumOrientationMode #}
 {# import HGamer3D.Bindings.Ogre.StructVec2 #}
-
-#include "ClassViewport.h"
+
+#include "ClassViewport.h"
 {- function Viewport -}
 {#fun ogre_vprt_construct as new 
 { withHG3DClass* `HG3DClass' ,
diff --git a/HGamer3D/Bindings/Ogre/ClassWindowEventUtilities.chs b/HGamer3D/Bindings/Ogre/ClassWindowEventUtilities.chs
--- a/HGamer3D/Bindings/Ogre/ClassWindowEventUtilities.chs
+++ b/HGamer3D/Bindings/Ogre/ClassWindowEventUtilities.chs
@@ -1,46 +1,46 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- ClassWindowEventUtilities.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.ClassWindowEventUtilities where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- ClassWindowEventUtilities.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.ClassWindowEventUtilities where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
 {# import HGamer3D.Bindings.Ogre.Utils #}
 {# import HGamer3D.Bindings.Ogre.ClassPtr #}
 {# import HGamer3D.Bindings.Ogre.StructHG3DClass #}
-
-#include "ClassWindowEventUtilities.h"
+
+#include "ClassWindowEventUtilities.h"
 {- function messagePump -}
 {#fun ogre_weu_messagePump as messagePump 
 { } -> `()'  #}
diff --git a/HGamer3D/Bindings/Ogre/EnumAnimationInterpolationMode.chs b/HGamer3D/Bindings/Ogre/EnumAnimationInterpolationMode.chs
--- a/HGamer3D/Bindings/Ogre/EnumAnimationInterpolationMode.chs
+++ b/HGamer3D/Bindings/Ogre/EnumAnimationInterpolationMode.chs
@@ -1,41 +1,41 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- EnumAnimationInterpolationMode.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.EnumAnimationInterpolationMode where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
-
-#include "EnumAnimationInterpolationMode.h"
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- EnumAnimationInterpolationMode.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.EnumAnimationInterpolationMode where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
+
+#include "EnumAnimationInterpolationMode.h"
 {#enum EnumAnimationInterpolationMode {} deriving (Eq)#}
diff --git a/HGamer3D/Bindings/Ogre/EnumAnimationRotationInterpolationMode.chs b/HGamer3D/Bindings/Ogre/EnumAnimationRotationInterpolationMode.chs
--- a/HGamer3D/Bindings/Ogre/EnumAnimationRotationInterpolationMode.chs
+++ b/HGamer3D/Bindings/Ogre/EnumAnimationRotationInterpolationMode.chs
@@ -1,41 +1,41 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- EnumAnimationRotationInterpolationMode.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.EnumAnimationRotationInterpolationMode where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
-
-#include "EnumAnimationRotationInterpolationMode.h"
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- EnumAnimationRotationInterpolationMode.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.EnumAnimationRotationInterpolationMode where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
+
+#include "EnumAnimationRotationInterpolationMode.h"
 {#enum EnumAnimationRotationInterpolationMode {} deriving (Eq)#}
diff --git a/HGamer3D/Bindings/Ogre/EnumAxisAlignedBoxCorner.chs b/HGamer3D/Bindings/Ogre/EnumAxisAlignedBoxCorner.chs
--- a/HGamer3D/Bindings/Ogre/EnumAxisAlignedBoxCorner.chs
+++ b/HGamer3D/Bindings/Ogre/EnumAxisAlignedBoxCorner.chs
@@ -1,41 +1,41 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- EnumAxisAlignedBoxCorner.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.EnumAxisAlignedBoxCorner where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
-
-#include "EnumAxisAlignedBoxCorner.h"
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- EnumAxisAlignedBoxCorner.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.EnumAxisAlignedBoxCorner where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
+
+#include "EnumAxisAlignedBoxCorner.h"
 {#enum EnumAxisAlignedBoxCorner {} deriving (Eq)#}
diff --git a/HGamer3D/Bindings/Ogre/EnumAxisAlignedBoxExtent.chs b/HGamer3D/Bindings/Ogre/EnumAxisAlignedBoxExtent.chs
--- a/HGamer3D/Bindings/Ogre/EnumAxisAlignedBoxExtent.chs
+++ b/HGamer3D/Bindings/Ogre/EnumAxisAlignedBoxExtent.chs
@@ -1,41 +1,41 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- EnumAxisAlignedBoxExtent.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.EnumAxisAlignedBoxExtent where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
-
-#include "EnumAxisAlignedBoxExtent.h"
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- EnumAxisAlignedBoxExtent.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.EnumAxisAlignedBoxExtent where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
+
+#include "EnumAxisAlignedBoxExtent.h"
 {#enum EnumAxisAlignedBoxExtent {} deriving (Eq)#}
diff --git a/HGamer3D/Bindings/Ogre/EnumBillboardChainTexCoordDirection.chs b/HGamer3D/Bindings/Ogre/EnumBillboardChainTexCoordDirection.chs
--- a/HGamer3D/Bindings/Ogre/EnumBillboardChainTexCoordDirection.chs
+++ b/HGamer3D/Bindings/Ogre/EnumBillboardChainTexCoordDirection.chs
@@ -1,41 +1,41 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- EnumBillboardChainTexCoordDirection.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.EnumBillboardChainTexCoordDirection where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
-
-#include "EnumBillboardChainTexCoordDirection.h"
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- EnumBillboardChainTexCoordDirection.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.EnumBillboardChainTexCoordDirection where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
+
+#include "EnumBillboardChainTexCoordDirection.h"
 {#enum EnumBillboardChainTexCoordDirection {} deriving (Eq)#}
diff --git a/HGamer3D/Bindings/Ogre/EnumBillboardOrigin.chs b/HGamer3D/Bindings/Ogre/EnumBillboardOrigin.chs
--- a/HGamer3D/Bindings/Ogre/EnumBillboardOrigin.chs
+++ b/HGamer3D/Bindings/Ogre/EnumBillboardOrigin.chs
@@ -1,41 +1,41 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- EnumBillboardOrigin.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.EnumBillboardOrigin where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
-
-#include "EnumBillboardOrigin.h"
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- EnumBillboardOrigin.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.EnumBillboardOrigin where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
+
+#include "EnumBillboardOrigin.h"
 {#enum EnumBillboardOrigin {} deriving (Eq)#}
diff --git a/HGamer3D/Bindings/Ogre/EnumBillboardRotationType.chs b/HGamer3D/Bindings/Ogre/EnumBillboardRotationType.chs
--- a/HGamer3D/Bindings/Ogre/EnumBillboardRotationType.chs
+++ b/HGamer3D/Bindings/Ogre/EnumBillboardRotationType.chs
@@ -1,41 +1,41 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- EnumBillboardRotationType.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.EnumBillboardRotationType where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
-
-#include "EnumBillboardRotationType.h"
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- EnumBillboardRotationType.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.EnumBillboardRotationType where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
+
+#include "EnumBillboardRotationType.h"
 {#enum EnumBillboardRotationType {} deriving (Eq)#}
diff --git a/HGamer3D/Bindings/Ogre/EnumBillboardType.chs b/HGamer3D/Bindings/Ogre/EnumBillboardType.chs
--- a/HGamer3D/Bindings/Ogre/EnumBillboardType.chs
+++ b/HGamer3D/Bindings/Ogre/EnumBillboardType.chs
@@ -1,41 +1,41 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- EnumBillboardType.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.EnumBillboardType where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
-
-#include "EnumBillboardType.h"
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- EnumBillboardType.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.EnumBillboardType where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
+
+#include "EnumBillboardType.h"
 {#enum EnumBillboardType {} deriving (Eq)#}
diff --git a/HGamer3D/Bindings/Ogre/EnumDataStreamAccessMode.chs b/HGamer3D/Bindings/Ogre/EnumDataStreamAccessMode.chs
--- a/HGamer3D/Bindings/Ogre/EnumDataStreamAccessMode.chs
+++ b/HGamer3D/Bindings/Ogre/EnumDataStreamAccessMode.chs
@@ -1,41 +1,41 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- EnumDataStreamAccessMode.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.EnumDataStreamAccessMode where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
-
-#include "EnumDataStreamAccessMode.h"
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- EnumDataStreamAccessMode.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.EnumDataStreamAccessMode where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
+
+#include "EnumDataStreamAccessMode.h"
 {#enum EnumDataStreamAccessMode {} deriving (Eq)#}
diff --git a/HGamer3D/Bindings/Ogre/EnumEntityVertexDataBindChoice.chs b/HGamer3D/Bindings/Ogre/EnumEntityVertexDataBindChoice.chs
--- a/HGamer3D/Bindings/Ogre/EnumEntityVertexDataBindChoice.chs
+++ b/HGamer3D/Bindings/Ogre/EnumEntityVertexDataBindChoice.chs
@@ -1,41 +1,41 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- EnumEntityVertexDataBindChoice.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.EnumEntityVertexDataBindChoice where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
-
-#include "EnumEntityVertexDataBindChoice.h"
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- EnumEntityVertexDataBindChoice.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.EnumEntityVertexDataBindChoice where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
+
+#include "EnumEntityVertexDataBindChoice.h"
 {#enum EnumEntityVertexDataBindChoice {} deriving (Eq)#}
diff --git a/HGamer3D/Bindings/Ogre/EnumExceptionCode.chs b/HGamer3D/Bindings/Ogre/EnumExceptionCode.chs
--- a/HGamer3D/Bindings/Ogre/EnumExceptionCode.chs
+++ b/HGamer3D/Bindings/Ogre/EnumExceptionCode.chs
@@ -1,41 +1,41 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- EnumExceptionCode.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.EnumExceptionCode where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
-
-#include "EnumExceptionCode.h"
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- EnumExceptionCode.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.EnumExceptionCode where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
+
+#include "EnumExceptionCode.h"
 {#enum EnumExceptionCode {} deriving (Eq)#}
diff --git a/HGamer3D/Bindings/Ogre/EnumFrustumPlane.chs b/HGamer3D/Bindings/Ogre/EnumFrustumPlane.chs
--- a/HGamer3D/Bindings/Ogre/EnumFrustumPlane.chs
+++ b/HGamer3D/Bindings/Ogre/EnumFrustumPlane.chs
@@ -1,41 +1,41 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- EnumFrustumPlane.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.EnumFrustumPlane where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
-
-#include "EnumFrustumPlane.h"
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- EnumFrustumPlane.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.EnumFrustumPlane where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
+
+#include "EnumFrustumPlane.h"
 {#enum EnumFrustumPlane {} deriving (Eq)#}
diff --git a/HGamer3D/Bindings/Ogre/EnumGpuProgramType.chs b/HGamer3D/Bindings/Ogre/EnumGpuProgramType.chs
--- a/HGamer3D/Bindings/Ogre/EnumGpuProgramType.chs
+++ b/HGamer3D/Bindings/Ogre/EnumGpuProgramType.chs
@@ -1,41 +1,41 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- EnumGpuProgramType.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.EnumGpuProgramType where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
-
-#include "EnumGpuProgramType.h"
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- EnumGpuProgramType.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.EnumGpuProgramType where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
+
+#include "EnumGpuProgramType.h"
 {#enum EnumGpuProgramType {} deriving (Eq)#}
diff --git a/HGamer3D/Bindings/Ogre/EnumLightType.chs b/HGamer3D/Bindings/Ogre/EnumLightType.chs
--- a/HGamer3D/Bindings/Ogre/EnumLightType.chs
+++ b/HGamer3D/Bindings/Ogre/EnumLightType.chs
@@ -1,41 +1,41 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- EnumLightType.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.EnumLightType where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
-
-#include "EnumLightType.h"
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- EnumLightType.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.EnumLightType where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
+
+#include "EnumLightType.h"
 {#enum EnumLightType {} deriving (Eq)#}
diff --git a/HGamer3D/Bindings/Ogre/EnumLogMessageLevel.chs b/HGamer3D/Bindings/Ogre/EnumLogMessageLevel.chs
--- a/HGamer3D/Bindings/Ogre/EnumLogMessageLevel.chs
+++ b/HGamer3D/Bindings/Ogre/EnumLogMessageLevel.chs
@@ -1,41 +1,41 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- EnumLogMessageLevel.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.EnumLogMessageLevel where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
-
-#include "EnumLogMessageLevel.h"
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- EnumLogMessageLevel.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.EnumLogMessageLevel where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
+
+#include "EnumLogMessageLevel.h"
 {#enum EnumLogMessageLevel {} deriving (Eq)#}
diff --git a/HGamer3D/Bindings/Ogre/EnumLoggingLevel.chs b/HGamer3D/Bindings/Ogre/EnumLoggingLevel.chs
--- a/HGamer3D/Bindings/Ogre/EnumLoggingLevel.chs
+++ b/HGamer3D/Bindings/Ogre/EnumLoggingLevel.chs
@@ -1,41 +1,41 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- EnumLoggingLevel.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.EnumLoggingLevel where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
-
-#include "EnumLoggingLevel.h"
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- EnumLoggingLevel.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.EnumLoggingLevel where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
+
+#include "EnumLoggingLevel.h"
 {#enum EnumLoggingLevel {} deriving (Eq)#}
diff --git a/HGamer3D/Bindings/Ogre/EnumMathAngleUnit.chs b/HGamer3D/Bindings/Ogre/EnumMathAngleUnit.chs
--- a/HGamer3D/Bindings/Ogre/EnumMathAngleUnit.chs
+++ b/HGamer3D/Bindings/Ogre/EnumMathAngleUnit.chs
@@ -1,41 +1,41 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- EnumMathAngleUnit.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.EnumMathAngleUnit where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
-
-#include "EnumMathAngleUnit.h"
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- EnumMathAngleUnit.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.EnumMathAngleUnit where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
+
+#include "EnumMathAngleUnit.h"
 {#enum EnumMathAngleUnit {} deriving (Eq)#}
diff --git a/HGamer3D/Bindings/Ogre/EnumMeshManagerMeshBuildType.chs b/HGamer3D/Bindings/Ogre/EnumMeshManagerMeshBuildType.chs
--- a/HGamer3D/Bindings/Ogre/EnumMeshManagerMeshBuildType.chs
+++ b/HGamer3D/Bindings/Ogre/EnumMeshManagerMeshBuildType.chs
@@ -1,41 +1,41 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- EnumMeshManagerMeshBuildType.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.EnumMeshManagerMeshBuildType where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
-
-#include "EnumMeshManagerMeshBuildType.h"
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- EnumMeshManagerMeshBuildType.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.EnumMeshManagerMeshBuildType where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
+
+#include "EnumMeshManagerMeshBuildType.h"
 {#enum EnumMeshManagerMeshBuildType {} deriving (Eq)#}
diff --git a/HGamer3D/Bindings/Ogre/EnumNodeTransformSpace.chs b/HGamer3D/Bindings/Ogre/EnumNodeTransformSpace.chs
--- a/HGamer3D/Bindings/Ogre/EnumNodeTransformSpace.chs
+++ b/HGamer3D/Bindings/Ogre/EnumNodeTransformSpace.chs
@@ -1,41 +1,41 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- EnumNodeTransformSpace.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.EnumNodeTransformSpace where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
-
-#include "EnumNodeTransformSpace.h"
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- EnumNodeTransformSpace.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.EnumNodeTransformSpace where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
+
+#include "EnumNodeTransformSpace.h"
 {#enum EnumNodeTransformSpace {} deriving (Eq)#}
diff --git a/HGamer3D/Bindings/Ogre/EnumOrientationMode.chs b/HGamer3D/Bindings/Ogre/EnumOrientationMode.chs
--- a/HGamer3D/Bindings/Ogre/EnumOrientationMode.chs
+++ b/HGamer3D/Bindings/Ogre/EnumOrientationMode.chs
@@ -1,41 +1,41 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- EnumOrientationMode.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.EnumOrientationMode where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
-
-#include "EnumOrientationMode.h"
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- EnumOrientationMode.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.EnumOrientationMode where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
+
+#include "EnumOrientationMode.h"
 {#enum EnumOrientationMode {} deriving (Eq)#}
diff --git a/HGamer3D/Bindings/Ogre/EnumProjectionType.chs b/HGamer3D/Bindings/Ogre/EnumProjectionType.chs
--- a/HGamer3D/Bindings/Ogre/EnumProjectionType.chs
+++ b/HGamer3D/Bindings/Ogre/EnumProjectionType.chs
@@ -1,41 +1,41 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- EnumProjectionType.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.EnumProjectionType where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
-
-#include "EnumProjectionType.h"
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- EnumProjectionType.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.EnumProjectionType where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
+
+#include "EnumProjectionType.h"
 {#enum EnumProjectionType {} deriving (Eq)#}
diff --git a/HGamer3D/Bindings/Ogre/EnumRenderOperationOperationType.chs b/HGamer3D/Bindings/Ogre/EnumRenderOperationOperationType.chs
--- a/HGamer3D/Bindings/Ogre/EnumRenderOperationOperationType.chs
+++ b/HGamer3D/Bindings/Ogre/EnumRenderOperationOperationType.chs
@@ -1,41 +1,41 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- EnumRenderOperationOperationType.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.EnumRenderOperationOperationType where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
-
-#include "EnumRenderOperationOperationType.h"
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- EnumRenderOperationOperationType.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.EnumRenderOperationOperationType where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
+
+#include "EnumRenderOperationOperationType.h"
 {#enum EnumRenderOperationOperationType {} deriving (Eq)#}
diff --git a/HGamer3D/Bindings/Ogre/EnumRenderTargetFrameBuffer.chs b/HGamer3D/Bindings/Ogre/EnumRenderTargetFrameBuffer.chs
--- a/HGamer3D/Bindings/Ogre/EnumRenderTargetFrameBuffer.chs
+++ b/HGamer3D/Bindings/Ogre/EnumRenderTargetFrameBuffer.chs
@@ -1,41 +1,41 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- EnumRenderTargetFrameBuffer.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.EnumRenderTargetFrameBuffer where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
-
-#include "EnumRenderTargetFrameBuffer.h"
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- EnumRenderTargetFrameBuffer.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.EnumRenderTargetFrameBuffer where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
+
+#include "EnumRenderTargetFrameBuffer.h"
 {#enum EnumRenderTargetFrameBuffer {} deriving (Eq)#}
diff --git a/HGamer3D/Bindings/Ogre/EnumRenderTargetStatFlags.chs b/HGamer3D/Bindings/Ogre/EnumRenderTargetStatFlags.chs
--- a/HGamer3D/Bindings/Ogre/EnumRenderTargetStatFlags.chs
+++ b/HGamer3D/Bindings/Ogre/EnumRenderTargetStatFlags.chs
@@ -1,41 +1,41 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- EnumRenderTargetStatFlags.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.EnumRenderTargetStatFlags where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
-
-#include "EnumRenderTargetStatFlags.h"
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- EnumRenderTargetStatFlags.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.EnumRenderTargetStatFlags where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
+
+#include "EnumRenderTargetStatFlags.h"
 {#enum EnumRenderTargetStatFlags {} deriving (Eq)#}
diff --git a/HGamer3D/Bindings/Ogre/EnumRootFrameEventTimeType.chs b/HGamer3D/Bindings/Ogre/EnumRootFrameEventTimeType.chs
--- a/HGamer3D/Bindings/Ogre/EnumRootFrameEventTimeType.chs
+++ b/HGamer3D/Bindings/Ogre/EnumRootFrameEventTimeType.chs
@@ -1,41 +1,41 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- EnumRootFrameEventTimeType.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.EnumRootFrameEventTimeType where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
-
-#include "EnumRootFrameEventTimeType.h"
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- EnumRootFrameEventTimeType.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.EnumRootFrameEventTimeType where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
+
+#include "EnumRootFrameEventTimeType.h"
 {#enum EnumRootFrameEventTimeType {} deriving (Eq)#}
diff --git a/HGamer3D/Bindings/Ogre/EnumSceneManagerBoxPlane.chs b/HGamer3D/Bindings/Ogre/EnumSceneManagerBoxPlane.chs
--- a/HGamer3D/Bindings/Ogre/EnumSceneManagerBoxPlane.chs
+++ b/HGamer3D/Bindings/Ogre/EnumSceneManagerBoxPlane.chs
@@ -1,41 +1,41 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- EnumSceneManagerBoxPlane.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.EnumSceneManagerBoxPlane where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
-
-#include "EnumSceneManagerBoxPlane.h"
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- EnumSceneManagerBoxPlane.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.EnumSceneManagerBoxPlane where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
+
+#include "EnumSceneManagerBoxPlane.h"
 {#enum EnumSceneManagerBoxPlane {} deriving (Eq)#}
diff --git a/HGamer3D/Bindings/Ogre/EnumSceneManagerIlluminationRenderStage.chs b/HGamer3D/Bindings/Ogre/EnumSceneManagerIlluminationRenderStage.chs
--- a/HGamer3D/Bindings/Ogre/EnumSceneManagerIlluminationRenderStage.chs
+++ b/HGamer3D/Bindings/Ogre/EnumSceneManagerIlluminationRenderStage.chs
@@ -1,41 +1,41 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- EnumSceneManagerIlluminationRenderStage.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.EnumSceneManagerIlluminationRenderStage where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
-
-#include "EnumSceneManagerIlluminationRenderStage.h"
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- EnumSceneManagerIlluminationRenderStage.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.EnumSceneManagerIlluminationRenderStage where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
+
+#include "EnumSceneManagerIlluminationRenderStage.h"
 {#enum EnumSceneManagerIlluminationRenderStage {} deriving (Eq)#}
diff --git a/HGamer3D/Bindings/Ogre/EnumSceneManagerPrefabType.chs b/HGamer3D/Bindings/Ogre/EnumSceneManagerPrefabType.chs
--- a/HGamer3D/Bindings/Ogre/EnumSceneManagerPrefabType.chs
+++ b/HGamer3D/Bindings/Ogre/EnumSceneManagerPrefabType.chs
@@ -1,41 +1,41 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- EnumSceneManagerPrefabType.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.EnumSceneManagerPrefabType where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
-
-#include "EnumSceneManagerPrefabType.h"
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- EnumSceneManagerPrefabType.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.EnumSceneManagerPrefabType where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
+
+#include "EnumSceneManagerPrefabType.h"
 {#enum EnumSceneManagerPrefabType {} deriving (Eq)#}
diff --git a/HGamer3D/Bindings/Ogre/EnumSceneManagerSpecialCaseRenderQueueMode.chs b/HGamer3D/Bindings/Ogre/EnumSceneManagerSpecialCaseRenderQueueMode.chs
--- a/HGamer3D/Bindings/Ogre/EnumSceneManagerSpecialCaseRenderQueueMode.chs
+++ b/HGamer3D/Bindings/Ogre/EnumSceneManagerSpecialCaseRenderQueueMode.chs
@@ -1,41 +1,41 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- EnumSceneManagerSpecialCaseRenderQueueMode.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.EnumSceneManagerSpecialCaseRenderQueueMode where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
-
-#include "EnumSceneManagerSpecialCaseRenderQueueMode.h"
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- EnumSceneManagerSpecialCaseRenderQueueMode.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.EnumSceneManagerSpecialCaseRenderQueueMode where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
+
+#include "EnumSceneManagerSpecialCaseRenderQueueMode.h"
 {#enum EnumSceneManagerSpecialCaseRenderQueueMode {} deriving (Eq)#}
diff --git a/HGamer3D/Bindings/Ogre/EnumSceneType.chs b/HGamer3D/Bindings/Ogre/EnumSceneType.chs
--- a/HGamer3D/Bindings/Ogre/EnumSceneType.chs
+++ b/HGamer3D/Bindings/Ogre/EnumSceneType.chs
@@ -1,41 +1,41 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- EnumSceneType.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.EnumSceneType where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
-
-#include "EnumSceneType.h"
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- EnumSceneType.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.EnumSceneType where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
+
+#include "EnumSceneType.h"
 {#enum EnumSceneType {} deriving (Eq)#}
diff --git a/HGamer3D/Bindings/Ogre/EnumSkeletonAnimationBlendMode.chs b/HGamer3D/Bindings/Ogre/EnumSkeletonAnimationBlendMode.chs
--- a/HGamer3D/Bindings/Ogre/EnumSkeletonAnimationBlendMode.chs
+++ b/HGamer3D/Bindings/Ogre/EnumSkeletonAnimationBlendMode.chs
@@ -1,41 +1,41 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- EnumSkeletonAnimationBlendMode.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.EnumSkeletonAnimationBlendMode where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
-
-#include "EnumSkeletonAnimationBlendMode.h"
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- EnumSkeletonAnimationBlendMode.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.EnumSkeletonAnimationBlendMode where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
+
+#include "EnumSkeletonAnimationBlendMode.h"
 {#enum EnumSkeletonAnimationBlendMode {} deriving (Eq)#}
diff --git a/HGamer3D/Bindings/Ogre/EnumStencilOperation.chs b/HGamer3D/Bindings/Ogre/EnumStencilOperation.chs
--- a/HGamer3D/Bindings/Ogre/EnumStencilOperation.chs
+++ b/HGamer3D/Bindings/Ogre/EnumStencilOperation.chs
@@ -1,41 +1,41 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- EnumStencilOperation.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.EnumStencilOperation where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
-
-#include "EnumStencilOperation.h"
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- EnumStencilOperation.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.EnumStencilOperation where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
+
+#include "EnumStencilOperation.h"
 {#enum EnumStencilOperation {} deriving (Eq)#}
diff --git a/HGamer3D/Bindings/Ogre/EnumTexCoordCalcMethod.chs b/HGamer3D/Bindings/Ogre/EnumTexCoordCalcMethod.chs
--- a/HGamer3D/Bindings/Ogre/EnumTexCoordCalcMethod.chs
+++ b/HGamer3D/Bindings/Ogre/EnumTexCoordCalcMethod.chs
@@ -1,41 +1,41 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- EnumTexCoordCalcMethod.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.EnumTexCoordCalcMethod where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
-
-#include "EnumTexCoordCalcMethod.h"
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- EnumTexCoordCalcMethod.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.EnumTexCoordCalcMethod where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
+
+#include "EnumTexCoordCalcMethod.h"
 {#enum EnumTexCoordCalcMethod {} deriving (Eq)#}
diff --git a/HGamer3D/Bindings/Ogre/EnumVertexAnimationTrackTargetMode.chs b/HGamer3D/Bindings/Ogre/EnumVertexAnimationTrackTargetMode.chs
--- a/HGamer3D/Bindings/Ogre/EnumVertexAnimationTrackTargetMode.chs
+++ b/HGamer3D/Bindings/Ogre/EnumVertexAnimationTrackTargetMode.chs
@@ -1,41 +1,41 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- EnumVertexAnimationTrackTargetMode.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.EnumVertexAnimationTrackTargetMode where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
-
-#include "EnumVertexAnimationTrackTargetMode.h"
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- EnumVertexAnimationTrackTargetMode.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.EnumVertexAnimationTrackTargetMode where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
+
+#include "EnumVertexAnimationTrackTargetMode.h"
 {#enum EnumVertexAnimationTrackTargetMode {} deriving (Eq)#}
diff --git a/HGamer3D/Bindings/Ogre/EnumVertexAnimationType.chs b/HGamer3D/Bindings/Ogre/EnumVertexAnimationType.chs
--- a/HGamer3D/Bindings/Ogre/EnumVertexAnimationType.chs
+++ b/HGamer3D/Bindings/Ogre/EnumVertexAnimationType.chs
@@ -1,41 +1,41 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- EnumVertexAnimationType.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.EnumVertexAnimationType where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
-
-#include "EnumVertexAnimationType.h"
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- EnumVertexAnimationType.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.EnumVertexAnimationType where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
+
+#include "EnumVertexAnimationType.h"
 {#enum EnumVertexAnimationType {} deriving (Eq)#}
diff --git a/HGamer3D/Bindings/Ogre/StructColour.chs b/HGamer3D/Bindings/Ogre/StructColour.chs
--- a/HGamer3D/Bindings/Ogre/StructColour.chs
+++ b/HGamer3D/Bindings/Ogre/StructColour.chs
@@ -1,43 +1,43 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- StructColour.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.StructColour where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
-
-#include "StructColour.h"
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- StructColour.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.StructColour where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
+
+#include "StructColour.h"
 
 import Data.Bits
 import HGamer3D.Data.Colour
diff --git a/HGamer3D/Bindings/Ogre/StructDegrees.chs b/HGamer3D/Bindings/Ogre/StructDegrees.chs
--- a/HGamer3D/Bindings/Ogre/StructDegrees.chs
+++ b/HGamer3D/Bindings/Ogre/StructDegrees.chs
@@ -1,43 +1,43 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- StructDegrees.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.StructDegrees where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
-
-#include "StructDegrees.h"
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- StructDegrees.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.StructDegrees where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
+
+#include "StructDegrees.h"
 
 import Data.Bits
 import HGamer3D.Data.Angle
diff --git a/HGamer3D/Bindings/Ogre/StructHG3DClass.chs b/HGamer3D/Bindings/Ogre/StructHG3DClass.chs
--- a/HGamer3D/Bindings/Ogre/StructHG3DClass.chs
+++ b/HGamer3D/Bindings/Ogre/StructHG3DClass.chs
@@ -1,43 +1,43 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- StructHG3DClass.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.StructHG3DClass where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
-
-#include "StructHG3DClass.h"
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- StructHG3DClass.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.StructHG3DClass where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
+
+#include "StructHG3DClass.h"
 
 import Data.Bits
 import HGamer3D.Data.HG3DClass
diff --git a/HGamer3D/Bindings/Ogre/StructQuaternion.chs b/HGamer3D/Bindings/Ogre/StructQuaternion.chs
--- a/HGamer3D/Bindings/Ogre/StructQuaternion.chs
+++ b/HGamer3D/Bindings/Ogre/StructQuaternion.chs
@@ -1,43 +1,43 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- StructQuaternion.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.StructQuaternion where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
-
-#include "StructQuaternion.h"
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- StructQuaternion.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.StructQuaternion where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
+
+#include "StructQuaternion.h"
 
 import Data.Bits
 import HGamer3D.Data.Vector
diff --git a/HGamer3D/Bindings/Ogre/StructRadians.chs b/HGamer3D/Bindings/Ogre/StructRadians.chs
--- a/HGamer3D/Bindings/Ogre/StructRadians.chs
+++ b/HGamer3D/Bindings/Ogre/StructRadians.chs
@@ -1,43 +1,43 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- StructRadians.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.StructRadians where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
-
-#include "StructRadians.h"
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- StructRadians.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.StructRadians where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
+
+#include "StructRadians.h"
 
 import Data.Bits
 import HGamer3D.Data.Angle
diff --git a/HGamer3D/Bindings/Ogre/StructSharedPtr.chs b/HGamer3D/Bindings/Ogre/StructSharedPtr.chs
--- a/HGamer3D/Bindings/Ogre/StructSharedPtr.chs
+++ b/HGamer3D/Bindings/Ogre/StructSharedPtr.chs
@@ -1,43 +1,43 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- StructSharedPtr.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.StructSharedPtr where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
-
-#include "StructSharedPtr.h"
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- StructSharedPtr.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.StructSharedPtr where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
+
+#include "StructSharedPtr.h"
 
 import Data.Bits
 
diff --git a/HGamer3D/Bindings/Ogre/StructVec2.chs b/HGamer3D/Bindings/Ogre/StructVec2.chs
--- a/HGamer3D/Bindings/Ogre/StructVec2.chs
+++ b/HGamer3D/Bindings/Ogre/StructVec2.chs
@@ -1,43 +1,43 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- StructVec2.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.StructVec2 where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
-
-#include "StructVec2.h"
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- StructVec2.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.StructVec2 where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
+
+#include "StructVec2.h"
 
 import Data.Bits
 import HGamer3D.Data.Vector
diff --git a/HGamer3D/Bindings/Ogre/StructVec3.chs b/HGamer3D/Bindings/Ogre/StructVec3.chs
--- a/HGamer3D/Bindings/Ogre/StructVec3.chs
+++ b/HGamer3D/Bindings/Ogre/StructVec3.chs
@@ -1,43 +1,43 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- StructVec3.chs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
 -- 
-
-module HGamer3D.Bindings.Ogre.StructVec3 where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
-
-#include "StructVec3.h"
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- StructVec3.chs
+
+-- 
+
+module HGamer3D.Bindings.Ogre.StructVec3 where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
+
+#include "StructVec3.h"
 
 import Data.Bits
 import HGamer3D.Data.Vector
diff --git a/HGamer3D/Bindings/Ogre/Utils.chs b/HGamer3D/Bindings/Ogre/Utils.chs
--- a/HGamer3D/Bindings/Ogre/Utils.chs
+++ b/HGamer3D/Bindings/Ogre/Utils.chs
@@ -1,43 +1,43 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-{-# LANGUAGE TypeSynonymInstances #-}
-
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+{-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE TypeSynonymInstances #-}
+
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
-
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+
+-- (c) 2011-2014 Peter Althainz
 -- 
-
-
--- Utils.hs
-
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
+-- 
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+
+
+-- Utils.hs
+
 -- Marshalling Utilities
-
-module HGamer3D.Bindings.Ogre.Utils where
-
-import Foreign
-import Foreign.Ptr
-import Foreign.C
-
-import HGamer3D.Data.HG3DClass
-import HGamer3D.Data.Vector
-import HGamer3D.Data.Colour
-import HGamer3D.Data.Angle
-
-
-#include "StructHG3DClass.h"
+
+module HGamer3D.Bindings.Ogre.Utils where
+
+import Foreign
+import Foreign.Ptr
+import Foreign.C
+
+import HGamer3D.Data.HG3DClass
+import HGamer3D.Data.Vector
+import HGamer3D.Data.Colour
+import HGamer3D.Data.Angle
+
+
+#include "StructHG3DClass.h"
 
 import Control.Monad (liftM)
 
diff --git a/LICENSE b/LICENSE
--- a/LICENSE
+++ b/LICENSE
@@ -1,13 +1,13 @@
-(c) 2011-2014 Peter Althainz
-
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
+(c) 2011-2014 Peter Althainz
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
diff --git a/Setup.hs b/Setup.hs
--- a/Setup.hs
+++ b/Setup.hs
@@ -1,21 +1,21 @@
--- This source file is part of HGamer3D, a project to enable 3D game development 
--- in Haskell. For the latest info, see http://www.hgamer3d.org .
+-- This source file is part of HGamer3D, a project to enable 3D game development 
+-- in Haskell. For the latest info, see http://www.hgamer3d.org .
 -- 
--- (c) 2011-2014 Peter Althainz
--- 
--- Licensed under the Apache License, Version 2.0 (the "License");
--- you may not use this file except in compliance with the License.
--- You may obtain a copy of the License at
--- 
---     http://www.apache.org/licenses/LICENSE-2.0
--- 
--- Unless required by applicable law or agreed to in writing, software
--- distributed under the License is distributed on an "AS IS" BASIS,
--- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--- See the License for the specific language governing permissions and
--- limitations under the License.
+-- (c) 2011-2014 Peter Althainz
 -- 
--- Setup.hs
-
-import Distribution.Simple
-main = defaultMain
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
+-- 
+--     http://www.apache.org/licenses/LICENSE-2.0
+-- 
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- 
+-- Setup.hs
+
+import Distribution.Simple
+main = defaultMain
diff --git a/include/ClassAnimation.h b/include/ClassAnimation.h
--- a/include/ClassAnimation.h
+++ b/include/ClassAnimation.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,152 +14,152 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // ClassAnimation.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_ClassAnimation
-#define _DEFINED_HG3D_ClassAnimation
-
-#include "ClassPtr.h"
-#include "ClassNodeAnimationTrack.h"
-#include "ClassNumericAnimationTrack.h"
-#include "ClassVertexAnimationTrack.h"
-#include "EnumVertexAnimationType.h"
-#include "ClassNode.h"
-#include "ClassSkeleton.h"
-#include "ClassEntity.h"
-#include "EnumAnimationInterpolationMode.h"
-#include "EnumAnimationRotationInterpolationMode.h"
+#ifndef _DEFINED_HG3D_ClassAnimation
+#define _DEFINED_HG3D_ClassAnimation
 
+#include "ClassPtr.h"
+#include "ClassNodeAnimationTrack.h"
+#include "ClassNumericAnimationTrack.h"
+#include "ClassVertexAnimationTrack.h"
+#include "EnumVertexAnimationType.h"
+#include "ClassNode.h"
+#include "ClassSkeleton.h"
+#include "ClassEntity.h"
+#include "EnumAnimationInterpolationMode.h"
+#include "EnumAnimationRotationInterpolationMode.h"
 
-// 
-void ogre_anm_destruct(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_anm_getName(struct hg3dclass_struct * thisclass_c, char * result_c);
-
-// 
-void ogre_anm_getLength(struct hg3dclass_struct * thisclass_c, float * result_c);
-
-// 
-void ogre_anm_setLength(struct hg3dclass_struct * thisclass_c, float len_c);
-
-// 
-void ogre_anm_createNodeTrack(struct hg3dclass_struct * thisclass_c, unsigned short handle_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_anm_createNumericTrack(struct hg3dclass_struct * thisclass_c, unsigned short handle_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_anm_createVertexTrack(struct hg3dclass_struct * thisclass_c, unsigned short handle_c, enum EnumVertexAnimationType animType_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_anm_createNodeTrack2(struct hg3dclass_struct * thisclass_c, unsigned short handle_c, struct hg3dclass_struct * node_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_anm_getNumNodeTracks(struct hg3dclass_struct * thisclass_c, unsigned short * result_c);
-
-// 
-void ogre_anm_getNodeTrack(struct hg3dclass_struct * thisclass_c, unsigned short handle_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_anm_hasNodeTrack(struct hg3dclass_struct * thisclass_c, unsigned short handle_c, long * result_c);
-
-// 
-void ogre_anm_getNumNumericTracks(struct hg3dclass_struct * thisclass_c, unsigned short * result_c);
-
-// 
-void ogre_anm_getNumericTrack(struct hg3dclass_struct * thisclass_c, unsigned short handle_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_anm_hasNumericTrack(struct hg3dclass_struct * thisclass_c, unsigned short handle_c, long * result_c);
-
-// 
-void ogre_anm_getNumVertexTracks(struct hg3dclass_struct * thisclass_c, unsigned short * result_c);
-
-// 
-void ogre_anm_getVertexTrack(struct hg3dclass_struct * thisclass_c, unsigned short handle_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_anm_hasVertexTrack(struct hg3dclass_struct * thisclass_c, unsigned short handle_c, long * result_c);
-
-// 
-void ogre_anm_destroyNodeTrack(struct hg3dclass_struct * thisclass_c, unsigned short handle_c);
-
-// 
-void ogre_anm_destroyNumericTrack(struct hg3dclass_struct * thisclass_c, unsigned short handle_c);
-
-// 
-void ogre_anm_destroyVertexTrack(struct hg3dclass_struct * thisclass_c, unsigned short handle_c);
-
-// 
-void ogre_anm_destroyAllTracks(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_anm_destroyAllNodeTracks(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_anm_destroyAllNumericTracks(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_anm_destroyAllVertexTracks(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_anm_apply(struct hg3dclass_struct * thisclass_c, float timePos_c, float weight_c, float scale_c);
-
-// 
-void ogre_anm_applyToNode(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * node_c, float timePos_c, float weight_c, float scale_c);
-
-// 
-void ogre_anm_apply2(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * skeleton_c, float timePos_c, float weight_c, float scale_c);
-
-// 
-void ogre_anm_apply4(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * entity_c, float timePos_c, float weight_c, long software_c, long hardware_c);
-
-// 
-void ogre_anm_setInterpolationMode(struct hg3dclass_struct * thisclass_c, enum EnumAnimationInterpolationMode im_c);
-
-// 
-void ogre_anm_getInterpolationMode(struct hg3dclass_struct * thisclass_c, enum EnumAnimationInterpolationMode * result_c);
-
-// 
-void ogre_anm_setRotationInterpolationMode(struct hg3dclass_struct * thisclass_c, enum EnumAnimationRotationInterpolationMode im_c);
-
-// 
-void ogre_anm_getRotationInterpolationMode(struct hg3dclass_struct * thisclass_c, enum EnumAnimationRotationInterpolationMode * result_c);
-
-// 
-void ogre_anm_optimise(struct hg3dclass_struct * thisclass_c, long discardIdentityNodeTracks_c);
-
-// 
-void ogre_anm_clone(struct hg3dclass_struct * thisclass_c, char * newName_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_anm_setUseBaseKeyFrame(struct hg3dclass_struct * thisclass_c, long useBaseKeyFrame_c, float keyframeTime_c, char * baseAnimName_c);
-
-// 
-void ogre_anm_getUseBaseKeyFrame(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_anm_getBaseKeyFrameTime(struct hg3dclass_struct * thisclass_c, float * result_c);
-
-// 
-void ogre_anm_getBaseKeyFrameAnimationName(struct hg3dclass_struct * thisclass_c, char * result_c);
-
-// 
-void ogre_anm_setDefaultInterpolationMode(enum EnumAnimationInterpolationMode im_c);
-
-// 
-void ogre_anm_getDefaultInterpolationMode(enum EnumAnimationInterpolationMode * result_c);
-
-// 
-void ogre_anm_setDefaultRotationInterpolationMode(enum EnumAnimationRotationInterpolationMode im_c);
-
-// 
-void ogre_anm_getDefaultRotationInterpolationMode(enum EnumAnimationRotationInterpolationMode * result_c);
-
-#endif 
+
+// 
+void ogre_anm_destruct(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_anm_getName(struct hg3dclass_struct * thisclass_c, char * result_c);
+
+// 
+void ogre_anm_getLength(struct hg3dclass_struct * thisclass_c, float * result_c);
+
+// 
+void ogre_anm_setLength(struct hg3dclass_struct * thisclass_c, float len_c);
+
+// 
+void ogre_anm_createNodeTrack(struct hg3dclass_struct * thisclass_c, unsigned short handle_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_anm_createNumericTrack(struct hg3dclass_struct * thisclass_c, unsigned short handle_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_anm_createVertexTrack(struct hg3dclass_struct * thisclass_c, unsigned short handle_c, enum EnumVertexAnimationType animType_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_anm_createNodeTrack2(struct hg3dclass_struct * thisclass_c, unsigned short handle_c, struct hg3dclass_struct * node_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_anm_getNumNodeTracks(struct hg3dclass_struct * thisclass_c, unsigned short * result_c);
+
+// 
+void ogre_anm_getNodeTrack(struct hg3dclass_struct * thisclass_c, unsigned short handle_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_anm_hasNodeTrack(struct hg3dclass_struct * thisclass_c, unsigned short handle_c, long * result_c);
+
+// 
+void ogre_anm_getNumNumericTracks(struct hg3dclass_struct * thisclass_c, unsigned short * result_c);
+
+// 
+void ogre_anm_getNumericTrack(struct hg3dclass_struct * thisclass_c, unsigned short handle_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_anm_hasNumericTrack(struct hg3dclass_struct * thisclass_c, unsigned short handle_c, long * result_c);
+
+// 
+void ogre_anm_getNumVertexTracks(struct hg3dclass_struct * thisclass_c, unsigned short * result_c);
+
+// 
+void ogre_anm_getVertexTrack(struct hg3dclass_struct * thisclass_c, unsigned short handle_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_anm_hasVertexTrack(struct hg3dclass_struct * thisclass_c, unsigned short handle_c, long * result_c);
+
+// 
+void ogre_anm_destroyNodeTrack(struct hg3dclass_struct * thisclass_c, unsigned short handle_c);
+
+// 
+void ogre_anm_destroyNumericTrack(struct hg3dclass_struct * thisclass_c, unsigned short handle_c);
+
+// 
+void ogre_anm_destroyVertexTrack(struct hg3dclass_struct * thisclass_c, unsigned short handle_c);
+
+// 
+void ogre_anm_destroyAllTracks(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_anm_destroyAllNodeTracks(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_anm_destroyAllNumericTracks(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_anm_destroyAllVertexTracks(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_anm_apply(struct hg3dclass_struct * thisclass_c, float timePos_c, float weight_c, float scale_c);
+
+// 
+void ogre_anm_applyToNode(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * node_c, float timePos_c, float weight_c, float scale_c);
+
+// 
+void ogre_anm_apply2(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * skeleton_c, float timePos_c, float weight_c, float scale_c);
+
+// 
+void ogre_anm_apply4(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * entity_c, float timePos_c, float weight_c, long software_c, long hardware_c);
+
+// 
+void ogre_anm_setInterpolationMode(struct hg3dclass_struct * thisclass_c, enum EnumAnimationInterpolationMode im_c);
+
+// 
+void ogre_anm_getInterpolationMode(struct hg3dclass_struct * thisclass_c, enum EnumAnimationInterpolationMode * result_c);
+
+// 
+void ogre_anm_setRotationInterpolationMode(struct hg3dclass_struct * thisclass_c, enum EnumAnimationRotationInterpolationMode im_c);
+
+// 
+void ogre_anm_getRotationInterpolationMode(struct hg3dclass_struct * thisclass_c, enum EnumAnimationRotationInterpolationMode * result_c);
+
+// 
+void ogre_anm_optimise(struct hg3dclass_struct * thisclass_c, long discardIdentityNodeTracks_c);
+
+// 
+void ogre_anm_clone(struct hg3dclass_struct * thisclass_c, char * newName_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_anm_setUseBaseKeyFrame(struct hg3dclass_struct * thisclass_c, long useBaseKeyFrame_c, float keyframeTime_c, char * baseAnimName_c);
+
+// 
+void ogre_anm_getUseBaseKeyFrame(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_anm_getBaseKeyFrameTime(struct hg3dclass_struct * thisclass_c, float * result_c);
+
+// 
+void ogre_anm_getBaseKeyFrameAnimationName(struct hg3dclass_struct * thisclass_c, char * result_c);
+
+// 
+void ogre_anm_setDefaultInterpolationMode(enum EnumAnimationInterpolationMode im_c);
+
+// 
+void ogre_anm_getDefaultInterpolationMode(enum EnumAnimationInterpolationMode * result_c);
+
+// 
+void ogre_anm_setDefaultRotationInterpolationMode(enum EnumAnimationRotationInterpolationMode im_c);
+
+// 
+void ogre_anm_getDefaultRotationInterpolationMode(enum EnumAnimationRotationInterpolationMode * result_c);
+
+#endif 
diff --git a/include/ClassAnimationState.h b/include/ClassAnimationState.h
--- a/include/ClassAnimationState.h
+++ b/include/ClassAnimationState.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,84 +14,84 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // ClassAnimationState.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_ClassAnimationState
-#define _DEFINED_HG3D_ClassAnimationState
-
-#include "ClassPtr.h"
-#include "ClassAnimationStateSet.h"
+#ifndef _DEFINED_HG3D_ClassAnimationState
+#define _DEFINED_HG3D_ClassAnimationState
 
+#include "ClassPtr.h"
+#include "ClassAnimationStateSet.h"
 
-// 
-void ogre_anms_construct(char * animName_c, struct hg3dclass_struct * parent_c, float timePos_c, float length_c, float weight_c, long enabled_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_anms_destruct(struct hg3dclass_struct * thisclass_c);
-
-// Gets the name of the animation to which this state applies. 
-void ogre_anms_getAnimationName(struct hg3dclass_struct * thisclass_c, char * result_c);
-
-// Gets the time position for this animation. 
-void ogre_anms_getTimePosition(struct hg3dclass_struct * thisclass_c, float * result_c);
-
-// Sets the time position for this animation. 
-void ogre_anms_setTimePosition(struct hg3dclass_struct * thisclass_c, float timePos_c);
-
-// Gets the total length of this animation (may be shorter than whole animation) 
-void ogre_anms_getLength(struct hg3dclass_struct * thisclass_c, float * result_c);
-
-// Sets the total length of this animation (may be shorter than whole animation) 
-void ogre_anms_setLength(struct hg3dclass_struct * thisclass_c, float len_c);
-
-// Gets the weight (influence) of this animation. 
-void ogre_anms_getWeight(struct hg3dclass_struct * thisclass_c, float * result_c);
-
-// Sets the weight (influence) of this animation. 
-void ogre_anms_setWeight(struct hg3dclass_struct * thisclass_c, float weight_c);
-
-// 
-void ogre_anms_addTime(struct hg3dclass_struct * thisclass_c, float offset_c);
-
-// Returns true if the animation has reached the end and is not looping. 
-void ogre_anms_hasEnded(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// Returns true if this animation is currently enabled. 
-void ogre_anms_getEnabled(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// Sets whether this animation is enabled. 
-void ogre_anms_setEnabled(struct hg3dclass_struct * thisclass_c, long enabled_c);
-
-// 
-void ogre_anms_setLoop(struct hg3dclass_struct * thisclass_c, long loop_c);
-
-// Gets whether or not this animation loops. 
-void ogre_anms_getLoop(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_anms_copyStateFrom(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * animState_c);
-
-// Get the parent animation state set. 
-void ogre_anms_getParent(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * result_c);
-
-// Create a new blend mask with the given number of entries. 
-void ogre_anms_createBlendMask(struct hg3dclass_struct * thisclass_c, long blendMaskSizeHint_c, float initialWeight_c);
-
-// Destroy the currently set blend mask. 
-void ogre_anms_destroyBlendMask(struct hg3dclass_struct * thisclass_c);
-
-// Return whether there is currently a valid blend mask set. 
-void ogre_anms_hasBlendMask(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// Set the weight for the bone identified by the given handle. 
-void ogre_anms_setBlendMaskEntry(struct hg3dclass_struct * thisclass_c, long boneHandle_c, float weight_c);
-
-// Get the weight for the bone identified by the given handle. 
-void ogre_anms_getBlendMaskEntry(struct hg3dclass_struct * thisclass_c, long boneHandle_c, float * result_c);
-
-#endif 
+
+// 
+void ogre_anms_construct(char * animName_c, struct hg3dclass_struct * parent_c, float timePos_c, float length_c, float weight_c, long enabled_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_anms_destruct(struct hg3dclass_struct * thisclass_c);
+
+// Gets the name of the animation to which this state applies. 
+void ogre_anms_getAnimationName(struct hg3dclass_struct * thisclass_c, char * result_c);
+
+// Gets the time position for this animation. 
+void ogre_anms_getTimePosition(struct hg3dclass_struct * thisclass_c, float * result_c);
+
+// Sets the time position for this animation. 
+void ogre_anms_setTimePosition(struct hg3dclass_struct * thisclass_c, float timePos_c);
+
+// Gets the total length of this animation (may be shorter than whole animation) 
+void ogre_anms_getLength(struct hg3dclass_struct * thisclass_c, float * result_c);
+
+// Sets the total length of this animation (may be shorter than whole animation) 
+void ogre_anms_setLength(struct hg3dclass_struct * thisclass_c, float len_c);
+
+// Gets the weight (influence) of this animation. 
+void ogre_anms_getWeight(struct hg3dclass_struct * thisclass_c, float * result_c);
+
+// Sets the weight (influence) of this animation. 
+void ogre_anms_setWeight(struct hg3dclass_struct * thisclass_c, float weight_c);
+
+// 
+void ogre_anms_addTime(struct hg3dclass_struct * thisclass_c, float offset_c);
+
+// Returns true if the animation has reached the end and is not looping. 
+void ogre_anms_hasEnded(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// Returns true if this animation is currently enabled. 
+void ogre_anms_getEnabled(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// Sets whether this animation is enabled. 
+void ogre_anms_setEnabled(struct hg3dclass_struct * thisclass_c, long enabled_c);
+
+// 
+void ogre_anms_setLoop(struct hg3dclass_struct * thisclass_c, long loop_c);
+
+// Gets whether or not this animation loops. 
+void ogre_anms_getLoop(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_anms_copyStateFrom(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * animState_c);
+
+// Get the parent animation state set. 
+void ogre_anms_getParent(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * result_c);
+
+// Create a new blend mask with the given number of entries. 
+void ogre_anms_createBlendMask(struct hg3dclass_struct * thisclass_c, long blendMaskSizeHint_c, float initialWeight_c);
+
+// Destroy the currently set blend mask. 
+void ogre_anms_destroyBlendMask(struct hg3dclass_struct * thisclass_c);
+
+// Return whether there is currently a valid blend mask set. 
+void ogre_anms_hasBlendMask(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// Set the weight for the bone identified by the given handle. 
+void ogre_anms_setBlendMaskEntry(struct hg3dclass_struct * thisclass_c, long boneHandle_c, float weight_c);
+
+// Get the weight for the bone identified by the given handle. 
+void ogre_anms_getBlendMaskEntry(struct hg3dclass_struct * thisclass_c, long boneHandle_c, float * result_c);
+
+#endif 
diff --git a/include/ClassAnimationStateSet.h b/include/ClassAnimationStateSet.h
--- a/include/ClassAnimationStateSet.h
+++ b/include/ClassAnimationStateSet.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,45 +14,45 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // ClassAnimationStateSet.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_ClassAnimationStateSet
-#define _DEFINED_HG3D_ClassAnimationStateSet
-
-#include "ClassPtr.h"
-#include "ClassAnimationState.h"
+#ifndef _DEFINED_HG3D_ClassAnimationStateSet
+#define _DEFINED_HG3D_ClassAnimationStateSet
 
+#include "ClassPtr.h"
+#include "ClassAnimationState.h"
 
-// 
-void ogre_ass_destruct(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_ass_createAnimationState(struct hg3dclass_struct * thisclass_c, char * animName_c, float timePos_c, float length_c, float weight_c, long enabled_c, struct hg3dclass_struct * result_c);
-
-// Get an animation state by the name of the animation. 
-void ogre_ass_getAnimationState(struct hg3dclass_struct * thisclass_c, char * name_c, struct hg3dclass_struct * result_c);
-
-// Tests if state for the named animation is present. 
-void ogre_ass_hasAnimationState(struct hg3dclass_struct * thisclass_c, char * name_c, long * result_c);
-
-// Remove animation state with the given name. 
-void ogre_ass_removeAnimationState(struct hg3dclass_struct * thisclass_c, char * name_c);
-
-// Remove all animation states. 
-void ogre_ass_removeAllAnimationStates(struct hg3dclass_struct * thisclass_c);
-
-// Copy the state of any matching animation states from this to another. 
-void ogre_ass_copyMatchingState(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * target_c);
-
-// Get the latest animation state been altered frame number. 
-void ogre_ass_getDirtyFrameNumber(struct hg3dclass_struct * thisclass_c, unsigned long * result_c);
-
-// Tests if exists enabled animation state in this set. 
-void ogre_ass_hasEnabledAnimationState(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-#endif 
+
+// 
+void ogre_ass_destruct(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_ass_createAnimationState(struct hg3dclass_struct * thisclass_c, char * animName_c, float timePos_c, float length_c, float weight_c, long enabled_c, struct hg3dclass_struct * result_c);
+
+// Get an animation state by the name of the animation. 
+void ogre_ass_getAnimationState(struct hg3dclass_struct * thisclass_c, char * name_c, struct hg3dclass_struct * result_c);
+
+// Tests if state for the named animation is present. 
+void ogre_ass_hasAnimationState(struct hg3dclass_struct * thisclass_c, char * name_c, long * result_c);
+
+// Remove animation state with the given name. 
+void ogre_ass_removeAnimationState(struct hg3dclass_struct * thisclass_c, char * name_c);
+
+// Remove all animation states. 
+void ogre_ass_removeAllAnimationStates(struct hg3dclass_struct * thisclass_c);
+
+// Copy the state of any matching animation states from this to another. 
+void ogre_ass_copyMatchingState(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * target_c);
+
+// Get the latest animation state been altered frame number. 
+void ogre_ass_getDirtyFrameNumber(struct hg3dclass_struct * thisclass_c, unsigned long * result_c);
+
+// Tests if exists enabled animation state in this set. 
+void ogre_ass_hasEnabledAnimationState(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+#endif 
diff --git a/include/ClassAnimationTrack.h b/include/ClassAnimationTrack.h
--- a/include/ClassAnimationTrack.h
+++ b/include/ClassAnimationTrack.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,46 +14,46 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // ClassAnimationTrack.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_ClassAnimationTrack
-#define _DEFINED_HG3D_ClassAnimationTrack
-
-#include "ClassPtr.h"
-#include "ClassTimeIndex.h"
-#include "ClassAnimation.h"
+#ifndef _DEFINED_HG3D_ClassAnimationTrack
+#define _DEFINED_HG3D_ClassAnimationTrack
 
+#include "ClassPtr.h"
+#include "ClassTimeIndex.h"
+#include "ClassAnimation.h"
 
-// 
-void ogre_at_destruct(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_at_getHandle(struct hg3dclass_struct * thisclass_c, unsigned short * result_c);
-
-// 
-void ogre_at_getNumKeyFrames(struct hg3dclass_struct * thisclass_c, unsigned short * result_c);
-
-// 
-void ogre_at_removeKeyFrame(struct hg3dclass_struct * thisclass_c, unsigned short index_c);
-
-// 
-void ogre_at_removeAllKeyFrames(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_at_apply(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * timeIndex_c, float weight_c, float scale_c);
-
-// 
-void ogre_at_hasNonZeroKeyFrames(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_at_optimise(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_at_getParent(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * result_c);
-
-#endif 
+
+// 
+void ogre_at_destruct(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_at_getHandle(struct hg3dclass_struct * thisclass_c, unsigned short * result_c);
+
+// 
+void ogre_at_getNumKeyFrames(struct hg3dclass_struct * thisclass_c, unsigned short * result_c);
+
+// 
+void ogre_at_removeKeyFrame(struct hg3dclass_struct * thisclass_c, unsigned short index_c);
+
+// 
+void ogre_at_removeAllKeyFrames(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_at_apply(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * timeIndex_c, float weight_c, float scale_c);
+
+// 
+void ogre_at_hasNonZeroKeyFrames(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_at_optimise(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_at_getParent(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * result_c);
+
+#endif 
diff --git a/include/ClassArchive.h b/include/ClassArchive.h
--- a/include/ClassArchive.h
+++ b/include/ClassArchive.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,44 +14,44 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // ClassArchive.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_ClassArchive
-#define _DEFINED_HG3D_ClassArchive
-
-#include "ClassPtr.h"
+#ifndef _DEFINED_HG3D_ClassArchive
+#define _DEFINED_HG3D_ClassArchive
 
+#include "ClassPtr.h"
 
-// 
-void ogre_arch_destruct(struct hg3dclass_struct * thisclass_c);
-
-// Get the name of this archive. 
-void ogre_arch_getName(struct hg3dclass_struct * thisclass_c, char * result_c);
-
-// Returns whether this archive is case sensitive in the way it matches files. 
-void ogre_arch_isCaseSensitive(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_arch_load(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_arch_unload(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_arch_isReadOnly(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_arch_remove(struct hg3dclass_struct * thisclass_c, char * filename_c);
-
-// 
-void ogre_arch_exists(struct hg3dclass_struct * thisclass_c, char * filename_c, long * result_c);
-
-// Return the type code of this Archive
-void ogre_arch_getType(struct hg3dclass_struct * thisclass_c, char * result_c);
-
-#endif 
+
+// 
+void ogre_arch_destruct(struct hg3dclass_struct * thisclass_c);
+
+// Get the name of this archive. 
+void ogre_arch_getName(struct hg3dclass_struct * thisclass_c, char * result_c);
+
+// Returns whether this archive is case sensitive in the way it matches files. 
+void ogre_arch_isCaseSensitive(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_arch_load(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_arch_unload(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_arch_isReadOnly(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_arch_remove(struct hg3dclass_struct * thisclass_c, char * filename_c);
+
+// 
+void ogre_arch_exists(struct hg3dclass_struct * thisclass_c, char * filename_c, long * result_c);
+
+// Return the type code of this Archive
+void ogre_arch_getType(struct hg3dclass_struct * thisclass_c, char * result_c);
+
+#endif 
diff --git a/include/ClassArchiveManager.h b/include/ClassArchiveManager.h
--- a/include/ClassArchiveManager.h
+++ b/include/ClassArchiveManager.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,36 +14,36 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // ClassArchiveManager.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_ClassArchiveManager
-#define _DEFINED_HG3D_ClassArchiveManager
-
-#include "ClassPtr.h"
-#include "ClassArchive.h"
+#ifndef _DEFINED_HG3D_ClassArchiveManager
+#define _DEFINED_HG3D_ClassArchiveManager
 
+#include "ClassPtr.h"
+#include "ClassArchive.h"
 
-// 
-void ogre_archm_destruct(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_archm_load(struct hg3dclass_struct * thisclass_c, char * filename_c, char * archiveType_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_archm_unload(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * arch_c);
-
-// 
-void ogre_archm_unload2(struct hg3dclass_struct * thisclass_c, char * filename_c);
-
-// 
-void ogre_archm_getSingleton(struct hg3dclass_struct * result_c);
-
-// 
-void ogre_archm_getSingletonPtr(struct hg3dclass_struct * result_c);
-
-#endif 
+
+// 
+void ogre_archm_destruct(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_archm_load(struct hg3dclass_struct * thisclass_c, char * filename_c, char * archiveType_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_archm_unload(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * arch_c);
+
+// 
+void ogre_archm_unload2(struct hg3dclass_struct * thisclass_c, char * filename_c);
+
+// 
+void ogre_archm_getSingleton(struct hg3dclass_struct * result_c);
+
+// 
+void ogre_archm_getSingletonPtr(struct hg3dclass_struct * result_c);
+
+#endif 
diff --git a/include/ClassBillboard.h b/include/ClassBillboard.h
--- a/include/ClassBillboard.h
+++ b/include/ClassBillboard.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,74 +14,74 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // ClassBillboard.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_ClassBillboard
-#define _DEFINED_HG3D_ClassBillboard
-
-#include "ClassPtr.h"
-#include "StructRadians.h"
-#include "StructVec3.h"
-#include "StructColour.h"
+#ifndef _DEFINED_HG3D_ClassBillboard
+#define _DEFINED_HG3D_ClassBillboard
 
+#include "ClassPtr.h"
+#include "StructRadians.h"
+#include "StructVec3.h"
+#include "StructColour.h"
 
-// 
-void ogre_bbd_construct(struct hg3dclass_struct * result_c);
-
-// 
-void ogre_bbd_destruct(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_bbd_getRotation(struct hg3dclass_struct * thisclass_c, struct radian_struct * result_c);
-
-// 
-void ogre_bbd_setRotation(struct hg3dclass_struct * thisclass_c, struct radian_struct * rotation_c);
-
-// 
-void ogre_bbd_setPosition(struct hg3dclass_struct * thisclass_c, struct vector3_struct * position_c);
-
-// 
-void ogre_bbd_setPosition2(struct hg3dclass_struct * thisclass_c, float x_c, float y_c, float z_c);
-
-// 
-void ogre_bbd_getPosition(struct hg3dclass_struct * thisclass_c, struct vector3_struct * result_c);
-
-// 
-void ogre_bbd_setDimensions(struct hg3dclass_struct * thisclass_c, float width_c, float height_c);
-
-// 
-void ogre_bbd_resetDimensions(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_bbd_setColour(struct hg3dclass_struct * thisclass_c, struct colourvalue_struct * colour_c);
-
-// 
-void ogre_bbd_getColour(struct hg3dclass_struct * thisclass_c, struct colourvalue_struct * result_c);
-
-// 
-void ogre_bbd_hasOwnDimensions(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_bbd_getOwnWidth(struct hg3dclass_struct * thisclass_c, float * result_c);
-
-// 
-void ogre_bbd_getOwnHeight(struct hg3dclass_struct * thisclass_c, float * result_c);
-
-// 
-void ogre_bbd_isUseTexcoordRect(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_bbd_setTexcoordIndex(struct hg3dclass_struct * thisclass_c, unsigned short texcoordIndex_c);
-
-// 
-void ogre_bbd_getTexcoordIndex(struct hg3dclass_struct * thisclass_c, unsigned short * result_c);
-
-// 
-void ogre_bbd_setTexcoordRect2(struct hg3dclass_struct * thisclass_c, float u0_c, float v0_c, float u1_c, float v1_c);
-
-#endif 
+
+// 
+void ogre_bbd_construct(struct hg3dclass_struct * result_c);
+
+// 
+void ogre_bbd_destruct(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_bbd_getRotation(struct hg3dclass_struct * thisclass_c, struct radian_struct * result_c);
+
+// 
+void ogre_bbd_setRotation(struct hg3dclass_struct * thisclass_c, struct radian_struct * rotation_c);
+
+// 
+void ogre_bbd_setPosition(struct hg3dclass_struct * thisclass_c, struct vector3_struct * position_c);
+
+// 
+void ogre_bbd_setPosition2(struct hg3dclass_struct * thisclass_c, float x_c, float y_c, float z_c);
+
+// 
+void ogre_bbd_getPosition(struct hg3dclass_struct * thisclass_c, struct vector3_struct * result_c);
+
+// 
+void ogre_bbd_setDimensions(struct hg3dclass_struct * thisclass_c, float width_c, float height_c);
+
+// 
+void ogre_bbd_resetDimensions(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_bbd_setColour(struct hg3dclass_struct * thisclass_c, struct colourvalue_struct * colour_c);
+
+// 
+void ogre_bbd_getColour(struct hg3dclass_struct * thisclass_c, struct colourvalue_struct * result_c);
+
+// 
+void ogre_bbd_hasOwnDimensions(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_bbd_getOwnWidth(struct hg3dclass_struct * thisclass_c, float * result_c);
+
+// 
+void ogre_bbd_getOwnHeight(struct hg3dclass_struct * thisclass_c, float * result_c);
+
+// 
+void ogre_bbd_isUseTexcoordRect(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_bbd_setTexcoordIndex(struct hg3dclass_struct * thisclass_c, unsigned short texcoordIndex_c);
+
+// 
+void ogre_bbd_getTexcoordIndex(struct hg3dclass_struct * thisclass_c, unsigned short * result_c);
+
+// 
+void ogre_bbd_setTexcoordRect2(struct hg3dclass_struct * thisclass_c, float u0_c, float v0_c, float u1_c, float v1_c);
+
+#endif 
diff --git a/include/ClassBillboardChain.h b/include/ClassBillboardChain.h
--- a/include/ClassBillboardChain.h
+++ b/include/ClassBillboardChain.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,101 +14,101 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // ClassBillboardChain.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_ClassBillboardChain
-#define _DEFINED_HG3D_ClassBillboardChain
-
-#include "ClassPtr.h"
-#include "EnumBillboardChainTexCoordDirection.h"
-#include "StructVec3.h"
-#include "ClassCamera.h"
-#include "StructSharedPtr.h"
-#include "ClassSceneManager.h"
-#include "ClassRenderSystem.h"
+#ifndef _DEFINED_HG3D_ClassBillboardChain
+#define _DEFINED_HG3D_ClassBillboardChain
 
+#include "ClassPtr.h"
+#include "EnumBillboardChainTexCoordDirection.h"
+#include "StructVec3.h"
+#include "ClassCamera.h"
+#include "StructSharedPtr.h"
+#include "ClassSceneManager.h"
+#include "ClassRenderSystem.h"
 
-// destructor 
-void ogre_bbdc_destruct(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_bbdc_setMaxChainElements(struct hg3dclass_struct * thisclass_c, long maxElements_c);
-
-// 
-void ogre_bbdc_getMaxChainElements(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_bbdc_setNumberOfChains(struct hg3dclass_struct * thisclass_c, long numChains_c);
-
-// 
-void ogre_bbdc_getNumberOfChains(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_bbdc_setUseTextureCoords(struct hg3dclass_struct * thisclass_c, long use_c);
-
-// 
-void ogre_bbdc_getUseTextureCoords(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_bbdc_setTextureCoordDirection(struct hg3dclass_struct * thisclass_c, enum EnumBillboardChainTexCoordDirection dir_c);
-
-// 
-void ogre_bbdc_getTextureCoordDirection(struct hg3dclass_struct * thisclass_c, enum EnumBillboardChainTexCoordDirection * result_c);
-
-// 
-void ogre_bbdc_setOtherTextureCoordRange(struct hg3dclass_struct * thisclass_c, float start_c, float end_c);
-
-// 
-void ogre_bbdc_setUseVertexColours(struct hg3dclass_struct * thisclass_c, long use_c);
-
-// 
-void ogre_bbdc_getUseVertexColours(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_bbdc_setDynamic(struct hg3dclass_struct * thisclass_c, long dyn_c);
-
-// 
-void ogre_bbdc_getDynamic(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_bbdc_removeChainElement(struct hg3dclass_struct * thisclass_c, long chainIndex_c);
-
-// 
-void ogre_bbdc_getNumChainElements(struct hg3dclass_struct * thisclass_c, long chainIndex_c, long * result_c);
-
-// 
-void ogre_bbdc_clearChain(struct hg3dclass_struct * thisclass_c, long chainIndex_c);
-
-// 
-void ogre_bbdc_clearAllChains(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_bbdc_setFaceCamera(struct hg3dclass_struct * thisclass_c, long faceCamera_c, struct vector3_struct * normalVector_c);
-
-// Get the material name in use. 
-void ogre_bbdc_getMaterialName(struct hg3dclass_struct * thisclass_c, char * result_c);
-
-// Set the material name to use for rendering. 
-void ogre_bbdc_setMaterialName(struct hg3dclass_struct * thisclass_c, char * name_c, char * groupName_c);
-
-// 
-void ogre_bbdc_getSquaredViewDepth(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * cam_c, float * result_c);
-
-// 
-void ogre_bbdc_getBoundingRadius(struct hg3dclass_struct * thisclass_c, float * result_c);
-
-// 
-void ogre_bbdc_getMaterial(struct hg3dclass_struct * thisclass_c, struct sharedptr_struct * result_c);
-
-// 
-void ogre_bbdc_getMovableType(struct hg3dclass_struct * thisclass_c, char * result_c);
-
-// 
-void ogre_bbdc_preRender(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * sm_c, struct hg3dclass_struct * rsys_c, long * result_c);
-
-#endif 
+
+// destructor 
+void ogre_bbdc_destruct(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_bbdc_setMaxChainElements(struct hg3dclass_struct * thisclass_c, long maxElements_c);
+
+// 
+void ogre_bbdc_getMaxChainElements(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_bbdc_setNumberOfChains(struct hg3dclass_struct * thisclass_c, long numChains_c);
+
+// 
+void ogre_bbdc_getNumberOfChains(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_bbdc_setUseTextureCoords(struct hg3dclass_struct * thisclass_c, long use_c);
+
+// 
+void ogre_bbdc_getUseTextureCoords(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_bbdc_setTextureCoordDirection(struct hg3dclass_struct * thisclass_c, enum EnumBillboardChainTexCoordDirection dir_c);
+
+// 
+void ogre_bbdc_getTextureCoordDirection(struct hg3dclass_struct * thisclass_c, enum EnumBillboardChainTexCoordDirection * result_c);
+
+// 
+void ogre_bbdc_setOtherTextureCoordRange(struct hg3dclass_struct * thisclass_c, float start_c, float end_c);
+
+// 
+void ogre_bbdc_setUseVertexColours(struct hg3dclass_struct * thisclass_c, long use_c);
+
+// 
+void ogre_bbdc_getUseVertexColours(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_bbdc_setDynamic(struct hg3dclass_struct * thisclass_c, long dyn_c);
+
+// 
+void ogre_bbdc_getDynamic(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_bbdc_removeChainElement(struct hg3dclass_struct * thisclass_c, long chainIndex_c);
+
+// 
+void ogre_bbdc_getNumChainElements(struct hg3dclass_struct * thisclass_c, long chainIndex_c, long * result_c);
+
+// 
+void ogre_bbdc_clearChain(struct hg3dclass_struct * thisclass_c, long chainIndex_c);
+
+// 
+void ogre_bbdc_clearAllChains(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_bbdc_setFaceCamera(struct hg3dclass_struct * thisclass_c, long faceCamera_c, struct vector3_struct * normalVector_c);
+
+// Get the material name in use. 
+void ogre_bbdc_getMaterialName(struct hg3dclass_struct * thisclass_c, char * result_c);
+
+// Set the material name to use for rendering. 
+void ogre_bbdc_setMaterialName(struct hg3dclass_struct * thisclass_c, char * name_c, char * groupName_c);
+
+// 
+void ogre_bbdc_getSquaredViewDepth(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * cam_c, float * result_c);
+
+// 
+void ogre_bbdc_getBoundingRadius(struct hg3dclass_struct * thisclass_c, float * result_c);
+
+// 
+void ogre_bbdc_getMaterial(struct hg3dclass_struct * thisclass_c, struct sharedptr_struct * result_c);
+
+// 
+void ogre_bbdc_getMovableType(struct hg3dclass_struct * thisclass_c, char * result_c);
+
+// 
+void ogre_bbdc_preRender(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * sm_c, struct hg3dclass_struct * rsys_c, long * result_c);
+
+#endif 
diff --git a/include/ClassBillboardChainFactory.h b/include/ClassBillboardChainFactory.h
--- a/include/ClassBillboardChainFactory.h
+++ b/include/ClassBillboardChainFactory.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,30 +14,30 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // ClassBillboardChainFactory.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_ClassBillboardChainFactory
-#define _DEFINED_HG3D_ClassBillboardChainFactory
-
-#include "ClassPtr.h"
-#include "ClassMovableObject.h"
+#ifndef _DEFINED_HG3D_ClassBillboardChainFactory
+#define _DEFINED_HG3D_ClassBillboardChainFactory
 
+#include "ClassPtr.h"
+#include "ClassMovableObject.h"
 
-// 
-void ogre_bbdcf_construct(struct hg3dclass_struct * result_c);
-
-// 
-void ogre_bbdcf_destruct(struct hg3dclass_struct * thisclass_c);
-
-// Get the type of the object to be created. 
-void ogre_bbdcf_getType(struct hg3dclass_struct * thisclass_c, char * result_c);
-
-// 
-void ogre_bbdcf_destroyInstance(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * obj_c);
-
-#endif 
+
+// 
+void ogre_bbdcf_construct(struct hg3dclass_struct * result_c);
+
+// 
+void ogre_bbdcf_destruct(struct hg3dclass_struct * thisclass_c);
+
+// Get the type of the object to be created. 
+void ogre_bbdcf_getType(struct hg3dclass_struct * thisclass_c, char * result_c);
+
+// 
+void ogre_bbdcf_destroyInstance(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * obj_c);
+
+#endif 
diff --git a/include/ClassBillboardSet.h b/include/ClassBillboardSet.h
--- a/include/ClassBillboardSet.h
+++ b/include/ClassBillboardSet.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,178 +14,178 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // ClassBillboardSet.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_ClassBillboardSet
-#define _DEFINED_HG3D_ClassBillboardSet
-
-#include "ClassPtr.h"
-#include "ClassBillboard.h"
-#include "StructVec3.h"
-#include "StructColour.h"
-#include "EnumBillboardOrigin.h"
-#include "EnumBillboardRotationType.h"
-#include "StructSharedPtr.h"
-#include "EnumBillboardType.h"
-#include "ClassCamera.h"
+#ifndef _DEFINED_HG3D_ClassBillboardSet
+#define _DEFINED_HG3D_ClassBillboardSet
 
+#include "ClassPtr.h"
+#include "ClassBillboard.h"
+#include "StructVec3.h"
+#include "StructColour.h"
+#include "EnumBillboardOrigin.h"
+#include "EnumBillboardRotationType.h"
+#include "StructSharedPtr.h"
+#include "EnumBillboardType.h"
+#include "ClassCamera.h"
 
-// 
-void ogre_bbs_construct(char * name_c, unsigned long poolSize_c, long externalDataSource_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_bbs_destruct(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_bbs_createBillboard(struct hg3dclass_struct * thisclass_c, struct vector3_struct * position_c, struct colourvalue_struct * colour_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_bbs_createBillboard2(struct hg3dclass_struct * thisclass_c, float x_c, float y_c, float z_c, struct colourvalue_struct * colour_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_bbs_getNumBillboards(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_bbs_setAutoextend(struct hg3dclass_struct * thisclass_c, long autoextend_c);
-
-// 
-void ogre_bbs_getAutoextend(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_bbs_setSortingEnabled(struct hg3dclass_struct * thisclass_c, long sortenable_c);
-
-// 
-void ogre_bbs_getSortingEnabled(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_bbs_setPoolSize(struct hg3dclass_struct * thisclass_c, long size_c);
-
-// 
-void ogre_bbs_getPoolSize(struct hg3dclass_struct * thisclass_c, unsigned long * result_c);
-
-// 
-void ogre_bbs_clear(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_bbs_getBillboard(struct hg3dclass_struct * thisclass_c, unsigned long index_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_bbs_removeBillboard(struct hg3dclass_struct * thisclass_c, unsigned long index_c);
-
-// 
-void ogre_bbs_removeBillboard2(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * pBill_c);
-
-// 
-void ogre_bbs_setBillboardOrigin(struct hg3dclass_struct * thisclass_c, enum EnumBillboardOrigin origin_c);
-
-// 
-void ogre_bbs_getBillboardOrigin(struct hg3dclass_struct * thisclass_c, enum EnumBillboardOrigin * result_c);
-
-// 
-void ogre_bbs_setBillboardRotationType(struct hg3dclass_struct * thisclass_c, enum EnumBillboardRotationType rotationType_c);
-
-// 
-void ogre_bbs_getBillboardRotationType(struct hg3dclass_struct * thisclass_c, enum EnumBillboardRotationType * result_c);
-
-// 
-void ogre_bbs_setDefaultDimensions(struct hg3dclass_struct * thisclass_c, float width_c, float height_c);
-
-// 
-void ogre_bbs_setDefaultWidth(struct hg3dclass_struct * thisclass_c, float width_c);
-
-// 
-void ogre_bbs_getDefaultWidth(struct hg3dclass_struct * thisclass_c, float * result_c);
-
-// 
-void ogre_bbs_setDefaultHeight(struct hg3dclass_struct * thisclass_c, float height_c);
-
-// 
-void ogre_bbs_getDefaultHeight(struct hg3dclass_struct * thisclass_c, float * result_c);
-
-// 
-void ogre_bbs_setMaterialName(struct hg3dclass_struct * thisclass_c, char * name_c, char * groupName_c);
-
-// 
-void ogre_bbs_getMaterialName(struct hg3dclass_struct * thisclass_c, char * result_c);
-
-// 
-void ogre_bbs_beginBillboards(struct hg3dclass_struct * thisclass_c, long numBillboards_c);
-
-// 
-void ogre_bbs_injectBillboard(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * bb_c);
-
-// 
-void ogre_bbs_endBillboards(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_bbs_getBoundingRadius(struct hg3dclass_struct * thisclass_c, float * result_c);
-
-// 
-void ogre_bbs_getMaterial(struct hg3dclass_struct * thisclass_c, struct sharedptr_struct * result_c);
-
-// 
-void ogre_bbs_setMaterial(struct hg3dclass_struct * thisclass_c, struct sharedptr_struct * material_c);
-
-// 
-void ogre_bbs_getCullIndividually(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_bbs_setCullIndividually(struct hg3dclass_struct * thisclass_c, long cullIndividual_c);
-
-// 
-void ogre_bbs_setBillboardType(struct hg3dclass_struct * thisclass_c, enum EnumBillboardType bbt_c);
-
-// 
-void ogre_bbs_getBillboardType(struct hg3dclass_struct * thisclass_c, enum EnumBillboardType * result_c);
-
-// 
-void ogre_bbs_setCommonDirection(struct hg3dclass_struct * thisclass_c, struct vector3_struct * vec_c);
-
-// 
-void ogre_bbs_getCommonDirection(struct hg3dclass_struct * thisclass_c, struct vector3_struct * result_c);
-
-// 
-void ogre_bbs_setCommonUpVector(struct hg3dclass_struct * thisclass_c, struct vector3_struct * vec_c);
-
-// 
-void ogre_bbs_getCommonUpVector(struct hg3dclass_struct * thisclass_c, struct vector3_struct * result_c);
-
-// 
-void ogre_bbs_setUseAccurateFacing(struct hg3dclass_struct * thisclass_c, long acc_c);
-
-// 
-void ogre_bbs_getUseAccurateFacing(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_bbs_getMovableType(struct hg3dclass_struct * thisclass_c, char * result_c);
-
-// 
-void ogre_bbs_getSquaredViewDepth(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * cam_c, float * result_c);
-
-// 
-void ogre_bbs_setBillboardsInWorldSpace(struct hg3dclass_struct * thisclass_c, long ws_c);
-
-// 
-void ogre_bbs_setPointRenderingEnabled(struct hg3dclass_struct * thisclass_c, long enabled_c);
-
-// 
-void ogre_bbs_isPointRenderingEnabled(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// Override to return specific type flag. 
-void ogre_bbs_getTypeFlags(struct hg3dclass_struct * thisclass_c, unsigned long * result_c);
-
-// 
-void ogre_bbs_setAutoUpdate(struct hg3dclass_struct * thisclass_c, long autoUpdate_c);
-
-// 
-void ogre_bbs_getAutoUpdate(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_bbs_notifyBillboardDataChanged(struct hg3dclass_struct * thisclass_c);
-
-#endif 
+
+// 
+void ogre_bbs_construct(char * name_c, unsigned long poolSize_c, long externalDataSource_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_bbs_destruct(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_bbs_createBillboard(struct hg3dclass_struct * thisclass_c, struct vector3_struct * position_c, struct colourvalue_struct * colour_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_bbs_createBillboard2(struct hg3dclass_struct * thisclass_c, float x_c, float y_c, float z_c, struct colourvalue_struct * colour_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_bbs_getNumBillboards(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_bbs_setAutoextend(struct hg3dclass_struct * thisclass_c, long autoextend_c);
+
+// 
+void ogre_bbs_getAutoextend(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_bbs_setSortingEnabled(struct hg3dclass_struct * thisclass_c, long sortenable_c);
+
+// 
+void ogre_bbs_getSortingEnabled(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_bbs_setPoolSize(struct hg3dclass_struct * thisclass_c, long size_c);
+
+// 
+void ogre_bbs_getPoolSize(struct hg3dclass_struct * thisclass_c, unsigned long * result_c);
+
+// 
+void ogre_bbs_clear(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_bbs_getBillboard(struct hg3dclass_struct * thisclass_c, unsigned long index_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_bbs_removeBillboard(struct hg3dclass_struct * thisclass_c, unsigned long index_c);
+
+// 
+void ogre_bbs_removeBillboard2(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * pBill_c);
+
+// 
+void ogre_bbs_setBillboardOrigin(struct hg3dclass_struct * thisclass_c, enum EnumBillboardOrigin origin_c);
+
+// 
+void ogre_bbs_getBillboardOrigin(struct hg3dclass_struct * thisclass_c, enum EnumBillboardOrigin * result_c);
+
+// 
+void ogre_bbs_setBillboardRotationType(struct hg3dclass_struct * thisclass_c, enum EnumBillboardRotationType rotationType_c);
+
+// 
+void ogre_bbs_getBillboardRotationType(struct hg3dclass_struct * thisclass_c, enum EnumBillboardRotationType * result_c);
+
+// 
+void ogre_bbs_setDefaultDimensions(struct hg3dclass_struct * thisclass_c, float width_c, float height_c);
+
+// 
+void ogre_bbs_setDefaultWidth(struct hg3dclass_struct * thisclass_c, float width_c);
+
+// 
+void ogre_bbs_getDefaultWidth(struct hg3dclass_struct * thisclass_c, float * result_c);
+
+// 
+void ogre_bbs_setDefaultHeight(struct hg3dclass_struct * thisclass_c, float height_c);
+
+// 
+void ogre_bbs_getDefaultHeight(struct hg3dclass_struct * thisclass_c, float * result_c);
+
+// 
+void ogre_bbs_setMaterialName(struct hg3dclass_struct * thisclass_c, char * name_c, char * groupName_c);
+
+// 
+void ogre_bbs_getMaterialName(struct hg3dclass_struct * thisclass_c, char * result_c);
+
+// 
+void ogre_bbs_beginBillboards(struct hg3dclass_struct * thisclass_c, long numBillboards_c);
+
+// 
+void ogre_bbs_injectBillboard(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * bb_c);
+
+// 
+void ogre_bbs_endBillboards(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_bbs_getBoundingRadius(struct hg3dclass_struct * thisclass_c, float * result_c);
+
+// 
+void ogre_bbs_getMaterial(struct hg3dclass_struct * thisclass_c, struct sharedptr_struct * result_c);
+
+// 
+void ogre_bbs_setMaterial(struct hg3dclass_struct * thisclass_c, struct sharedptr_struct * material_c);
+
+// 
+void ogre_bbs_getCullIndividually(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_bbs_setCullIndividually(struct hg3dclass_struct * thisclass_c, long cullIndividual_c);
+
+// 
+void ogre_bbs_setBillboardType(struct hg3dclass_struct * thisclass_c, enum EnumBillboardType bbt_c);
+
+// 
+void ogre_bbs_getBillboardType(struct hg3dclass_struct * thisclass_c, enum EnumBillboardType * result_c);
+
+// 
+void ogre_bbs_setCommonDirection(struct hg3dclass_struct * thisclass_c, struct vector3_struct * vec_c);
+
+// 
+void ogre_bbs_getCommonDirection(struct hg3dclass_struct * thisclass_c, struct vector3_struct * result_c);
+
+// 
+void ogre_bbs_setCommonUpVector(struct hg3dclass_struct * thisclass_c, struct vector3_struct * vec_c);
+
+// 
+void ogre_bbs_getCommonUpVector(struct hg3dclass_struct * thisclass_c, struct vector3_struct * result_c);
+
+// 
+void ogre_bbs_setUseAccurateFacing(struct hg3dclass_struct * thisclass_c, long acc_c);
+
+// 
+void ogre_bbs_getUseAccurateFacing(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_bbs_getMovableType(struct hg3dclass_struct * thisclass_c, char * result_c);
+
+// 
+void ogre_bbs_getSquaredViewDepth(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * cam_c, float * result_c);
+
+// 
+void ogre_bbs_setBillboardsInWorldSpace(struct hg3dclass_struct * thisclass_c, long ws_c);
+
+// 
+void ogre_bbs_setPointRenderingEnabled(struct hg3dclass_struct * thisclass_c, long enabled_c);
+
+// 
+void ogre_bbs_isPointRenderingEnabled(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// Override to return specific type flag. 
+void ogre_bbs_getTypeFlags(struct hg3dclass_struct * thisclass_c, unsigned long * result_c);
+
+// 
+void ogre_bbs_setAutoUpdate(struct hg3dclass_struct * thisclass_c, long autoUpdate_c);
+
+// 
+void ogre_bbs_getAutoUpdate(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_bbs_notifyBillboardDataChanged(struct hg3dclass_struct * thisclass_c);
+
+#endif 
diff --git a/include/ClassBillboardSetFactory.h b/include/ClassBillboardSetFactory.h
--- a/include/ClassBillboardSetFactory.h
+++ b/include/ClassBillboardSetFactory.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,30 +14,30 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // ClassBillboardSetFactory.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_ClassBillboardSetFactory
-#define _DEFINED_HG3D_ClassBillboardSetFactory
-
-#include "ClassPtr.h"
-#include "ClassMovableObject.h"
+#ifndef _DEFINED_HG3D_ClassBillboardSetFactory
+#define _DEFINED_HG3D_ClassBillboardSetFactory
 
+#include "ClassPtr.h"
+#include "ClassMovableObject.h"
 
-// 
-void ogre_bbsf_construct(struct hg3dclass_struct * result_c);
-
-// 
-void ogre_bbsf_destruct(struct hg3dclass_struct * thisclass_c);
-
-// Get the type of the object to be created. 
-void ogre_bbsf_getType(struct hg3dclass_struct * thisclass_c, char * result_c);
-
-// 
-void ogre_bbsf_destroyInstance(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * obj_c);
-
-#endif 
+
+// 
+void ogre_bbsf_construct(struct hg3dclass_struct * result_c);
+
+// 
+void ogre_bbsf_destruct(struct hg3dclass_struct * thisclass_c);
+
+// Get the type of the object to be created. 
+void ogre_bbsf_getType(struct hg3dclass_struct * thisclass_c, char * result_c);
+
+// 
+void ogre_bbsf_destroyInstance(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * obj_c);
+
+#endif 
diff --git a/include/ClassBone.h b/include/ClassBone.h
--- a/include/ClassBone.h
+++ b/include/ClassBone.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,43 +14,43 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // ClassBone.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_ClassBone
-#define _DEFINED_HG3D_ClassBone
-
-#include "ClassPtr.h"
-#include "StructVec3.h"
-#include "StructQuaternion.h"
+#ifndef _DEFINED_HG3D_ClassBone
+#define _DEFINED_HG3D_ClassBone
 
+#include "ClassPtr.h"
+#include "StructVec3.h"
+#include "StructQuaternion.h"
 
-// 
-void ogre_bn_destruct(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_bn_createChild(struct hg3dclass_struct * thisclass_c, unsigned short handle_c, struct vector3_struct * translate_c, struct quaternion_struct * rotate_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_bn_getHandle(struct hg3dclass_struct * thisclass_c, unsigned short * result_c);
-
-// 
-void ogre_bn_setBindingPose(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_bn_reset(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_bn_setManuallyControlled(struct hg3dclass_struct * thisclass_c, long manuallyControlled_c);
-
-// 
-void ogre_bn_isManuallyControlled(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_bn_needUpdate(struct hg3dclass_struct * thisclass_c, long forceParentUpdate_c);
-
-#endif 
+
+// 
+void ogre_bn_destruct(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_bn_createChild(struct hg3dclass_struct * thisclass_c, unsigned short handle_c, struct vector3_struct * translate_c, struct quaternion_struct * rotate_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_bn_getHandle(struct hg3dclass_struct * thisclass_c, unsigned short * result_c);
+
+// 
+void ogre_bn_setBindingPose(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_bn_reset(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_bn_setManuallyControlled(struct hg3dclass_struct * thisclass_c, long manuallyControlled_c);
+
+// 
+void ogre_bn_isManuallyControlled(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_bn_needUpdate(struct hg3dclass_struct * thisclass_c, long forceParentUpdate_c);
+
+#endif 
diff --git a/include/ClassCamera.h b/include/ClassCamera.h
--- a/include/ClassCamera.h
+++ b/include/ClassCamera.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,209 +14,209 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // ClassCamera.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_ClassCamera
-#define _DEFINED_HG3D_ClassCamera
-
-#include "ClassPtr.h"
-#include "ClassSceneManager.h"
-#include "StructVec3.h"
-#include "StructRadians.h"
-#include "StructQuaternion.h"
-#include "ClassSceneNode.h"
-#include "ClassViewport.h"
-#include "ClassFrustum.h"
-#include "EnumFrustumPlane.h"
+#ifndef _DEFINED_HG3D_ClassCamera
+#define _DEFINED_HG3D_ClassCamera
 
+#include "ClassPtr.h"
+#include "ClassSceneManager.h"
+#include "StructVec3.h"
+#include "StructRadians.h"
+#include "StructQuaternion.h"
+#include "ClassSceneNode.h"
+#include "ClassViewport.h"
+#include "ClassFrustum.h"
+#include "EnumFrustumPlane.h"
 
-// 
-void ogre_cam_construct(char * name_c, struct hg3dclass_struct * sm_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_cam_destruct(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_cam_getSceneManager(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_cam_setPosition(struct hg3dclass_struct * thisclass_c, float x_c, float y_c, float z_c);
-
-// 
-void ogre_cam_setPosition2(struct hg3dclass_struct * thisclass_c, struct vector3_struct * vec_c);
-
-// 
-void ogre_cam_getPosition(struct hg3dclass_struct * thisclass_c, struct vector3_struct * result_c);
-
-// 
-void ogre_cam_move(struct hg3dclass_struct * thisclass_c, struct vector3_struct * vec_c);
-
-// 
-void ogre_cam_moveRelative(struct hg3dclass_struct * thisclass_c, struct vector3_struct * vec_c);
-
-// 
-void ogre_cam_setDirection(struct hg3dclass_struct * thisclass_c, float x_c, float y_c, float z_c);
-
-// 
-void ogre_cam_setDirection2(struct hg3dclass_struct * thisclass_c, struct vector3_struct * vec_c);
-
-// 
-void ogre_cam_getDirection(struct hg3dclass_struct * thisclass_c, struct vector3_struct * result_c);
-
-// 
-void ogre_cam_getUp(struct hg3dclass_struct * thisclass_c, struct vector3_struct * result_c);
-
-// 
-void ogre_cam_getRight(struct hg3dclass_struct * thisclass_c, struct vector3_struct * result_c);
-
-// 
-void ogre_cam_lookAt(struct hg3dclass_struct * thisclass_c, struct vector3_struct * targetPoint_c);
-
-// 
-void ogre_cam_lookAt2(struct hg3dclass_struct * thisclass_c, float x_c, float y_c, float z_c);
-
-// 
-void ogre_cam_roll(struct hg3dclass_struct * thisclass_c, struct radian_struct * angle_c);
-
-// 
-void ogre_cam_yaw(struct hg3dclass_struct * thisclass_c, struct radian_struct * angle_c);
-
-// 
-void ogre_cam_pitch(struct hg3dclass_struct * thisclass_c, struct radian_struct * angle_c);
-
-// 
-void ogre_cam_rotate(struct hg3dclass_struct * thisclass_c, struct vector3_struct * axis_c, struct radian_struct * angle_c);
-
-// 
-void ogre_cam_rotate2(struct hg3dclass_struct * thisclass_c, struct quaternion_struct * q_c);
-
-// 
-void ogre_cam_setFixedYawAxis(struct hg3dclass_struct * thisclass_c, long useFixed_c, struct vector3_struct * fixedAxis_c);
-
-// 
-void ogre_cam_getOrientation(struct hg3dclass_struct * thisclass_c, struct quaternion_struct * result_c);
-
-// 
-void ogre_cam_setOrientation(struct hg3dclass_struct * thisclass_c, struct quaternion_struct * q_c);
-
-// 
-void ogre_cam_getDerivedOrientation(struct hg3dclass_struct * thisclass_c, struct quaternion_struct * result_c);
-
-// 
-void ogre_cam_getDerivedPosition(struct hg3dclass_struct * thisclass_c, struct vector3_struct * result_c);
-
-// 
-void ogre_cam_getDerivedDirection(struct hg3dclass_struct * thisclass_c, struct vector3_struct * result_c);
-
-// 
-void ogre_cam_getDerivedUp(struct hg3dclass_struct * thisclass_c, struct vector3_struct * result_c);
-
-// 
-void ogre_cam_getDerivedRight(struct hg3dclass_struct * thisclass_c, struct vector3_struct * result_c);
-
-// 
-void ogre_cam_getRealOrientation(struct hg3dclass_struct * thisclass_c, struct quaternion_struct * result_c);
-
-// 
-void ogre_cam_getRealPosition(struct hg3dclass_struct * thisclass_c, struct vector3_struct * result_c);
-
-// 
-void ogre_cam_getRealDirection(struct hg3dclass_struct * thisclass_c, struct vector3_struct * result_c);
-
-// 
-void ogre_cam_getRealUp(struct hg3dclass_struct * thisclass_c, struct vector3_struct * result_c);
-
-// 
-void ogre_cam_getRealRight(struct hg3dclass_struct * thisclass_c, struct vector3_struct * result_c);
-
-// 
-void ogre_cam_getMovableType(struct hg3dclass_struct * thisclass_c, char * result_c);
-
-// 
-void ogre_cam_setLodBias(struct hg3dclass_struct * thisclass_c, float factor_c);
-
-// 
-void ogre_cam_getLodBias(struct hg3dclass_struct * thisclass_c, float * result_c);
-
-// 
-void ogre_cam_setLodCamera(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * lodCam_c);
-
-// 
-void ogre_cam_getLodCamera(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_cam_setWindow(struct hg3dclass_struct * thisclass_c, float Left_c, float Top_c, float Right_c, float Bottom_c);
-
-// Cancel view window. 
-void ogre_cam_resetWindow(struct hg3dclass_struct * thisclass_c);
-
-// Returns if a viewport window is being used. 
-void ogre_cam_isWindowSet(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_cam_getBoundingRadius(struct hg3dclass_struct * thisclass_c, float * result_c);
-
-// 
-void ogre_cam_getAutoTrackTarget(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_cam_getAutoTrackOffset(struct hg3dclass_struct * thisclass_c, struct vector3_struct * result_c);
-
-// 
-void ogre_cam_getViewport(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_cam_setAutoAspectRatio(struct hg3dclass_struct * thisclass_c, long autoratio_c);
-
-// 
-void ogre_cam_getAutoAspectRatio(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_cam_setCullingFrustum(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * frustum_c);
-
-// 
-void ogre_cam_getCullingFrustum(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_cam_isVisible3(struct hg3dclass_struct * thisclass_c, struct vector3_struct * vert_c, enum EnumFrustumPlane * culledBy_c, long * result_c);
-
-// 
-void ogre_cam_getWorldSpaceCorners(struct hg3dclass_struct * thisclass_c, struct vector3_struct * result_c);
-
-// 
-void ogre_cam_getNearClipDistance(struct hg3dclass_struct * thisclass_c, float * result_c);
-
-// 
-void ogre_cam_getFarClipDistance(struct hg3dclass_struct * thisclass_c, float * result_c);
-
-// 
-void ogre_cam_setUseRenderingDistance(struct hg3dclass_struct * thisclass_c, long use_c);
-
-// 
-void ogre_cam_getUseRenderingDistance(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_cam_synchroniseBaseSettingsWith(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * cam_c);
-
-// 
-void ogre_cam_getPositionForViewUpdate(struct hg3dclass_struct * thisclass_c, struct vector3_struct * result_c);
-
-// 
-void ogre_cam_getOrientationForViewUpdate(struct hg3dclass_struct * thisclass_c, struct quaternion_struct * result_c);
-
-// Sets whether to use min display size calculations 
-
-void ogre_cam_setUseMinPixelSize(struct hg3dclass_struct * thisclass_c, long enable_c);
-
-// 
-void ogre_cam_getUseMinPixelSize(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_cam_getPixelDisplayRatio(struct hg3dclass_struct * thisclass_c, float * result_c);
-
-#endif 
+
+// 
+void ogre_cam_construct(char * name_c, struct hg3dclass_struct * sm_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_cam_destruct(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_cam_getSceneManager(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_cam_setPosition(struct hg3dclass_struct * thisclass_c, float x_c, float y_c, float z_c);
+
+// 
+void ogre_cam_setPosition2(struct hg3dclass_struct * thisclass_c, struct vector3_struct * vec_c);
+
+// 
+void ogre_cam_getPosition(struct hg3dclass_struct * thisclass_c, struct vector3_struct * result_c);
+
+// 
+void ogre_cam_move(struct hg3dclass_struct * thisclass_c, struct vector3_struct * vec_c);
+
+// 
+void ogre_cam_moveRelative(struct hg3dclass_struct * thisclass_c, struct vector3_struct * vec_c);
+
+// 
+void ogre_cam_setDirection(struct hg3dclass_struct * thisclass_c, float x_c, float y_c, float z_c);
+
+// 
+void ogre_cam_setDirection2(struct hg3dclass_struct * thisclass_c, struct vector3_struct * vec_c);
+
+// 
+void ogre_cam_getDirection(struct hg3dclass_struct * thisclass_c, struct vector3_struct * result_c);
+
+// 
+void ogre_cam_getUp(struct hg3dclass_struct * thisclass_c, struct vector3_struct * result_c);
+
+// 
+void ogre_cam_getRight(struct hg3dclass_struct * thisclass_c, struct vector3_struct * result_c);
+
+// 
+void ogre_cam_lookAt(struct hg3dclass_struct * thisclass_c, struct vector3_struct * targetPoint_c);
+
+// 
+void ogre_cam_lookAt2(struct hg3dclass_struct * thisclass_c, float x_c, float y_c, float z_c);
+
+// 
+void ogre_cam_roll(struct hg3dclass_struct * thisclass_c, struct radian_struct * angle_c);
+
+// 
+void ogre_cam_yaw(struct hg3dclass_struct * thisclass_c, struct radian_struct * angle_c);
+
+// 
+void ogre_cam_pitch(struct hg3dclass_struct * thisclass_c, struct radian_struct * angle_c);
+
+// 
+void ogre_cam_rotate(struct hg3dclass_struct * thisclass_c, struct vector3_struct * axis_c, struct radian_struct * angle_c);
+
+// 
+void ogre_cam_rotate2(struct hg3dclass_struct * thisclass_c, struct quaternion_struct * q_c);
+
+// 
+void ogre_cam_setFixedYawAxis(struct hg3dclass_struct * thisclass_c, long useFixed_c, struct vector3_struct * fixedAxis_c);
+
+// 
+void ogre_cam_getOrientation(struct hg3dclass_struct * thisclass_c, struct quaternion_struct * result_c);
+
+// 
+void ogre_cam_setOrientation(struct hg3dclass_struct * thisclass_c, struct quaternion_struct * q_c);
+
+// 
+void ogre_cam_getDerivedOrientation(struct hg3dclass_struct * thisclass_c, struct quaternion_struct * result_c);
+
+// 
+void ogre_cam_getDerivedPosition(struct hg3dclass_struct * thisclass_c, struct vector3_struct * result_c);
+
+// 
+void ogre_cam_getDerivedDirection(struct hg3dclass_struct * thisclass_c, struct vector3_struct * result_c);
+
+// 
+void ogre_cam_getDerivedUp(struct hg3dclass_struct * thisclass_c, struct vector3_struct * result_c);
+
+// 
+void ogre_cam_getDerivedRight(struct hg3dclass_struct * thisclass_c, struct vector3_struct * result_c);
+
+// 
+void ogre_cam_getRealOrientation(struct hg3dclass_struct * thisclass_c, struct quaternion_struct * result_c);
+
+// 
+void ogre_cam_getRealPosition(struct hg3dclass_struct * thisclass_c, struct vector3_struct * result_c);
+
+// 
+void ogre_cam_getRealDirection(struct hg3dclass_struct * thisclass_c, struct vector3_struct * result_c);
+
+// 
+void ogre_cam_getRealUp(struct hg3dclass_struct * thisclass_c, struct vector3_struct * result_c);
+
+// 
+void ogre_cam_getRealRight(struct hg3dclass_struct * thisclass_c, struct vector3_struct * result_c);
+
+// 
+void ogre_cam_getMovableType(struct hg3dclass_struct * thisclass_c, char * result_c);
+
+// 
+void ogre_cam_setLodBias(struct hg3dclass_struct * thisclass_c, float factor_c);
+
+// 
+void ogre_cam_getLodBias(struct hg3dclass_struct * thisclass_c, float * result_c);
+
+// 
+void ogre_cam_setLodCamera(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * lodCam_c);
+
+// 
+void ogre_cam_getLodCamera(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_cam_setWindow(struct hg3dclass_struct * thisclass_c, float Left_c, float Top_c, float Right_c, float Bottom_c);
+
+// Cancel view window. 
+void ogre_cam_resetWindow(struct hg3dclass_struct * thisclass_c);
+
+// Returns if a viewport window is being used. 
+void ogre_cam_isWindowSet(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_cam_getBoundingRadius(struct hg3dclass_struct * thisclass_c, float * result_c);
+
+// 
+void ogre_cam_getAutoTrackTarget(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_cam_getAutoTrackOffset(struct hg3dclass_struct * thisclass_c, struct vector3_struct * result_c);
+
+// 
+void ogre_cam_getViewport(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_cam_setAutoAspectRatio(struct hg3dclass_struct * thisclass_c, long autoratio_c);
+
+// 
+void ogre_cam_getAutoAspectRatio(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_cam_setCullingFrustum(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * frustum_c);
+
+// 
+void ogre_cam_getCullingFrustum(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_cam_isVisible3(struct hg3dclass_struct * thisclass_c, struct vector3_struct * vert_c, enum EnumFrustumPlane * culledBy_c, long * result_c);
+
+// 
+void ogre_cam_getWorldSpaceCorners(struct hg3dclass_struct * thisclass_c, struct vector3_struct * result_c);
+
+// 
+void ogre_cam_getNearClipDistance(struct hg3dclass_struct * thisclass_c, float * result_c);
+
+// 
+void ogre_cam_getFarClipDistance(struct hg3dclass_struct * thisclass_c, float * result_c);
+
+// 
+void ogre_cam_setUseRenderingDistance(struct hg3dclass_struct * thisclass_c, long use_c);
+
+// 
+void ogre_cam_getUseRenderingDistance(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_cam_synchroniseBaseSettingsWith(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * cam_c);
+
+// 
+void ogre_cam_getPositionForViewUpdate(struct hg3dclass_struct * thisclass_c, struct vector3_struct * result_c);
+
+// 
+void ogre_cam_getOrientationForViewUpdate(struct hg3dclass_struct * thisclass_c, struct quaternion_struct * result_c);
+
+// Sets whether to use min display size calculations 
+
+void ogre_cam_setUseMinPixelSize(struct hg3dclass_struct * thisclass_c, long enable_c);
+
+// 
+void ogre_cam_getUseMinPixelSize(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_cam_getPixelDisplayRatio(struct hg3dclass_struct * thisclass_c, float * result_c);
+
+#endif 
diff --git a/include/ClassConfigFile.h b/include/ClassConfigFile.h
--- a/include/ClassConfigFile.h
+++ b/include/ClassConfigFile.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,41 +14,41 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // ClassConfigFile.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_ClassConfigFile
-#define _DEFINED_HG3D_ClassConfigFile
-
-#include "ClassPtr.h"
+#ifndef _DEFINED_HG3D_ClassConfigFile
+#define _DEFINED_HG3D_ClassConfigFile
 
+#include "ClassPtr.h"
 
-// 
-void ogre_cf_construct(struct hg3dclass_struct * result_c);
-
-// 
-void ogre_cf_destruct(struct hg3dclass_struct * thisclass_c);
-
-// load from a filename (not using resource group locations) 
-void ogre_cf_load(struct hg3dclass_struct * thisclass_c, char * filename_c, char * separators_c, long trimWhitespace_c);
-
-// load from a filename (using resource group locations) 
-void ogre_cf_load2(struct hg3dclass_struct * thisclass_c, char * filename_c, char * resourceGroup_c, char * separators_c, long trimWhitespace_c);
-
-// load from a filename (not using resource group locations) 
-void ogre_cf_loadDirect(struct hg3dclass_struct * thisclass_c, char * filename_c, char * separators_c, long trimWhitespace_c);
-
-// load from a filename (using resource group locations) 
-void ogre_cf_loadFromResourceSystem(struct hg3dclass_struct * thisclass_c, char * filename_c, char * resourceGroup_c, char * separators_c, long trimWhitespace_c);
-
-// 
-void ogre_cf_getSetting(struct hg3dclass_struct * thisclass_c, char * key_c, char * section_c, char * defaultValue_c, char * result_c);
-
-// 
-void ogre_cf_clear(struct hg3dclass_struct * thisclass_c);
-
-#endif 
+
+// 
+void ogre_cf_construct(struct hg3dclass_struct * result_c);
+
+// 
+void ogre_cf_destruct(struct hg3dclass_struct * thisclass_c);
+
+// load from a filename (not using resource group locations) 
+void ogre_cf_load(struct hg3dclass_struct * thisclass_c, char * filename_c, char * separators_c, long trimWhitespace_c);
+
+// load from a filename (using resource group locations) 
+void ogre_cf_load2(struct hg3dclass_struct * thisclass_c, char * filename_c, char * resourceGroup_c, char * separators_c, long trimWhitespace_c);
+
+// load from a filename (not using resource group locations) 
+void ogre_cf_loadDirect(struct hg3dclass_struct * thisclass_c, char * filename_c, char * separators_c, long trimWhitespace_c);
+
+// load from a filename (using resource group locations) 
+void ogre_cf_loadFromResourceSystem(struct hg3dclass_struct * thisclass_c, char * filename_c, char * resourceGroup_c, char * separators_c, long trimWhitespace_c);
+
+// 
+void ogre_cf_getSetting(struct hg3dclass_struct * thisclass_c, char * key_c, char * section_c, char * defaultValue_c, char * result_c);
+
+// 
+void ogre_cf_clear(struct hg3dclass_struct * thisclass_c);
+
+#endif 
diff --git a/include/ClassControllerManager.h b/include/ClassControllerManager.h
--- a/include/ClassControllerManager.h
+++ b/include/ClassControllerManager.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,53 +14,53 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // ClassControllerManager.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_ClassControllerManager
-#define _DEFINED_HG3D_ClassControllerManager
-
-#include "ClassPtr.h"
+#ifndef _DEFINED_HG3D_ClassControllerManager
+#define _DEFINED_HG3D_ClassControllerManager
 
+#include "ClassPtr.h"
 
-// 
-void ogre_cmgr_construct(struct hg3dclass_struct * result_c);
-
-// 
-void ogre_cmgr_destruct(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_cmgr_clearControllers(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_cmgr_updateAllControllers(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_cmgr_getTimeFactor(struct hg3dclass_struct * thisclass_c, float * result_c);
-
-// 
-void ogre_cmgr_setTimeFactor(struct hg3dclass_struct * thisclass_c, float tf_c);
-
-// 
-void ogre_cmgr_getFrameDelay(struct hg3dclass_struct * thisclass_c, float * result_c);
-
-// 
-void ogre_cmgr_setFrameDelay(struct hg3dclass_struct * thisclass_c, float fd_c);
-
-// 
-void ogre_cmgr_getElapsedTime(struct hg3dclass_struct * thisclass_c, float * result_c);
-
-// 
-void ogre_cmgr_setElapsedTime(struct hg3dclass_struct * thisclass_c, float elapsedTime_c);
-
-// 
-void ogre_cmgr_getSingleton(struct hg3dclass_struct * result_c);
-
-// 
-void ogre_cmgr_getSingletonPtr(struct hg3dclass_struct * result_c);
-
-#endif 
+
+// 
+void ogre_cmgr_construct(struct hg3dclass_struct * result_c);
+
+// 
+void ogre_cmgr_destruct(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_cmgr_clearControllers(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_cmgr_updateAllControllers(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_cmgr_getTimeFactor(struct hg3dclass_struct * thisclass_c, float * result_c);
+
+// 
+void ogre_cmgr_setTimeFactor(struct hg3dclass_struct * thisclass_c, float tf_c);
+
+// 
+void ogre_cmgr_getFrameDelay(struct hg3dclass_struct * thisclass_c, float * result_c);
+
+// 
+void ogre_cmgr_setFrameDelay(struct hg3dclass_struct * thisclass_c, float fd_c);
+
+// 
+void ogre_cmgr_getElapsedTime(struct hg3dclass_struct * thisclass_c, float * result_c);
+
+// 
+void ogre_cmgr_setElapsedTime(struct hg3dclass_struct * thisclass_c, float elapsedTime_c);
+
+// 
+void ogre_cmgr_getSingleton(struct hg3dclass_struct * result_c);
+
+// 
+void ogre_cmgr_getSingletonPtr(struct hg3dclass_struct * result_c);
+
+#endif 
diff --git a/include/ClassEntity.h b/include/ClassEntity.h
--- a/include/ClassEntity.h
+++ b/include/ClassEntity.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,137 +14,137 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // ClassEntity.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_ClassEntity
-#define _DEFINED_HG3D_ClassEntity
-
-#include "ClassPtr.h"
-#include "StructSharedPtr.h"
-#include "ClassAnimationState.h"
-#include "ClassAnimationStateSet.h"
-#include "ClassMovableObject.h"
-#include "EnumEntityVertexDataBindChoice.h"
-#include "ClassResource.h"
+#ifndef _DEFINED_HG3D_ClassEntity
+#define _DEFINED_HG3D_ClassEntity
 
+#include "ClassPtr.h"
+#include "StructSharedPtr.h"
+#include "ClassAnimationState.h"
+#include "ClassAnimationStateSet.h"
+#include "ClassMovableObject.h"
+#include "EnumEntityVertexDataBindChoice.h"
+#include "ClassResource.h"
 
-// 
-void ogre_ent_destruct(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_ent_getMesh(struct hg3dclass_struct * thisclass_c, struct sharedptr_struct * result_c);
-
-// 
-void ogre_ent_getNumSubEntities(struct hg3dclass_struct * thisclass_c, unsigned long * result_c);
-
-// 
-void ogre_ent_clone(struct hg3dclass_struct * thisclass_c, char * newName_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_ent_setMaterialName(struct hg3dclass_struct * thisclass_c, char * name_c, char * groupName_c);
-
-// 
-void ogre_ent_setMaterial(struct hg3dclass_struct * thisclass_c, struct sharedptr_struct * material_c);
-
-// 
-void ogre_ent_getMovableType(struct hg3dclass_struct * thisclass_c, char * result_c);
-
-// 
-void ogre_ent_getAnimationState(struct hg3dclass_struct * thisclass_c, char * name_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_ent_hasAnimationState(struct hg3dclass_struct * thisclass_c, char * name_c, long * result_c);
-
-// 
-void ogre_ent_getAllAnimationStates(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_ent_setDisplaySkeleton(struct hg3dclass_struct * thisclass_c, long display_c);
-
-// 
-void ogre_ent_getDisplaySkeleton(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_ent_getManualLodLevel(struct hg3dclass_struct * thisclass_c, long index_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_ent_getNumManualLodLevels(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_ent_setPolygonModeOverrideable(struct hg3dclass_struct * thisclass_c, long PolygonModeOverrideable_c);
-
-// 
-void ogre_ent_detachObjectFromBone(struct hg3dclass_struct * thisclass_c, char * movableName_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_ent_detachObjectFromBone2(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * obj_c);
-
-// Detach all MovableObjects previously attached using attachObjectToBone. 
-void ogre_ent_detachAllObjectsFromBone(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_ent_getBoundingRadius(struct hg3dclass_struct * thisclass_c, float * result_c);
-
-// 
-void ogre_ent_hasEdgeList(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_ent_hasSkeleton(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_ent_isHardwareAnimationEnabled(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_ent_getSoftwareAnimationRequests(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_ent_getSoftwareAnimationNormalsRequests(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_ent_addSoftwareAnimationRequest(struct hg3dclass_struct * thisclass_c, long normalsAlso_c);
-
-// 
-void ogre_ent_removeSoftwareAnimationRequest(struct hg3dclass_struct * thisclass_c, long normalsAlso_c);
-
-// 
-void ogre_ent_shareSkeletonInstanceWith(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * entity_c);
-
-// 
-void ogre_ent_hasVertexAnimation(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_ent_stopSharingSkeletonInstance(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_ent_sharesSkeletonInstance(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_ent_refreshAvailableAnimationState(struct hg3dclass_struct * thisclass_c);
-
-// Choose which vertex data to bind to the renderer. 
-void ogre_ent_chooseVertexDataForBinding(struct hg3dclass_struct * thisclass_c, long hasVertexAnim_c, enum EnumEntityVertexDataBindChoice * result_c);
-
-// 
-void ogre_ent_isInitialised(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_ent_backgroundLoadingComplete(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * res_c);
-
-// 
-void ogre_ent_setSkipAnimationStateUpdate(struct hg3dclass_struct * thisclass_c, long skip_c);
-
-// 
-void ogre_ent_getSkipAnimationStateUpdate(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_ent_setAlwaysUpdateMainSkeleton(struct hg3dclass_struct * thisclass_c, long update_c);
-
-// 
-void ogre_ent_getAlwaysUpdateMainSkeleton(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-#endif 
+
+// 
+void ogre_ent_destruct(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_ent_getMesh(struct hg3dclass_struct * thisclass_c, struct sharedptr_struct * result_c);
+
+// 
+void ogre_ent_getNumSubEntities(struct hg3dclass_struct * thisclass_c, unsigned long * result_c);
+
+// 
+void ogre_ent_clone(struct hg3dclass_struct * thisclass_c, char * newName_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_ent_setMaterialName(struct hg3dclass_struct * thisclass_c, char * name_c, char * groupName_c);
+
+// 
+void ogre_ent_setMaterial(struct hg3dclass_struct * thisclass_c, struct sharedptr_struct * material_c);
+
+// 
+void ogre_ent_getMovableType(struct hg3dclass_struct * thisclass_c, char * result_c);
+
+// 
+void ogre_ent_getAnimationState(struct hg3dclass_struct * thisclass_c, char * name_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_ent_hasAnimationState(struct hg3dclass_struct * thisclass_c, char * name_c, long * result_c);
+
+// 
+void ogre_ent_getAllAnimationStates(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_ent_setDisplaySkeleton(struct hg3dclass_struct * thisclass_c, long display_c);
+
+// 
+void ogre_ent_getDisplaySkeleton(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_ent_getManualLodLevel(struct hg3dclass_struct * thisclass_c, long index_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_ent_getNumManualLodLevels(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_ent_setPolygonModeOverrideable(struct hg3dclass_struct * thisclass_c, long PolygonModeOverrideable_c);
+
+// 
+void ogre_ent_detachObjectFromBone(struct hg3dclass_struct * thisclass_c, char * movableName_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_ent_detachObjectFromBone2(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * obj_c);
+
+// Detach all MovableObjects previously attached using attachObjectToBone. 
+void ogre_ent_detachAllObjectsFromBone(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_ent_getBoundingRadius(struct hg3dclass_struct * thisclass_c, float * result_c);
+
+// 
+void ogre_ent_hasEdgeList(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_ent_hasSkeleton(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_ent_isHardwareAnimationEnabled(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_ent_getSoftwareAnimationRequests(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_ent_getSoftwareAnimationNormalsRequests(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_ent_addSoftwareAnimationRequest(struct hg3dclass_struct * thisclass_c, long normalsAlso_c);
+
+// 
+void ogre_ent_removeSoftwareAnimationRequest(struct hg3dclass_struct * thisclass_c, long normalsAlso_c);
+
+// 
+void ogre_ent_shareSkeletonInstanceWith(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * entity_c);
+
+// 
+void ogre_ent_hasVertexAnimation(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_ent_stopSharingSkeletonInstance(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_ent_sharesSkeletonInstance(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_ent_refreshAvailableAnimationState(struct hg3dclass_struct * thisclass_c);
+
+// Choose which vertex data to bind to the renderer. 
+void ogre_ent_chooseVertexDataForBinding(struct hg3dclass_struct * thisclass_c, long hasVertexAnim_c, enum EnumEntityVertexDataBindChoice * result_c);
+
+// 
+void ogre_ent_isInitialised(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_ent_backgroundLoadingComplete(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * res_c);
+
+// 
+void ogre_ent_setSkipAnimationStateUpdate(struct hg3dclass_struct * thisclass_c, long skip_c);
+
+// 
+void ogre_ent_getSkipAnimationStateUpdate(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_ent_setAlwaysUpdateMainSkeleton(struct hg3dclass_struct * thisclass_c, long update_c);
+
+// 
+void ogre_ent_getAlwaysUpdateMainSkeleton(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+#endif 
diff --git a/include/ClassEntityFactory.h b/include/ClassEntityFactory.h
--- a/include/ClassEntityFactory.h
+++ b/include/ClassEntityFactory.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,30 +14,30 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // ClassEntityFactory.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_ClassEntityFactory
-#define _DEFINED_HG3D_ClassEntityFactory
-
-#include "ClassPtr.h"
-#include "ClassMovableObject.h"
+#ifndef _DEFINED_HG3D_ClassEntityFactory
+#define _DEFINED_HG3D_ClassEntityFactory
 
+#include "ClassPtr.h"
+#include "ClassMovableObject.h"
 
-// 
-void ogre_entf_construct(struct hg3dclass_struct * result_c);
-
-// 
-void ogre_entf_destruct(struct hg3dclass_struct * thisclass_c);
-
-// Get the type of the object to be created. 
-void ogre_entf_getType(struct hg3dclass_struct * thisclass_c, char * result_c);
-
-// 
-void ogre_entf_destroyInstance(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * obj_c);
-
-#endif 
+
+// 
+void ogre_entf_construct(struct hg3dclass_struct * result_c);
+
+// 
+void ogre_entf_destruct(struct hg3dclass_struct * thisclass_c);
+
+// Get the type of the object to be created. 
+void ogre_entf_getType(struct hg3dclass_struct * thisclass_c, char * result_c);
+
+// 
+void ogre_entf_destroyInstance(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * obj_c);
+
+#endif 
diff --git a/include/ClassException.h b/include/ClassException.h
--- a/include/ClassException.h
+++ b/include/ClassException.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,44 +14,44 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // ClassException.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_ClassException
-#define _DEFINED_HG3D_ClassException
-
-#include "ClassPtr.h"
+#ifndef _DEFINED_HG3D_ClassException
+#define _DEFINED_HG3D_ClassException
 
+#include "ClassPtr.h"
 
-// 
-void ogre_exc_construct(long number_c, char * description_c, char * source_c, struct hg3dclass_struct * result_c);
-
-// Needed for compatibility with std::exception. 
-void ogre_exc_destruct(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_exc_getFullDescription(struct hg3dclass_struct * thisclass_c, char * result_c);
-
-// 
-void ogre_exc_getNumber(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_exc_getSource(struct hg3dclass_struct * thisclass_c, char * result_c);
-
-// 
-void ogre_exc_getFile(struct hg3dclass_struct * thisclass_c, char * result_c);
-
-// 
-void ogre_exc_getLine(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_exc_getDescription(struct hg3dclass_struct * thisclass_c, char * result_c);
-
-// Override std::exception::what. 
-void ogre_exc_what(struct hg3dclass_struct * thisclass_c, char * result_c);
-
-#endif 
+
+// 
+void ogre_exc_construct(long number_c, char * description_c, char * source_c, struct hg3dclass_struct * result_c);
+
+// Needed for compatibility with std::exception. 
+void ogre_exc_destruct(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_exc_getFullDescription(struct hg3dclass_struct * thisclass_c, char * result_c);
+
+// 
+void ogre_exc_getNumber(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_exc_getSource(struct hg3dclass_struct * thisclass_c, char * result_c);
+
+// 
+void ogre_exc_getFile(struct hg3dclass_struct * thisclass_c, char * result_c);
+
+// 
+void ogre_exc_getLine(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_exc_getDescription(struct hg3dclass_struct * thisclass_c, char * result_c);
+
+// Override std::exception::what. 
+void ogre_exc_what(struct hg3dclass_struct * thisclass_c, char * result_c);
+
+#endif 
diff --git a/include/ClassFrustum.h b/include/ClassFrustum.h
--- a/include/ClassFrustum.h
+++ b/include/ClassFrustum.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,152 +14,152 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // ClassFrustum.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_ClassFrustum
-#define _DEFINED_HG3D_ClassFrustum
-
-#include "ClassPtr.h"
-#include "StructRadians.h"
-#include "StructVec2.h"
-#include "StructVec3.h"
-#include "EnumFrustumPlane.h"
-#include "StructSharedPtr.h"
-#include "ClassCamera.h"
-#include "EnumProjectionType.h"
-#include "StructQuaternion.h"
-#include "EnumOrientationMode.h"
+#ifndef _DEFINED_HG3D_ClassFrustum
+#define _DEFINED_HG3D_ClassFrustum
 
+#include "ClassPtr.h"
+#include "StructRadians.h"
+#include "StructVec2.h"
+#include "StructVec3.h"
+#include "EnumFrustumPlane.h"
+#include "StructSharedPtr.h"
+#include "ClassCamera.h"
+#include "EnumProjectionType.h"
+#include "StructQuaternion.h"
+#include "EnumOrientationMode.h"
 
-// Named constructor. 
-void ogre_frst_construct(char * name_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_frst_destruct(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_frst_setFOVy(struct hg3dclass_struct * thisclass_c, struct radian_struct * fovy_c);
-
-// 
-void ogre_frst_getFOVy(struct hg3dclass_struct * thisclass_c, struct radian_struct * result_c);
-
-// 
-void ogre_frst_setNearClipDistance(struct hg3dclass_struct * thisclass_c, float nearDist_c);
-
-// 
-void ogre_frst_getNearClipDistance(struct hg3dclass_struct * thisclass_c, float * result_c);
-
-// 
-void ogre_frst_setFarClipDistance(struct hg3dclass_struct * thisclass_c, float farDist_c);
-
-// 
-void ogre_frst_getFarClipDistance(struct hg3dclass_struct * thisclass_c, float * result_c);
-
-// 
-void ogre_frst_setAspectRatio(struct hg3dclass_struct * thisclass_c, float ratio_c);
-
-// 
-void ogre_frst_getAspectRatio(struct hg3dclass_struct * thisclass_c, float * result_c);
-
-// 
-void ogre_frst_setFrustumOffset(struct hg3dclass_struct * thisclass_c, struct vector2_struct * offset_c);
-
-// 
-void ogre_frst_setFrustumOffset2(struct hg3dclass_struct * thisclass_c, float horizontal_c, float vertical_c);
-
-// 
-void ogre_frst_getFrustumOffset(struct hg3dclass_struct * thisclass_c, struct vector2_struct * result_c);
-
-// 
-void ogre_frst_setFocalLength(struct hg3dclass_struct * thisclass_c, float focalLength_c);
-
-// 
-void ogre_frst_getFocalLength(struct hg3dclass_struct * thisclass_c, float * result_c);
-
-// 
-void ogre_frst_setFrustumExtents(struct hg3dclass_struct * thisclass_c, float left_c, float right_c, float top_c, float bottom_c);
-
-// 
-void ogre_frst_resetFrustumExtents(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_frst_getFrustumExtents(struct hg3dclass_struct * thisclass_c, float * outleft_c, float * outright_c, float * outtop_c, float * outbottom_c);
-
-// Returns whether a custom view matrix is in use. 
-void ogre_frst_isCustomViewMatrixEnabled(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// Returns whether a custom projection matrix is in use. 
-void ogre_frst_isCustomProjectionMatrixEnabled(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_frst_isVisible3(struct hg3dclass_struct * thisclass_c, struct vector3_struct * vert_c, enum EnumFrustumPlane * culledBy_c, long * result_c);
-
-// Overridden from MovableObject::getTypeFlags
-void ogre_frst_getTypeFlags(struct hg3dclass_struct * thisclass_c, unsigned long * result_c);
-
-// 
-void ogre_frst_getBoundingRadius(struct hg3dclass_struct * thisclass_c, float * result_c);
-
-// 
-void ogre_frst_getMovableType(struct hg3dclass_struct * thisclass_c, char * result_c);
-
-// 
-void ogre_frst_getMaterial(struct hg3dclass_struct * thisclass_c, struct sharedptr_struct * result_c);
-
-// 
-void ogre_frst_getSquaredViewDepth(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * cam_c, float * result_c);
-
-// 
-void ogre_frst_getWorldSpaceCorners(struct hg3dclass_struct * thisclass_c, struct vector3_struct * result_c);
-
-// 
-void ogre_frst_setProjectionType(struct hg3dclass_struct * thisclass_c, enum EnumProjectionType pt_c);
-
-// 
-void ogre_frst_getProjectionType(struct hg3dclass_struct * thisclass_c, enum EnumProjectionType * result_c);
-
-// 
-void ogre_frst_setOrthoWindow(struct hg3dclass_struct * thisclass_c, float w_c, float h_c);
-
-// 
-void ogre_frst_setOrthoWindowHeight(struct hg3dclass_struct * thisclass_c, float h_c);
-
-// 
-void ogre_frst_setOrthoWindowWidth(struct hg3dclass_struct * thisclass_c, float w_c);
-
-// 
-void ogre_frst_getOrthoWindowHeight(struct hg3dclass_struct * thisclass_c, float * result_c);
-
-// 
-void ogre_frst_getOrthoWindowWidth(struct hg3dclass_struct * thisclass_c, float * result_c);
-
-// 
-void ogre_frst_disableReflection(struct hg3dclass_struct * thisclass_c);
-
-// Returns whether this frustum is being reflected. 
-void ogre_frst_isReflected(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_frst_disableCustomNearClipPlane(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_frst_isCustomNearClipPlaneEnabled(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_frst_getPositionForViewUpdate(struct hg3dclass_struct * thisclass_c, struct vector3_struct * result_c);
-
-// 
-void ogre_frst_getOrientationForViewUpdate(struct hg3dclass_struct * thisclass_c, struct quaternion_struct * result_c);
-
-// 
-void ogre_frst_setOrientationMode(struct hg3dclass_struct * thisclass_c, enum EnumOrientationMode orientationMode_c);
-
-// 
-void ogre_frst_getOrientationMode(struct hg3dclass_struct * thisclass_c, enum EnumOrientationMode * result_c);
-
-#endif 
+
+// Named constructor. 
+void ogre_frst_construct(char * name_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_frst_destruct(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_frst_setFOVy(struct hg3dclass_struct * thisclass_c, struct radian_struct * fovy_c);
+
+// 
+void ogre_frst_getFOVy(struct hg3dclass_struct * thisclass_c, struct radian_struct * result_c);
+
+// 
+void ogre_frst_setNearClipDistance(struct hg3dclass_struct * thisclass_c, float nearDist_c);
+
+// 
+void ogre_frst_getNearClipDistance(struct hg3dclass_struct * thisclass_c, float * result_c);
+
+// 
+void ogre_frst_setFarClipDistance(struct hg3dclass_struct * thisclass_c, float farDist_c);
+
+// 
+void ogre_frst_getFarClipDistance(struct hg3dclass_struct * thisclass_c, float * result_c);
+
+// 
+void ogre_frst_setAspectRatio(struct hg3dclass_struct * thisclass_c, float ratio_c);
+
+// 
+void ogre_frst_getAspectRatio(struct hg3dclass_struct * thisclass_c, float * result_c);
+
+// 
+void ogre_frst_setFrustumOffset(struct hg3dclass_struct * thisclass_c, struct vector2_struct * offset_c);
+
+// 
+void ogre_frst_setFrustumOffset2(struct hg3dclass_struct * thisclass_c, float horizontal_c, float vertical_c);
+
+// 
+void ogre_frst_getFrustumOffset(struct hg3dclass_struct * thisclass_c, struct vector2_struct * result_c);
+
+// 
+void ogre_frst_setFocalLength(struct hg3dclass_struct * thisclass_c, float focalLength_c);
+
+// 
+void ogre_frst_getFocalLength(struct hg3dclass_struct * thisclass_c, float * result_c);
+
+// 
+void ogre_frst_setFrustumExtents(struct hg3dclass_struct * thisclass_c, float left_c, float right_c, float top_c, float bottom_c);
+
+// 
+void ogre_frst_resetFrustumExtents(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_frst_getFrustumExtents(struct hg3dclass_struct * thisclass_c, float * outleft_c, float * outright_c, float * outtop_c, float * outbottom_c);
+
+// Returns whether a custom view matrix is in use. 
+void ogre_frst_isCustomViewMatrixEnabled(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// Returns whether a custom projection matrix is in use. 
+void ogre_frst_isCustomProjectionMatrixEnabled(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_frst_isVisible3(struct hg3dclass_struct * thisclass_c, struct vector3_struct * vert_c, enum EnumFrustumPlane * culledBy_c, long * result_c);
+
+// Overridden from MovableObject::getTypeFlags
+void ogre_frst_getTypeFlags(struct hg3dclass_struct * thisclass_c, unsigned long * result_c);
+
+// 
+void ogre_frst_getBoundingRadius(struct hg3dclass_struct * thisclass_c, float * result_c);
+
+// 
+void ogre_frst_getMovableType(struct hg3dclass_struct * thisclass_c, char * result_c);
+
+// 
+void ogre_frst_getMaterial(struct hg3dclass_struct * thisclass_c, struct sharedptr_struct * result_c);
+
+// 
+void ogre_frst_getSquaredViewDepth(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * cam_c, float * result_c);
+
+// 
+void ogre_frst_getWorldSpaceCorners(struct hg3dclass_struct * thisclass_c, struct vector3_struct * result_c);
+
+// 
+void ogre_frst_setProjectionType(struct hg3dclass_struct * thisclass_c, enum EnumProjectionType pt_c);
+
+// 
+void ogre_frst_getProjectionType(struct hg3dclass_struct * thisclass_c, enum EnumProjectionType * result_c);
+
+// 
+void ogre_frst_setOrthoWindow(struct hg3dclass_struct * thisclass_c, float w_c, float h_c);
+
+// 
+void ogre_frst_setOrthoWindowHeight(struct hg3dclass_struct * thisclass_c, float h_c);
+
+// 
+void ogre_frst_setOrthoWindowWidth(struct hg3dclass_struct * thisclass_c, float w_c);
+
+// 
+void ogre_frst_getOrthoWindowHeight(struct hg3dclass_struct * thisclass_c, float * result_c);
+
+// 
+void ogre_frst_getOrthoWindowWidth(struct hg3dclass_struct * thisclass_c, float * result_c);
+
+// 
+void ogre_frst_disableReflection(struct hg3dclass_struct * thisclass_c);
+
+// Returns whether this frustum is being reflected. 
+void ogre_frst_isReflected(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_frst_disableCustomNearClipPlane(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_frst_isCustomNearClipPlaneEnabled(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_frst_getPositionForViewUpdate(struct hg3dclass_struct * thisclass_c, struct vector3_struct * result_c);
+
+// 
+void ogre_frst_getOrientationForViewUpdate(struct hg3dclass_struct * thisclass_c, struct quaternion_struct * result_c);
+
+// 
+void ogre_frst_setOrientationMode(struct hg3dclass_struct * thisclass_c, enum EnumOrientationMode orientationMode_c);
+
+// 
+void ogre_frst_getOrientationMode(struct hg3dclass_struct * thisclass_c, enum EnumOrientationMode * result_c);
+
+#endif 
diff --git a/include/ClassHG3DUtilities.h b/include/ClassHG3DUtilities.h
--- a/include/ClassHG3DUtilities.h
+++ b/include/ClassHG3DUtilities.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,31 +14,31 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // ClassHG3DUtilities.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_ClassHG3DUtilities
-#define _DEFINED_HG3D_ClassHG3DUtilities
-
-#include "ClassPtr.h"
-#include "ClassRenderWindow.h"
-#include "ClassEntity.h"
+#ifndef _DEFINED_HG3D_ClassHG3DUtilities
+#define _DEFINED_HG3D_ClassHG3DUtilities
 
+#include "ClassPtr.h"
+#include "ClassRenderWindow.h"
+#include "ClassEntity.h"
 
-// 
-void ogre_hg3dutl_getWindowHandle(struct hg3dclass_struct * window_c, unsigned long * result_c);
-
-// 
-void ogre_hg3dutl_setupCloseEventHandler(struct hg3dclass_struct * window_c);
-
-// 
-void ogre_hg3dutl_checkQuitReceived(long * result_c);
-
-// 
-void ogre_hg3dutl_buildTangentVectors(struct hg3dclass_struct * entity_c);
-
-#endif 
+
+// 
+void ogre_hg3dutl_getWindowHandle(struct hg3dclass_struct * window_c, unsigned long * result_c);
+
+// 
+void ogre_hg3dutl_setupCloseEventHandler(struct hg3dclass_struct * window_c);
+
+// 
+void ogre_hg3dutl_checkQuitReceived(long * result_c);
+
+// 
+void ogre_hg3dutl_buildTangentVectors(struct hg3dclass_struct * entity_c);
+
+#endif 
diff --git a/include/ClassLight.h b/include/ClassLight.h
--- a/include/ClassLight.h
+++ b/include/ClassLight.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,162 +14,162 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // ClassLight.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_ClassLight
-#define _DEFINED_HG3D_ClassLight
-
-#include "ClassPtr.h"
-#include "EnumLightType.h"
-#include "StructColour.h"
-#include "StructVec3.h"
-#include "StructRadians.h"
+#ifndef _DEFINED_HG3D_ClassLight
+#define _DEFINED_HG3D_ClassLight
 
+#include "ClassPtr.h"
+#include "EnumLightType.h"
+#include "StructColour.h"
+#include "StructVec3.h"
+#include "StructRadians.h"
 
-// 
-void ogre_lgt_construct(char * name_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_lgt_destruct(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_lgt_setType(struct hg3dclass_struct * thisclass_c, enum EnumLightType type_c);
-
-// 
-void ogre_lgt_getType(struct hg3dclass_struct * thisclass_c, enum EnumLightType * result_c);
-
-// 
-void ogre_lgt_setDiffuseColour(struct hg3dclass_struct * thisclass_c, float red_c, float green_c, float blue_c);
-
-// 
-void ogre_lgt_setDiffuseColour2(struct hg3dclass_struct * thisclass_c, struct colourvalue_struct * colour_c);
-
-// 
-void ogre_lgt_getDiffuseColour(struct hg3dclass_struct * thisclass_c, struct colourvalue_struct * result_c);
-
-// 
-void ogre_lgt_setSpecularColour(struct hg3dclass_struct * thisclass_c, float red_c, float green_c, float blue_c);
-
-// 
-void ogre_lgt_setSpecularColour2(struct hg3dclass_struct * thisclass_c, struct colourvalue_struct * colour_c);
-
-// 
-void ogre_lgt_getSpecularColour(struct hg3dclass_struct * thisclass_c, struct colourvalue_struct * result_c);
-
-// 
-void ogre_lgt_setAttenuation(struct hg3dclass_struct * thisclass_c, float range_c, float constant_c, float linear_c, float quadratic_c);
-
-// 
-void ogre_lgt_getAttenuationRange(struct hg3dclass_struct * thisclass_c, float * result_c);
-
-// 
-void ogre_lgt_getAttenuationConstant(struct hg3dclass_struct * thisclass_c, float * result_c);
-
-// 
-void ogre_lgt_getAttenuationLinear(struct hg3dclass_struct * thisclass_c, float * result_c);
-
-// 
-void ogre_lgt_getAttenuationQuadric(struct hg3dclass_struct * thisclass_c, float * result_c);
-
-// 
-void ogre_lgt_setPosition(struct hg3dclass_struct * thisclass_c, float x_c, float y_c, float z_c);
-
-// 
-void ogre_lgt_setPosition2(struct hg3dclass_struct * thisclass_c, struct vector3_struct * vec_c);
-
-// 
-void ogre_lgt_getPosition(struct hg3dclass_struct * thisclass_c, struct vector3_struct * result_c);
-
-// 
-void ogre_lgt_setDirection(struct hg3dclass_struct * thisclass_c, float x_c, float y_c, float z_c);
-
-// 
-void ogre_lgt_setDirection2(struct hg3dclass_struct * thisclass_c, struct vector3_struct * vec_c);
-
-// 
-void ogre_lgt_getDirection(struct hg3dclass_struct * thisclass_c, struct vector3_struct * result_c);
-
-// 
-void ogre_lgt_setSpotlightRange(struct hg3dclass_struct * thisclass_c, struct radian_struct * innerAngle_c, struct radian_struct * outerAngle_c, float falloff_c);
-
-// 
-void ogre_lgt_getSpotlightInnerAngle(struct hg3dclass_struct * thisclass_c, struct radian_struct * result_c);
-
-// 
-void ogre_lgt_getSpotlightOuterAngle(struct hg3dclass_struct * thisclass_c, struct radian_struct * result_c);
-
-// 
-void ogre_lgt_getSpotlightFalloff(struct hg3dclass_struct * thisclass_c, float * result_c);
-
-// 
-void ogre_lgt_setSpotlightInnerAngle(struct hg3dclass_struct * thisclass_c, struct radian_struct * val_c);
-
-// 
-void ogre_lgt_setSpotlightOuterAngle(struct hg3dclass_struct * thisclass_c, struct radian_struct * val_c);
-
-// 
-void ogre_lgt_setSpotlightFalloff(struct hg3dclass_struct * thisclass_c, float val_c);
-
-// 
-void ogre_lgt_setSpotlightNearClipDistance(struct hg3dclass_struct * thisclass_c, float nearClip_c);
-
-// 
-void ogre_lgt_getSpotlightNearClipDistance(struct hg3dclass_struct * thisclass_c, float * result_c);
-
-// 
-void ogre_lgt_setPowerScale(struct hg3dclass_struct * thisclass_c, float power_c);
-
-// 
-void ogre_lgt_getPowerScale(struct hg3dclass_struct * thisclass_c, float * result_c);
-
-// 
-void ogre_lgt_getMovableType(struct hg3dclass_struct * thisclass_c, char * result_c);
-
-// 
-void ogre_lgt_getDerivedPosition(struct hg3dclass_struct * thisclass_c, long cameraRelativeIfSet_c, struct vector3_struct * result_c);
-
-// 
-void ogre_lgt_getDerivedDirection(struct hg3dclass_struct * thisclass_c, struct vector3_struct * result_c);
-
-// 
-void ogre_lgt_setVisible(struct hg3dclass_struct * thisclass_c, long visible_c);
-
-// 
-void ogre_lgt_getBoundingRadius(struct hg3dclass_struct * thisclass_c, float * result_c);
-
-// Override to return specific type flag. 
-void ogre_lgt_getTypeFlags(struct hg3dclass_struct * thisclass_c, unsigned long * result_c);
-
-// 
-void ogre_lgt_resetCustomShadowCameraSetup(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_lgt_setShadowFarDistance(struct hg3dclass_struct * thisclass_c, float distance_c);
-
-// 
-void ogre_lgt_resetShadowFarDistance(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_lgt_getShadowFarDistance(struct hg3dclass_struct * thisclass_c, float * result_c);
-
-// 
-void ogre_lgt_getShadowFarDistanceSquared(struct hg3dclass_struct * thisclass_c, float * result_c);
-
-// 
-void ogre_lgt_setShadowNearClipDistance(struct hg3dclass_struct * thisclass_c, float nearClip_c);
-
-// 
-void ogre_lgt_getShadowNearClipDistance(struct hg3dclass_struct * thisclass_c, float * result_c);
-
-// 
-void ogre_lgt_setShadowFarClipDistance(struct hg3dclass_struct * thisclass_c, float farClip_c);
-
-// 
-void ogre_lgt_getShadowFarClipDistance(struct hg3dclass_struct * thisclass_c, float * result_c);
-
-#endif 
+
+// 
+void ogre_lgt_construct(char * name_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_lgt_destruct(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_lgt_setType(struct hg3dclass_struct * thisclass_c, enum EnumLightType type_c);
+
+// 
+void ogre_lgt_getType(struct hg3dclass_struct * thisclass_c, enum EnumLightType * result_c);
+
+// 
+void ogre_lgt_setDiffuseColour(struct hg3dclass_struct * thisclass_c, float red_c, float green_c, float blue_c);
+
+// 
+void ogre_lgt_setDiffuseColour2(struct hg3dclass_struct * thisclass_c, struct colourvalue_struct * colour_c);
+
+// 
+void ogre_lgt_getDiffuseColour(struct hg3dclass_struct * thisclass_c, struct colourvalue_struct * result_c);
+
+// 
+void ogre_lgt_setSpecularColour(struct hg3dclass_struct * thisclass_c, float red_c, float green_c, float blue_c);
+
+// 
+void ogre_lgt_setSpecularColour2(struct hg3dclass_struct * thisclass_c, struct colourvalue_struct * colour_c);
+
+// 
+void ogre_lgt_getSpecularColour(struct hg3dclass_struct * thisclass_c, struct colourvalue_struct * result_c);
+
+// 
+void ogre_lgt_setAttenuation(struct hg3dclass_struct * thisclass_c, float range_c, float constant_c, float linear_c, float quadratic_c);
+
+// 
+void ogre_lgt_getAttenuationRange(struct hg3dclass_struct * thisclass_c, float * result_c);
+
+// 
+void ogre_lgt_getAttenuationConstant(struct hg3dclass_struct * thisclass_c, float * result_c);
+
+// 
+void ogre_lgt_getAttenuationLinear(struct hg3dclass_struct * thisclass_c, float * result_c);
+
+// 
+void ogre_lgt_getAttenuationQuadric(struct hg3dclass_struct * thisclass_c, float * result_c);
+
+// 
+void ogre_lgt_setPosition(struct hg3dclass_struct * thisclass_c, float x_c, float y_c, float z_c);
+
+// 
+void ogre_lgt_setPosition2(struct hg3dclass_struct * thisclass_c, struct vector3_struct * vec_c);
+
+// 
+void ogre_lgt_getPosition(struct hg3dclass_struct * thisclass_c, struct vector3_struct * result_c);
+
+// 
+void ogre_lgt_setDirection(struct hg3dclass_struct * thisclass_c, float x_c, float y_c, float z_c);
+
+// 
+void ogre_lgt_setDirection2(struct hg3dclass_struct * thisclass_c, struct vector3_struct * vec_c);
+
+// 
+void ogre_lgt_getDirection(struct hg3dclass_struct * thisclass_c, struct vector3_struct * result_c);
+
+// 
+void ogre_lgt_setSpotlightRange(struct hg3dclass_struct * thisclass_c, struct radian_struct * innerAngle_c, struct radian_struct * outerAngle_c, float falloff_c);
+
+// 
+void ogre_lgt_getSpotlightInnerAngle(struct hg3dclass_struct * thisclass_c, struct radian_struct * result_c);
+
+// 
+void ogre_lgt_getSpotlightOuterAngle(struct hg3dclass_struct * thisclass_c, struct radian_struct * result_c);
+
+// 
+void ogre_lgt_getSpotlightFalloff(struct hg3dclass_struct * thisclass_c, float * result_c);
+
+// 
+void ogre_lgt_setSpotlightInnerAngle(struct hg3dclass_struct * thisclass_c, struct radian_struct * val_c);
+
+// 
+void ogre_lgt_setSpotlightOuterAngle(struct hg3dclass_struct * thisclass_c, struct radian_struct * val_c);
+
+// 
+void ogre_lgt_setSpotlightFalloff(struct hg3dclass_struct * thisclass_c, float val_c);
+
+// 
+void ogre_lgt_setSpotlightNearClipDistance(struct hg3dclass_struct * thisclass_c, float nearClip_c);
+
+// 
+void ogre_lgt_getSpotlightNearClipDistance(struct hg3dclass_struct * thisclass_c, float * result_c);
+
+// 
+void ogre_lgt_setPowerScale(struct hg3dclass_struct * thisclass_c, float power_c);
+
+// 
+void ogre_lgt_getPowerScale(struct hg3dclass_struct * thisclass_c, float * result_c);
+
+// 
+void ogre_lgt_getMovableType(struct hg3dclass_struct * thisclass_c, char * result_c);
+
+// 
+void ogre_lgt_getDerivedPosition(struct hg3dclass_struct * thisclass_c, long cameraRelativeIfSet_c, struct vector3_struct * result_c);
+
+// 
+void ogre_lgt_getDerivedDirection(struct hg3dclass_struct * thisclass_c, struct vector3_struct * result_c);
+
+// 
+void ogre_lgt_setVisible(struct hg3dclass_struct * thisclass_c, long visible_c);
+
+// 
+void ogre_lgt_getBoundingRadius(struct hg3dclass_struct * thisclass_c, float * result_c);
+
+// Override to return specific type flag. 
+void ogre_lgt_getTypeFlags(struct hg3dclass_struct * thisclass_c, unsigned long * result_c);
+
+// 
+void ogre_lgt_resetCustomShadowCameraSetup(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_lgt_setShadowFarDistance(struct hg3dclass_struct * thisclass_c, float distance_c);
+
+// 
+void ogre_lgt_resetShadowFarDistance(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_lgt_getShadowFarDistance(struct hg3dclass_struct * thisclass_c, float * result_c);
+
+// 
+void ogre_lgt_getShadowFarDistanceSquared(struct hg3dclass_struct * thisclass_c, float * result_c);
+
+// 
+void ogre_lgt_setShadowNearClipDistance(struct hg3dclass_struct * thisclass_c, float nearClip_c);
+
+// 
+void ogre_lgt_getShadowNearClipDistance(struct hg3dclass_struct * thisclass_c, float * result_c);
+
+// 
+void ogre_lgt_setShadowFarClipDistance(struct hg3dclass_struct * thisclass_c, float farClip_c);
+
+// 
+void ogre_lgt_getShadowFarClipDistance(struct hg3dclass_struct * thisclass_c, float * result_c);
+
+#endif 
diff --git a/include/ClassLightFactory.h b/include/ClassLightFactory.h
--- a/include/ClassLightFactory.h
+++ b/include/ClassLightFactory.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,30 +14,30 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // ClassLightFactory.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_ClassLightFactory
-#define _DEFINED_HG3D_ClassLightFactory
-
-#include "ClassPtr.h"
-#include "ClassMovableObject.h"
+#ifndef _DEFINED_HG3D_ClassLightFactory
+#define _DEFINED_HG3D_ClassLightFactory
 
+#include "ClassPtr.h"
+#include "ClassMovableObject.h"
 
-// 
-void ogre_lgtf_construct(struct hg3dclass_struct * result_c);
-
-// 
-void ogre_lgtf_destruct(struct hg3dclass_struct * thisclass_c);
-
-// Get the type of the object to be created. 
-void ogre_lgtf_getType(struct hg3dclass_struct * thisclass_c, char * result_c);
-
-// 
-void ogre_lgtf_destroyInstance(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * obj_c);
-
-#endif 
+
+// 
+void ogre_lgtf_construct(struct hg3dclass_struct * result_c);
+
+// 
+void ogre_lgtf_destruct(struct hg3dclass_struct * thisclass_c);
+
+// Get the type of the object to be created. 
+void ogre_lgtf_getType(struct hg3dclass_struct * thisclass_c, char * result_c);
+
+// 
+void ogre_lgtf_destroyInstance(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * obj_c);
+
+#endif 
diff --git a/include/ClassLog.h b/include/ClassLog.h
--- a/include/ClassLog.h
+++ b/include/ClassLog.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,49 +14,49 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // ClassLog.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_ClassLog
-#define _DEFINED_HG3D_ClassLog
-
-#include "ClassPtr.h"
-#include "EnumLogMessageLevel.h"
-#include "EnumLoggingLevel.h"
+#ifndef _DEFINED_HG3D_ClassLog
+#define _DEFINED_HG3D_ClassLog
 
+#include "ClassPtr.h"
+#include "EnumLogMessageLevel.h"
+#include "EnumLoggingLevel.h"
 
-// 
-void ogre_lg_destruct(struct hg3dclass_struct * thisclass_c);
-
-// Return the name of the log. 
-void ogre_lg_getName(struct hg3dclass_struct * thisclass_c, char * result_c);
-
-// Get whether debug output is enabled for this log. 
-void ogre_lg_isDebugOutputEnabled(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// Get whether file output is suppressed for this log. 
-void ogre_lg_isFileOutputSuppressed(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// Get whether time stamps are printed for this log. 
-void ogre_lg_isTimeStampEnabled(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_lg_logMessage(struct hg3dclass_struct * thisclass_c, char * message_c, enum EnumLogMessageLevel lml_c, long maskDebug_c);
-
-// 
-void ogre_lg_setDebugOutputEnabled(struct hg3dclass_struct * thisclass_c, long debugOutput_c);
-
-// 
-void ogre_lg_setLogDetail(struct hg3dclass_struct * thisclass_c, enum EnumLoggingLevel ll_c);
-
-// 
-void ogre_lg_setTimeStampEnabled(struct hg3dclass_struct * thisclass_c, long timeStamp_c);
-
-// 
-void ogre_lg_getLogDetail(struct hg3dclass_struct * thisclass_c, enum EnumLoggingLevel * result_c);
-
-#endif 
+
+// 
+void ogre_lg_destruct(struct hg3dclass_struct * thisclass_c);
+
+// Return the name of the log. 
+void ogre_lg_getName(struct hg3dclass_struct * thisclass_c, char * result_c);
+
+// Get whether debug output is enabled for this log. 
+void ogre_lg_isDebugOutputEnabled(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// Get whether file output is suppressed for this log. 
+void ogre_lg_isFileOutputSuppressed(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// Get whether time stamps are printed for this log. 
+void ogre_lg_isTimeStampEnabled(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_lg_logMessage(struct hg3dclass_struct * thisclass_c, char * message_c, enum EnumLogMessageLevel lml_c, long maskDebug_c);
+
+// 
+void ogre_lg_setDebugOutputEnabled(struct hg3dclass_struct * thisclass_c, long debugOutput_c);
+
+// 
+void ogre_lg_setLogDetail(struct hg3dclass_struct * thisclass_c, enum EnumLoggingLevel ll_c);
+
+// 
+void ogre_lg_setTimeStampEnabled(struct hg3dclass_struct * thisclass_c, long timeStamp_c);
+
+// 
+void ogre_lg_getLogDetail(struct hg3dclass_struct * thisclass_c, enum EnumLoggingLevel * result_c);
+
+#endif 
diff --git a/include/ClassLogManager.h b/include/ClassLogManager.h
--- a/include/ClassLogManager.h
+++ b/include/ClassLogManager.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,56 +14,56 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // ClassLogManager.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_ClassLogManager
-#define _DEFINED_HG3D_ClassLogManager
-
-#include "ClassPtr.h"
-#include "ClassLog.h"
-#include "EnumLogMessageLevel.h"
-#include "EnumLoggingLevel.h"
+#ifndef _DEFINED_HG3D_ClassLogManager
+#define _DEFINED_HG3D_ClassLogManager
 
+#include "ClassPtr.h"
+#include "ClassLog.h"
+#include "EnumLogMessageLevel.h"
+#include "EnumLoggingLevel.h"
 
-// 
-void ogre_lmgr_destruct(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_lmgr_createLog(struct hg3dclass_struct * thisclass_c, char * name_c, long defaultLog_c, long debuggerOutput_c, long suppressFileOutput_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_lmgr_getLog(struct hg3dclass_struct * thisclass_c, char * name_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_lmgr_getDefaultLog(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_lmgr_destroyLog(struct hg3dclass_struct * thisclass_c, char * name_c);
-
-// 
-void ogre_lmgr_destroyLog2(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * log_c);
-
-// 
-void ogre_lmgr_setDefaultLog(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * newLog_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_lmgr_logMessage(struct hg3dclass_struct * thisclass_c, char * message_c, enum EnumLogMessageLevel lml_c, long maskDebug_c);
-
-// 
-void ogre_lmgr_logMessage2(struct hg3dclass_struct * thisclass_c, enum EnumLogMessageLevel lml_c, char * message_c, long maskDebug_c);
-
-// 
-void ogre_lmgr_setLogDetail(struct hg3dclass_struct * thisclass_c, enum EnumLoggingLevel ll_c);
-
-// 
-void ogre_lmgr_getSingleton(struct hg3dclass_struct * result_c);
-
-// 
-void ogre_lmgr_getSingletonPtr(struct hg3dclass_struct * result_c);
-
-#endif 
+
+// 
+void ogre_lmgr_destruct(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_lmgr_createLog(struct hg3dclass_struct * thisclass_c, char * name_c, long defaultLog_c, long debuggerOutput_c, long suppressFileOutput_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_lmgr_getLog(struct hg3dclass_struct * thisclass_c, char * name_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_lmgr_getDefaultLog(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_lmgr_destroyLog(struct hg3dclass_struct * thisclass_c, char * name_c);
+
+// 
+void ogre_lmgr_destroyLog2(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * log_c);
+
+// 
+void ogre_lmgr_setDefaultLog(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * newLog_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_lmgr_logMessage(struct hg3dclass_struct * thisclass_c, char * message_c, enum EnumLogMessageLevel lml_c, long maskDebug_c);
+
+// 
+void ogre_lmgr_logMessage2(struct hg3dclass_struct * thisclass_c, enum EnumLogMessageLevel lml_c, char * message_c, long maskDebug_c);
+
+// 
+void ogre_lmgr_setLogDetail(struct hg3dclass_struct * thisclass_c, enum EnumLoggingLevel ll_c);
+
+// 
+void ogre_lmgr_getSingleton(struct hg3dclass_struct * result_c);
+
+// 
+void ogre_lmgr_getSingletonPtr(struct hg3dclass_struct * result_c);
+
+#endif 
diff --git a/include/ClassManualObject.h b/include/ClassManualObject.h
--- a/include/ClassManualObject.h
+++ b/include/ClassManualObject.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,149 +14,149 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // ClassManualObject.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_ClassManualObject
-#define _DEFINED_HG3D_ClassManualObject
-
-#include "ClassPtr.h"
-#include "EnumRenderOperationOperationType.h"
-#include "StructVec3.h"
-#include "StructVec2.h"
-#include "StructColour.h"
-#include "ClassManualObjectSection.h"
-#include "StructSharedPtr.h"
+#ifndef _DEFINED_HG3D_ClassManualObject
+#define _DEFINED_HG3D_ClassManualObject
 
+#include "ClassPtr.h"
+#include "EnumRenderOperationOperationType.h"
+#include "StructVec3.h"
+#include "StructVec2.h"
+#include "StructColour.h"
+#include "ClassManualObjectSection.h"
+#include "StructSharedPtr.h"
 
-// 
-void ogre_mno_construct(char * name_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_mno_destruct(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_mno_clear(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_mno_estimateVertexCount(struct hg3dclass_struct * thisclass_c, long vcount_c);
-
-// 
-void ogre_mno_estimateIndexCount(struct hg3dclass_struct * thisclass_c, long icount_c);
-
-// 
-void ogre_mno_begin(struct hg3dclass_struct * thisclass_c, char * materialName_c, enum EnumRenderOperationOperationType opType_c, char * groupName_c);
-
-// 
-void ogre_mno_setDynamic(struct hg3dclass_struct * thisclass_c, long dyn_c);
-
-// 
-void ogre_mno_getDynamic(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_mno_beginUpdate(struct hg3dclass_struct * thisclass_c, long sectionIndex_c);
-
-// 
-void ogre_mno_position(struct hg3dclass_struct * thisclass_c, struct vector3_struct * pos_c);
-
-// 
-void ogre_mno_position2(struct hg3dclass_struct * thisclass_c, float x_c, float y_c, float z_c);
-
-// 
-void ogre_mno_normal(struct hg3dclass_struct * thisclass_c, struct vector3_struct * norm_c);
-
-// 
-void ogre_mno_normal2(struct hg3dclass_struct * thisclass_c, float x_c, float y_c, float z_c);
-
-// 
-void ogre_mno_tangent(struct hg3dclass_struct * thisclass_c, struct vector3_struct * tan_c);
-
-// 
-void ogre_mno_tangent2(struct hg3dclass_struct * thisclass_c, float x_c, float y_c, float z_c);
-
-// 
-void ogre_mno_textureCoord(struct hg3dclass_struct * thisclass_c, float u_c);
-
-// 
-void ogre_mno_textureCoord2(struct hg3dclass_struct * thisclass_c, float u_c, float v_c);
-
-// 
-void ogre_mno_textureCoord3(struct hg3dclass_struct * thisclass_c, float u_c, float v_c, float w_c);
-
-// 
-void ogre_mno_textureCoord4(struct hg3dclass_struct * thisclass_c, float x_c, float y_c, float z_c, float w_c);
-
-// 
-void ogre_mno_textureCoord5(struct hg3dclass_struct * thisclass_c, struct vector2_struct * uv_c);
-
-// 
-void ogre_mno_textureCoord6(struct hg3dclass_struct * thisclass_c, struct vector3_struct * uvw_c);
-
-// 
-void ogre_mno_colour(struct hg3dclass_struct * thisclass_c, struct colourvalue_struct * col_c);
-
-// 
-void ogre_mno_colour2(struct hg3dclass_struct * thisclass_c, float r_c, float g_c, float b_c, float a_c);
-
-// 
-void ogre_mno_index(struct hg3dclass_struct * thisclass_c, unsigned long idx_c);
-
-// 
-void ogre_mno_triangle(struct hg3dclass_struct * thisclass_c, unsigned long i1_c, unsigned long i2_c, unsigned long i3_c);
-
-// 
-void ogre_mno_quad(struct hg3dclass_struct * thisclass_c, unsigned long i1_c, unsigned long i2_c, unsigned long i3_c, unsigned long i4_c);
-
-// Get the number of vertices in the section currently being defined (returns 0 if no section is in progress). 
-void ogre_mno_getCurrentVertexCount(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// Get the number of indices in the section currently being defined (returns 0 if no section is in progress). 
-void ogre_mno_getCurrentIndexCount(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_mno_end(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_mno_setMaterialName(struct hg3dclass_struct * thisclass_c, long subindex_c, char * name_c, char * group_c);
-
-// 
-void ogre_mno_convertToMesh(struct hg3dclass_struct * thisclass_c, char * meshName_c, char * groupName_c, struct sharedptr_struct * result_c);
-
-// 
-void ogre_mno_setUseIdentityProjection(struct hg3dclass_struct * thisclass_c, long useIdentityProjection_c);
-
-// 
-void ogre_mno_getUseIdentityProjection(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_mno_setUseIdentityView(struct hg3dclass_struct * thisclass_c, long useIdentityView_c);
-
-// 
-void ogre_mno_getUseIdentityView(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_mno_getSection(struct hg3dclass_struct * thisclass_c, unsigned long index_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_mno_getNumSections(struct hg3dclass_struct * thisclass_c, unsigned long * result_c);
-
-// 
-void ogre_mno_setKeepDeclarationOrder(struct hg3dclass_struct * thisclass_c, long keepOrder_c);
-
-// 
-void ogre_mno_getKeepDeclarationOrder(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_mno_getMovableType(struct hg3dclass_struct * thisclass_c, char * result_c);
-
-// 
-void ogre_mno_getBoundingRadius(struct hg3dclass_struct * thisclass_c, float * result_c);
-
-// 
-void ogre_mno_hasEdgeList(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-#endif 
+
+// 
+void ogre_mno_construct(char * name_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_mno_destruct(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_mno_clear(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_mno_estimateVertexCount(struct hg3dclass_struct * thisclass_c, long vcount_c);
+
+// 
+void ogre_mno_estimateIndexCount(struct hg3dclass_struct * thisclass_c, long icount_c);
+
+// 
+void ogre_mno_begin(struct hg3dclass_struct * thisclass_c, char * materialName_c, enum EnumRenderOperationOperationType opType_c, char * groupName_c);
+
+// 
+void ogre_mno_setDynamic(struct hg3dclass_struct * thisclass_c, long dyn_c);
+
+// 
+void ogre_mno_getDynamic(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_mno_beginUpdate(struct hg3dclass_struct * thisclass_c, long sectionIndex_c);
+
+// 
+void ogre_mno_position(struct hg3dclass_struct * thisclass_c, struct vector3_struct * pos_c);
+
+// 
+void ogre_mno_position2(struct hg3dclass_struct * thisclass_c, float x_c, float y_c, float z_c);
+
+// 
+void ogre_mno_normal(struct hg3dclass_struct * thisclass_c, struct vector3_struct * norm_c);
+
+// 
+void ogre_mno_normal2(struct hg3dclass_struct * thisclass_c, float x_c, float y_c, float z_c);
+
+// 
+void ogre_mno_tangent(struct hg3dclass_struct * thisclass_c, struct vector3_struct * tan_c);
+
+// 
+void ogre_mno_tangent2(struct hg3dclass_struct * thisclass_c, float x_c, float y_c, float z_c);
+
+// 
+void ogre_mno_textureCoord(struct hg3dclass_struct * thisclass_c, float u_c);
+
+// 
+void ogre_mno_textureCoord2(struct hg3dclass_struct * thisclass_c, float u_c, float v_c);
+
+// 
+void ogre_mno_textureCoord3(struct hg3dclass_struct * thisclass_c, float u_c, float v_c, float w_c);
+
+// 
+void ogre_mno_textureCoord4(struct hg3dclass_struct * thisclass_c, float x_c, float y_c, float z_c, float w_c);
+
+// 
+void ogre_mno_textureCoord5(struct hg3dclass_struct * thisclass_c, struct vector2_struct * uv_c);
+
+// 
+void ogre_mno_textureCoord6(struct hg3dclass_struct * thisclass_c, struct vector3_struct * uvw_c);
+
+// 
+void ogre_mno_colour(struct hg3dclass_struct * thisclass_c, struct colourvalue_struct * col_c);
+
+// 
+void ogre_mno_colour2(struct hg3dclass_struct * thisclass_c, float r_c, float g_c, float b_c, float a_c);
+
+// 
+void ogre_mno_index(struct hg3dclass_struct * thisclass_c, unsigned long idx_c);
+
+// 
+void ogre_mno_triangle(struct hg3dclass_struct * thisclass_c, unsigned long i1_c, unsigned long i2_c, unsigned long i3_c);
+
+// 
+void ogre_mno_quad(struct hg3dclass_struct * thisclass_c, unsigned long i1_c, unsigned long i2_c, unsigned long i3_c, unsigned long i4_c);
+
+// Get the number of vertices in the section currently being defined (returns 0 if no section is in progress). 
+void ogre_mno_getCurrentVertexCount(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// Get the number of indices in the section currently being defined (returns 0 if no section is in progress). 
+void ogre_mno_getCurrentIndexCount(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_mno_end(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_mno_setMaterialName(struct hg3dclass_struct * thisclass_c, long subindex_c, char * name_c, char * group_c);
+
+// 
+void ogre_mno_convertToMesh(struct hg3dclass_struct * thisclass_c, char * meshName_c, char * groupName_c, struct sharedptr_struct * result_c);
+
+// 
+void ogre_mno_setUseIdentityProjection(struct hg3dclass_struct * thisclass_c, long useIdentityProjection_c);
+
+// 
+void ogre_mno_getUseIdentityProjection(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_mno_setUseIdentityView(struct hg3dclass_struct * thisclass_c, long useIdentityView_c);
+
+// 
+void ogre_mno_getUseIdentityView(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_mno_getSection(struct hg3dclass_struct * thisclass_c, unsigned long index_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_mno_getNumSections(struct hg3dclass_struct * thisclass_c, unsigned long * result_c);
+
+// 
+void ogre_mno_setKeepDeclarationOrder(struct hg3dclass_struct * thisclass_c, long keepOrder_c);
+
+// 
+void ogre_mno_getKeepDeclarationOrder(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// . 
+void ogre_mno_getMovableType(struct hg3dclass_struct * thisclass_c, char * result_c);
+
+// . 
+void ogre_mno_getBoundingRadius(struct hg3dclass_struct * thisclass_c, float * result_c);
+
+// 
+void ogre_mno_hasEdgeList(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+#endif 
diff --git a/include/ClassManualObjectFactory.h b/include/ClassManualObjectFactory.h
--- a/include/ClassManualObjectFactory.h
+++ b/include/ClassManualObjectFactory.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,30 +14,30 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // ClassManualObjectFactory.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_ClassManualObjectFactory
-#define _DEFINED_HG3D_ClassManualObjectFactory
-
-#include "ClassPtr.h"
-#include "ClassMovableObject.h"
+#ifndef _DEFINED_HG3D_ClassManualObjectFactory
+#define _DEFINED_HG3D_ClassManualObjectFactory
 
+#include "ClassPtr.h"
+#include "ClassMovableObject.h"
 
-// 
-void ogre_mnof_construct(struct hg3dclass_struct * result_c);
-
-// 
-void ogre_mnof_destruct(struct hg3dclass_struct * thisclass_c);
-
-// Get the type of the object to be created. 
-void ogre_mnof_getType(struct hg3dclass_struct * thisclass_c, char * result_c);
-
-// 
-void ogre_mnof_destroyInstance(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * obj_c);
-
-#endif 
+
+// 
+void ogre_mnof_construct(struct hg3dclass_struct * result_c);
+
+// 
+void ogre_mnof_destruct(struct hg3dclass_struct * thisclass_c);
+
+// Get the type of the object to be created. 
+void ogre_mnof_getType(struct hg3dclass_struct * thisclass_c, char * result_c);
+
+// 
+void ogre_mnof_destroyInstance(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * obj_c);
+
+#endif 
diff --git a/include/ClassManualObjectSection.h b/include/ClassManualObjectSection.h
--- a/include/ClassManualObjectSection.h
+++ b/include/ClassManualObjectSection.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,48 +14,48 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // ClassManualObjectSection.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_ClassManualObjectSection
-#define _DEFINED_HG3D_ClassManualObjectSection
-
-#include "ClassPtr.h"
-#include "ClassManualObject.h"
-#include "EnumRenderOperationOperationType.h"
-#include "StructSharedPtr.h"
-#include "ClassCamera.h"
+#ifndef _DEFINED_HG3D_ClassManualObjectSection
+#define _DEFINED_HG3D_ClassManualObjectSection
 
+#include "ClassPtr.h"
+#include "ClassManualObject.h"
+#include "EnumRenderOperationOperationType.h"
+#include "StructSharedPtr.h"
+#include "ClassCamera.h"
 
-// 
-void ogre_mnos_construct(struct hg3dclass_struct * parent_c, char * materialName_c, enum EnumRenderOperationOperationType opType_c, char * groupName_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_mnos_destruct(struct hg3dclass_struct * thisclass_c);
-
-// Retrieve the material name in use. 
-void ogre_mnos_getMaterialName(struct hg3dclass_struct * thisclass_c, char * result_c);
-
-// Retrieve the material group in use. 
-void ogre_mnos_getMaterialGroup(struct hg3dclass_struct * thisclass_c, char * result_c);
-
-// update the material name in use 
-void ogre_mnos_setMaterialName(struct hg3dclass_struct * thisclass_c, char * name_c, char * groupName_c);
-
-// Set whether we need 32-bit indices. 
-void ogre_mnos_set32BitIndices(struct hg3dclass_struct * thisclass_c, long n32_c);
-
-// Get whether we need 32-bit indices. 
-void ogre_mnos_get32BitIndices(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_mnos_getMaterial(struct hg3dclass_struct * thisclass_c, struct sharedptr_struct * result_c);
-
-// 
-void ogre_mnos_getSquaredViewDepth(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * _c, float * result_c);
-
-#endif 
+
+// 
+void ogre_mnos_construct(struct hg3dclass_struct * parent_c, char * materialName_c, enum EnumRenderOperationOperationType opType_c, char * groupName_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_mnos_destruct(struct hg3dclass_struct * thisclass_c);
+
+// Retrieve the material name in use. 
+void ogre_mnos_getMaterialName(struct hg3dclass_struct * thisclass_c, char * result_c);
+
+// Retrieve the material group in use. 
+void ogre_mnos_getMaterialGroup(struct hg3dclass_struct * thisclass_c, char * result_c);
+
+// update the material name in use 
+void ogre_mnos_setMaterialName(struct hg3dclass_struct * thisclass_c, char * name_c, char * groupName_c);
+
+// Set whether we need 32-bit indices. 
+void ogre_mnos_set32BitIndices(struct hg3dclass_struct * thisclass_c, long n32_c);
+
+// Get whether we need 32-bit indices. 
+void ogre_mnos_get32BitIndices(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// . 
+void ogre_mnos_getMaterial(struct hg3dclass_struct * thisclass_c, struct sharedptr_struct * result_c);
+
+// . 
+void ogre_mnos_getSquaredViewDepth(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * _c, float * result_c);
+
+#endif 
diff --git a/include/ClassMaterial.h b/include/ClassMaterial.h
--- a/include/ClassMaterial.h
+++ b/include/ClassMaterial.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,121 +14,121 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // ClassMaterial.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_ClassMaterial
-#define _DEFINED_HG3D_ClassMaterial
-
-#include "ClassPtr.h"
-#include "StructSharedPtr.h"
-#include "StructColour.h"
+#ifndef _DEFINED_HG3D_ClassMaterial
+#define _DEFINED_HG3D_ClassMaterial
 
+#include "ClassPtr.h"
+#include "StructSharedPtr.h"
+#include "StructColour.h"
 
-// 
-void ogre_mtrl_destruct(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_mtrl_isTransparent(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_mtrl_setReceiveShadows(struct hg3dclass_struct * thisclass_c, long enabled_c);
-
-// 
-void ogre_mtrl_getReceiveShadows(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_mtrl_setTransparencyCastsShadows(struct hg3dclass_struct * thisclass_c, long enabled_c);
-
-// 
-void ogre_mtrl_getTransparencyCastsShadows(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_mtrl_getNumTechniques(struct hg3dclass_struct * thisclass_c, unsigned short * result_c);
-
-// 
-void ogre_mtrl_removeTechnique(struct hg3dclass_struct * thisclass_c, unsigned short index_c);
-
-// 
-void ogre_mtrl_removeAllTechniques(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_mtrl_getNumSupportedTechniques(struct hg3dclass_struct * thisclass_c, unsigned short * result_c);
-
-// 
-void ogre_mtrl_getUnsupportedTechniquesExplanation(struct hg3dclass_struct * thisclass_c, char * result_c);
-
-// 
-void ogre_mtrl_getNumLodLevels(struct hg3dclass_struct * thisclass_c, unsigned short schemeIndex_c, unsigned short * result_c);
-
-// 
-void ogre_mtrl_getNumLodLevels2(struct hg3dclass_struct * thisclass_c, char * schemeName_c, unsigned short * result_c);
-
-// 
-void ogre_mtrl_clone(struct hg3dclass_struct * thisclass_c, char * newName_c, long changeGroup_c, char * newGroup_c, struct sharedptr_struct * result_c);
-
-// 
-void ogre_mtrl_copyDetailsTo(struct hg3dclass_struct * thisclass_c, struct sharedptr_struct * mat_c);
-
-// 
-void ogre_mtrl_compile(struct hg3dclass_struct * thisclass_c, long autoManageTextureUnits_c);
-
-// 
-void ogre_mtrl_setPointSize(struct hg3dclass_struct * thisclass_c, float ps_c);
-
-// 
-void ogre_mtrl_setAmbient(struct hg3dclass_struct * thisclass_c, float red_c, float green_c, float blue_c);
-
-// 
-void ogre_mtrl_setAmbient2(struct hg3dclass_struct * thisclass_c, struct colourvalue_struct * ambient_c);
-
-// 
-void ogre_mtrl_setDiffuse(struct hg3dclass_struct * thisclass_c, float red_c, float green_c, float blue_c, float alpha_c);
-
-// 
-void ogre_mtrl_setDiffuse2(struct hg3dclass_struct * thisclass_c, struct colourvalue_struct * diffuse_c);
-
-// 
-void ogre_mtrl_setSpecular(struct hg3dclass_struct * thisclass_c, float red_c, float green_c, float blue_c, float alpha_c);
-
-// 
-void ogre_mtrl_setSpecular2(struct hg3dclass_struct * thisclass_c, struct colourvalue_struct * specular_c);
-
-// 
-void ogre_mtrl_setShininess(struct hg3dclass_struct * thisclass_c, float val_c);
-
-// 
-void ogre_mtrl_setSelfIllumination(struct hg3dclass_struct * thisclass_c, float red_c, float green_c, float blue_c);
-
-// 
-void ogre_mtrl_setSelfIllumination2(struct hg3dclass_struct * thisclass_c, struct colourvalue_struct * selfIllum_c);
-
-// 
-void ogre_mtrl_setDepthCheckEnabled(struct hg3dclass_struct * thisclass_c, long enabled_c);
-
-// 
-void ogre_mtrl_setDepthWriteEnabled(struct hg3dclass_struct * thisclass_c, long enabled_c);
-
-// 
-void ogre_mtrl_setColourWriteEnabled(struct hg3dclass_struct * thisclass_c, long enabled_c);
-
-// 
-void ogre_mtrl_setLightingEnabled(struct hg3dclass_struct * thisclass_c, long enabled_c);
-
-// 
-void ogre_mtrl_setDepthBias(struct hg3dclass_struct * thisclass_c, float constantBias_c, float slopeScaleBias_c);
-
-// 
-void ogre_mtrl_setTextureAnisotropy(struct hg3dclass_struct * thisclass_c, long maxAniso_c);
-
-// 
-void ogre_mtrl_touch(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_mtrl_getCompilationRequired(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-#endif 
+
+// 
+void ogre_mtrl_destruct(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_mtrl_isTransparent(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_mtrl_setReceiveShadows(struct hg3dclass_struct * thisclass_c, long enabled_c);
+
+// 
+void ogre_mtrl_getReceiveShadows(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_mtrl_setTransparencyCastsShadows(struct hg3dclass_struct * thisclass_c, long enabled_c);
+
+// 
+void ogre_mtrl_getTransparencyCastsShadows(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_mtrl_getNumTechniques(struct hg3dclass_struct * thisclass_c, unsigned short * result_c);
+
+// 
+void ogre_mtrl_removeTechnique(struct hg3dclass_struct * thisclass_c, unsigned short index_c);
+
+// 
+void ogre_mtrl_removeAllTechniques(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_mtrl_getNumSupportedTechniques(struct hg3dclass_struct * thisclass_c, unsigned short * result_c);
+
+// 
+void ogre_mtrl_getUnsupportedTechniquesExplanation(struct hg3dclass_struct * thisclass_c, char * result_c);
+
+// 
+void ogre_mtrl_getNumLodLevels(struct hg3dclass_struct * thisclass_c, unsigned short schemeIndex_c, unsigned short * result_c);
+
+// 
+void ogre_mtrl_getNumLodLevels2(struct hg3dclass_struct * thisclass_c, char * schemeName_c, unsigned short * result_c);
+
+// 
+void ogre_mtrl_clone(struct hg3dclass_struct * thisclass_c, char * newName_c, long changeGroup_c, char * newGroup_c, struct sharedptr_struct * result_c);
+
+// 
+void ogre_mtrl_copyDetailsTo(struct hg3dclass_struct * thisclass_c, struct sharedptr_struct * mat_c);
+
+// 
+void ogre_mtrl_compile(struct hg3dclass_struct * thisclass_c, long autoManageTextureUnits_c);
+
+// 
+void ogre_mtrl_setPointSize(struct hg3dclass_struct * thisclass_c, float ps_c);
+
+// 
+void ogre_mtrl_setAmbient(struct hg3dclass_struct * thisclass_c, float red_c, float green_c, float blue_c);
+
+// 
+void ogre_mtrl_setAmbient2(struct hg3dclass_struct * thisclass_c, struct colourvalue_struct * ambient_c);
+
+// 
+void ogre_mtrl_setDiffuse(struct hg3dclass_struct * thisclass_c, float red_c, float green_c, float blue_c, float alpha_c);
+
+// 
+void ogre_mtrl_setDiffuse2(struct hg3dclass_struct * thisclass_c, struct colourvalue_struct * diffuse_c);
+
+// 
+void ogre_mtrl_setSpecular(struct hg3dclass_struct * thisclass_c, float red_c, float green_c, float blue_c, float alpha_c);
+
+// 
+void ogre_mtrl_setSpecular2(struct hg3dclass_struct * thisclass_c, struct colourvalue_struct * specular_c);
+
+// 
+void ogre_mtrl_setShininess(struct hg3dclass_struct * thisclass_c, float val_c);
+
+// 
+void ogre_mtrl_setSelfIllumination(struct hg3dclass_struct * thisclass_c, float red_c, float green_c, float blue_c);
+
+// 
+void ogre_mtrl_setSelfIllumination2(struct hg3dclass_struct * thisclass_c, struct colourvalue_struct * selfIllum_c);
+
+// 
+void ogre_mtrl_setDepthCheckEnabled(struct hg3dclass_struct * thisclass_c, long enabled_c);
+
+// 
+void ogre_mtrl_setDepthWriteEnabled(struct hg3dclass_struct * thisclass_c, long enabled_c);
+
+// 
+void ogre_mtrl_setColourWriteEnabled(struct hg3dclass_struct * thisclass_c, long enabled_c);
+
+// 
+void ogre_mtrl_setLightingEnabled(struct hg3dclass_struct * thisclass_c, long enabled_c);
+
+// 
+void ogre_mtrl_setDepthBias(struct hg3dclass_struct * thisclass_c, float constantBias_c, float slopeScaleBias_c);
+
+// 
+void ogre_mtrl_setTextureAnisotropy(struct hg3dclass_struct * thisclass_c, long maxAniso_c);
+
+// 
+void ogre_mtrl_touch(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_mtrl_getCompilationRequired(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+#endif 
diff --git a/include/ClassMaterialManager.h b/include/ClassMaterialManager.h
--- a/include/ClassMaterialManager.h
+++ b/include/ClassMaterialManager.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,48 +14,48 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // ClassMaterialManager.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_ClassMaterialManager
-#define _DEFINED_HG3D_ClassMaterialManager
-
-#include "ClassPtr.h"
-#include "StructSharedPtr.h"
+#ifndef _DEFINED_HG3D_ClassMaterialManager
+#define _DEFINED_HG3D_ClassMaterialManager
 
+#include "ClassPtr.h"
+#include "StructSharedPtr.h"
 
-// 
-void ogre_mtrlmgr_construct(struct hg3dclass_struct * result_c);
-
-// 
-void ogre_mtrlmgr_destruct(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_mtrlmgr_initialise(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_mtrlmgr_setDefaultAnisotropy(struct hg3dclass_struct * thisclass_c, unsigned long maxAniso_c);
-
-// Get the default maxAnisotropy. 
-void ogre_mtrlmgr_getDefaultAnisotropy(struct hg3dclass_struct * thisclass_c, unsigned long * result_c);
-
-// 
-void ogre_mtrlmgr_getDefaultSettings(struct hg3dclass_struct * thisclass_c, struct sharedptr_struct * result_c);
-
-// 
-void ogre_mtrlmgr_getActiveScheme(struct hg3dclass_struct * thisclass_c, char * result_c);
-
-// 
-void ogre_mtrlmgr_setActiveScheme(struct hg3dclass_struct * thisclass_c, char * schemeName_c);
-
-// 
-void ogre_mtrlmgr_getSingleton(struct hg3dclass_struct * result_c);
-
-// 
-void ogre_mtrlmgr_getSingletonPtr(struct hg3dclass_struct * result_c);
-
-#endif 
+
+// 
+void ogre_mtrlmgr_construct(struct hg3dclass_struct * result_c);
+
+// 
+void ogre_mtrlmgr_destruct(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_mtrlmgr_initialise(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_mtrlmgr_setDefaultAnisotropy(struct hg3dclass_struct * thisclass_c, unsigned long maxAniso_c);
+
+// Get the default maxAnisotropy. 
+void ogre_mtrlmgr_getDefaultAnisotropy(struct hg3dclass_struct * thisclass_c, unsigned long * result_c);
+
+// 
+void ogre_mtrlmgr_getDefaultSettings(struct hg3dclass_struct * thisclass_c, struct sharedptr_struct * result_c);
+
+// 
+void ogre_mtrlmgr_getActiveScheme(struct hg3dclass_struct * thisclass_c, char * result_c);
+
+// 
+void ogre_mtrlmgr_setActiveScheme(struct hg3dclass_struct * thisclass_c, char * schemeName_c);
+
+// 
+void ogre_mtrlmgr_getSingleton(struct hg3dclass_struct * result_c);
+
+// 
+void ogre_mtrlmgr_getSingletonPtr(struct hg3dclass_struct * result_c);
+
+#endif 
diff --git a/include/ClassMesh.h b/include/ClassMesh.h
--- a/include/ClassMesh.h
+++ b/include/ClassMesh.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,134 +14,134 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // ClassMesh.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_ClassMesh
-#define _DEFINED_HG3D_ClassMesh
-
-#include "ClassPtr.h"
-#include "StructSharedPtr.h"
-#include "EnumVertexAnimationType.h"
-#include "ClassAnimation.h"
+#ifndef _DEFINED_HG3D_ClassMesh
+#define _DEFINED_HG3D_ClassMesh
 
+#include "ClassPtr.h"
+#include "StructSharedPtr.h"
+#include "EnumVertexAnimationType.h"
+#include "ClassAnimation.h"
 
-// 
-void ogre_msh_destruct(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_msh_unnameSubMesh(struct hg3dclass_struct * thisclass_c, char * name_c);
-
-// 
-void ogre_msh_getNumSubMeshes(struct hg3dclass_struct * thisclass_c, unsigned short * result_c);
-
-// 
-void ogre_msh_destroySubMesh(struct hg3dclass_struct * thisclass_c, unsigned short index_c);
-
-// 
-void ogre_msh_destroySubMesh2(struct hg3dclass_struct * thisclass_c, char * name_c);
-
-// 
-void ogre_msh_clone(struct hg3dclass_struct * thisclass_c, char * newName_c, char * newGroup_c, struct sharedptr_struct * result_c);
-
-// 
-void ogre_msh_getBoundingSphereRadius(struct hg3dclass_struct * thisclass_c, float * result_c);
-
-// 
-void ogre_msh_setSkeletonName(struct hg3dclass_struct * thisclass_c, char * skelName_c);
-
-// 
-void ogre_msh_hasSkeleton(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_msh_hasVertexAnimation(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_msh_getSkeleton(struct hg3dclass_struct * thisclass_c, struct sharedptr_struct * result_c);
-
-// 
-void ogre_msh_getSkeletonName(struct hg3dclass_struct * thisclass_c, char * result_c);
-
-// 
-void ogre_msh_clearBoneAssignments(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_msh_createManualLodLevel(struct hg3dclass_struct * thisclass_c, float value_c, char * meshName_c, char * groupName_c);
-
-// 
-void ogre_msh_isLodManual(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_msh_removeLodLevels(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_msh_isVertexBufferShadowed(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_msh_isIndexBufferShadowed(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_msh_buildEdgeList(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_msh_freeEdgeList(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_msh_prepareForShadowVolume(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_msh_isPreparedForShadowVolumes(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_msh_isEdgeListBuilt(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_msh_setAutoBuildEdgeLists(struct hg3dclass_struct * thisclass_c, long autobuild_c);
-
-// 
-void ogre_msh_getAutoBuildEdgeLists(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_msh_getSharedVertexDataAnimationType(struct hg3dclass_struct * thisclass_c, enum EnumVertexAnimationType * result_c);
-
-// Returns whether animation on shared vertex data includes normals. 
-void ogre_msh_getSharedVertexDataAnimationIncludesNormals(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_msh_createAnimation(struct hg3dclass_struct * thisclass_c, char * name_c, float length_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_msh_getAnimation(struct hg3dclass_struct * thisclass_c, char * name_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_msh_hasAnimation(struct hg3dclass_struct * thisclass_c, char * name_c, long * result_c);
-
-// 
-void ogre_msh_removeAnimation(struct hg3dclass_struct * thisclass_c, char * name_c);
-
-// 
-void ogre_msh_getNumAnimations(struct hg3dclass_struct * thisclass_c, unsigned short * result_c);
-
-// 
-void ogre_msh_getAnimation2(struct hg3dclass_struct * thisclass_c, unsigned short index_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_msh_removeAllAnimations(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_msh_updateMaterialForAllSubMeshes(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_msh_getPoseCount(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_msh_removePose2(struct hg3dclass_struct * thisclass_c, char * name_c);
-
-// 
-void ogre_msh_removeAllPoses(struct hg3dclass_struct * thisclass_c);
-
-#endif 
+
+// 
+void ogre_msh_destruct(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_msh_unnameSubMesh(struct hg3dclass_struct * thisclass_c, char * name_c);
+
+// 
+void ogre_msh_getNumSubMeshes(struct hg3dclass_struct * thisclass_c, unsigned short * result_c);
+
+// 
+void ogre_msh_destroySubMesh(struct hg3dclass_struct * thisclass_c, unsigned short index_c);
+
+// 
+void ogre_msh_destroySubMesh2(struct hg3dclass_struct * thisclass_c, char * name_c);
+
+// 
+void ogre_msh_clone(struct hg3dclass_struct * thisclass_c, char * newName_c, char * newGroup_c, struct sharedptr_struct * result_c);
+
+// 
+void ogre_msh_getBoundingSphereRadius(struct hg3dclass_struct * thisclass_c, float * result_c);
+
+// 
+void ogre_msh_setSkeletonName(struct hg3dclass_struct * thisclass_c, char * skelName_c);
+
+// 
+void ogre_msh_hasSkeleton(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_msh_hasVertexAnimation(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_msh_getSkeleton(struct hg3dclass_struct * thisclass_c, struct sharedptr_struct * result_c);
+
+// 
+void ogre_msh_getSkeletonName(struct hg3dclass_struct * thisclass_c, char * result_c);
+
+// 
+void ogre_msh_clearBoneAssignments(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_msh_createManualLodLevel(struct hg3dclass_struct * thisclass_c, float value_c, char * meshName_c, char * groupName_c);
+
+// 
+void ogre_msh_isLodManual(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_msh_removeLodLevels(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_msh_isVertexBufferShadowed(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_msh_isIndexBufferShadowed(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_msh_buildEdgeList(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_msh_freeEdgeList(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_msh_prepareForShadowVolume(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_msh_isPreparedForShadowVolumes(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_msh_isEdgeListBuilt(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_msh_setAutoBuildEdgeLists(struct hg3dclass_struct * thisclass_c, long autobuild_c);
+
+// 
+void ogre_msh_getAutoBuildEdgeLists(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_msh_getSharedVertexDataAnimationType(struct hg3dclass_struct * thisclass_c, enum EnumVertexAnimationType * result_c);
+
+// Returns whether animation on shared vertex data includes normals. 
+void ogre_msh_getSharedVertexDataAnimationIncludesNormals(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_msh_createAnimation(struct hg3dclass_struct * thisclass_c, char * name_c, float length_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_msh_getAnimation(struct hg3dclass_struct * thisclass_c, char * name_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_msh_hasAnimation(struct hg3dclass_struct * thisclass_c, char * name_c, long * result_c);
+
+// 
+void ogre_msh_removeAnimation(struct hg3dclass_struct * thisclass_c, char * name_c);
+
+// 
+void ogre_msh_getNumAnimations(struct hg3dclass_struct * thisclass_c, unsigned short * result_c);
+
+// 
+void ogre_msh_getAnimation2(struct hg3dclass_struct * thisclass_c, unsigned short index_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_msh_removeAllAnimations(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_msh_updateMaterialForAllSubMeshes(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_msh_getPoseCount(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_msh_removePose2(struct hg3dclass_struct * thisclass_c, char * name_c);
+
+// 
+void ogre_msh_removeAllPoses(struct hg3dclass_struct * thisclass_c);
+
+#endif 
diff --git a/include/ClassMeshManager.h b/include/ClassMeshManager.h
--- a/include/ClassMeshManager.h
+++ b/include/ClassMeshManager.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,45 +14,45 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // ClassMeshManager.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_ClassMeshManager
-#define _DEFINED_HG3D_ClassMeshManager
-
-#include "ClassPtr.h"
-#include "ClassResource.h"
+#ifndef _DEFINED_HG3D_ClassMeshManager
+#define _DEFINED_HG3D_ClassMeshManager
 
+#include "ClassPtr.h"
+#include "ClassResource.h"
 
-// 
-void ogre_mshmgr_construct(struct hg3dclass_struct * result_c);
-
-// 
-void ogre_mshmgr_destruct(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_mshmgr_setPrepareAllMeshesForShadowVolumes(struct hg3dclass_struct * thisclass_c, long enable_c);
-
-// 
-void ogre_mshmgr_getPrepareAllMeshesForShadowVolumes(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_mshmgr_getBoundsPaddingFactor(struct hg3dclass_struct * thisclass_c, float * result_c);
-
-// 
-void ogre_mshmgr_setBoundsPaddingFactor(struct hg3dclass_struct * thisclass_c, float paddingFactor_c);
-
-// 
-void ogre_mshmgr_loadResource(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * res_c);
-
-// 
-void ogre_mshmgr_getSingleton(struct hg3dclass_struct * result_c);
-
-// 
-void ogre_mshmgr_getSingletonPtr(struct hg3dclass_struct * result_c);
-
-#endif 
+
+// 
+void ogre_mshmgr_construct(struct hg3dclass_struct * result_c);
+
+// 
+void ogre_mshmgr_destruct(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_mshmgr_setPrepareAllMeshesForShadowVolumes(struct hg3dclass_struct * thisclass_c, long enable_c);
+
+// 
+void ogre_mshmgr_getPrepareAllMeshesForShadowVolumes(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_mshmgr_getBoundsPaddingFactor(struct hg3dclass_struct * thisclass_c, float * result_c);
+
+// 
+void ogre_mshmgr_setBoundsPaddingFactor(struct hg3dclass_struct * thisclass_c, float paddingFactor_c);
+
+// 
+void ogre_mshmgr_loadResource(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * res_c);
+
+// 
+void ogre_mshmgr_getSingleton(struct hg3dclass_struct * result_c);
+
+// 
+void ogre_mshmgr_getSingletonPtr(struct hg3dclass_struct * result_c);
+
+#endif 
diff --git a/include/ClassMovableObject.h b/include/ClassMovableObject.h
--- a/include/ClassMovableObject.h
+++ b/include/ClassMovableObject.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,137 +14,137 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // ClassMovableObject.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_ClassMovableObject
-#define _DEFINED_HG3D_ClassMovableObject
-
-#include "ClassPtr.h"
-#include "ClassNode.h"
-#include "ClassSceneNode.h"
-#include "ClassLight.h"
+#ifndef _DEFINED_HG3D_ClassMovableObject
+#define _DEFINED_HG3D_ClassMovableObject
 
+#include "ClassPtr.h"
+#include "ClassNode.h"
+#include "ClassSceneNode.h"
+#include "ClassLight.h"
 
-// 
-void ogre_mvo_destruct(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_mvo_getName(struct hg3dclass_struct * thisclass_c, char * result_c);
-
-// 
-void ogre_mvo_getMovableType(struct hg3dclass_struct * thisclass_c, char * result_c);
-
-// 
-void ogre_mvo_getParentNode(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_mvo_getParentSceneNode(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * result_c);
-
-// Gets whether the parent node is a TagPoint (or a SceneNode
-void ogre_mvo_isParentTagPoint(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_mvo_isAttached(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_mvo_detachFromParent(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_mvo_isInScene(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_mvo_getBoundingRadius(struct hg3dclass_struct * thisclass_c, float * result_c);
-
-// 
-void ogre_mvo_setVisible(struct hg3dclass_struct * thisclass_c, long visible_c);
-
-// 
-void ogre_mvo_getVisible(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_mvo_isVisible(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_mvo_setRenderingDistance(struct hg3dclass_struct * thisclass_c, float dist_c);
-
-// 
-void ogre_mvo_getRenderingDistance(struct hg3dclass_struct * thisclass_c, float * result_c);
-
-// 
-void ogre_mvo_setRenderingMinPixelSize(struct hg3dclass_struct * thisclass_c, float pixelSize_c);
-
-// 
-void ogre_mvo_getRenderingMinPixelSize(struct hg3dclass_struct * thisclass_c, float * result_c);
-
-// 
-void ogre_mvo_setQueryFlags(struct hg3dclass_struct * thisclass_c, unsigned long flags_c);
-
-// 
-void ogre_mvo_addQueryFlags(struct hg3dclass_struct * thisclass_c, unsigned long flags_c);
-
-// 
-void ogre_mvo_removeQueryFlags(struct hg3dclass_struct * thisclass_c, unsigned long flags_c);
-
-// Returns the query flags relevant for this object. 
-void ogre_mvo_getQueryFlags(struct hg3dclass_struct * thisclass_c, unsigned long * result_c);
-
-// 
-void ogre_mvo_setVisibilityFlags(struct hg3dclass_struct * thisclass_c, unsigned long flags_c);
-
-// 
-void ogre_mvo_addVisibilityFlags(struct hg3dclass_struct * thisclass_c, unsigned long flags_c);
-
-// 
-void ogre_mvo_removeVisibilityFlags(struct hg3dclass_struct * thisclass_c, unsigned long flags_c);
-
-// Returns the visibility flags relevant for this object. 
-void ogre_mvo_getVisibilityFlags(struct hg3dclass_struct * thisclass_c, unsigned long * result_c);
-
-// 
-void ogre_mvo_getLightMask(struct hg3dclass_struct * thisclass_c, unsigned long * result_c);
-
-// 
-void ogre_mvo_setLightMask(struct hg3dclass_struct * thisclass_c, unsigned long lightMask_c);
-
-// Define a default implementation of method from ShadowCaster which implements no shadows. 
-void ogre_mvo_hasEdgeList(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_mvo_setCastShadows(struct hg3dclass_struct * thisclass_c, long enabled_c);
-
-// 
-void ogre_mvo_getCastShadows(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_mvo_getReceivesShadows(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_mvo_getPointExtrusionDistance(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * l_c, float * result_c);
-
-// 
-void ogre_mvo_getTypeFlags(struct hg3dclass_struct * thisclass_c, unsigned long * result_c);
-
-// 
-void ogre_mvo_setDebugDisplayEnabled(struct hg3dclass_struct * thisclass_c, long enabled_c);
-
-// Gets whether debug display of this object is enabled. 
-void ogre_mvo_isDebugDisplayEnabled(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_mvo_setDefaultQueryFlags(unsigned long flags_c);
-
-// 
-void ogre_mvo_getDefaultQueryFlags(unsigned long * result_c);
-
-// 
-void ogre_mvo_setDefaultVisibilityFlags(unsigned long flags_c);
-
-// 
-void ogre_mvo_getDefaultVisibilityFlags(unsigned long * result_c);
-
-#endif 
+
+// 
+void ogre_mvo_destruct(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_mvo_getName(struct hg3dclass_struct * thisclass_c, char * result_c);
+
+// 
+void ogre_mvo_getMovableType(struct hg3dclass_struct * thisclass_c, char * result_c);
+
+// 
+void ogre_mvo_getParentNode(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_mvo_getParentSceneNode(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * result_c);
+
+// Gets whether the parent node is a TagPoint (or a SceneNode
+void ogre_mvo_isParentTagPoint(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_mvo_isAttached(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_mvo_detachFromParent(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_mvo_isInScene(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_mvo_getBoundingRadius(struct hg3dclass_struct * thisclass_c, float * result_c);
+
+// 
+void ogre_mvo_setVisible(struct hg3dclass_struct * thisclass_c, long visible_c);
+
+// 
+void ogre_mvo_getVisible(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_mvo_isVisible(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_mvo_setRenderingDistance(struct hg3dclass_struct * thisclass_c, float dist_c);
+
+// 
+void ogre_mvo_getRenderingDistance(struct hg3dclass_struct * thisclass_c, float * result_c);
+
+// 
+void ogre_mvo_setRenderingMinPixelSize(struct hg3dclass_struct * thisclass_c, float pixelSize_c);
+
+// 
+void ogre_mvo_getRenderingMinPixelSize(struct hg3dclass_struct * thisclass_c, float * result_c);
+
+// 
+void ogre_mvo_setQueryFlags(struct hg3dclass_struct * thisclass_c, unsigned long flags_c);
+
+// 
+void ogre_mvo_addQueryFlags(struct hg3dclass_struct * thisclass_c, unsigned long flags_c);
+
+// 
+void ogre_mvo_removeQueryFlags(struct hg3dclass_struct * thisclass_c, unsigned long flags_c);
+
+// Returns the query flags relevant for this object. 
+void ogre_mvo_getQueryFlags(struct hg3dclass_struct * thisclass_c, unsigned long * result_c);
+
+// 
+void ogre_mvo_setVisibilityFlags(struct hg3dclass_struct * thisclass_c, unsigned long flags_c);
+
+// 
+void ogre_mvo_addVisibilityFlags(struct hg3dclass_struct * thisclass_c, unsigned long flags_c);
+
+// 
+void ogre_mvo_removeVisibilityFlags(struct hg3dclass_struct * thisclass_c, unsigned long flags_c);
+
+// Returns the visibility flags relevant for this object. 
+void ogre_mvo_getVisibilityFlags(struct hg3dclass_struct * thisclass_c, unsigned long * result_c);
+
+// 
+void ogre_mvo_getLightMask(struct hg3dclass_struct * thisclass_c, unsigned long * result_c);
+
+// 
+void ogre_mvo_setLightMask(struct hg3dclass_struct * thisclass_c, unsigned long lightMask_c);
+
+// Define a default implementation of method from ShadowCaster which implements no shadows. 
+void ogre_mvo_hasEdgeList(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_mvo_setCastShadows(struct hg3dclass_struct * thisclass_c, long enabled_c);
+
+// 
+void ogre_mvo_getCastShadows(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_mvo_getReceivesShadows(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_mvo_getPointExtrusionDistance(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * l_c, float * result_c);
+
+// 
+void ogre_mvo_getTypeFlags(struct hg3dclass_struct * thisclass_c, unsigned long * result_c);
+
+// 
+void ogre_mvo_setDebugDisplayEnabled(struct hg3dclass_struct * thisclass_c, long enabled_c);
+
+// Gets whether debug display of this object is enabled. 
+void ogre_mvo_isDebugDisplayEnabled(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_mvo_setDefaultQueryFlags(unsigned long flags_c);
+
+// 
+void ogre_mvo_getDefaultQueryFlags(unsigned long * result_c);
+
+// 
+void ogre_mvo_setDefaultVisibilityFlags(unsigned long flags_c);
+
+// 
+void ogre_mvo_getDefaultVisibilityFlags(unsigned long * result_c);
+
+#endif 
diff --git a/include/ClassMovableObjectFactory.h b/include/ClassMovableObjectFactory.h
--- a/include/ClassMovableObjectFactory.h
+++ b/include/ClassMovableObjectFactory.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,33 +14,33 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // ClassMovableObjectFactory.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_ClassMovableObjectFactory
-#define _DEFINED_HG3D_ClassMovableObjectFactory
-
-#include "ClassPtr.h"
-#include "ClassMovableObject.h"
+#ifndef _DEFINED_HG3D_ClassMovableObjectFactory
+#define _DEFINED_HG3D_ClassMovableObjectFactory
 
+#include "ClassPtr.h"
+#include "ClassMovableObject.h"
 
-// 
-void ogre_mvof_destruct(struct hg3dclass_struct * thisclass_c);
-
-// Get the type of the object to be created. 
-void ogre_mvof_getType(struct hg3dclass_struct * thisclass_c, char * result_c);
-
-// 
-void ogre_mvof_destroyInstance(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * obj_c);
-
-// 
-void ogre_mvof_requestTypeFlags(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_mvof_getTypeFlags(struct hg3dclass_struct * thisclass_c, unsigned long * result_c);
-
-#endif 
+
+// 
+void ogre_mvof_destruct(struct hg3dclass_struct * thisclass_c);
+
+// Get the type of the object to be created. 
+void ogre_mvof_getType(struct hg3dclass_struct * thisclass_c, char * result_c);
+
+// 
+void ogre_mvof_destroyInstance(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * obj_c);
+
+// 
+void ogre_mvof_requestTypeFlags(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_mvof_getTypeFlags(struct hg3dclass_struct * thisclass_c, unsigned long * result_c);
+
+#endif 
diff --git a/include/ClassMultiRenderTarget.h b/include/ClassMultiRenderTarget.h
--- a/include/ClassMultiRenderTarget.h
+++ b/include/ClassMultiRenderTarget.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,27 +14,27 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // ClassMultiRenderTarget.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_ClassMultiRenderTarget
-#define _DEFINED_HG3D_ClassMultiRenderTarget
-
-#include "ClassPtr.h"
-#include "ClassRenderTexture.h"
+#ifndef _DEFINED_HG3D_ClassMultiRenderTarget
+#define _DEFINED_HG3D_ClassMultiRenderTarget
 
+#include "ClassPtr.h"
+#include "ClassRenderTexture.h"
 
-// 
-void ogre_mrt_bindSurface(struct hg3dclass_struct * thisclass_c, long attachment_c, struct hg3dclass_struct * target_c);
-
-// 
-void ogre_mrt_unbindSurface(struct hg3dclass_struct * thisclass_c, long attachment_c);
-
-// 
-void ogre_mrt_getBoundSurface(struct hg3dclass_struct * thisclass_c, long index_c, struct hg3dclass_struct * result_c);
-
-#endif 
+
+// 
+void ogre_mrt_bindSurface(struct hg3dclass_struct * thisclass_c, long attachment_c, struct hg3dclass_struct * target_c);
+
+// 
+void ogre_mrt_unbindSurface(struct hg3dclass_struct * thisclass_c, long attachment_c);
+
+// 
+void ogre_mrt_getBoundSurface(struct hg3dclass_struct * thisclass_c, long index_c, struct hg3dclass_struct * result_c);
+
+#endif 
diff --git a/include/ClassNode.h b/include/ClassNode.h
--- a/include/ClassNode.h
+++ b/include/ClassNode.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,175 +14,175 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // ClassNode.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_ClassNode
-#define _DEFINED_HG3D_ClassNode
-
-#include "ClassPtr.h"
-#include "StructQuaternion.h"
-#include "StructVec3.h"
-#include "EnumNodeTransformSpace.h"
-#include "StructRadians.h"
-#include "ClassCamera.h"
+#ifndef _DEFINED_HG3D_ClassNode
+#define _DEFINED_HG3D_ClassNode
 
+#include "ClassPtr.h"
+#include "StructQuaternion.h"
+#include "StructVec3.h"
+#include "EnumNodeTransformSpace.h"
+#include "StructRadians.h"
+#include "ClassCamera.h"
 
-// 
-void ogre_nd_destruct(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_nd_getName(struct hg3dclass_struct * thisclass_c, char * result_c);
-
-// 
-void ogre_nd_getParent(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_nd_getOrientation(struct hg3dclass_struct * thisclass_c, struct quaternion_struct * result_c);
-
-// 
-void ogre_nd_setOrientation(struct hg3dclass_struct * thisclass_c, struct quaternion_struct * q_c);
-
-// 
-void ogre_nd_setOrientation2(struct hg3dclass_struct * thisclass_c, float w_c, float x_c, float y_c, float z_c);
-
-// 
-void ogre_nd_resetOrientation(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_nd_setPosition(struct hg3dclass_struct * thisclass_c, struct vector3_struct * pos_c);
-
-// 
-void ogre_nd_setPosition2(struct hg3dclass_struct * thisclass_c, float x_c, float y_c, float z_c);
-
-// 
-void ogre_nd_getPosition(struct hg3dclass_struct * thisclass_c, struct vector3_struct * result_c);
-
-// 
-void ogre_nd_setScale(struct hg3dclass_struct * thisclass_c, struct vector3_struct * scale_c);
-
-// 
-void ogre_nd_setScale2(struct hg3dclass_struct * thisclass_c, float x_c, float y_c, float z_c);
-
-// 
-void ogre_nd_getScale(struct hg3dclass_struct * thisclass_c, struct vector3_struct * result_c);
-
-// 
-void ogre_nd_setInheritOrientation(struct hg3dclass_struct * thisclass_c, long inherit_c);
-
-// 
-void ogre_nd_getInheritOrientation(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_nd_setInheritScale(struct hg3dclass_struct * thisclass_c, long inherit_c);
-
-// 
-void ogre_nd_getInheritScale(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_nd_scale(struct hg3dclass_struct * thisclass_c, struct vector3_struct * scale_c);
-
-// 
-void ogre_nd_scale2(struct hg3dclass_struct * thisclass_c, float x_c, float y_c, float z_c);
-
-// 
-void ogre_nd_translate(struct hg3dclass_struct * thisclass_c, struct vector3_struct * d_c, enum EnumNodeTransformSpace relativeTo_c);
-
-// 
-void ogre_nd_translate2(struct hg3dclass_struct * thisclass_c, float x_c, float y_c, float z_c, enum EnumNodeTransformSpace relativeTo_c);
-
-// 
-void ogre_nd_roll(struct hg3dclass_struct * thisclass_c, struct radian_struct * angle_c, enum EnumNodeTransformSpace relativeTo_c);
-
-// 
-void ogre_nd_pitch(struct hg3dclass_struct * thisclass_c, struct radian_struct * angle_c, enum EnumNodeTransformSpace relativeTo_c);
-
-// 
-void ogre_nd_yaw(struct hg3dclass_struct * thisclass_c, struct radian_struct * angle_c, enum EnumNodeTransformSpace relativeTo_c);
-
-// 
-void ogre_nd_rotate(struct hg3dclass_struct * thisclass_c, struct vector3_struct * axis_c, struct radian_struct * angle_c, enum EnumNodeTransformSpace relativeTo_c);
-
-// 
-void ogre_nd_rotate2(struct hg3dclass_struct * thisclass_c, struct quaternion_struct * q_c, enum EnumNodeTransformSpace relativeTo_c);
-
-// 
-void ogre_nd_createChild(struct hg3dclass_struct * thisclass_c, struct vector3_struct * translate_c, struct quaternion_struct * rotate_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_nd_createChild2(struct hg3dclass_struct * thisclass_c, char * name_c, struct vector3_struct * translate_c, struct quaternion_struct * rotate_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_nd_addChild(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * child_c);
-
-// 
-void ogre_nd_numChildren(struct hg3dclass_struct * thisclass_c, unsigned short * result_c);
-
-// 
-void ogre_nd_getChild(struct hg3dclass_struct * thisclass_c, unsigned short index_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_nd_getChild2(struct hg3dclass_struct * thisclass_c, char * name_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_nd_removeChild(struct hg3dclass_struct * thisclass_c, unsigned short index_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_nd_removeChild2(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * child_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_nd_removeChild3(struct hg3dclass_struct * thisclass_c, char * name_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_nd_removeAllChildren(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_nd_setInitialState(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_nd_resetToInitialState(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_nd_getInitialPosition(struct hg3dclass_struct * thisclass_c, struct vector3_struct * result_c);
-
-// 
-void ogre_nd_convertWorldToLocalPosition(struct hg3dclass_struct * thisclass_c, struct vector3_struct * worldPos_c, struct vector3_struct * result_c);
-
-// 
-void ogre_nd_convertLocalToWorldPosition(struct hg3dclass_struct * thisclass_c, struct vector3_struct * localPos_c, struct vector3_struct * result_c);
-
-// 
-void ogre_nd_convertWorldToLocalOrientation(struct hg3dclass_struct * thisclass_c, struct quaternion_struct * worldOrientation_c, struct quaternion_struct * result_c);
-
-// 
-void ogre_nd_convertLocalToWorldOrientation(struct hg3dclass_struct * thisclass_c, struct quaternion_struct * localOrientation_c, struct quaternion_struct * result_c);
-
-// 
-void ogre_nd_getInitialOrientation(struct hg3dclass_struct * thisclass_c, struct quaternion_struct * result_c);
-
-// 
-void ogre_nd_getInitialScale(struct hg3dclass_struct * thisclass_c, struct vector3_struct * result_c);
-
-// 
-void ogre_nd_getSquaredViewDepth(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * cam_c, float * result_c);
-
-// 
-void ogre_nd_needUpdate(struct hg3dclass_struct * thisclass_c, long forceParentUpdate_c);
-
-// 
-void ogre_nd_requestUpdate(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * child_c, long forceParentUpdate_c);
-
-// 
-void ogre_nd_cancelUpdate(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * child_c);
-
-// 
-void ogre_nd_queueNeedUpdate(struct hg3dclass_struct * n_c);
-
-// 
-void ogre_nd_processQueuedUpdates();
-
-#endif 
+
+// 
+void ogre_nd_destruct(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_nd_getName(struct hg3dclass_struct * thisclass_c, char * result_c);
+
+// 
+void ogre_nd_getParent(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_nd_getOrientation(struct hg3dclass_struct * thisclass_c, struct quaternion_struct * result_c);
+
+// 
+void ogre_nd_setOrientation(struct hg3dclass_struct * thisclass_c, struct quaternion_struct * q_c);
+
+// 
+void ogre_nd_setOrientation2(struct hg3dclass_struct * thisclass_c, float w_c, float x_c, float y_c, float z_c);
+
+// 
+void ogre_nd_resetOrientation(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_nd_setPosition(struct hg3dclass_struct * thisclass_c, struct vector3_struct * pos_c);
+
+// 
+void ogre_nd_setPosition2(struct hg3dclass_struct * thisclass_c, float x_c, float y_c, float z_c);
+
+// 
+void ogre_nd_getPosition(struct hg3dclass_struct * thisclass_c, struct vector3_struct * result_c);
+
+// 
+void ogre_nd_setScale(struct hg3dclass_struct * thisclass_c, struct vector3_struct * scale_c);
+
+// 
+void ogre_nd_setScale2(struct hg3dclass_struct * thisclass_c, float x_c, float y_c, float z_c);
+
+// 
+void ogre_nd_getScale(struct hg3dclass_struct * thisclass_c, struct vector3_struct * result_c);
+
+// 
+void ogre_nd_setInheritOrientation(struct hg3dclass_struct * thisclass_c, long inherit_c);
+
+// 
+void ogre_nd_getInheritOrientation(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_nd_setInheritScale(struct hg3dclass_struct * thisclass_c, long inherit_c);
+
+// 
+void ogre_nd_getInheritScale(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_nd_scale(struct hg3dclass_struct * thisclass_c, struct vector3_struct * scale_c);
+
+// 
+void ogre_nd_scale2(struct hg3dclass_struct * thisclass_c, float x_c, float y_c, float z_c);
+
+// 
+void ogre_nd_translate(struct hg3dclass_struct * thisclass_c, struct vector3_struct * d_c, enum EnumNodeTransformSpace relativeTo_c);
+
+// 
+void ogre_nd_translate2(struct hg3dclass_struct * thisclass_c, float x_c, float y_c, float z_c, enum EnumNodeTransformSpace relativeTo_c);
+
+// 
+void ogre_nd_roll(struct hg3dclass_struct * thisclass_c, struct radian_struct * angle_c, enum EnumNodeTransformSpace relativeTo_c);
+
+// 
+void ogre_nd_pitch(struct hg3dclass_struct * thisclass_c, struct radian_struct * angle_c, enum EnumNodeTransformSpace relativeTo_c);
+
+// 
+void ogre_nd_yaw(struct hg3dclass_struct * thisclass_c, struct radian_struct * angle_c, enum EnumNodeTransformSpace relativeTo_c);
+
+// 
+void ogre_nd_rotate(struct hg3dclass_struct * thisclass_c, struct vector3_struct * axis_c, struct radian_struct * angle_c, enum EnumNodeTransformSpace relativeTo_c);
+
+// 
+void ogre_nd_rotate2(struct hg3dclass_struct * thisclass_c, struct quaternion_struct * q_c, enum EnumNodeTransformSpace relativeTo_c);
+
+// 
+void ogre_nd_createChild(struct hg3dclass_struct * thisclass_c, struct vector3_struct * translate_c, struct quaternion_struct * rotate_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_nd_createChild2(struct hg3dclass_struct * thisclass_c, char * name_c, struct vector3_struct * translate_c, struct quaternion_struct * rotate_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_nd_addChild(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * child_c);
+
+// 
+void ogre_nd_numChildren(struct hg3dclass_struct * thisclass_c, unsigned short * result_c);
+
+// 
+void ogre_nd_getChild(struct hg3dclass_struct * thisclass_c, unsigned short index_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_nd_getChild2(struct hg3dclass_struct * thisclass_c, char * name_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_nd_removeChild(struct hg3dclass_struct * thisclass_c, unsigned short index_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_nd_removeChild2(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * child_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_nd_removeChild3(struct hg3dclass_struct * thisclass_c, char * name_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_nd_removeAllChildren(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_nd_setInitialState(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_nd_resetToInitialState(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_nd_getInitialPosition(struct hg3dclass_struct * thisclass_c, struct vector3_struct * result_c);
+
+// 
+void ogre_nd_convertWorldToLocalPosition(struct hg3dclass_struct * thisclass_c, struct vector3_struct * worldPos_c, struct vector3_struct * result_c);
+
+// 
+void ogre_nd_convertLocalToWorldPosition(struct hg3dclass_struct * thisclass_c, struct vector3_struct * localPos_c, struct vector3_struct * result_c);
+
+// 
+void ogre_nd_convertWorldToLocalOrientation(struct hg3dclass_struct * thisclass_c, struct quaternion_struct * worldOrientation_c, struct quaternion_struct * result_c);
+
+// 
+void ogre_nd_convertLocalToWorldOrientation(struct hg3dclass_struct * thisclass_c, struct quaternion_struct * localOrientation_c, struct quaternion_struct * result_c);
+
+// 
+void ogre_nd_getInitialOrientation(struct hg3dclass_struct * thisclass_c, struct quaternion_struct * result_c);
+
+// 
+void ogre_nd_getInitialScale(struct hg3dclass_struct * thisclass_c, struct vector3_struct * result_c);
+
+// 
+void ogre_nd_getSquaredViewDepth(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * cam_c, float * result_c);
+
+// 
+void ogre_nd_needUpdate(struct hg3dclass_struct * thisclass_c, long forceParentUpdate_c);
+
+// 
+void ogre_nd_requestUpdate(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * child_c, long forceParentUpdate_c);
+
+// 
+void ogre_nd_cancelUpdate(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * child_c);
+
+// 
+void ogre_nd_queueNeedUpdate(struct hg3dclass_struct * n_c);
+
+// 
+void ogre_nd_processQueuedUpdates();
+
+#endif 
diff --git a/include/ClassNodeAnimationTrack.h b/include/ClassNodeAnimationTrack.h
--- a/include/ClassNodeAnimationTrack.h
+++ b/include/ClassNodeAnimationTrack.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,50 +14,50 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // ClassNodeAnimationTrack.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_ClassNodeAnimationTrack
-#define _DEFINED_HG3D_ClassNodeAnimationTrack
-
-#include "ClassPtr.h"
-#include "ClassAnimation.h"
-#include "ClassNode.h"
-#include "ClassTimeIndex.h"
+#ifndef _DEFINED_HG3D_ClassNodeAnimationTrack
+#define _DEFINED_HG3D_ClassNodeAnimationTrack
 
+#include "ClassPtr.h"
+#include "ClassAnimation.h"
+#include "ClassNode.h"
+#include "ClassTimeIndex.h"
 
-// Constructor. 
-void ogre_noat_construct(struct hg3dclass_struct * parent_c, unsigned short handle_c, struct hg3dclass_struct * result_c);
-
-// Destructor. 
-void ogre_noat_destruct(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_noat_getAssociatedNode(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_noat_setAssociatedNode(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * node_c);
-
-// 
-void ogre_noat_applyToNode(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * node_c, struct hg3dclass_struct * timeIndex_c, float weight_c, float scale_c);
-
-// 
-void ogre_noat_setUseShortestRotationPath(struct hg3dclass_struct * thisclass_c, long useShortestPath_c);
-
-// 
-void ogre_noat_getUseShortestRotationPath(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_noat_apply(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * timeIndex_c, float weight_c, float scale_c);
-
-// 
-void ogre_noat_hasNonZeroKeyFrames(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_noat_optimise(struct hg3dclass_struct * thisclass_c);
-
-#endif 
+
+// Constructor. 
+void ogre_noat_construct(struct hg3dclass_struct * parent_c, unsigned short handle_c, struct hg3dclass_struct * result_c);
+
+// Destructor. 
+void ogre_noat_destruct(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_noat_getAssociatedNode(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_noat_setAssociatedNode(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * node_c);
+
+// 
+void ogre_noat_applyToNode(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * node_c, struct hg3dclass_struct * timeIndex_c, float weight_c, float scale_c);
+
+// 
+void ogre_noat_setUseShortestRotationPath(struct hg3dclass_struct * thisclass_c, long useShortestPath_c);
+
+// 
+void ogre_noat_getUseShortestRotationPath(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_noat_apply(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * timeIndex_c, float weight_c, float scale_c);
+
+// 
+void ogre_noat_hasNonZeroKeyFrames(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_noat_optimise(struct hg3dclass_struct * thisclass_c);
+
+#endif 
diff --git a/include/ClassNumericAnimationTrack.h b/include/ClassNumericAnimationTrack.h
--- a/include/ClassNumericAnimationTrack.h
+++ b/include/ClassNumericAnimationTrack.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,25 +14,25 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // ClassNumericAnimationTrack.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_ClassNumericAnimationTrack
-#define _DEFINED_HG3D_ClassNumericAnimationTrack
-
-#include "ClassPtr.h"
-#include "ClassAnimation.h"
-#include "ClassTimeIndex.h"
+#ifndef _DEFINED_HG3D_ClassNumericAnimationTrack
+#define _DEFINED_HG3D_ClassNumericAnimationTrack
 
+#include "ClassPtr.h"
+#include "ClassAnimation.h"
+#include "ClassTimeIndex.h"
 
-// Constructor. 
-void ogre_nuat_construct(struct hg3dclass_struct * parent_c, unsigned short handle_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_nuat_apply(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * timeIndex_c, float weight_c, float scale_c);
-
-#endif 
+
+// Constructor. 
+void ogre_nuat_construct(struct hg3dclass_struct * parent_c, unsigned short handle_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_nuat_apply(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * timeIndex_c, float weight_c, float scale_c);
+
+#endif 
diff --git a/include/ClassPtr.h b/include/ClassPtr.h
--- a/include/ClassPtr.h
+++ b/include/ClassPtr.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,193 +14,193 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // ClassPtr.h
 
-// Here are the methods defined, which do the class pointer
-// marshalling and the casting of subclasses to higher classes
+// Here are the methods defined, which do the class pointer
+// marshalling and the casting of subclasses to higher classes
 
 #include "wchar.h"
 
 
-#ifndef CLASSPTR_INCLUDE_H
-#define CLASSPTR_INCLUDE_H
-
-typedef struct hg3dclass_struct {
-	void *ptr;
-	void *fptr;
-} hg3dclass_struct;
-
-void *getHG3DClassPtr(hg3dclass_struct inSt, const char* className);
-
-
-typedef void ClassAnimation; 
-hg3dclass_struct getHG3DClass_Animation(void *ptrIn);
-
-typedef void ClassAnimationState; 
-hg3dclass_struct getHG3DClass_AnimationState(void *ptrIn);
-
-typedef void ClassAnimationStateSet; 
-hg3dclass_struct getHG3DClass_AnimationStateSet(void *ptrIn);
-
-typedef void ClassAnimationTrack; 
-hg3dclass_struct getHG3DClass_AnimationTrack(void *ptrIn);
-
-typedef void ClassArchive; 
-hg3dclass_struct getHG3DClass_Archive(void *ptrIn);
-
-typedef void ClassArchiveManager; 
-hg3dclass_struct getHG3DClass_ArchiveManager(void *ptrIn);
-
-typedef void ClassBillboard; 
-hg3dclass_struct getHG3DClass_Billboard(void *ptrIn);
-
-typedef void ClassBillboardChain; 
-hg3dclass_struct getHG3DClass_BillboardChain(void *ptrIn);
-
-typedef void ClassBillboardChainFactory; 
-hg3dclass_struct getHG3DClass_BillboardChainFactory(void *ptrIn);
-
-typedef void ClassBillboardSet; 
-hg3dclass_struct getHG3DClass_BillboardSet(void *ptrIn);
-
-typedef void ClassBillboardSetFactory; 
-hg3dclass_struct getHG3DClass_BillboardSetFactory(void *ptrIn);
-
-typedef void ClassBone; 
-hg3dclass_struct getHG3DClass_Bone(void *ptrIn);
-
-typedef void ClassCamera; 
-hg3dclass_struct getHG3DClass_Camera(void *ptrIn);
-
-typedef void ClassConfigFile; 
-hg3dclass_struct getHG3DClass_ConfigFile(void *ptrIn);
-
-typedef void ClassControllerManager; 
-hg3dclass_struct getHG3DClass_ControllerManager(void *ptrIn);
-
-typedef void ClassEntity; 
-hg3dclass_struct getHG3DClass_Entity(void *ptrIn);
-
-typedef void ClassEntityFactory; 
-hg3dclass_struct getHG3DClass_EntityFactory(void *ptrIn);
-
-typedef void ClassException; 
-hg3dclass_struct getHG3DClass_Exception(void *ptrIn);
-
-typedef void ClassFrustum; 
-hg3dclass_struct getHG3DClass_Frustum(void *ptrIn);
-
-typedef void ClassLight; 
-hg3dclass_struct getHG3DClass_Light(void *ptrIn);
-
-typedef void ClassLightFactory; 
-hg3dclass_struct getHG3DClass_LightFactory(void *ptrIn);
-
-typedef void ClassLog; 
-hg3dclass_struct getHG3DClass_Log(void *ptrIn);
-
-typedef void ClassLogManager; 
-hg3dclass_struct getHG3DClass_LogManager(void *ptrIn);
-
-typedef void ClassManualObject; 
-hg3dclass_struct getHG3DClass_ManualObject(void *ptrIn);
-
-typedef void ClassManualObjectFactory; 
-hg3dclass_struct getHG3DClass_ManualObjectFactory(void *ptrIn);
-
-typedef void ClassManualObjectSection; 
-hg3dclass_struct getHG3DClass_ManualObjectSection(void *ptrIn);
-
-typedef void ClassMaterial; 
-hg3dclass_struct getHG3DClass_Material(void *ptrIn);
-
-typedef void ClassMaterialManager; 
-hg3dclass_struct getHG3DClass_MaterialManager(void *ptrIn);
-
-typedef void ClassMesh; 
-hg3dclass_struct getHG3DClass_Mesh(void *ptrIn);
-
-typedef void ClassMeshManager; 
-hg3dclass_struct getHG3DClass_MeshManager(void *ptrIn);
-
-typedef void ClassMovableObject; 
-hg3dclass_struct getHG3DClass_MovableObject(void *ptrIn);
-
-typedef void ClassMovableObjectFactory; 
-hg3dclass_struct getHG3DClass_MovableObjectFactory(void *ptrIn);
-
-typedef void ClassMultiRenderTarget; 
-hg3dclass_struct getHG3DClass_MultiRenderTarget(void *ptrIn);
-
-typedef void ClassNode; 
-hg3dclass_struct getHG3DClass_Node(void *ptrIn);
-
-typedef void ClassNodeAnimationTrack; 
-hg3dclass_struct getHG3DClass_NodeAnimationTrack(void *ptrIn);
-
-typedef void ClassNumericAnimationTrack; 
-hg3dclass_struct getHG3DClass_NumericAnimationTrack(void *ptrIn);
-
-typedef void ClassRenderable; 
-hg3dclass_struct getHG3DClass_Renderable(void *ptrIn);
-
-typedef void ClassRenderSystem; 
-hg3dclass_struct getHG3DClass_RenderSystem(void *ptrIn);
-
-typedef void ClassRenderTarget; 
-hg3dclass_struct getHG3DClass_RenderTarget(void *ptrIn);
-
-typedef void ClassRenderTexture; 
-hg3dclass_struct getHG3DClass_RenderTexture(void *ptrIn);
-
-typedef void ClassRenderWindow; 
-hg3dclass_struct getHG3DClass_RenderWindow(void *ptrIn);
-
-typedef void ClassResource; 
-hg3dclass_struct getHG3DClass_Resource(void *ptrIn);
-
-typedef void ClassResourceGroupManager; 
-hg3dclass_struct getHG3DClass_ResourceGroupManager(void *ptrIn);
-
-typedef void ClassResourceManager; 
-hg3dclass_struct getHG3DClass_ResourceManager(void *ptrIn);
-
-typedef void ClassRoot; 
-hg3dclass_struct getHG3DClass_Root(void *ptrIn);
-
-typedef void ClassSceneManager; 
-hg3dclass_struct getHG3DClass_SceneManager(void *ptrIn);
-
-typedef void ClassSceneManagerFactory; 
-hg3dclass_struct getHG3DClass_SceneManagerFactory(void *ptrIn);
-
-typedef void ClassSceneNode; 
-hg3dclass_struct getHG3DClass_SceneNode(void *ptrIn);
-
-typedef void ClassSkeleton; 
-hg3dclass_struct getHG3DClass_Skeleton(void *ptrIn);
-
-typedef void ClassSkeletonManager; 
-hg3dclass_struct getHG3DClass_SkeletonManager(void *ptrIn);
-
-typedef void ClassTextureManager; 
-hg3dclass_struct getHG3DClass_TextureManager(void *ptrIn);
-
-typedef void ClassTimeIndex; 
-hg3dclass_struct getHG3DClass_TimeIndex(void *ptrIn);
-
-typedef void ClassVertexAnimationTrack; 
-hg3dclass_struct getHG3DClass_VertexAnimationTrack(void *ptrIn);
-
-typedef void ClassViewport; 
-hg3dclass_struct getHG3DClass_Viewport(void *ptrIn);
-
-typedef void ClassWindowEventUtilities; 
-hg3dclass_struct getHG3DClass_WindowEventUtilities(void *ptrIn);
-
-typedef void ClassHG3DUtilities; 
-hg3dclass_struct getHG3DClass_HG3DUtilities(void *ptrIn);
-
-#endif
+#ifndef CLASSPTR_INCLUDE_H
+#define CLASSPTR_INCLUDE_H
+
+typedef struct hg3dclass_struct {
+	void *ptr;
+	void *fptr;
+} hg3dclass_struct;
+
+void *getHG3DClassPtr(hg3dclass_struct inSt, const char* className);
+
+
+typedef void ClassAnimation; 
+hg3dclass_struct getHG3DClass_Animation(void *ptrIn);
+
+typedef void ClassAnimationState; 
+hg3dclass_struct getHG3DClass_AnimationState(void *ptrIn);
+
+typedef void ClassAnimationStateSet; 
+hg3dclass_struct getHG3DClass_AnimationStateSet(void *ptrIn);
+
+typedef void ClassAnimationTrack; 
+hg3dclass_struct getHG3DClass_AnimationTrack(void *ptrIn);
+
+typedef void ClassArchive; 
+hg3dclass_struct getHG3DClass_Archive(void *ptrIn);
+
+typedef void ClassArchiveManager; 
+hg3dclass_struct getHG3DClass_ArchiveManager(void *ptrIn);
+
+typedef void ClassBillboard; 
+hg3dclass_struct getHG3DClass_Billboard(void *ptrIn);
+
+typedef void ClassBillboardChain; 
+hg3dclass_struct getHG3DClass_BillboardChain(void *ptrIn);
+
+typedef void ClassBillboardChainFactory; 
+hg3dclass_struct getHG3DClass_BillboardChainFactory(void *ptrIn);
+
+typedef void ClassBillboardSet; 
+hg3dclass_struct getHG3DClass_BillboardSet(void *ptrIn);
+
+typedef void ClassBillboardSetFactory; 
+hg3dclass_struct getHG3DClass_BillboardSetFactory(void *ptrIn);
+
+typedef void ClassBone; 
+hg3dclass_struct getHG3DClass_Bone(void *ptrIn);
+
+typedef void ClassCamera; 
+hg3dclass_struct getHG3DClass_Camera(void *ptrIn);
+
+typedef void ClassConfigFile; 
+hg3dclass_struct getHG3DClass_ConfigFile(void *ptrIn);
+
+typedef void ClassControllerManager; 
+hg3dclass_struct getHG3DClass_ControllerManager(void *ptrIn);
+
+typedef void ClassEntity; 
+hg3dclass_struct getHG3DClass_Entity(void *ptrIn);
+
+typedef void ClassEntityFactory; 
+hg3dclass_struct getHG3DClass_EntityFactory(void *ptrIn);
+
+typedef void ClassException; 
+hg3dclass_struct getHG3DClass_Exception(void *ptrIn);
+
+typedef void ClassFrustum; 
+hg3dclass_struct getHG3DClass_Frustum(void *ptrIn);
+
+typedef void ClassLight; 
+hg3dclass_struct getHG3DClass_Light(void *ptrIn);
+
+typedef void ClassLightFactory; 
+hg3dclass_struct getHG3DClass_LightFactory(void *ptrIn);
+
+typedef void ClassLog; 
+hg3dclass_struct getHG3DClass_Log(void *ptrIn);
+
+typedef void ClassLogManager; 
+hg3dclass_struct getHG3DClass_LogManager(void *ptrIn);
+
+typedef void ClassManualObject; 
+hg3dclass_struct getHG3DClass_ManualObject(void *ptrIn);
+
+typedef void ClassManualObjectFactory; 
+hg3dclass_struct getHG3DClass_ManualObjectFactory(void *ptrIn);
+
+typedef void ClassManualObjectSection; 
+hg3dclass_struct getHG3DClass_ManualObjectSection(void *ptrIn);
+
+typedef void ClassMaterial; 
+hg3dclass_struct getHG3DClass_Material(void *ptrIn);
+
+typedef void ClassMaterialManager; 
+hg3dclass_struct getHG3DClass_MaterialManager(void *ptrIn);
+
+typedef void ClassMesh; 
+hg3dclass_struct getHG3DClass_Mesh(void *ptrIn);
+
+typedef void ClassMeshManager; 
+hg3dclass_struct getHG3DClass_MeshManager(void *ptrIn);
+
+typedef void ClassMovableObject; 
+hg3dclass_struct getHG3DClass_MovableObject(void *ptrIn);
+
+typedef void ClassMovableObjectFactory; 
+hg3dclass_struct getHG3DClass_MovableObjectFactory(void *ptrIn);
+
+typedef void ClassMultiRenderTarget; 
+hg3dclass_struct getHG3DClass_MultiRenderTarget(void *ptrIn);
+
+typedef void ClassNode; 
+hg3dclass_struct getHG3DClass_Node(void *ptrIn);
+
+typedef void ClassNodeAnimationTrack; 
+hg3dclass_struct getHG3DClass_NodeAnimationTrack(void *ptrIn);
+
+typedef void ClassNumericAnimationTrack; 
+hg3dclass_struct getHG3DClass_NumericAnimationTrack(void *ptrIn);
+
+typedef void ClassRenderable; 
+hg3dclass_struct getHG3DClass_Renderable(void *ptrIn);
+
+typedef void ClassRenderSystem; 
+hg3dclass_struct getHG3DClass_RenderSystem(void *ptrIn);
+
+typedef void ClassRenderTarget; 
+hg3dclass_struct getHG3DClass_RenderTarget(void *ptrIn);
+
+typedef void ClassRenderTexture; 
+hg3dclass_struct getHG3DClass_RenderTexture(void *ptrIn);
+
+typedef void ClassRenderWindow; 
+hg3dclass_struct getHG3DClass_RenderWindow(void *ptrIn);
+
+typedef void ClassResource; 
+hg3dclass_struct getHG3DClass_Resource(void *ptrIn);
+
+typedef void ClassResourceGroupManager; 
+hg3dclass_struct getHG3DClass_ResourceGroupManager(void *ptrIn);
+
+typedef void ClassResourceManager; 
+hg3dclass_struct getHG3DClass_ResourceManager(void *ptrIn);
+
+typedef void ClassRoot; 
+hg3dclass_struct getHG3DClass_Root(void *ptrIn);
+
+typedef void ClassSceneManager; 
+hg3dclass_struct getHG3DClass_SceneManager(void *ptrIn);
+
+typedef void ClassSceneManagerFactory; 
+hg3dclass_struct getHG3DClass_SceneManagerFactory(void *ptrIn);
+
+typedef void ClassSceneNode; 
+hg3dclass_struct getHG3DClass_SceneNode(void *ptrIn);
+
+typedef void ClassSkeleton; 
+hg3dclass_struct getHG3DClass_Skeleton(void *ptrIn);
+
+typedef void ClassSkeletonManager; 
+hg3dclass_struct getHG3DClass_SkeletonManager(void *ptrIn);
+
+typedef void ClassTextureManager; 
+hg3dclass_struct getHG3DClass_TextureManager(void *ptrIn);
+
+typedef void ClassTimeIndex; 
+hg3dclass_struct getHG3DClass_TimeIndex(void *ptrIn);
+
+typedef void ClassVertexAnimationTrack; 
+hg3dclass_struct getHG3DClass_VertexAnimationTrack(void *ptrIn);
+
+typedef void ClassViewport; 
+hg3dclass_struct getHG3DClass_Viewport(void *ptrIn);
+
+typedef void ClassWindowEventUtilities; 
+hg3dclass_struct getHG3DClass_WindowEventUtilities(void *ptrIn);
+
+typedef void ClassHG3DUtilities; 
+hg3dclass_struct getHG3DClass_HG3DUtilities(void *ptrIn);
+
+#endif
diff --git a/include/ClassRenderSystem.h b/include/ClassRenderSystem.h
--- a/include/ClassRenderSystem.h
+++ b/include/ClassRenderSystem.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,171 +14,177 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // ClassRenderSystem.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_ClassRenderSystem
-#define _DEFINED_HG3D_ClassRenderSystem
-
-#include "ClassPtr.h"
-#include "ClassMultiRenderTarget.h"
-#include "ClassRenderTarget.h"
-#include "StructColour.h"
-#include "EnumGpuProgramType.h"
+#ifndef _DEFINED_HG3D_ClassRenderSystem
+#define _DEFINED_HG3D_ClassRenderSystem
 
+#include "ClassPtr.h"
+#include "ClassMultiRenderTarget.h"
+#include "ClassRenderTarget.h"
+#include "StructColour.h"
+#include "EnumGpuProgramType.h"
 
-// 
-void ogre_rds_destruct(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_rds_getName(struct hg3dclass_struct * thisclass_c, char * result_c);
-
-// 
-void ogre_rds_setConfigOption(struct hg3dclass_struct * thisclass_c, char * name_c, char * value_c);
-
-// 
-void ogre_rds_validateConfigOptions(struct hg3dclass_struct * thisclass_c, char * result_c);
-
-// 
-void ogre_rds_reinitialise(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_rds_shutdown(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_rds_setAmbientLight(struct hg3dclass_struct * thisclass_c, float r_c, float g_c, float b_c);
-
-// 
-void ogre_rds_setLightingEnabled(struct hg3dclass_struct * thisclass_c, long enabled_c);
-
-// 
-void ogre_rds_setWBufferEnabled(struct hg3dclass_struct * thisclass_c, long enabled_c);
-
-// 
-void ogre_rds_getWBufferEnabled(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_rds_createMultiRenderTarget(struct hg3dclass_struct * thisclass_c, char * name_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_rds_destroyRenderWindow(struct hg3dclass_struct * thisclass_c, char * name_c);
-
-// 
-void ogre_rds_destroyRenderTexture(struct hg3dclass_struct * thisclass_c, char * name_c);
-
-// 
-void ogre_rds_destroyRenderTarget(struct hg3dclass_struct * thisclass_c, char * name_c);
-
-// 
-void ogre_rds_attachRenderTarget(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * target_c);
-
-// 
-void ogre_rds_getRenderTarget(struct hg3dclass_struct * thisclass_c, char * name_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_rds_detachRenderTarget(struct hg3dclass_struct * thisclass_c, char * name_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_rds_getErrorDescription(struct hg3dclass_struct * thisclass_c, long errorNumber_c, char * result_c);
-
-// 
-void ogre_rds_setWaitForVerticalBlank(struct hg3dclass_struct * thisclass_c, long enabled_c);
-
-// 
-void ogre_rds_getWaitForVerticalBlank(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_rds_getGlobalNumberOfInstances(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_rds_setGlobalNumberOfInstances(struct hg3dclass_struct * thisclass_c, const long val_c);
-
-// 
-void ogre_rds_setDepthBufferFor(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * renderTarget_c);
-
-// 
-void ogre_rds_areFixedFunctionLightsInViewSpace(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_rds_convertColourValue(struct hg3dclass_struct * thisclass_c, struct colourvalue_struct * colour_c, unsigned long * pDest_c);
-
-// 
-void ogre_rds_setStencilCheckEnabled(struct hg3dclass_struct * thisclass_c, long enabled_c);
-
-// 
-void ogre_rds_setNormaliseNormals(struct hg3dclass_struct * thisclass_c, long normalise_c);
-
-// 
-void ogre_rds_bindGpuProgramPassIterationParameters(struct hg3dclass_struct * thisclass_c, enum EnumGpuProgramType gptype_c);
-
-// 
-void ogre_rds_unbindGpuProgram(struct hg3dclass_struct * thisclass_c, enum EnumGpuProgramType gptype_c);
-
-// 
-void ogre_rds_isGpuProgramBound(struct hg3dclass_struct * thisclass_c, enum EnumGpuProgramType gptype_c, long * result_c);
-
-// 
-void ogre_rds_addClipPlane2(struct hg3dclass_struct * thisclass_c, float A_c, float B_c, float C_c, float D_c);
-
-// 
-void ogre_rds_resetClipPlanes(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_rds_setInvertVertexWinding(struct hg3dclass_struct * thisclass_c, long invert_c);
-
-// 
-void ogre_rds_getInvertVertexWinding(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_rds_setScissorTest(struct hg3dclass_struct * thisclass_c, long enabled_c, long left_c, long top_c, long right_c, long bottom_c);
-
-// 
-void ogre_rds_clearFrameBuffer(struct hg3dclass_struct * thisclass_c, unsigned long buffers_c, struct colourvalue_struct * colour_c, float depth_c, unsigned short stencil_c);
-
-// 
-void ogre_rds_getHorizontalTexelOffset(struct hg3dclass_struct * thisclass_c, float * result_c);
-
-// 
-void ogre_rds_getVerticalTexelOffset(struct hg3dclass_struct * thisclass_c, float * result_c);
-
-// 
-void ogre_rds_getMinimumDepthInputValue(struct hg3dclass_struct * thisclass_c, float * result_c);
-
-// 
-void ogre_rds_getMaximumDepthInputValue(struct hg3dclass_struct * thisclass_c, float * result_c);
-
-// 
-void ogre_rds_setCurrentPassIterationCount(struct hg3dclass_struct * thisclass_c, const long count_c);
-
-// 
-void ogre_rds_setDeriveDepthBias(struct hg3dclass_struct * thisclass_c, long derive_c, float baseValue_c, float multiplier_c, float slopeScale_c);
-
-// 
-void ogre_rds_preExtraThreadsStarted(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_rds_postExtraThreadsStarted(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_rds_registerThread(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_rds_unregisterThread(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_rds_getDisplayMonitorCount(struct hg3dclass_struct * thisclass_c, unsigned long * result_c);
-
-// 
-void ogre_rds_beginProfileEvent(struct hg3dclass_struct * thisclass_c, char * eventName_c);
-
-// 
-void ogre_rds_endProfileEvent(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_rds_markProfileEvent(struct hg3dclass_struct * thisclass_c, char * event_c);
-
-#endif 
+
+// 
+void ogre_rds_destruct(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_rds_getName(struct hg3dclass_struct * thisclass_c, char * result_c);
+
+// 
+void ogre_rds_setConfigOption(struct hg3dclass_struct * thisclass_c, char * name_c, char * value_c);
+
+// 
+void ogre_rds_validateConfigOptions(struct hg3dclass_struct * thisclass_c, char * result_c);
+
+// 
+void ogre_rds_reinitialise(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_rds_shutdown(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_rds_setAmbientLight(struct hg3dclass_struct * thisclass_c, float r_c, float g_c, float b_c);
+
+// 
+void ogre_rds_setLightingEnabled(struct hg3dclass_struct * thisclass_c, long enabled_c);
+
+// 
+void ogre_rds_setWBufferEnabled(struct hg3dclass_struct * thisclass_c, long enabled_c);
+
+// 
+void ogre_rds_getWBufferEnabled(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_rds_createMultiRenderTarget(struct hg3dclass_struct * thisclass_c, char * name_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_rds_destroyRenderWindow(struct hg3dclass_struct * thisclass_c, char * name_c);
+
+// 
+void ogre_rds_destroyRenderTexture(struct hg3dclass_struct * thisclass_c, char * name_c);
+
+// 
+void ogre_rds_destroyRenderTarget(struct hg3dclass_struct * thisclass_c, char * name_c);
+
+// 
+void ogre_rds_attachRenderTarget(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * target_c);
+
+// 
+void ogre_rds_getRenderTarget(struct hg3dclass_struct * thisclass_c, char * name_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_rds_detachRenderTarget(struct hg3dclass_struct * thisclass_c, char * name_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_rds_getErrorDescription(struct hg3dclass_struct * thisclass_c, long errorNumber_c, char * result_c);
+
+// 
+void ogre_rds_setWaitForVerticalBlank(struct hg3dclass_struct * thisclass_c, long enabled_c);
+
+// 
+void ogre_rds_getWaitForVerticalBlank(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_rds_getGlobalNumberOfInstances(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_rds_setGlobalNumberOfInstances(struct hg3dclass_struct * thisclass_c, const long val_c);
+
+// 
+void ogre_rds_setFixedPipelineEnabled(struct hg3dclass_struct * thisclass_c, long enabled_c);
+
+// 
+void ogre_rds_getFixedPipelineEnabled(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_rds_setDepthBufferFor(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * renderTarget_c);
+
+// 
+void ogre_rds_areFixedFunctionLightsInViewSpace(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_rds_convertColourValue(struct hg3dclass_struct * thisclass_c, struct colourvalue_struct * colour_c, unsigned long * pDest_c);
+
+// 
+void ogre_rds_setStencilCheckEnabled(struct hg3dclass_struct * thisclass_c, long enabled_c);
+
+// 
+void ogre_rds_setNormaliseNormals(struct hg3dclass_struct * thisclass_c, long normalise_c);
+
+// 
+void ogre_rds_bindGpuProgramPassIterationParameters(struct hg3dclass_struct * thisclass_c, enum EnumGpuProgramType gptype_c);
+
+// 
+void ogre_rds_unbindGpuProgram(struct hg3dclass_struct * thisclass_c, enum EnumGpuProgramType gptype_c);
+
+// 
+void ogre_rds_isGpuProgramBound(struct hg3dclass_struct * thisclass_c, enum EnumGpuProgramType gptype_c, long * result_c);
+
+// 
+void ogre_rds_addClipPlane2(struct hg3dclass_struct * thisclass_c, float A_c, float B_c, float C_c, float D_c);
+
+// 
+void ogre_rds_resetClipPlanes(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_rds_setInvertVertexWinding(struct hg3dclass_struct * thisclass_c, long invert_c);
+
+// 
+void ogre_rds_getInvertVertexWinding(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_rds_setScissorTest(struct hg3dclass_struct * thisclass_c, long enabled_c, long left_c, long top_c, long right_c, long bottom_c);
+
+// 
+void ogre_rds_clearFrameBuffer(struct hg3dclass_struct * thisclass_c, unsigned long buffers_c, struct colourvalue_struct * colour_c, float depth_c, unsigned short stencil_c);
+
+// 
+void ogre_rds_getHorizontalTexelOffset(struct hg3dclass_struct * thisclass_c, float * result_c);
+
+// 
+void ogre_rds_getVerticalTexelOffset(struct hg3dclass_struct * thisclass_c, float * result_c);
+
+// 
+void ogre_rds_getMinimumDepthInputValue(struct hg3dclass_struct * thisclass_c, float * result_c);
+
+// 
+void ogre_rds_getMaximumDepthInputValue(struct hg3dclass_struct * thisclass_c, float * result_c);
+
+// 
+void ogre_rds_setCurrentPassIterationCount(struct hg3dclass_struct * thisclass_c, const long count_c);
+
+// 
+void ogre_rds_setDeriveDepthBias(struct hg3dclass_struct * thisclass_c, long derive_c, float baseValue_c, float multiplier_c, float slopeScale_c);
+
+// 
+void ogre_rds_preExtraThreadsStarted(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_rds_postExtraThreadsStarted(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_rds_registerThread(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_rds_unregisterThread(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_rds_getDisplayMonitorCount(struct hg3dclass_struct * thisclass_c, unsigned long * result_c);
+
+// 
+void ogre_rds_beginProfileEvent(struct hg3dclass_struct * thisclass_c, char * eventName_c);
+
+// 
+void ogre_rds_endProfileEvent(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_rds_markProfileEvent(struct hg3dclass_struct * thisclass_c, char * event_c);
+
+#endif 
diff --git a/include/ClassRenderTarget.h b/include/ClassRenderTarget.h
--- a/include/ClassRenderTarget.h
+++ b/include/ClassRenderTarget.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,139 +14,139 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // ClassRenderTarget.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_ClassRenderTarget
-#define _DEFINED_HG3D_ClassRenderTarget
-
-#include "ClassPtr.h"
-#include "ClassViewport.h"
-#include "ClassCamera.h"
+#ifndef _DEFINED_HG3D_ClassRenderTarget
+#define _DEFINED_HG3D_ClassRenderTarget
 
+#include "ClassPtr.h"
+#include "ClassViewport.h"
+#include "ClassCamera.h"
 
-// 
-void ogre_rtgt_destruct(struct hg3dclass_struct * thisclass_c);
-
-// Retrieve target's name. 
-void ogre_rtgt_getName(struct hg3dclass_struct * thisclass_c, char * result_c);
-
-// Retrieve information about the render target. 
-void ogre_rtgt_getMetrics(struct hg3dclass_struct * thisclass_c, unsigned long * width_c, unsigned long * height_c, unsigned long * colourDepth_c);
-
-// 
-void ogre_rtgt_getWidth(struct hg3dclass_struct * thisclass_c, unsigned long * result_c);
-
-// 
-void ogre_rtgt_getHeight(struct hg3dclass_struct * thisclass_c, unsigned long * result_c);
-
-// 
-void ogre_rtgt_getColourDepth(struct hg3dclass_struct * thisclass_c, unsigned long * result_c);
-
-// 
-void ogre_rtgt_setDepthBufferPool(struct hg3dclass_struct * thisclass_c, unsigned short poolId_c);
-
-// 
-void ogre_rtgt_getDepthBufferPool(struct hg3dclass_struct * thisclass_c, unsigned short * result_c);
-
-// 
-void ogre_rtgt_detachDepthBuffer(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_rtgt_update(struct hg3dclass_struct * thisclass_c, long swapBuffers_c);
-
-// 
-void ogre_rtgt_swapBuffers(struct hg3dclass_struct * thisclass_c, long waitForVSync_c);
-
-// 
-void ogre_rtgt_addViewport(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * cam_c, long ZOrder_c, float left_c, float top_c, float width_c, float height_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_rtgt_getNumViewports(struct hg3dclass_struct * thisclass_c, unsigned short * result_c);
-
-// 
-void ogre_rtgt_getViewport(struct hg3dclass_struct * thisclass_c, unsigned short index_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_rtgt_getViewportByZOrder(struct hg3dclass_struct * thisclass_c, long ZOrder_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_rtgt_hasViewportWithZOrder(struct hg3dclass_struct * thisclass_c, long ZOrder_c, long * result_c);
-
-// 
-void ogre_rtgt_removeViewport(struct hg3dclass_struct * thisclass_c, long ZOrder_c);
-
-// 
-void ogre_rtgt_removeAllViewports(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_rtgt_getStatistics(struct hg3dclass_struct * thisclass_c, float * lastFPS_c, float * avgFPS_c, float * bestFPS_c, float * worstFPS_c);
-
-// 
-void ogre_rtgt_getLastFPS(struct hg3dclass_struct * thisclass_c, float * result_c);
-
-// 
-void ogre_rtgt_getAverageFPS(struct hg3dclass_struct * thisclass_c, float * result_c);
-
-// 
-void ogre_rtgt_getBestFPS(struct hg3dclass_struct * thisclass_c, float * result_c);
-
-// 
-void ogre_rtgt_getWorstFPS(struct hg3dclass_struct * thisclass_c, float * result_c);
-
-// 
-void ogre_rtgt_getBestFrameTime(struct hg3dclass_struct * thisclass_c, float * result_c);
-
-// 
-void ogre_rtgt_getWorstFrameTime(struct hg3dclass_struct * thisclass_c, float * result_c);
-
-// 
-void ogre_rtgt_resetStatistics(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_rtgt_removeAllListeners(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_rtgt_isActive(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_rtgt_setActive(struct hg3dclass_struct * thisclass_c, long state_c);
-
-// 
-void ogre_rtgt_setAutoUpdated(struct hg3dclass_struct * thisclass_c, long autoupdate_c);
-
-// 
-void ogre_rtgt_isAutoUpdated(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_rtgt_writeContentsToFile(struct hg3dclass_struct * thisclass_c, char * filename_c);
-
-// 
-void ogre_rtgt_writeContentsToTimestampedFile(struct hg3dclass_struct * thisclass_c, char * filenamePrefix_c, char * filenameSuffix_c, char * result_c);
-
-// 
-void ogre_rtgt_requiresTextureFlipping(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_rtgt_getTriangleCount(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_rtgt_getBatchCount(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_rtgt_isPrimary(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_rtgt_isHardwareGammaEnabled(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_rtgt_getFSAA(struct hg3dclass_struct * thisclass_c, unsigned long * result_c);
-
-// 
-void ogre_rtgt_getFSAAHint(struct hg3dclass_struct * thisclass_c, char * result_c);
-
-#endif 
+
+// 
+void ogre_rtgt_destruct(struct hg3dclass_struct * thisclass_c);
+
+// Retrieve target's name. 
+void ogre_rtgt_getName(struct hg3dclass_struct * thisclass_c, char * result_c);
+
+// Retrieve information about the render target. 
+void ogre_rtgt_getMetrics(struct hg3dclass_struct * thisclass_c, unsigned long * width_c, unsigned long * height_c, unsigned long * colourDepth_c);
+
+// 
+void ogre_rtgt_getWidth(struct hg3dclass_struct * thisclass_c, unsigned long * result_c);
+
+// 
+void ogre_rtgt_getHeight(struct hg3dclass_struct * thisclass_c, unsigned long * result_c);
+
+// 
+void ogre_rtgt_getColourDepth(struct hg3dclass_struct * thisclass_c, unsigned long * result_c);
+
+// 
+void ogre_rtgt_setDepthBufferPool(struct hg3dclass_struct * thisclass_c, unsigned short poolId_c);
+
+// 
+void ogre_rtgt_getDepthBufferPool(struct hg3dclass_struct * thisclass_c, unsigned short * result_c);
+
+// 
+void ogre_rtgt_detachDepthBuffer(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_rtgt_update(struct hg3dclass_struct * thisclass_c, long swapBuffers_c);
+
+// 
+void ogre_rtgt_swapBuffers(struct hg3dclass_struct * thisclass_c, long waitForVSync_c);
+
+// 
+void ogre_rtgt_addViewport(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * cam_c, long ZOrder_c, float left_c, float top_c, float width_c, float height_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_rtgt_getNumViewports(struct hg3dclass_struct * thisclass_c, unsigned short * result_c);
+
+// 
+void ogre_rtgt_getViewport(struct hg3dclass_struct * thisclass_c, unsigned short index_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_rtgt_getViewportByZOrder(struct hg3dclass_struct * thisclass_c, long ZOrder_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_rtgt_hasViewportWithZOrder(struct hg3dclass_struct * thisclass_c, long ZOrder_c, long * result_c);
+
+// 
+void ogre_rtgt_removeViewport(struct hg3dclass_struct * thisclass_c, long ZOrder_c);
+
+// 
+void ogre_rtgt_removeAllViewports(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_rtgt_getStatistics(struct hg3dclass_struct * thisclass_c, float * lastFPS_c, float * avgFPS_c, float * bestFPS_c, float * worstFPS_c);
+
+// 
+void ogre_rtgt_getLastFPS(struct hg3dclass_struct * thisclass_c, float * result_c);
+
+// 
+void ogre_rtgt_getAverageFPS(struct hg3dclass_struct * thisclass_c, float * result_c);
+
+// 
+void ogre_rtgt_getBestFPS(struct hg3dclass_struct * thisclass_c, float * result_c);
+
+// 
+void ogre_rtgt_getWorstFPS(struct hg3dclass_struct * thisclass_c, float * result_c);
+
+// 
+void ogre_rtgt_getBestFrameTime(struct hg3dclass_struct * thisclass_c, float * result_c);
+
+// 
+void ogre_rtgt_getWorstFrameTime(struct hg3dclass_struct * thisclass_c, float * result_c);
+
+// 
+void ogre_rtgt_resetStatistics(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_rtgt_removeAllListeners(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_rtgt_isActive(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_rtgt_setActive(struct hg3dclass_struct * thisclass_c, long state_c);
+
+// 
+void ogre_rtgt_setAutoUpdated(struct hg3dclass_struct * thisclass_c, long autoupdate_c);
+
+// 
+void ogre_rtgt_isAutoUpdated(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_rtgt_writeContentsToFile(struct hg3dclass_struct * thisclass_c, char * filename_c);
+
+// 
+void ogre_rtgt_writeContentsToTimestampedFile(struct hg3dclass_struct * thisclass_c, char * filenamePrefix_c, char * filenameSuffix_c, char * result_c);
+
+// 
+void ogre_rtgt_requiresTextureFlipping(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_rtgt_getTriangleCount(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_rtgt_getBatchCount(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_rtgt_isPrimary(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_rtgt_isHardwareGammaEnabled(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_rtgt_getFSAA(struct hg3dclass_struct * thisclass_c, unsigned long * result_c);
+
+// 
+void ogre_rtgt_getFSAAHint(struct hg3dclass_struct * thisclass_c, char * result_c);
+
+#endif 
diff --git a/include/ClassRenderTexture.h b/include/ClassRenderTexture.h
--- a/include/ClassRenderTexture.h
+++ b/include/ClassRenderTexture.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,20 +14,20 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // ClassRenderTexture.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_ClassRenderTexture
-#define _DEFINED_HG3D_ClassRenderTexture
-
-#include "ClassPtr.h"
+#ifndef _DEFINED_HG3D_ClassRenderTexture
+#define _DEFINED_HG3D_ClassRenderTexture
 
+#include "ClassPtr.h"
 
-// 
-void ogre_rtx_destruct(struct hg3dclass_struct * thisclass_c);
-
-#endif 
+
+// 
+void ogre_rtx_destruct(struct hg3dclass_struct * thisclass_c);
+
+#endif 
diff --git a/include/ClassRenderWindow.h b/include/ClassRenderWindow.h
--- a/include/ClassRenderWindow.h
+++ b/include/ClassRenderWindow.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,77 +14,77 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // ClassRenderWindow.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_ClassRenderWindow
-#define _DEFINED_HG3D_ClassRenderWindow
-
-#include "ClassPtr.h"
+#ifndef _DEFINED_HG3D_ClassRenderWindow
+#define _DEFINED_HG3D_ClassRenderWindow
 
+#include "ClassPtr.h"
 
-// 
-void ogre_rw_setFullscreen(struct hg3dclass_struct * thisclass_c, long fullScreen_c, unsigned long width_c, unsigned long height_c);
-
-// 
-void ogre_rw_destroy(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_rw_resize(struct hg3dclass_struct * thisclass_c, unsigned long width_c, unsigned long height_c);
-
-// 
-void ogre_rw_windowMovedOrResized(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_rw_reposition(struct hg3dclass_struct * thisclass_c, long left_c, long top_c);
-
-// 
-void ogre_rw_isVisible(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_rw_setVisible(struct hg3dclass_struct * thisclass_c, long visible_c);
-
-// 
-void ogre_rw_isHidden(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_rw_setHidden(struct hg3dclass_struct * thisclass_c, long hidden_c);
-
-// 
-void ogre_rw_setVSyncEnabled(struct hg3dclass_struct * thisclass_c, long vsync_c);
-
-// 
-void ogre_rw_isVSyncEnabled(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_rw_setVSyncInterval(struct hg3dclass_struct * thisclass_c, unsigned long interval_c);
-
-// 
-void ogre_rw_getVSyncInterval(struct hg3dclass_struct * thisclass_c, unsigned long * result_c);
-
-// 
-void ogre_rw_isActive(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_rw_isClosed(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_rw_isPrimary(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_rw_isFullScreen(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_rw_getMetrics(struct hg3dclass_struct * thisclass_c, unsigned long * width_c, unsigned long * height_c, unsigned long * colourDepth_c, long * left_c, long * top_c);
-
-// 
-void ogre_rw_isDeactivatedOnFocusChange(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_rw_setDeactivateOnFocusChange(struct hg3dclass_struct * thisclass_c, long deactivate_c);
-
-#endif 
+
+// 
+void ogre_rw_setFullscreen(struct hg3dclass_struct * thisclass_c, long fullScreen_c, unsigned long width_c, unsigned long height_c);
+
+// 
+void ogre_rw_destroy(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_rw_resize(struct hg3dclass_struct * thisclass_c, unsigned long width_c, unsigned long height_c);
+
+// 
+void ogre_rw_windowMovedOrResized(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_rw_reposition(struct hg3dclass_struct * thisclass_c, long left_c, long top_c);
+
+// 
+void ogre_rw_isVisible(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_rw_setVisible(struct hg3dclass_struct * thisclass_c, long visible_c);
+
+// 
+void ogre_rw_isHidden(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_rw_setHidden(struct hg3dclass_struct * thisclass_c, long hidden_c);
+
+// 
+void ogre_rw_setVSyncEnabled(struct hg3dclass_struct * thisclass_c, long vsync_c);
+
+// 
+void ogre_rw_isVSyncEnabled(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_rw_setVSyncInterval(struct hg3dclass_struct * thisclass_c, unsigned long interval_c);
+
+// 
+void ogre_rw_getVSyncInterval(struct hg3dclass_struct * thisclass_c, unsigned long * result_c);
+
+// 
+void ogre_rw_isActive(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_rw_isClosed(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_rw_isPrimary(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_rw_isFullScreen(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_rw_getMetrics(struct hg3dclass_struct * thisclass_c, unsigned long * width_c, unsigned long * height_c, unsigned long * colourDepth_c, long * left_c, long * top_c);
+
+// 
+void ogre_rw_isDeactivatedOnFocusChange(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_rw_setDeactivateOnFocusChange(struct hg3dclass_struct * thisclass_c, long deactivate_c);
+
+#endif 
diff --git a/include/ClassRenderable.h b/include/ClassRenderable.h
--- a/include/ClassRenderable.h
+++ b/include/ClassRenderable.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,66 +14,66 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // ClassRenderable.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_ClassRenderable
-#define _DEFINED_HG3D_ClassRenderable
-
-#include "ClassPtr.h"
-#include "StructSharedPtr.h"
-#include "ClassSceneManager.h"
-#include "ClassRenderSystem.h"
-#include "ClassCamera.h"
+#ifndef _DEFINED_HG3D_ClassRenderable
+#define _DEFINED_HG3D_ClassRenderable
 
+#include "ClassPtr.h"
+#include "StructSharedPtr.h"
+#include "ClassSceneManager.h"
+#include "ClassRenderSystem.h"
+#include "ClassCamera.h"
 
-// 
-void ogre_rndl_destruct(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_rndl_getMaterial(struct hg3dclass_struct * thisclass_c, struct sharedptr_struct * result_c);
-
-// 
-void ogre_rndl_preRender(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * sm_c, struct hg3dclass_struct * rsys_c, long * result_c);
-
-// 
-void ogre_rndl_postRender(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * sm_c, struct hg3dclass_struct * rsys_c);
-
-// 
-void ogre_rndl_getNumWorldTransforms(struct hg3dclass_struct * thisclass_c, unsigned short * result_c);
-
-// 
-void ogre_rndl_setUseIdentityProjection(struct hg3dclass_struct * thisclass_c, long useIdentityProjection_c);
-
-// 
-void ogre_rndl_getUseIdentityProjection(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_rndl_setUseIdentityView(struct hg3dclass_struct * thisclass_c, long useIdentityView_c);
-
-// 
-void ogre_rndl_getUseIdentityView(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_rndl_getSquaredViewDepth(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * cam_c, float * result_c);
-
-// 
-void ogre_rndl_getCastsShadows(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_rndl_removeCustomParameter(struct hg3dclass_struct * thisclass_c, long index_c);
-
-// 
-void ogre_rndl_hasCustomParameter(struct hg3dclass_struct * thisclass_c, long index_c, long * result_c);
-
-// 
-void ogre_rndl_setPolygonModeOverrideable(struct hg3dclass_struct * thisclass_c, long override_c);
-
-// 
-void ogre_rndl_getPolygonModeOverrideable(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-#endif 
+
+// 
+void ogre_rndl_destruct(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_rndl_getMaterial(struct hg3dclass_struct * thisclass_c, struct sharedptr_struct * result_c);
+
+// 
+void ogre_rndl_preRender(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * sm_c, struct hg3dclass_struct * rsys_c, long * result_c);
+
+// 
+void ogre_rndl_postRender(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * sm_c, struct hg3dclass_struct * rsys_c);
+
+// 
+void ogre_rndl_getNumWorldTransforms(struct hg3dclass_struct * thisclass_c, unsigned short * result_c);
+
+// 
+void ogre_rndl_setUseIdentityProjection(struct hg3dclass_struct * thisclass_c, long useIdentityProjection_c);
+
+// 
+void ogre_rndl_getUseIdentityProjection(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_rndl_setUseIdentityView(struct hg3dclass_struct * thisclass_c, long useIdentityView_c);
+
+// 
+void ogre_rndl_getUseIdentityView(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_rndl_getSquaredViewDepth(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * cam_c, float * result_c);
+
+// 
+void ogre_rndl_getCastsShadows(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_rndl_removeCustomParameter(struct hg3dclass_struct * thisclass_c, long index_c);
+
+// 
+void ogre_rndl_hasCustomParameter(struct hg3dclass_struct * thisclass_c, long index_c, long * result_c);
+
+// 
+void ogre_rndl_setPolygonModeOverrideable(struct hg3dclass_struct * thisclass_c, long override_c);
+
+// 
+void ogre_rndl_getPolygonModeOverrideable(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+#endif 
diff --git a/include/ClassResource.h b/include/ClassResource.h
--- a/include/ClassResource.h
+++ b/include/ClassResource.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,81 +14,81 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // ClassResource.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_ClassResource
-#define _DEFINED_HG3D_ClassResource
-
-#include "ClassPtr.h"
-#include "ClassResourceManager.h"
+#ifndef _DEFINED_HG3D_ClassResource
+#define _DEFINED_HG3D_ClassResource
 
+#include "ClassPtr.h"
+#include "ClassResourceManager.h"
 
-// 
-void ogre_rsrc_destruct(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_rsrc_prepare(struct hg3dclass_struct * thisclass_c, long backgroundThread_c);
-
-// 
-void ogre_rsrc_load(struct hg3dclass_struct * thisclass_c, long backgroundThread_c);
-
-// 
-void ogre_rsrc_reload(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_rsrc_isReloadable(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_rsrc_isManuallyLoaded(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_rsrc_unload(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_rsrc_getSize(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_rsrc_touch(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_rsrc_getName(struct hg3dclass_struct * thisclass_c, char * result_c);
-
-// 
-void ogre_rsrc_isPrepared(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_rsrc_isLoaded(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_rsrc_isLoading(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_rsrc_isBackgroundLoaded(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_rsrc_setBackgroundLoaded(struct hg3dclass_struct * thisclass_c, long bl_c);
-
-// 
-void ogre_rsrc_escalateLoading(struct hg3dclass_struct * thisclass_c);
-
-// Gets the group which this resource is a member of. 
-void ogre_rsrc_getGroup(struct hg3dclass_struct * thisclass_c, char * result_c);
-
-// 
-void ogre_rsrc_changeGroupOwnership(struct hg3dclass_struct * thisclass_c, char * newGroup_c);
-
-// Gets the manager which created this resource. 
-void ogre_rsrc_getCreator(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_rsrc_getOrigin(struct hg3dclass_struct * thisclass_c, char * result_c);
-
-// 
-void ogre_rsrc_getStateCount(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-#endif 
+
+// 
+void ogre_rsrc_destruct(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_rsrc_prepare(struct hg3dclass_struct * thisclass_c, long backgroundThread_c);
+
+// 
+void ogre_rsrc_load(struct hg3dclass_struct * thisclass_c, long backgroundThread_c);
+
+// 
+void ogre_rsrc_reload(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_rsrc_isReloadable(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_rsrc_isManuallyLoaded(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_rsrc_unload(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_rsrc_getSize(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_rsrc_touch(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_rsrc_getName(struct hg3dclass_struct * thisclass_c, char * result_c);
+
+// 
+void ogre_rsrc_isPrepared(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_rsrc_isLoaded(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_rsrc_isLoading(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_rsrc_isBackgroundLoaded(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_rsrc_setBackgroundLoaded(struct hg3dclass_struct * thisclass_c, long bl_c);
+
+// 
+void ogre_rsrc_escalateLoading(struct hg3dclass_struct * thisclass_c);
+
+// Gets the group which this resource is a member of. 
+void ogre_rsrc_getGroup(struct hg3dclass_struct * thisclass_c, char * result_c);
+
+// 
+void ogre_rsrc_changeGroupOwnership(struct hg3dclass_struct * thisclass_c, char * newGroup_c);
+
+// Gets the manager which created this resource. 
+void ogre_rsrc_getCreator(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_rsrc_getOrigin(struct hg3dclass_struct * thisclass_c, char * result_c);
+
+// 
+void ogre_rsrc_getStateCount(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+#endif 
diff --git a/include/ClassResourceGroupManager.h b/include/ClassResourceGroupManager.h
--- a/include/ClassResourceGroupManager.h
+++ b/include/ClassResourceGroupManager.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,111 +14,111 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // ClassResourceGroupManager.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_ClassResourceGroupManager
-#define _DEFINED_HG3D_ClassResourceGroupManager
-
-#include "ClassPtr.h"
-#include "ClassSceneManager.h"
+#ifndef _DEFINED_HG3D_ClassResourceGroupManager
+#define _DEFINED_HG3D_ClassResourceGroupManager
 
+#include "ClassPtr.h"
+#include "ClassSceneManager.h"
 
-// 
-void ogre_rgmgr_construct(struct hg3dclass_struct * result_c);
-
-// 
-void ogre_rgmgr_destruct(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_rgmgr_createResourceGroup(struct hg3dclass_struct * thisclass_c, char * name_c, const long inGlobalPool_c);
-
-// 
-void ogre_rgmgr_initialiseResourceGroup(struct hg3dclass_struct * thisclass_c, char * name_c);
-
-// 
-void ogre_rgmgr_initialiseAllResourceGroups(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_rgmgr_prepareResourceGroup(struct hg3dclass_struct * thisclass_c, char * name_c, long prepareMainResources_c, long prepareWorldGeom_c);
-
-// 
-void ogre_rgmgr_loadResourceGroup(struct hg3dclass_struct * thisclass_c, char * name_c, long loadMainResources_c, long loadWorldGeom_c);
-
-// 
-void ogre_rgmgr_unloadResourceGroup(struct hg3dclass_struct * thisclass_c, char * name_c, long reloadableOnly_c);
-
-// 
-void ogre_rgmgr_unloadUnreferencedResourcesInGroup(struct hg3dclass_struct * thisclass_c, char * name_c, long reloadableOnly_c);
-
-// 
-void ogre_rgmgr_clearResourceGroup(struct hg3dclass_struct * thisclass_c, char * name_c);
-
-// 
-void ogre_rgmgr_destroyResourceGroup(struct hg3dclass_struct * thisclass_c, char * name_c);
-
-// 
-void ogre_rgmgr_isResourceGroupInitialised(struct hg3dclass_struct * thisclass_c, char * name_c, long * result_c);
-
-// 
-void ogre_rgmgr_isResourceGroupLoaded(struct hg3dclass_struct * thisclass_c, char * name_c, long * result_c);
-
-// 
-void ogre_rgmgr_resourceGroupExists(struct hg3dclass_struct * thisclass_c, char * name_c, long * result_c);
-
-// 
-void ogre_rgmgr_addResourceLocation(struct hg3dclass_struct * thisclass_c, char * name_c, char * locType_c, char * resGroup_c, long recursive_c);
-
-// 
-void ogre_rgmgr_removeResourceLocation(struct hg3dclass_struct * thisclass_c, char * name_c, char * resGroup_c);
-
-// 
-void ogre_rgmgr_resourceLocationExists(struct hg3dclass_struct * thisclass_c, char * name_c, char * resGroup_c, long * result_c);
-
-// 
-void ogre_rgmgr_undeclareResource(struct hg3dclass_struct * thisclass_c, char * name_c, char * groupName_c);
-
-// 
-void ogre_rgmgr_resourceExists(struct hg3dclass_struct * thisclass_c, char * group_c, char * filename_c, long * result_c);
-
-// 
-void ogre_rgmgr_resourceExistsInAnyGroup(struct hg3dclass_struct * thisclass_c, char * filename_c, long * result_c);
-
-// 
-void ogre_rgmgr_findGroupContainingResource(struct hg3dclass_struct * thisclass_c, char * filename_c, char * result_c);
-
-// 
-void ogre_rgmgr_deleteResource(struct hg3dclass_struct * thisclass_c, char * filename_c, char * groupName_c, char * locationPattern_c);
-
-// 
-void ogre_rgmgr_deleteMatchingResources(struct hg3dclass_struct * thisclass_c, char * filePattern_c, char * groupName_c, char * locationPattern_c);
-
-// 
-void ogre_rgmgr_setWorldResourceGroupName(struct hg3dclass_struct * thisclass_c, char * groupName_c);
-
-// Gets the resource group that 'world' resources will use. 
-void ogre_rgmgr_getWorldResourceGroupName(struct hg3dclass_struct * thisclass_c, char * result_c);
-
-// 
-void ogre_rgmgr_linkWorldGeometryToResourceGroup(struct hg3dclass_struct * thisclass_c, char * group_c, char * worldGeometry_c, struct hg3dclass_struct * sceneManager_c);
-
-// 
-void ogre_rgmgr_unlinkWorldGeometryFromResourceGroup(struct hg3dclass_struct * thisclass_c, char * group_c);
-
-// 
-void ogre_rgmgr_isResourceGroupInGlobalPool(struct hg3dclass_struct * thisclass_c, char * name_c, long * result_c);
-
-// 
-void ogre_rgmgr_shutdownAll(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_rgmgr_getSingleton(struct hg3dclass_struct * result_c);
-
-// 
-void ogre_rgmgr_getSingletonPtr(struct hg3dclass_struct * result_c);
-
-#endif 
+
+// 
+void ogre_rgmgr_construct(struct hg3dclass_struct * result_c);
+
+// 
+void ogre_rgmgr_destruct(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_rgmgr_createResourceGroup(struct hg3dclass_struct * thisclass_c, char * name_c, const long inGlobalPool_c);
+
+// 
+void ogre_rgmgr_initialiseResourceGroup(struct hg3dclass_struct * thisclass_c, char * name_c);
+
+// 
+void ogre_rgmgr_initialiseAllResourceGroups(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_rgmgr_prepareResourceGroup(struct hg3dclass_struct * thisclass_c, char * name_c, long prepareMainResources_c, long prepareWorldGeom_c);
+
+// 
+void ogre_rgmgr_loadResourceGroup(struct hg3dclass_struct * thisclass_c, char * name_c, long loadMainResources_c, long loadWorldGeom_c);
+
+// 
+void ogre_rgmgr_unloadResourceGroup(struct hg3dclass_struct * thisclass_c, char * name_c, long reloadableOnly_c);
+
+// 
+void ogre_rgmgr_unloadUnreferencedResourcesInGroup(struct hg3dclass_struct * thisclass_c, char * name_c, long reloadableOnly_c);
+
+// 
+void ogre_rgmgr_clearResourceGroup(struct hg3dclass_struct * thisclass_c, char * name_c);
+
+// 
+void ogre_rgmgr_destroyResourceGroup(struct hg3dclass_struct * thisclass_c, char * name_c);
+
+// 
+void ogre_rgmgr_isResourceGroupInitialised(struct hg3dclass_struct * thisclass_c, char * name_c, long * result_c);
+
+// 
+void ogre_rgmgr_isResourceGroupLoaded(struct hg3dclass_struct * thisclass_c, char * name_c, long * result_c);
+
+// 
+void ogre_rgmgr_resourceGroupExists(struct hg3dclass_struct * thisclass_c, char * name_c, long * result_c);
+
+// 
+void ogre_rgmgr_addResourceLocation(struct hg3dclass_struct * thisclass_c, char * name_c, char * locType_c, char * resGroup_c, long recursive_c);
+
+// 
+void ogre_rgmgr_removeResourceLocation(struct hg3dclass_struct * thisclass_c, char * name_c, char * resGroup_c);
+
+// 
+void ogre_rgmgr_resourceLocationExists(struct hg3dclass_struct * thisclass_c, char * name_c, char * resGroup_c, long * result_c);
+
+// 
+void ogre_rgmgr_undeclareResource(struct hg3dclass_struct * thisclass_c, char * name_c, char * groupName_c);
+
+// 
+void ogre_rgmgr_resourceExists(struct hg3dclass_struct * thisclass_c, char * group_c, char * filename_c, long * result_c);
+
+// 
+void ogre_rgmgr_resourceExistsInAnyGroup(struct hg3dclass_struct * thisclass_c, char * filename_c, long * result_c);
+
+// 
+void ogre_rgmgr_findGroupContainingResource(struct hg3dclass_struct * thisclass_c, char * filename_c, char * result_c);
+
+// 
+void ogre_rgmgr_deleteResource(struct hg3dclass_struct * thisclass_c, char * filename_c, char * groupName_c, char * locationPattern_c);
+
+// 
+void ogre_rgmgr_deleteMatchingResources(struct hg3dclass_struct * thisclass_c, char * filePattern_c, char * groupName_c, char * locationPattern_c);
+
+// 
+void ogre_rgmgr_setWorldResourceGroupName(struct hg3dclass_struct * thisclass_c, char * groupName_c);
+
+// Gets the resource group that 'world' resources will use. 
+void ogre_rgmgr_getWorldResourceGroupName(struct hg3dclass_struct * thisclass_c, char * result_c);
+
+// 
+void ogre_rgmgr_linkWorldGeometryToResourceGroup(struct hg3dclass_struct * thisclass_c, char * group_c, char * worldGeometry_c, struct hg3dclass_struct * sceneManager_c);
+
+// 
+void ogre_rgmgr_unlinkWorldGeometryFromResourceGroup(struct hg3dclass_struct * thisclass_c, char * group_c);
+
+// 
+void ogre_rgmgr_isResourceGroupInGlobalPool(struct hg3dclass_struct * thisclass_c, char * name_c, long * result_c);
+
+// 
+void ogre_rgmgr_shutdownAll(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_rgmgr_getSingleton(struct hg3dclass_struct * result_c);
+
+// 
+void ogre_rgmgr_getSingletonPtr(struct hg3dclass_struct * result_c);
+
+#endif 
diff --git a/include/ClassResourceManager.h b/include/ClassResourceManager.h
--- a/include/ClassResourceManager.h
+++ b/include/ClassResourceManager.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,74 +14,74 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // ClassResourceManager.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_ClassResourceManager
-#define _DEFINED_HG3D_ClassResourceManager
-
-#include "ClassPtr.h"
+#ifndef _DEFINED_HG3D_ClassResourceManager
+#define _DEFINED_HG3D_ClassResourceManager
 
+#include "ClassPtr.h"
 
-// 
-void ogre_rsrcmgr_destruct(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_rsrcmgr_setMemoryBudget(struct hg3dclass_struct * thisclass_c, long bytes_c);
-
-// 
-void ogre_rsrcmgr_getMemoryBudget(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_rsrcmgr_getMemoryUsage(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_rsrcmgr_unload(struct hg3dclass_struct * thisclass_c, char * name_c);
-
-// 
-void ogre_rsrcmgr_unloadAll(struct hg3dclass_struct * thisclass_c, long reloadableOnly_c);
-
-// 
-void ogre_rsrcmgr_reloadAll(struct hg3dclass_struct * thisclass_c, long reloadableOnly_c);
-
-// 
-void ogre_rsrcmgr_unloadUnreferencedResources(struct hg3dclass_struct * thisclass_c, long reloadableOnly_c);
-
-// 
-void ogre_rsrcmgr_reloadUnreferencedResources(struct hg3dclass_struct * thisclass_c, long reloadableOnly_c);
-
-// 
-void ogre_rsrcmgr_remove2(struct hg3dclass_struct * thisclass_c, char * name_c);
-
-// 
-void ogre_rsrcmgr_removeAll(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_rsrcmgr_removeUnreferencedResources(struct hg3dclass_struct * thisclass_c, long reloadableOnly_c);
-
-// Returns whether the named resource exists in this manager. 
-void ogre_rsrcmgr_resourceExists(struct hg3dclass_struct * thisclass_c, char * name_c, long * result_c);
-
-// 
-void ogre_rsrcmgr_getLoadingOrder(struct hg3dclass_struct * thisclass_c, float * result_c);
-
-// 
-void ogre_rsrcmgr_getResourceType(struct hg3dclass_struct * thisclass_c, char * result_c);
-
-// 
-void ogre_rsrcmgr_setVerbose(struct hg3dclass_struct * thisclass_c, long v_c);
-
-// 
-void ogre_rsrcmgr_getVerbose(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// Destroy a resource pool. 
-void ogre_rsrcmgr_destroyResourcePool2(struct hg3dclass_struct * thisclass_c, char * name_c);
-
-// destroy all pools 
-void ogre_rsrcmgr_destroyAllResourcePools(struct hg3dclass_struct * thisclass_c);
-
-#endif 
+
+// 
+void ogre_rsrcmgr_destruct(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_rsrcmgr_setMemoryBudget(struct hg3dclass_struct * thisclass_c, long bytes_c);
+
+// 
+void ogre_rsrcmgr_getMemoryBudget(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_rsrcmgr_getMemoryUsage(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_rsrcmgr_unload(struct hg3dclass_struct * thisclass_c, char * name_c);
+
+// 
+void ogre_rsrcmgr_unloadAll(struct hg3dclass_struct * thisclass_c, long reloadableOnly_c);
+
+// 
+void ogre_rsrcmgr_reloadAll(struct hg3dclass_struct * thisclass_c, long reloadableOnly_c);
+
+// 
+void ogre_rsrcmgr_unloadUnreferencedResources(struct hg3dclass_struct * thisclass_c, long reloadableOnly_c);
+
+// 
+void ogre_rsrcmgr_reloadUnreferencedResources(struct hg3dclass_struct * thisclass_c, long reloadableOnly_c);
+
+// 
+void ogre_rsrcmgr_remove2(struct hg3dclass_struct * thisclass_c, char * name_c);
+
+// 
+void ogre_rsrcmgr_removeAll(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_rsrcmgr_removeUnreferencedResources(struct hg3dclass_struct * thisclass_c, long reloadableOnly_c);
+
+// Returns whether the named resource exists in this manager. 
+void ogre_rsrcmgr_resourceExists(struct hg3dclass_struct * thisclass_c, char * name_c, long * result_c);
+
+// 
+void ogre_rsrcmgr_getLoadingOrder(struct hg3dclass_struct * thisclass_c, float * result_c);
+
+// 
+void ogre_rsrcmgr_getResourceType(struct hg3dclass_struct * thisclass_c, char * result_c);
+
+// 
+void ogre_rsrcmgr_setVerbose(struct hg3dclass_struct * thisclass_c, long v_c);
+
+// 
+void ogre_rsrcmgr_getVerbose(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// Destroy a resource pool. 
+void ogre_rsrcmgr_destroyResourcePool2(struct hg3dclass_struct * thisclass_c, char * name_c);
+
+// destroy all pools 
+void ogre_rsrcmgr_destroyAllResourcePools(struct hg3dclass_struct * thisclass_c);
+
+#endif 
diff --git a/include/ClassRoot.h b/include/ClassRoot.h
--- a/include/ClassRoot.h
+++ b/include/ClassRoot.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,197 +14,197 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // ClassRoot.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_ClassRoot
-#define _DEFINED_HG3D_ClassRoot
-
-#include "ClassPtr.h"
-#include "ClassRenderSystem.h"
-#include "ClassRenderWindow.h"
-#include "ClassSceneManagerFactory.h"
-#include "ClassSceneManager.h"
-#include "ClassTextureManager.h"
-#include "ClassMeshManager.h"
-#include "StructColour.h"
-#include "ClassRenderTarget.h"
-#include "ClassMovableObjectFactory.h"
+#ifndef _DEFINED_HG3D_ClassRoot
+#define _DEFINED_HG3D_ClassRoot
 
+#include "ClassPtr.h"
+#include "ClassRenderSystem.h"
+#include "ClassRenderWindow.h"
+#include "ClassSceneManagerFactory.h"
+#include "ClassSceneManager.h"
+#include "ClassTextureManager.h"
+#include "ClassMeshManager.h"
+#include "StructColour.h"
+#include "ClassRenderTarget.h"
+#include "ClassMovableObjectFactory.h"
 
-// 
-void ogre_rt_construct(char * pluginFileName_c, char * configFileName_c, char * logFileName_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_rt_destruct(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_rt_saveConfig(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_rt_restoreConfig(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_rt_showConfigDialog(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_rt_addRenderSystem(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * newRend_c);
-
-// 
-void ogre_rt_getRenderSystemByName(struct hg3dclass_struct * thisclass_c, char * name_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_rt_setRenderSystem(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * system_c);
-
-// 
-void ogre_rt_getRenderSystem(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_rt_initialise(struct hg3dclass_struct * thisclass_c, long autoCreateWindow_c, char * windowTitle_c, char * customCapabilitiesConfig_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_rt_isInitialised(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_rt_getRemoveRenderQueueStructuresOnClear(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_rt_setRemoveRenderQueueStructuresOnClear(struct hg3dclass_struct * thisclass_c, long r_c);
-
-// 
-void ogre_rt_addSceneManagerFactory(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * fact_c);
-
-// 
-void ogre_rt_removeSceneManagerFactory(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * fact_c);
-
-// 
-void ogre_rt_createSceneManager(struct hg3dclass_struct * thisclass_c, char * typeName_c, char * instanceName_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_rt_destroySceneManager(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * sm_c);
-
-// 
-void ogre_rt_getSceneManager(struct hg3dclass_struct * thisclass_c, char * instanceName_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_rt_hasSceneManager(struct hg3dclass_struct * thisclass_c, char * instanceName_c, long * result_c);
-
-// 
-void ogre_rt_getTextureManager(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_rt_getMeshManager(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_rt_getErrorDescription(struct hg3dclass_struct * thisclass_c, long errorNumber_c, char * result_c);
-
-// 
-void ogre_rt_queueEndRendering(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_rt_startRendering(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_rt_renderOneFrame(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_rt_renderOneFrame2(struct hg3dclass_struct * thisclass_c, float timeSinceLastFrame_c, long * result_c);
-
-// 
-void ogre_rt_shutdown(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_rt_addResourceLocation(struct hg3dclass_struct * thisclass_c, char * name_c, char * locType_c, char * groupName_c, long recursive_c);
-
-// 
-void ogre_rt_removeResourceLocation(struct hg3dclass_struct * thisclass_c, char * name_c, char * groupName_c);
-
-// 
-void ogre_rt_convertColourValue(struct hg3dclass_struct * thisclass_c, struct colourvalue_struct * colour_c, unsigned long * pDest_c);
-
-// 
-void ogre_rt_getAutoCreatedWindow(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_rt_detachRenderTarget(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * pWin_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_rt_detachRenderTarget2(struct hg3dclass_struct * thisclass_c, char * name_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_rt_destroyRenderTarget(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * target_c);
-
-// 
-void ogre_rt_destroyRenderTarget2(struct hg3dclass_struct * thisclass_c, char * name_c);
-
-// 
-void ogre_rt_getRenderTarget(struct hg3dclass_struct * thisclass_c, char * name_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_rt_loadPlugin(struct hg3dclass_struct * thisclass_c, char * pluginName_c);
-
-// 
-void ogre_rt_unloadPlugin(struct hg3dclass_struct * thisclass_c, char * pluginName_c);
-
-// 
-void ogre_rt_getNextFrameNumber(struct hg3dclass_struct * thisclass_c, unsigned long * result_c);
-
-// 
-void ogre_rt_destroyRenderQueueInvocationSequence(struct hg3dclass_struct * thisclass_c, char * name_c);
-
-// 
-void ogre_rt_destroyAllRenderQueueInvocationSequences(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_rt_clearEventTimes(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_rt_setFrameSmoothingPeriod(struct hg3dclass_struct * thisclass_c, float period_c);
-
-// 
-void ogre_rt_getFrameSmoothingPeriod(struct hg3dclass_struct * thisclass_c, float * result_c);
-
-// 
-void ogre_rt_addMovableObjectFactory(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * fact_c, long overrideExisting_c);
-
-// 
-void ogre_rt_removeMovableObjectFactory(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * fact_c);
-
-// Checks whether a factory is registered for a given MovableObject
-void ogre_rt_hasMovableObjectFactory(struct hg3dclass_struct * thisclass_c, char * typeName_c, long * result_c);
-
-// Get a MovableObjectFactory
-void ogre_rt_getMovableObjectFactory(struct hg3dclass_struct * thisclass_c, char * typeName_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_rt_getDisplayMonitorCount(struct hg3dclass_struct * thisclass_c, unsigned long * result_c);
-
-// 
-void ogre_rt_setBlendIndicesGpuRedundant(struct hg3dclass_struct * thisclass_c, long redundant_c);
-
-// 
-void ogre_rt_isBlendIndicesGpuRedundant(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_rt_setBlendWeightsGpuRedundant(struct hg3dclass_struct * thisclass_c, long redundant_c);
-
-// 
-void ogre_rt_isBlendWeightsGpuRedundant(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_rt_setDefaultMinPixelSize(struct hg3dclass_struct * thisclass_c, float pixelSize_c);
-
-// 
-void ogre_rt_getDefaultMinPixelSize(struct hg3dclass_struct * thisclass_c, float * result_c);
-
-// 
-void ogre_rt_getSingleton(struct hg3dclass_struct * result_c);
-
-// 
-void ogre_rt_getSingletonPtr(struct hg3dclass_struct * result_c);
-
-#endif 
+
+// 
+void ogre_rt_construct(char * pluginFileName_c, char * configFileName_c, char * logFileName_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_rt_destruct(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_rt_saveConfig(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_rt_restoreConfig(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_rt_showConfigDialog(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_rt_addRenderSystem(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * newRend_c);
+
+// 
+void ogre_rt_getRenderSystemByName(struct hg3dclass_struct * thisclass_c, char * name_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_rt_setRenderSystem(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * system_c);
+
+// 
+void ogre_rt_getRenderSystem(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_rt_initialise(struct hg3dclass_struct * thisclass_c, long autoCreateWindow_c, char * windowTitle_c, char * customCapabilitiesConfig_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_rt_isInitialised(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_rt_getRemoveRenderQueueStructuresOnClear(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_rt_setRemoveRenderQueueStructuresOnClear(struct hg3dclass_struct * thisclass_c, long r_c);
+
+// 
+void ogre_rt_addSceneManagerFactory(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * fact_c);
+
+// 
+void ogre_rt_removeSceneManagerFactory(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * fact_c);
+
+// 
+void ogre_rt_createSceneManager(struct hg3dclass_struct * thisclass_c, char * typeName_c, char * instanceName_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_rt_destroySceneManager(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * sm_c);
+
+// 
+void ogre_rt_getSceneManager(struct hg3dclass_struct * thisclass_c, char * instanceName_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_rt_hasSceneManager(struct hg3dclass_struct * thisclass_c, char * instanceName_c, long * result_c);
+
+// 
+void ogre_rt_getTextureManager(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_rt_getMeshManager(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_rt_getErrorDescription(struct hg3dclass_struct * thisclass_c, long errorNumber_c, char * result_c);
+
+// 
+void ogre_rt_queueEndRendering(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_rt_startRendering(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_rt_renderOneFrame(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_rt_renderOneFrame2(struct hg3dclass_struct * thisclass_c, float timeSinceLastFrame_c, long * result_c);
+
+// 
+void ogre_rt_shutdown(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_rt_addResourceLocation(struct hg3dclass_struct * thisclass_c, char * name_c, char * locType_c, char * groupName_c, long recursive_c);
+
+// 
+void ogre_rt_removeResourceLocation(struct hg3dclass_struct * thisclass_c, char * name_c, char * groupName_c);
+
+// 
+void ogre_rt_convertColourValue(struct hg3dclass_struct * thisclass_c, struct colourvalue_struct * colour_c, unsigned long * pDest_c);
+
+// 
+void ogre_rt_getAutoCreatedWindow(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_rt_detachRenderTarget(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * pWin_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_rt_detachRenderTarget2(struct hg3dclass_struct * thisclass_c, char * name_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_rt_destroyRenderTarget(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * target_c);
+
+// 
+void ogre_rt_destroyRenderTarget2(struct hg3dclass_struct * thisclass_c, char * name_c);
+
+// 
+void ogre_rt_getRenderTarget(struct hg3dclass_struct * thisclass_c, char * name_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_rt_loadPlugin(struct hg3dclass_struct * thisclass_c, char * pluginName_c);
+
+// 
+void ogre_rt_unloadPlugin(struct hg3dclass_struct * thisclass_c, char * pluginName_c);
+
+// 
+void ogre_rt_getNextFrameNumber(struct hg3dclass_struct * thisclass_c, unsigned long * result_c);
+
+// 
+void ogre_rt_destroyRenderQueueInvocationSequence(struct hg3dclass_struct * thisclass_c, char * name_c);
+
+// 
+void ogre_rt_destroyAllRenderQueueInvocationSequences(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_rt_clearEventTimes(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_rt_setFrameSmoothingPeriod(struct hg3dclass_struct * thisclass_c, float period_c);
+
+// 
+void ogre_rt_getFrameSmoothingPeriod(struct hg3dclass_struct * thisclass_c, float * result_c);
+
+// 
+void ogre_rt_addMovableObjectFactory(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * fact_c, long overrideExisting_c);
+
+// 
+void ogre_rt_removeMovableObjectFactory(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * fact_c);
+
+// Checks whether a factory is registered for a given MovableObject
+void ogre_rt_hasMovableObjectFactory(struct hg3dclass_struct * thisclass_c, char * typeName_c, long * result_c);
+
+// Get a MovableObjectFactory
+void ogre_rt_getMovableObjectFactory(struct hg3dclass_struct * thisclass_c, char * typeName_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_rt_getDisplayMonitorCount(struct hg3dclass_struct * thisclass_c, unsigned long * result_c);
+
+// 
+void ogre_rt_setBlendIndicesGpuRedundant(struct hg3dclass_struct * thisclass_c, long redundant_c);
+
+// 
+void ogre_rt_isBlendIndicesGpuRedundant(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_rt_setBlendWeightsGpuRedundant(struct hg3dclass_struct * thisclass_c, long redundant_c);
+
+// 
+void ogre_rt_isBlendWeightsGpuRedundant(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_rt_setDefaultMinPixelSize(struct hg3dclass_struct * thisclass_c, float pixelSize_c);
+
+// 
+void ogre_rt_getDefaultMinPixelSize(struct hg3dclass_struct * thisclass_c, float * result_c);
+
+// 
+void ogre_rt_getSingleton(struct hg3dclass_struct * result_c);
+
+// 
+void ogre_rt_getSingletonPtr(struct hg3dclass_struct * result_c);
+
+#endif 
diff --git a/include/ClassSceneManager.h b/include/ClassSceneManager.h
--- a/include/ClassSceneManager.h
+++ b/include/ClassSceneManager.h
@@ -1,555 +1,555 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
-// (c) 2011-2014 Peter Althainz
-// 
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-// 
-//     http://www.apache.org/licenses/LICENSE-2.0
-// 
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-// 
-
-// ClassSceneManager.h
-
-// 
-
-#include "wchar.h"
-#ifndef _DEFINED_HG3D_ClassSceneManager
-#define _DEFINED_HG3D_ClassSceneManager
-
-#include "ClassPtr.h"
-#include "ClassCamera.h"
-#include "ClassLight.h"
-#include "ClassSceneNode.h"
-#include "ClassEntity.h"
-#include "StructSharedPtr.h"
-#include "EnumSceneManagerPrefabType.h"
-#include "ClassManualObject.h"
-#include "ClassBillboardChain.h"
-#include "StructColour.h"
-#include "StructQuaternion.h"
-#include "ClassBillboardSet.h"
-#include "ClassAnimation.h"
-#include "ClassAnimationState.h"
-#include "EnumSceneManagerSpecialCaseRenderQueueMode.h"
-#include "EnumLightType.h"
-#include "ClassMovableObject.h"
-#include "ClassRenderSystem.h"
-#include "ClassViewport.h"
-
-
-// 
-void ogre_scmgr_destruct(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_scmgr_getName(struct hg3dclass_struct * thisclass_c, char * result_c);
-
-// 
-void ogre_scmgr_getTypeName(struct hg3dclass_struct * thisclass_c, char * result_c);
-
-// 
-void ogre_scmgr_createCamera(struct hg3dclass_struct * thisclass_c, char * name_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_scmgr_getCamera(struct hg3dclass_struct * thisclass_c, char * name_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_scmgr_hasCamera(struct hg3dclass_struct * thisclass_c, char * name_c, long * result_c);
-
-// 
-void ogre_scmgr_destroyCamera(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * cam_c);
-
-// 
-void ogre_scmgr_destroyCamera2(struct hg3dclass_struct * thisclass_c, char * name_c);
-
-// 
-void ogre_scmgr_destroyAllCameras(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_scmgr_createLight(struct hg3dclass_struct * thisclass_c, char * name_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_scmgr_createLight2(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_scmgr_getLight(struct hg3dclass_struct * thisclass_c, char * name_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_scmgr_hasLight(struct hg3dclass_struct * thisclass_c, char * name_c, long * result_c);
-
-// 
-void ogre_scmgr_destroyLight(struct hg3dclass_struct * thisclass_c, char * name_c);
-
-// 
-void ogre_scmgr_destroyLight2(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * light_c);
-
-// 
-void ogre_scmgr_destroyAllLights(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_scmgr_createSceneNode(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_scmgr_createSceneNode2(struct hg3dclass_struct * thisclass_c, char * name_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_scmgr_destroySceneNode(struct hg3dclass_struct * thisclass_c, char * name_c);
-
-// 
-void ogre_scmgr_destroySceneNode2(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * sn_c);
-
-// 
-void ogre_scmgr_getRootSceneNode(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_scmgr_getSceneNode(struct hg3dclass_struct * thisclass_c, char * name_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_scmgr_hasSceneNode(struct hg3dclass_struct * thisclass_c, char * name_c, long * result_c);
-
-// 
-void ogre_scmgr_createEntity(struct hg3dclass_struct * thisclass_c, char * entityName_c, char * meshName_c, char * groupName_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_scmgr_createEntity2(struct hg3dclass_struct * thisclass_c, char * entityName_c, struct sharedptr_struct * pMesh_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_scmgr_createEntity3(struct hg3dclass_struct * thisclass_c, char * meshName_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_scmgr_createEntity4(struct hg3dclass_struct * thisclass_c, struct sharedptr_struct * pMesh_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_scmgr_createEntity5(struct hg3dclass_struct * thisclass_c, char * entityName_c, enum EnumSceneManagerPrefabType ptype_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_scmgr_createEntity6(struct hg3dclass_struct * thisclass_c, enum EnumSceneManagerPrefabType ptype_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_scmgr_getEntity(struct hg3dclass_struct * thisclass_c, char * name_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_scmgr_hasEntity(struct hg3dclass_struct * thisclass_c, char * name_c, long * result_c);
-
-// 
-void ogre_scmgr_destroyEntity(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * ent_c);
-
-// 
-void ogre_scmgr_destroyEntity2(struct hg3dclass_struct * thisclass_c, char * name_c);
-
-// 
-void ogre_scmgr_destroyAllEntities(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_scmgr_createManualObject(struct hg3dclass_struct * thisclass_c, char * name_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_scmgr_createManualObject2(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_scmgr_getManualObject(struct hg3dclass_struct * thisclass_c, char * name_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_scmgr_hasManualObject(struct hg3dclass_struct * thisclass_c, char * name_c, long * result_c);
-
-// 
-void ogre_scmgr_destroyManualObject(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * obj_c);
-
-// 
-void ogre_scmgr_destroyManualObject2(struct hg3dclass_struct * thisclass_c, char * name_c);
-
-// 
-void ogre_scmgr_destroyAllManualObjects(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_scmgr_createBillboardChain(struct hg3dclass_struct * thisclass_c, char * name_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_scmgr_createBillboardChain2(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_scmgr_getBillboardChain(struct hg3dclass_struct * thisclass_c, char * name_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_scmgr_hasBillboardChain(struct hg3dclass_struct * thisclass_c, char * name_c, long * result_c);
-
-// 
-void ogre_scmgr_destroyBillboardChain(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * obj_c);
-
-// 
-void ogre_scmgr_destroyBillboardChain2(struct hg3dclass_struct * thisclass_c, char * name_c);
-
-// 
-void ogre_scmgr_destroyAllBillboardChains(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_scmgr_hasRibbonTrail(struct hg3dclass_struct * thisclass_c, char * name_c, long * result_c);
-
-// 
-void ogre_scmgr_destroyRibbonTrail2(struct hg3dclass_struct * thisclass_c, char * name_c);
-
-// 
-void ogre_scmgr_destroyAllRibbonTrails(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_scmgr_hasParticleSystem(struct hg3dclass_struct * thisclass_c, char * name_c, long * result_c);
-
-// 
-void ogre_scmgr_destroyParticleSystem2(struct hg3dclass_struct * thisclass_c, char * name_c);
-
-// 
-void ogre_scmgr_destroyAllParticleSystems(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_scmgr_clearScene(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_scmgr_setAmbientLight(struct hg3dclass_struct * thisclass_c, struct colourvalue_struct * colour_c);
-
-// 
-void ogre_scmgr_getAmbientLight(struct hg3dclass_struct * thisclass_c, struct colourvalue_struct * result_c);
-
-// 
-void ogre_scmgr_prepareWorldGeometry(struct hg3dclass_struct * thisclass_c, char * filename_c);
-
-// 
-void ogre_scmgr_setWorldGeometry(struct hg3dclass_struct * thisclass_c, char * filename_c);
-
-// 
-void ogre_scmgr_estimateWorldGeometry(struct hg3dclass_struct * thisclass_c, char * filename_c, long * result_c);
-
-// 
-void ogre_scmgr_hasOption(struct hg3dclass_struct * thisclass_c, char * strKey_c, long * result_c);
-
-// 
-void ogre_scmgr_setSkyPlaneEnabled(struct hg3dclass_struct * thisclass_c, long enable_c);
-
-// 
-void ogre_scmgr_isSkyPlaneEnabled(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_scmgr_getSkyPlaneNode(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_scmgr_setSkyBox(struct hg3dclass_struct * thisclass_c, long enable_c, char * materialName_c, float distance_c, long drawFirst_c, struct quaternion_struct * orientation_c, char * groupName_c);
-
-// 
-void ogre_scmgr_setSkyBoxEnabled(struct hg3dclass_struct * thisclass_c, long enable_c);
-
-// 
-void ogre_scmgr_isSkyBoxEnabled(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_scmgr_getSkyBoxNode(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_scmgr_setSkyDome(struct hg3dclass_struct * thisclass_c, long enable_c, char * materialName_c, float curvature_c, float tiling_c, float distance_c, long drawFirst_c, struct quaternion_struct * orientation_c, long xsegments_c, long ysegments_c, long ysegments_keep_c, char * groupName_c);
-
-// 
-void ogre_scmgr_setSkyDomeEnabled(struct hg3dclass_struct * thisclass_c, long enable_c);
-
-// 
-void ogre_scmgr_isSkyDomeEnabled(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_scmgr_getSkyDomeNode(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_scmgr_getFogColour(struct hg3dclass_struct * thisclass_c, struct colourvalue_struct * result_c);
-
-// 
-void ogre_scmgr_getFogStart(struct hg3dclass_struct * thisclass_c, float * result_c);
-
-// 
-void ogre_scmgr_getFogEnd(struct hg3dclass_struct * thisclass_c, float * result_c);
-
-// 
-void ogre_scmgr_getFogDensity(struct hg3dclass_struct * thisclass_c, float * result_c);
-
-// 
-void ogre_scmgr_createBillboardSet(struct hg3dclass_struct * thisclass_c, char * name_c, unsigned long poolSize_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_scmgr_createBillboardSet2(struct hg3dclass_struct * thisclass_c, unsigned long poolSize_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_scmgr_getBillboardSet(struct hg3dclass_struct * thisclass_c, char * name_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_scmgr_hasBillboardSet(struct hg3dclass_struct * thisclass_c, char * name_c, long * result_c);
-
-// 
-void ogre_scmgr_destroyBillboardSet(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * set_c);
-
-// 
-void ogre_scmgr_destroyBillboardSet2(struct hg3dclass_struct * thisclass_c, char * name_c);
-
-// 
-void ogre_scmgr_destroyAllBillboardSets(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_scmgr_setDisplaySceneNodes(struct hg3dclass_struct * thisclass_c, long display_c);
-
-// 
-void ogre_scmgr_getDisplaySceneNodes(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_scmgr_createAnimation(struct hg3dclass_struct * thisclass_c, char * name_c, float length_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_scmgr_getAnimation(struct hg3dclass_struct * thisclass_c, char * name_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_scmgr_hasAnimation(struct hg3dclass_struct * thisclass_c, char * name_c, long * result_c);
-
-// 
-void ogre_scmgr_destroyAnimation(struct hg3dclass_struct * thisclass_c, char * name_c);
-
-// 
-void ogre_scmgr_destroyAllAnimations(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_scmgr_createAnimationState(struct hg3dclass_struct * thisclass_c, char * animName_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_scmgr_getAnimationState(struct hg3dclass_struct * thisclass_c, char * animName_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_scmgr_hasAnimationState(struct hg3dclass_struct * thisclass_c, char * name_c, long * result_c);
-
-// 
-void ogre_scmgr_destroyAnimationState(struct hg3dclass_struct * thisclass_c, char * name_c);
-
-// 
-void ogre_scmgr_destroyAllAnimationStates(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_scmgr_clearSpecialCaseRenderQueues(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_scmgr_setSpecialCaseRenderQueueMode(struct hg3dclass_struct * thisclass_c, enum EnumSceneManagerSpecialCaseRenderQueueMode mode_c);
-
-// 
-void ogre_scmgr_getSpecialCaseRenderQueueMode(struct hg3dclass_struct * thisclass_c, enum EnumSceneManagerSpecialCaseRenderQueueMode * result_c);
-
-// 
-void ogre_scmgr_showBoundingBoxes(struct hg3dclass_struct * thisclass_c, long bShow_c);
-
-// 
-void ogre_scmgr_getShowBoundingBoxes(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_scmgr_setShowDebugShadows(struct hg3dclass_struct * thisclass_c, long debug_c);
-
-// 
-void ogre_scmgr_getShowDebugShadows(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_scmgr_setShadowColour(struct hg3dclass_struct * thisclass_c, struct colourvalue_struct * colour_c);
-
-// 
-void ogre_scmgr_getShadowColour(struct hg3dclass_struct * thisclass_c, struct colourvalue_struct * result_c);
-
-// 
-void ogre_scmgr_setShadowDirectionalLightExtrusionDistance(struct hg3dclass_struct * thisclass_c, float dist_c);
-
-// 
-void ogre_scmgr_getShadowDirectionalLightExtrusionDistance(struct hg3dclass_struct * thisclass_c, float * result_c);
-
-// 
-void ogre_scmgr_setShadowFarDistance(struct hg3dclass_struct * thisclass_c, float distance_c);
-
-// 
-void ogre_scmgr_getShadowFarDistance(struct hg3dclass_struct * thisclass_c, float * result_c);
-
-// 
-void ogre_scmgr_getShadowFarDistanceSquared(struct hg3dclass_struct * thisclass_c, float * result_c);
-
-// 
-void ogre_scmgr_setShadowIndexBufferSize(struct hg3dclass_struct * thisclass_c, long size_c);
-
-// Get the size of the shadow index buffer. 
-void ogre_scmgr_getShadowIndexBufferSize(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_scmgr_setShadowTextureSize(struct hg3dclass_struct * thisclass_c, unsigned short size_c);
-
-// 
-void ogre_scmgr_setShadowTextureFSAA(struct hg3dclass_struct * thisclass_c, unsigned short fsaa_c);
-
-// 
-void ogre_scmgr_setShadowTextureCount(struct hg3dclass_struct * thisclass_c, long count_c);
-
-// Get the number of the textures allocated for texture based shadows. 
-void ogre_scmgr_getShadowTextureCount(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_scmgr_setShadowTextureCountPerLightType(struct hg3dclass_struct * thisclass_c, enum EnumLightType type_c, long count_c);
-
-// Get the number of shadow textures is assigned for the given light type. 
-void ogre_scmgr_getShadowTextureCountPerLightType(struct hg3dclass_struct * thisclass_c, enum EnumLightType type_c, long * result_c);
-
-// 
-void ogre_scmgr_getShadowTexture(struct hg3dclass_struct * thisclass_c, long shadowIndex_c, struct sharedptr_struct * result_c);
-
-// 
-void ogre_scmgr_setShadowDirLightTextureOffset(struct hg3dclass_struct * thisclass_c, float offset_c);
-
-// 
-void ogre_scmgr_getShadowDirLightTextureOffset(struct hg3dclass_struct * thisclass_c, float * result_c);
-
-// 
-void ogre_scmgr_setShadowTextureFadeStart(struct hg3dclass_struct * thisclass_c, float fadeStart_c);
-
-// 
-void ogre_scmgr_setShadowTextureFadeEnd(struct hg3dclass_struct * thisclass_c, float fadeEnd_c);
-
-// 
-void ogre_scmgr_setShadowTextureSelfShadow(struct hg3dclass_struct * thisclass_c, long selfShadow_c);
-
-// Gets whether or not texture shadows attempt to self-shadow. 
-void ogre_scmgr_getShadowTextureSelfShadow(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_scmgr_setShadowTextureCasterMaterial(struct hg3dclass_struct * thisclass_c, char * name_c);
-
-// 
-void ogre_scmgr_setShadowTextureReceiverMaterial(struct hg3dclass_struct * thisclass_c, char * name_c);
-
-// 
-void ogre_scmgr_setShadowCasterRenderBackFaces(struct hg3dclass_struct * thisclass_c, long bf_c);
-
-// 
-void ogre_scmgr_getShadowCasterRenderBackFaces(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_scmgr_setShadowUseInfiniteFarPlane(struct hg3dclass_struct * thisclass_c, long enable_c);
-
-// 
-void ogre_scmgr_isShadowTechniqueStencilBased(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_scmgr_isShadowTechniqueTextureBased(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_scmgr_isShadowTechniqueModulative(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_scmgr_isShadowTechniqueAdditive(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_scmgr_isShadowTechniqueIntegrated(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_scmgr_isShadowTechniqueInUse(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_scmgr_setShadowUseLightClipPlanes(struct hg3dclass_struct * thisclass_c, long enabled_c);
-
-// 
-void ogre_scmgr_getShadowUseLightClipPlanes(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_scmgr_setLateMaterialResolving(struct hg3dclass_struct * thisclass_c, long isLate_c);
-
-// 
-void ogre_scmgr_isLateMaterialResolving(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_scmgr_hasStaticGeometry(struct hg3dclass_struct * thisclass_c, char * name_c, long * result_c);
-
-// 
-void ogre_scmgr_destroyStaticGeometry2(struct hg3dclass_struct * thisclass_c, char * name_c);
-
-// 
-void ogre_scmgr_destroyAllStaticGeometry(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_scmgr_destroyInstancedGeometry2(struct hg3dclass_struct * thisclass_c, char * name_c);
-
-// 
-void ogre_scmgr_destroyAllInstancedGeometry(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_scmgr_hasInstanceManager(struct hg3dclass_struct * thisclass_c, char * managerName_c, long * result_c);
-
-// 
-void ogre_scmgr_destroyInstanceManager(struct hg3dclass_struct * thisclass_c, char * name_c);
-
-// 
-void ogre_scmgr_destroyAllInstanceManagers(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_scmgr_destroyMovableObject(struct hg3dclass_struct * thisclass_c, char * name_c, char * typeName_c);
-
-// 
-void ogre_scmgr_destroyMovableObject2(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * m_c);
-
-// 
-void ogre_scmgr_destroyAllMovableObjectsByType(struct hg3dclass_struct * thisclass_c, char * typeName_c);
-
-// 
-void ogre_scmgr_destroyAllMovableObjects(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_scmgr_getMovableObject(struct hg3dclass_struct * thisclass_c, char * name_c, char * typeName_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_scmgr_hasMovableObject(struct hg3dclass_struct * thisclass_c, char * name_c, char * typeName_c, long * result_c);
-
-// 
-void ogre_scmgr_injectMovableObject(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * m_c);
-
-// 
-void ogre_scmgr_extractMovableObject(struct hg3dclass_struct * thisclass_c, char * name_c, char * typeName_c);
-
-// 
-void ogre_scmgr_extractMovableObject2(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * m_c);
-
-// 
-void ogre_scmgr_extractAllMovableObjectsByType(struct hg3dclass_struct * thisclass_c, char * typeName_c);
-
-// 
-void ogre_scmgr_setVisibilityMask(struct hg3dclass_struct * thisclass_c, unsigned long vmask_c);
-
-// 
-void ogre_scmgr_getVisibilityMask(struct hg3dclass_struct * thisclass_c, unsigned long * result_c);
-
-// 
-void ogre_scmgr_setFindVisibleObjects(struct hg3dclass_struct * thisclass_c, long find_c);
-
-// 
-void ogre_scmgr_getFindVisibleObjects(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_scmgr_setNormaliseNormalsOnScale(struct hg3dclass_struct * thisclass_c, long n_c);
-
-// 
-void ogre_scmgr_getNormaliseNormalsOnScale(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_scmgr_setFlipCullingOnNegativeScale(struct hg3dclass_struct * thisclass_c, long n_c);
-
-// 
-void ogre_scmgr_getFlipCullingOnNegativeScale(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_scmgr_getDestinationRenderSystem(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_scmgr_getCurrentViewport(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_scmgr_setCameraRelativeRendering(struct hg3dclass_struct * thisclass_c, long rel_c);
-
-// 
-void ogre_scmgr_getCameraRelativeRendering(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-#endif 
+// 
+// (c) 2011-2014 Peter Althainz
+// 
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// 
+//     http://www.apache.org/licenses/LICENSE-2.0
+// 
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// 
+
+// ClassSceneManager.h
+
+// 
+
+#include "wchar.h"
+#ifndef _DEFINED_HG3D_ClassSceneManager
+#define _DEFINED_HG3D_ClassSceneManager
+
+#include "ClassPtr.h"
+#include "ClassCamera.h"
+#include "ClassLight.h"
+#include "ClassSceneNode.h"
+#include "ClassEntity.h"
+#include "StructSharedPtr.h"
+#include "EnumSceneManagerPrefabType.h"
+#include "ClassManualObject.h"
+#include "ClassBillboardChain.h"
+#include "StructColour.h"
+#include "StructQuaternion.h"
+#include "ClassBillboardSet.h"
+#include "ClassAnimation.h"
+#include "ClassAnimationState.h"
+#include "EnumSceneManagerSpecialCaseRenderQueueMode.h"
+#include "EnumLightType.h"
+#include "ClassMovableObject.h"
+#include "ClassRenderSystem.h"
+#include "ClassViewport.h"
+
+
+// 
+void ogre_scmgr_destruct(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_scmgr_getName(struct hg3dclass_struct * thisclass_c, char * result_c);
+
+// 
+void ogre_scmgr_getTypeName(struct hg3dclass_struct * thisclass_c, char * result_c);
+
+// 
+void ogre_scmgr_createCamera(struct hg3dclass_struct * thisclass_c, char * name_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_scmgr_getCamera(struct hg3dclass_struct * thisclass_c, char * name_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_scmgr_hasCamera(struct hg3dclass_struct * thisclass_c, char * name_c, long * result_c);
+
+// 
+void ogre_scmgr_destroyCamera(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * cam_c);
+
+// 
+void ogre_scmgr_destroyCamera2(struct hg3dclass_struct * thisclass_c, char * name_c);
+
+// 
+void ogre_scmgr_destroyAllCameras(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_scmgr_createLight(struct hg3dclass_struct * thisclass_c, char * name_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_scmgr_createLight2(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_scmgr_getLight(struct hg3dclass_struct * thisclass_c, char * name_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_scmgr_hasLight(struct hg3dclass_struct * thisclass_c, char * name_c, long * result_c);
+
+// 
+void ogre_scmgr_destroyLight(struct hg3dclass_struct * thisclass_c, char * name_c);
+
+// 
+void ogre_scmgr_destroyLight2(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * light_c);
+
+// 
+void ogre_scmgr_destroyAllLights(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_scmgr_createSceneNode(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_scmgr_createSceneNode2(struct hg3dclass_struct * thisclass_c, char * name_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_scmgr_destroySceneNode(struct hg3dclass_struct * thisclass_c, char * name_c);
+
+// 
+void ogre_scmgr_destroySceneNode2(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * sn_c);
+
+// 
+void ogre_scmgr_getRootSceneNode(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_scmgr_getSceneNode(struct hg3dclass_struct * thisclass_c, char * name_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_scmgr_hasSceneNode(struct hg3dclass_struct * thisclass_c, char * name_c, long * result_c);
+
+// 
+void ogre_scmgr_createEntity(struct hg3dclass_struct * thisclass_c, char * entityName_c, char * meshName_c, char * groupName_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_scmgr_createEntity2(struct hg3dclass_struct * thisclass_c, char * entityName_c, struct sharedptr_struct * pMesh_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_scmgr_createEntity3(struct hg3dclass_struct * thisclass_c, char * meshName_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_scmgr_createEntity4(struct hg3dclass_struct * thisclass_c, struct sharedptr_struct * pMesh_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_scmgr_createEntity5(struct hg3dclass_struct * thisclass_c, char * entityName_c, enum EnumSceneManagerPrefabType ptype_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_scmgr_createEntity6(struct hg3dclass_struct * thisclass_c, enum EnumSceneManagerPrefabType ptype_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_scmgr_getEntity(struct hg3dclass_struct * thisclass_c, char * name_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_scmgr_hasEntity(struct hg3dclass_struct * thisclass_c, char * name_c, long * result_c);
+
+// 
+void ogre_scmgr_destroyEntity(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * ent_c);
+
+// 
+void ogre_scmgr_destroyEntity2(struct hg3dclass_struct * thisclass_c, char * name_c);
+
+// 
+void ogre_scmgr_destroyAllEntities(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_scmgr_createManualObject(struct hg3dclass_struct * thisclass_c, char * name_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_scmgr_createManualObject2(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_scmgr_getManualObject(struct hg3dclass_struct * thisclass_c, char * name_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_scmgr_hasManualObject(struct hg3dclass_struct * thisclass_c, char * name_c, long * result_c);
+
+// 
+void ogre_scmgr_destroyManualObject(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * obj_c);
+
+// 
+void ogre_scmgr_destroyManualObject2(struct hg3dclass_struct * thisclass_c, char * name_c);
+
+// 
+void ogre_scmgr_destroyAllManualObjects(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_scmgr_createBillboardChain(struct hg3dclass_struct * thisclass_c, char * name_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_scmgr_createBillboardChain2(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_scmgr_getBillboardChain(struct hg3dclass_struct * thisclass_c, char * name_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_scmgr_hasBillboardChain(struct hg3dclass_struct * thisclass_c, char * name_c, long * result_c);
+
+// 
+void ogre_scmgr_destroyBillboardChain(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * obj_c);
+
+// 
+void ogre_scmgr_destroyBillboardChain2(struct hg3dclass_struct * thisclass_c, char * name_c);
+
+// 
+void ogre_scmgr_destroyAllBillboardChains(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_scmgr_hasRibbonTrail(struct hg3dclass_struct * thisclass_c, char * name_c, long * result_c);
+
+// 
+void ogre_scmgr_destroyRibbonTrail2(struct hg3dclass_struct * thisclass_c, char * name_c);
+
+// 
+void ogre_scmgr_destroyAllRibbonTrails(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_scmgr_hasParticleSystem(struct hg3dclass_struct * thisclass_c, char * name_c, long * result_c);
+
+// 
+void ogre_scmgr_destroyParticleSystem2(struct hg3dclass_struct * thisclass_c, char * name_c);
+
+// 
+void ogre_scmgr_destroyAllParticleSystems(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_scmgr_clearScene(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_scmgr_setAmbientLight(struct hg3dclass_struct * thisclass_c, struct colourvalue_struct * colour_c);
+
+// 
+void ogre_scmgr_getAmbientLight(struct hg3dclass_struct * thisclass_c, struct colourvalue_struct * result_c);
+
+// 
+void ogre_scmgr_prepareWorldGeometry(struct hg3dclass_struct * thisclass_c, char * filename_c);
+
+// 
+void ogre_scmgr_setWorldGeometry(struct hg3dclass_struct * thisclass_c, char * filename_c);
+
+// 
+void ogre_scmgr_estimateWorldGeometry(struct hg3dclass_struct * thisclass_c, char * filename_c, long * result_c);
+
+// 
+void ogre_scmgr_hasOption(struct hg3dclass_struct * thisclass_c, char * strKey_c, long * result_c);
+
+// 
+void ogre_scmgr_setSkyPlaneEnabled(struct hg3dclass_struct * thisclass_c, long enable_c);
+
+// 
+void ogre_scmgr_isSkyPlaneEnabled(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_scmgr_getSkyPlaneNode(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_scmgr_setSkyBox(struct hg3dclass_struct * thisclass_c, long enable_c, char * materialName_c, float distance_c, long drawFirst_c, struct quaternion_struct * orientation_c, char * groupName_c);
+
+// 
+void ogre_scmgr_setSkyBoxEnabled(struct hg3dclass_struct * thisclass_c, long enable_c);
+
+// 
+void ogre_scmgr_isSkyBoxEnabled(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_scmgr_getSkyBoxNode(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_scmgr_setSkyDome(struct hg3dclass_struct * thisclass_c, long enable_c, char * materialName_c, float curvature_c, float tiling_c, float distance_c, long drawFirst_c, struct quaternion_struct * orientation_c, long xsegments_c, long ysegments_c, long ysegments_keep_c, char * groupName_c);
+
+// 
+void ogre_scmgr_setSkyDomeEnabled(struct hg3dclass_struct * thisclass_c, long enable_c);
+
+// 
+void ogre_scmgr_isSkyDomeEnabled(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_scmgr_getSkyDomeNode(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_scmgr_getFogColour(struct hg3dclass_struct * thisclass_c, struct colourvalue_struct * result_c);
+
+// 
+void ogre_scmgr_getFogStart(struct hg3dclass_struct * thisclass_c, float * result_c);
+
+// 
+void ogre_scmgr_getFogEnd(struct hg3dclass_struct * thisclass_c, float * result_c);
+
+// 
+void ogre_scmgr_getFogDensity(struct hg3dclass_struct * thisclass_c, float * result_c);
+
+// 
+void ogre_scmgr_createBillboardSet(struct hg3dclass_struct * thisclass_c, char * name_c, unsigned long poolSize_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_scmgr_createBillboardSet2(struct hg3dclass_struct * thisclass_c, unsigned long poolSize_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_scmgr_getBillboardSet(struct hg3dclass_struct * thisclass_c, char * name_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_scmgr_hasBillboardSet(struct hg3dclass_struct * thisclass_c, char * name_c, long * result_c);
+
+// 
+void ogre_scmgr_destroyBillboardSet(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * set_c);
+
+// 
+void ogre_scmgr_destroyBillboardSet2(struct hg3dclass_struct * thisclass_c, char * name_c);
+
+// 
+void ogre_scmgr_destroyAllBillboardSets(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_scmgr_setDisplaySceneNodes(struct hg3dclass_struct * thisclass_c, long display_c);
+
+// 
+void ogre_scmgr_getDisplaySceneNodes(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_scmgr_createAnimation(struct hg3dclass_struct * thisclass_c, char * name_c, float length_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_scmgr_getAnimation(struct hg3dclass_struct * thisclass_c, char * name_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_scmgr_hasAnimation(struct hg3dclass_struct * thisclass_c, char * name_c, long * result_c);
+
+// 
+void ogre_scmgr_destroyAnimation(struct hg3dclass_struct * thisclass_c, char * name_c);
+
+// 
+void ogre_scmgr_destroyAllAnimations(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_scmgr_createAnimationState(struct hg3dclass_struct * thisclass_c, char * animName_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_scmgr_getAnimationState(struct hg3dclass_struct * thisclass_c, char * animName_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_scmgr_hasAnimationState(struct hg3dclass_struct * thisclass_c, char * name_c, long * result_c);
+
+// 
+void ogre_scmgr_destroyAnimationState(struct hg3dclass_struct * thisclass_c, char * name_c);
+
+// 
+void ogre_scmgr_destroyAllAnimationStates(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_scmgr_clearSpecialCaseRenderQueues(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_scmgr_setSpecialCaseRenderQueueMode(struct hg3dclass_struct * thisclass_c, enum EnumSceneManagerSpecialCaseRenderQueueMode mode_c);
+
+// 
+void ogre_scmgr_getSpecialCaseRenderQueueMode(struct hg3dclass_struct * thisclass_c, enum EnumSceneManagerSpecialCaseRenderQueueMode * result_c);
+
+// 
+void ogre_scmgr_showBoundingBoxes(struct hg3dclass_struct * thisclass_c, long bShow_c);
+
+// 
+void ogre_scmgr_getShowBoundingBoxes(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_scmgr_setShowDebugShadows(struct hg3dclass_struct * thisclass_c, long debug_c);
+
+// 
+void ogre_scmgr_getShowDebugShadows(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_scmgr_setShadowColour(struct hg3dclass_struct * thisclass_c, struct colourvalue_struct * colour_c);
+
+// 
+void ogre_scmgr_getShadowColour(struct hg3dclass_struct * thisclass_c, struct colourvalue_struct * result_c);
+
+// 
+void ogre_scmgr_setShadowDirectionalLightExtrusionDistance(struct hg3dclass_struct * thisclass_c, float dist_c);
+
+// 
+void ogre_scmgr_getShadowDirectionalLightExtrusionDistance(struct hg3dclass_struct * thisclass_c, float * result_c);
+
+// 
+void ogre_scmgr_setShadowFarDistance(struct hg3dclass_struct * thisclass_c, float distance_c);
+
+// 
+void ogre_scmgr_getShadowFarDistance(struct hg3dclass_struct * thisclass_c, float * result_c);
+
+// 
+void ogre_scmgr_getShadowFarDistanceSquared(struct hg3dclass_struct * thisclass_c, float * result_c);
+
+// 
+void ogre_scmgr_setShadowIndexBufferSize(struct hg3dclass_struct * thisclass_c, long size_c);
+
+// Get the size of the shadow index buffer. 
+void ogre_scmgr_getShadowIndexBufferSize(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_scmgr_setShadowTextureSize(struct hg3dclass_struct * thisclass_c, unsigned short size_c);
+
+// 
+void ogre_scmgr_setShadowTextureFSAA(struct hg3dclass_struct * thisclass_c, unsigned short fsaa_c);
+
+// 
+void ogre_scmgr_setShadowTextureCount(struct hg3dclass_struct * thisclass_c, long count_c);
+
+// Get the number of the textures allocated for texture based shadows. 
+void ogre_scmgr_getShadowTextureCount(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_scmgr_setShadowTextureCountPerLightType(struct hg3dclass_struct * thisclass_c, enum EnumLightType type_c, long count_c);
+
+// Get the number of shadow textures is assigned for the given light type. 
+void ogre_scmgr_getShadowTextureCountPerLightType(struct hg3dclass_struct * thisclass_c, enum EnumLightType type_c, long * result_c);
+
+// 
+void ogre_scmgr_getShadowTexture(struct hg3dclass_struct * thisclass_c, long shadowIndex_c, struct sharedptr_struct * result_c);
+
+// 
+void ogre_scmgr_setShadowDirLightTextureOffset(struct hg3dclass_struct * thisclass_c, float offset_c);
+
+// 
+void ogre_scmgr_getShadowDirLightTextureOffset(struct hg3dclass_struct * thisclass_c, float * result_c);
+
+// 
+void ogre_scmgr_setShadowTextureFadeStart(struct hg3dclass_struct * thisclass_c, float fadeStart_c);
+
+// 
+void ogre_scmgr_setShadowTextureFadeEnd(struct hg3dclass_struct * thisclass_c, float fadeEnd_c);
+
+// 
+void ogre_scmgr_setShadowTextureSelfShadow(struct hg3dclass_struct * thisclass_c, long selfShadow_c);
+
+// Gets whether or not texture shadows attempt to self-shadow. 
+void ogre_scmgr_getShadowTextureSelfShadow(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_scmgr_setShadowTextureCasterMaterial(struct hg3dclass_struct * thisclass_c, char * name_c);
+
+// 
+void ogre_scmgr_setShadowTextureReceiverMaterial(struct hg3dclass_struct * thisclass_c, char * name_c);
+
+// 
+void ogre_scmgr_setShadowCasterRenderBackFaces(struct hg3dclass_struct * thisclass_c, long bf_c);
+
+// 
+void ogre_scmgr_getShadowCasterRenderBackFaces(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_scmgr_setShadowUseInfiniteFarPlane(struct hg3dclass_struct * thisclass_c, long enable_c);
+
+// 
+void ogre_scmgr_isShadowTechniqueStencilBased(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_scmgr_isShadowTechniqueTextureBased(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_scmgr_isShadowTechniqueModulative(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_scmgr_isShadowTechniqueAdditive(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_scmgr_isShadowTechniqueIntegrated(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_scmgr_isShadowTechniqueInUse(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_scmgr_setShadowUseLightClipPlanes(struct hg3dclass_struct * thisclass_c, long enabled_c);
+
+// 
+void ogre_scmgr_getShadowUseLightClipPlanes(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_scmgr_setLateMaterialResolving(struct hg3dclass_struct * thisclass_c, long isLate_c);
+
+// 
+void ogre_scmgr_isLateMaterialResolving(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_scmgr_hasStaticGeometry(struct hg3dclass_struct * thisclass_c, char * name_c, long * result_c);
+
+// 
+void ogre_scmgr_destroyStaticGeometry2(struct hg3dclass_struct * thisclass_c, char * name_c);
+
+// 
+void ogre_scmgr_destroyAllStaticGeometry(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_scmgr_destroyInstancedGeometry2(struct hg3dclass_struct * thisclass_c, char * name_c);
+
+// 
+void ogre_scmgr_destroyAllInstancedGeometry(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_scmgr_hasInstanceManager(struct hg3dclass_struct * thisclass_c, char * managerName_c, long * result_c);
+
+// 
+void ogre_scmgr_destroyInstanceManager(struct hg3dclass_struct * thisclass_c, char * name_c);
+
+// 
+void ogre_scmgr_destroyAllInstanceManagers(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_scmgr_destroyMovableObject(struct hg3dclass_struct * thisclass_c, char * name_c, char * typeName_c);
+
+// 
+void ogre_scmgr_destroyMovableObject2(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * m_c);
+
+// 
+void ogre_scmgr_destroyAllMovableObjectsByType(struct hg3dclass_struct * thisclass_c, char * typeName_c);
+
+// 
+void ogre_scmgr_destroyAllMovableObjects(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_scmgr_getMovableObject(struct hg3dclass_struct * thisclass_c, char * name_c, char * typeName_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_scmgr_hasMovableObject(struct hg3dclass_struct * thisclass_c, char * name_c, char * typeName_c, long * result_c);
+
+// 
+void ogre_scmgr_injectMovableObject(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * m_c);
+
+// 
+void ogre_scmgr_extractMovableObject(struct hg3dclass_struct * thisclass_c, char * name_c, char * typeName_c);
+
+// 
+void ogre_scmgr_extractMovableObject2(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * m_c);
+
+// 
+void ogre_scmgr_extractAllMovableObjectsByType(struct hg3dclass_struct * thisclass_c, char * typeName_c);
+
+// 
+void ogre_scmgr_setVisibilityMask(struct hg3dclass_struct * thisclass_c, unsigned long vmask_c);
+
+// 
+void ogre_scmgr_getVisibilityMask(struct hg3dclass_struct * thisclass_c, unsigned long * result_c);
+
+// 
+void ogre_scmgr_setFindVisibleObjects(struct hg3dclass_struct * thisclass_c, long find_c);
+
+// 
+void ogre_scmgr_getFindVisibleObjects(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_scmgr_setNormaliseNormalsOnScale(struct hg3dclass_struct * thisclass_c, long n_c);
+
+// 
+void ogre_scmgr_getNormaliseNormalsOnScale(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_scmgr_setFlipCullingOnNegativeScale(struct hg3dclass_struct * thisclass_c, long n_c);
+
+// 
+void ogre_scmgr_getFlipCullingOnNegativeScale(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_scmgr_getDestinationRenderSystem(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_scmgr_getCurrentViewport(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_scmgr_setCameraRelativeRendering(struct hg3dclass_struct * thisclass_c, long rel_c);
+
+// 
+void ogre_scmgr_getCameraRelativeRendering(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+#endif 
diff --git a/include/ClassSceneManagerFactory.h b/include/ClassSceneManagerFactory.h
--- a/include/ClassSceneManagerFactory.h
+++ b/include/ClassSceneManagerFactory.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,27 +14,27 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // ClassSceneManagerFactory.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_ClassSceneManagerFactory
-#define _DEFINED_HG3D_ClassSceneManagerFactory
-
-#include "ClassPtr.h"
-#include "ClassSceneManager.h"
+#ifndef _DEFINED_HG3D_ClassSceneManagerFactory
+#define _DEFINED_HG3D_ClassSceneManagerFactory
 
+#include "ClassPtr.h"
+#include "ClassSceneManager.h"
 
-// 
-void ogre_smf_destruct(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_smf_createInstance(struct hg3dclass_struct * thisclass_c, char * instanceName_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_smf_destroyInstance(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * instance_c);
-
-#endif 
+
+// 
+void ogre_smf_destruct(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_smf_createInstance(struct hg3dclass_struct * thisclass_c, char * instanceName_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_smf_destroyInstance(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * instance_c);
+
+#endif 
diff --git a/include/ClassSceneNode.h b/include/ClassSceneNode.h
--- a/include/ClassSceneNode.h
+++ b/include/ClassSceneNode.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,102 +14,102 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // ClassSceneNode.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_ClassSceneNode
-#define _DEFINED_HG3D_ClassSceneNode
-
-#include "ClassPtr.h"
-#include "ClassMovableObject.h"
-#include "ClassSceneManager.h"
-#include "StructVec3.h"
-#include "StructQuaternion.h"
+#ifndef _DEFINED_HG3D_ClassSceneNode
+#define _DEFINED_HG3D_ClassSceneNode
 
+#include "ClassPtr.h"
+#include "ClassMovableObject.h"
+#include "ClassSceneManager.h"
+#include "StructVec3.h"
+#include "StructQuaternion.h"
 
-// 
-void ogre_sn_destruct(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_sn_attachObject(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * obj_c);
-
-// 
-void ogre_sn_numAttachedObjects(struct hg3dclass_struct * thisclass_c, unsigned short * result_c);
-
-// 
-void ogre_sn_getAttachedObject(struct hg3dclass_struct * thisclass_c, unsigned short index_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_sn_getAttachedObject2(struct hg3dclass_struct * thisclass_c, char * name_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_sn_detachObject(struct hg3dclass_struct * thisclass_c, unsigned short index_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_sn_detachObject2(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * obj_c);
-
-// 
-void ogre_sn_detachObject3(struct hg3dclass_struct * thisclass_c, char * name_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_sn_detachAllObjects(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_sn_isInSceneGraph(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_sn_getCreator(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_sn_removeAndDestroyChild(struct hg3dclass_struct * thisclass_c, char * name_c);
-
-// 
-void ogre_sn_removeAndDestroyChild2(struct hg3dclass_struct * thisclass_c, unsigned short index_c);
-
-// 
-void ogre_sn_removeAndDestroyAllChildren(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_sn_showBoundingBox(struct hg3dclass_struct * thisclass_c, long bShow_c);
-
-// 
-void ogre_sn_hideBoundingBox(struct hg3dclass_struct * thisclass_c, long bHide_c);
-
-// 
-void ogre_sn_getShowBoundingBox(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_sn_createChildSceneNode(struct hg3dclass_struct * thisclass_c, struct vector3_struct * translate_c, struct quaternion_struct * rotate_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_sn_createChildSceneNode2(struct hg3dclass_struct * thisclass_c, char * name_c, struct vector3_struct * translate_c, struct quaternion_struct * rotate_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_sn_setFixedYawAxis(struct hg3dclass_struct * thisclass_c, long useFixed_c, struct vector3_struct * fixedAxis_c);
-
-// 
-void ogre_sn_getAutoTrackTarget(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_sn_getAutoTrackOffset(struct hg3dclass_struct * thisclass_c, struct vector3_struct * result_c);
-
-// 
-void ogre_sn_getAutoTrackLocalDirection(struct hg3dclass_struct * thisclass_c, struct vector3_struct * result_c);
-
-// 
-void ogre_sn_getParentSceneNode(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_sn_setVisible(struct hg3dclass_struct * thisclass_c, long visible_c, long cascade_c);
-
-// 
-void ogre_sn_flipVisibility(struct hg3dclass_struct * thisclass_c, long cascade_c);
-
-// 
-void ogre_sn_setDebugDisplayEnabled(struct hg3dclass_struct * thisclass_c, long enabled_c, long cascade_c);
-
-#endif 
+
+// 
+void ogre_sn_destruct(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_sn_attachObject(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * obj_c);
+
+// 
+void ogre_sn_numAttachedObjects(struct hg3dclass_struct * thisclass_c, unsigned short * result_c);
+
+// 
+void ogre_sn_getAttachedObject(struct hg3dclass_struct * thisclass_c, unsigned short index_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_sn_getAttachedObject2(struct hg3dclass_struct * thisclass_c, char * name_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_sn_detachObject(struct hg3dclass_struct * thisclass_c, unsigned short index_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_sn_detachObject2(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * obj_c);
+
+// 
+void ogre_sn_detachObject3(struct hg3dclass_struct * thisclass_c, char * name_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_sn_detachAllObjects(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_sn_isInSceneGraph(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_sn_getCreator(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_sn_removeAndDestroyChild(struct hg3dclass_struct * thisclass_c, char * name_c);
+
+// 
+void ogre_sn_removeAndDestroyChild2(struct hg3dclass_struct * thisclass_c, unsigned short index_c);
+
+// 
+void ogre_sn_removeAndDestroyAllChildren(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_sn_showBoundingBox(struct hg3dclass_struct * thisclass_c, long bShow_c);
+
+// 
+void ogre_sn_hideBoundingBox(struct hg3dclass_struct * thisclass_c, long bHide_c);
+
+// 
+void ogre_sn_getShowBoundingBox(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_sn_createChildSceneNode(struct hg3dclass_struct * thisclass_c, struct vector3_struct * translate_c, struct quaternion_struct * rotate_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_sn_createChildSceneNode2(struct hg3dclass_struct * thisclass_c, char * name_c, struct vector3_struct * translate_c, struct quaternion_struct * rotate_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_sn_setFixedYawAxis(struct hg3dclass_struct * thisclass_c, long useFixed_c, struct vector3_struct * fixedAxis_c);
+
+// 
+void ogre_sn_getAutoTrackTarget(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_sn_getAutoTrackOffset(struct hg3dclass_struct * thisclass_c, struct vector3_struct * result_c);
+
+// 
+void ogre_sn_getAutoTrackLocalDirection(struct hg3dclass_struct * thisclass_c, struct vector3_struct * result_c);
+
+// 
+void ogre_sn_getParentSceneNode(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_sn_setVisible(struct hg3dclass_struct * thisclass_c, long visible_c, long cascade_c);
+
+// 
+void ogre_sn_flipVisibility(struct hg3dclass_struct * thisclass_c, long cascade_c);
+
+// 
+void ogre_sn_setDebugDisplayEnabled(struct hg3dclass_struct * thisclass_c, long enabled_c, long cascade_c);
+
+#endif 
diff --git a/include/ClassSkeleton.h b/include/ClassSkeleton.h
--- a/include/ClassSkeleton.h
+++ b/include/ClassSkeleton.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,99 +14,99 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // ClassSkeleton.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_ClassSkeleton
-#define _DEFINED_HG3D_ClassSkeleton
-
-#include "ClassPtr.h"
-#include "ClassBone.h"
-#include "ClassAnimation.h"
-#include "ClassAnimationStateSet.h"
-#include "EnumSkeletonAnimationBlendMode.h"
+#ifndef _DEFINED_HG3D_ClassSkeleton
+#define _DEFINED_HG3D_ClassSkeleton
 
+#include "ClassPtr.h"
+#include "ClassBone.h"
+#include "ClassAnimation.h"
+#include "ClassAnimationStateSet.h"
+#include "EnumSkeletonAnimationBlendMode.h"
 
-// 
-void ogre_skl_destruct(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_skl_createBone(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_skl_createBone2(struct hg3dclass_struct * thisclass_c, unsigned short handle_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_skl_createBone3(struct hg3dclass_struct * thisclass_c, char * name_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_skl_createBone4(struct hg3dclass_struct * thisclass_c, char * name_c, unsigned short handle_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_skl_getNumBones(struct hg3dclass_struct * thisclass_c, unsigned short * result_c);
-
-// 
-void ogre_skl_getRootBone(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_skl_getBone(struct hg3dclass_struct * thisclass_c, unsigned short handle_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_skl_getBone2(struct hg3dclass_struct * thisclass_c, char * name_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_skl_hasBone(struct hg3dclass_struct * thisclass_c, char * name_c, long * result_c);
-
-// 
-void ogre_skl_setBindingPose(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_skl_reset(struct hg3dclass_struct * thisclass_c, long resetManualBones_c);
-
-// 
-void ogre_skl_createAnimation(struct hg3dclass_struct * thisclass_c, char * name_c, float length_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_skl_getAnimation2(struct hg3dclass_struct * thisclass_c, char * name_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_skl_hasAnimation(struct hg3dclass_struct * thisclass_c, char * name_c, long * result_c);
-
-// 
-void ogre_skl_removeAnimation(struct hg3dclass_struct * thisclass_c, char * name_c);
-
-// 
-void ogre_skl_setAnimationState(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * animSet_c);
-
-// 
-void ogre_skl_getNumAnimations(struct hg3dclass_struct * thisclass_c, unsigned short * result_c);
-
-// 
-void ogre_skl_getAnimation3(struct hg3dclass_struct * thisclass_c, unsigned short index_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_skl_getBlendMode(struct hg3dclass_struct * thisclass_c, enum EnumSkeletonAnimationBlendMode * result_c);
-
-// 
-void ogre_skl_setBlendMode(struct hg3dclass_struct * thisclass_c, enum EnumSkeletonAnimationBlendMode state_c);
-
-// 
-void ogre_skl_optimiseAllAnimations(struct hg3dclass_struct * thisclass_c, long preservingIdentityNodeTracks_c);
-
-// 
-void ogre_skl_addLinkedSkeletonAnimationSource(struct hg3dclass_struct * thisclass_c, char * skelName_c, float scale_c);
-
-// Remove all links to other skeletons for the purposes of sharing animation. 
-void ogre_skl_removeAllLinkedSkeletonAnimationSources(struct hg3dclass_struct * thisclass_c);
-
-// Have manual bones been modified since the skeleton was last updated? 
-void ogre_skl_getManualBonesDirty(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// Are there any manually controlled bones? 
-void ogre_skl_hasManualBones(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-#endif 
+
+// 
+void ogre_skl_destruct(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_skl_createBone(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_skl_createBone2(struct hg3dclass_struct * thisclass_c, unsigned short handle_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_skl_createBone3(struct hg3dclass_struct * thisclass_c, char * name_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_skl_createBone4(struct hg3dclass_struct * thisclass_c, char * name_c, unsigned short handle_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_skl_getNumBones(struct hg3dclass_struct * thisclass_c, unsigned short * result_c);
+
+// 
+void ogre_skl_getRootBone(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_skl_getBone(struct hg3dclass_struct * thisclass_c, unsigned short handle_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_skl_getBone2(struct hg3dclass_struct * thisclass_c, char * name_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_skl_hasBone(struct hg3dclass_struct * thisclass_c, char * name_c, long * result_c);
+
+// 
+void ogre_skl_setBindingPose(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_skl_reset(struct hg3dclass_struct * thisclass_c, long resetManualBones_c);
+
+// 
+void ogre_skl_createAnimation(struct hg3dclass_struct * thisclass_c, char * name_c, float length_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_skl_getAnimation2(struct hg3dclass_struct * thisclass_c, char * name_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_skl_hasAnimation(struct hg3dclass_struct * thisclass_c, char * name_c, long * result_c);
+
+// 
+void ogre_skl_removeAnimation(struct hg3dclass_struct * thisclass_c, char * name_c);
+
+// 
+void ogre_skl_setAnimationState(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * animSet_c);
+
+// 
+void ogre_skl_getNumAnimations(struct hg3dclass_struct * thisclass_c, unsigned short * result_c);
+
+// 
+void ogre_skl_getAnimation3(struct hg3dclass_struct * thisclass_c, unsigned short index_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_skl_getBlendMode(struct hg3dclass_struct * thisclass_c, enum EnumSkeletonAnimationBlendMode * result_c);
+
+// 
+void ogre_skl_setBlendMode(struct hg3dclass_struct * thisclass_c, enum EnumSkeletonAnimationBlendMode state_c);
+
+// 
+void ogre_skl_optimiseAllAnimations(struct hg3dclass_struct * thisclass_c, long preservingIdentityNodeTracks_c);
+
+// 
+void ogre_skl_addLinkedSkeletonAnimationSource(struct hg3dclass_struct * thisclass_c, char * skelName_c, float scale_c);
+
+// Remove all links to other skeletons for the purposes of sharing animation. 
+void ogre_skl_removeAllLinkedSkeletonAnimationSources(struct hg3dclass_struct * thisclass_c);
+
+// Have manual bones been modified since the skeleton was last updated? 
+void ogre_skl_getManualBonesDirty(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// Are there any manually controlled bones? 
+void ogre_skl_hasManualBones(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+#endif 
diff --git a/include/ClassSkeletonManager.h b/include/ClassSkeletonManager.h
--- a/include/ClassSkeletonManager.h
+++ b/include/ClassSkeletonManager.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,29 +14,29 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // ClassSkeletonManager.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_ClassSkeletonManager
-#define _DEFINED_HG3D_ClassSkeletonManager
-
-#include "ClassPtr.h"
+#ifndef _DEFINED_HG3D_ClassSkeletonManager
+#define _DEFINED_HG3D_ClassSkeletonManager
 
+#include "ClassPtr.h"
 
-// Constructor. 
-void ogre_sklmgr_construct(struct hg3dclass_struct * result_c);
-
-// 
-void ogre_sklmgr_destruct(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_sklmgr_getSingleton(struct hg3dclass_struct * result_c);
-
-// 
-void ogre_sklmgr_getSingletonPtr(struct hg3dclass_struct * result_c);
-
-#endif 
+
+// Constructor. 
+void ogre_sklmgr_construct(struct hg3dclass_struct * result_c);
+
+// 
+void ogre_sklmgr_destruct(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_sklmgr_getSingleton(struct hg3dclass_struct * result_c);
+
+// 
+void ogre_sklmgr_getSingletonPtr(struct hg3dclass_struct * result_c);
+
+#endif 
diff --git a/include/ClassTextureManager.h b/include/ClassTextureManager.h
--- a/include/ClassTextureManager.h
+++ b/include/ClassTextureManager.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,32 +14,32 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // ClassTextureManager.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_ClassTextureManager
-#define _DEFINED_HG3D_ClassTextureManager
-
-#include "ClassPtr.h"
+#ifndef _DEFINED_HG3D_ClassTextureManager
+#define _DEFINED_HG3D_ClassTextureManager
 
+#include "ClassPtr.h"
 
-// 
-void ogre_txmgr_destruct(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_txmgr_setDefaultNumMipmaps(struct hg3dclass_struct * thisclass_c, long num_c);
-
-// 
-void ogre_txmgr_getDefaultNumMipmaps(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_txmgr_getSingleton(struct hg3dclass_struct * result_c);
-
-// 
-void ogre_txmgr_getSingletonPtr(struct hg3dclass_struct * result_c);
-
-#endif 
+
+// 
+void ogre_txmgr_destruct(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_txmgr_setDefaultNumMipmaps(struct hg3dclass_struct * thisclass_c, long num_c);
+
+// 
+void ogre_txmgr_getDefaultNumMipmaps(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_txmgr_getSingleton(struct hg3dclass_struct * result_c);
+
+// 
+void ogre_txmgr_getSingletonPtr(struct hg3dclass_struct * result_c);
+
+#endif 
diff --git a/include/ClassTimeIndex.h b/include/ClassTimeIndex.h
--- a/include/ClassTimeIndex.h
+++ b/include/ClassTimeIndex.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,29 +14,29 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // ClassTimeIndex.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_ClassTimeIndex
-#define _DEFINED_HG3D_ClassTimeIndex
-
-#include "ClassPtr.h"
+#ifndef _DEFINED_HG3D_ClassTimeIndex
+#define _DEFINED_HG3D_ClassTimeIndex
 
+#include "ClassPtr.h"
 
-// 
-void ogre_tnx_construct(float timePos_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_tnx_hasKeyIndex(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_tnx_getTimePos(struct hg3dclass_struct * thisclass_c, float * result_c);
-
-// 
-void ogre_tnx_getKeyIndex(struct hg3dclass_struct * thisclass_c, unsigned long * result_c);
-
-#endif 
+
+// 
+void ogre_tnx_construct(float timePos_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_tnx_hasKeyIndex(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_tnx_getTimePos(struct hg3dclass_struct * thisclass_c, float * result_c);
+
+// 
+void ogre_tnx_getKeyIndex(struct hg3dclass_struct * thisclass_c, unsigned long * result_c);
+
+#endif 
diff --git a/include/ClassVertexAnimationTrack.h b/include/ClassVertexAnimationTrack.h
--- a/include/ClassVertexAnimationTrack.h
+++ b/include/ClassVertexAnimationTrack.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,45 +14,45 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // ClassVertexAnimationTrack.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_ClassVertexAnimationTrack
-#define _DEFINED_HG3D_ClassVertexAnimationTrack
-
-#include "ClassPtr.h"
-#include "ClassAnimation.h"
-#include "EnumVertexAnimationType.h"
-#include "ClassTimeIndex.h"
-#include "EnumVertexAnimationTrackTargetMode.h"
+#ifndef _DEFINED_HG3D_ClassVertexAnimationTrack
+#define _DEFINED_HG3D_ClassVertexAnimationTrack
 
+#include "ClassPtr.h"
+#include "ClassAnimation.h"
+#include "EnumVertexAnimationType.h"
+#include "ClassTimeIndex.h"
+#include "EnumVertexAnimationTrackTargetMode.h"
 
-// Constructor. 
-void ogre_vat_construct(struct hg3dclass_struct * parent_c, unsigned short handle_c, enum EnumVertexAnimationType animType_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_vat_getAnimationType(struct hg3dclass_struct * thisclass_c, enum EnumVertexAnimationType * result_c);
-
-// 
-void ogre_vat_getVertexAnimationIncludesNormals(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_vat_apply(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * timeIndex_c, float weight_c, float scale_c);
-
-// Set the target mode. 
-void ogre_vat_setTargetMode(struct hg3dclass_struct * thisclass_c, enum EnumVertexAnimationTrackTargetMode m_c);
-
-// Get the target mode. 
-void ogre_vat_getTargetMode(struct hg3dclass_struct * thisclass_c, enum EnumVertexAnimationTrackTargetMode * result_c);
-
-// 
-void ogre_vat_hasNonZeroKeyFrames(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_vat_optimise(struct hg3dclass_struct * thisclass_c);
-
-#endif 
+
+// Constructor. 
+void ogre_vat_construct(struct hg3dclass_struct * parent_c, unsigned short handle_c, enum EnumVertexAnimationType animType_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_vat_getAnimationType(struct hg3dclass_struct * thisclass_c, enum EnumVertexAnimationType * result_c);
+
+// 
+void ogre_vat_getVertexAnimationIncludesNormals(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_vat_apply(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * timeIndex_c, float weight_c, float scale_c);
+
+// Set the target mode. 
+void ogre_vat_setTargetMode(struct hg3dclass_struct * thisclass_c, enum EnumVertexAnimationTrackTargetMode m_c);
+
+// Get the target mode. 
+void ogre_vat_getTargetMode(struct hg3dclass_struct * thisclass_c, enum EnumVertexAnimationTrackTargetMode * result_c);
+
+// 
+void ogre_vat_hasNonZeroKeyFrames(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_vat_optimise(struct hg3dclass_struct * thisclass_c);
+
+#endif 
diff --git a/include/ClassViewport.h b/include/ClassViewport.h
--- a/include/ClassViewport.h
+++ b/include/ClassViewport.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,157 +14,157 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // ClassViewport.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_ClassViewport
-#define _DEFINED_HG3D_ClassViewport
-
-#include "ClassPtr.h"
-#include "ClassCamera.h"
-#include "ClassRenderTarget.h"
-#include "StructColour.h"
-#include "EnumOrientationMode.h"
-#include "StructVec2.h"
+#ifndef _DEFINED_HG3D_ClassViewport
+#define _DEFINED_HG3D_ClassViewport
 
+#include "ClassPtr.h"
+#include "ClassCamera.h"
+#include "ClassRenderTarget.h"
+#include "StructColour.h"
+#include "EnumOrientationMode.h"
+#include "StructVec2.h"
 
-// 
-void ogre_vprt_construct(struct hg3dclass_struct * camera_c, struct hg3dclass_struct * target_c, float left_c, float top_c, float width_c, float height_c, long ZOrder_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_vprt_destruct(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_vprt_update(struct hg3dclass_struct * thisclass_c);
-
-// 
-void ogre_vprt_clear(struct hg3dclass_struct * thisclass_c, unsigned long buffers_c, struct colourvalue_struct * colour_c, float depth_c, unsigned short stencil_c);
-
-// 
-void ogre_vprt_getTarget(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_vprt_getCamera(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * result_c);
-
-// 
-void ogre_vprt_setCamera(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * cam_c);
-
-// 
-void ogre_vprt_getZOrder(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_vprt_getLeft(struct hg3dclass_struct * thisclass_c, float * result_c);
-
-// 
-void ogre_vprt_getTop(struct hg3dclass_struct * thisclass_c, float * result_c);
-
-// 
-void ogre_vprt_getWidth(struct hg3dclass_struct * thisclass_c, float * result_c);
-
-// 
-void ogre_vprt_getHeight(struct hg3dclass_struct * thisclass_c, float * result_c);
-
-// 
-void ogre_vprt_getActualLeft(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_vprt_getActualTop(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_vprt_getActualWidth(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_vprt_getActualHeight(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_vprt_setDimensions(struct hg3dclass_struct * thisclass_c, float left_c, float top_c, float width_c, float height_c);
-
-// 
-void ogre_vprt_setOrientationMode(struct hg3dclass_struct * thisclass_c, enum EnumOrientationMode orientationMode_c, long setDefault_c);
-
-// 
-void ogre_vprt_getOrientationMode(struct hg3dclass_struct * thisclass_c, enum EnumOrientationMode * result_c);
-
-// 
-void ogre_vprt_setBackgroundColour(struct hg3dclass_struct * thisclass_c, struct colourvalue_struct * colour_c);
-
-// 
-void ogre_vprt_getBackgroundColour(struct hg3dclass_struct * thisclass_c, struct colourvalue_struct * result_c);
-
-// 
-void ogre_vprt_setDepthClear(struct hg3dclass_struct * thisclass_c, float depth_c);
-
-// 
-void ogre_vprt_getDepthClear(struct hg3dclass_struct * thisclass_c, float * result_c);
-
-// 
-void ogre_vprt_setClearEveryFrame(struct hg3dclass_struct * thisclass_c, long clear_c, unsigned long buffers_c);
-
-// 
-void ogre_vprt_getClearEveryFrame(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_vprt_getClearBuffers(struct hg3dclass_struct * thisclass_c, unsigned long * result_c);
-
-// 
-void ogre_vprt_setAutoUpdated(struct hg3dclass_struct * thisclass_c, long autoupdate_c);
-
-// 
-void ogre_vprt_isAutoUpdated(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_vprt_setMaterialScheme(struct hg3dclass_struct * thisclass_c, char * schemeName_c);
-
-// 
-void ogre_vprt_getMaterialScheme(struct hg3dclass_struct * thisclass_c, char * result_c);
-
-// 
-void ogre_vprt_getActualDimensions(struct hg3dclass_struct * thisclass_c, long * left_c, long * top_c, long * width_c, long * height_c);
-
-// 
-void ogre_vprt_setOverlaysEnabled(struct hg3dclass_struct * thisclass_c, long enabled_c);
-
-// 
-void ogre_vprt_getOverlaysEnabled(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_vprt_setSkiesEnabled(struct hg3dclass_struct * thisclass_c, long enabled_c);
-
-// 
-void ogre_vprt_getSkiesEnabled(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_vprt_setShadowsEnabled(struct hg3dclass_struct * thisclass_c, long enabled_c);
-
-// 
-void ogre_vprt_getShadowsEnabled(struct hg3dclass_struct * thisclass_c, long * result_c);
-
-// 
-void ogre_vprt_setVisibilityMask(struct hg3dclass_struct * thisclass_c, unsigned long mask_c);
-
-// 
-void ogre_vprt_getVisibilityMask(struct hg3dclass_struct * thisclass_c, unsigned long * result_c);
-
-// 
-void ogre_vprt_setRenderQueueInvocationSequenceName(struct hg3dclass_struct * thisclass_c, char * sequenceName_c);
-
-// 
-void ogre_vprt_getRenderQueueInvocationSequenceName(struct hg3dclass_struct * thisclass_c, char * result_c);
-
-// 
-void ogre_vprt_pointOrientedToScreen(struct hg3dclass_struct * thisclass_c, struct vector2_struct * v_c, long orientationMode_c, struct vector2_struct * outv_c);
-
-// 
-void ogre_vprt_pointOrientedToScreen2(struct hg3dclass_struct * thisclass_c, float orientedX_c, float orientedY_c, long orientationMode_c, float * screenX_c, float * screenY_c);
-
-// 
-void ogre_vprt_setDefaultOrientationMode(enum EnumOrientationMode orientationMode_c);
-
-// 
-void ogre_vprt_getDefaultOrientationMode(enum EnumOrientationMode * result_c);
-
-#endif 
+
+// 
+void ogre_vprt_construct(struct hg3dclass_struct * camera_c, struct hg3dclass_struct * target_c, float left_c, float top_c, float width_c, float height_c, long ZOrder_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_vprt_destruct(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_vprt_update(struct hg3dclass_struct * thisclass_c);
+
+// 
+void ogre_vprt_clear(struct hg3dclass_struct * thisclass_c, unsigned long buffers_c, struct colourvalue_struct * colour_c, float depth_c, unsigned short stencil_c);
+
+// 
+void ogre_vprt_getTarget(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_vprt_getCamera(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * result_c);
+
+// 
+void ogre_vprt_setCamera(struct hg3dclass_struct * thisclass_c, struct hg3dclass_struct * cam_c);
+
+// 
+void ogre_vprt_getZOrder(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_vprt_getLeft(struct hg3dclass_struct * thisclass_c, float * result_c);
+
+// 
+void ogre_vprt_getTop(struct hg3dclass_struct * thisclass_c, float * result_c);
+
+// 
+void ogre_vprt_getWidth(struct hg3dclass_struct * thisclass_c, float * result_c);
+
+// 
+void ogre_vprt_getHeight(struct hg3dclass_struct * thisclass_c, float * result_c);
+
+// 
+void ogre_vprt_getActualLeft(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_vprt_getActualTop(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_vprt_getActualWidth(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_vprt_getActualHeight(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_vprt_setDimensions(struct hg3dclass_struct * thisclass_c, float left_c, float top_c, float width_c, float height_c);
+
+// 
+void ogre_vprt_setOrientationMode(struct hg3dclass_struct * thisclass_c, enum EnumOrientationMode orientationMode_c, long setDefault_c);
+
+// 
+void ogre_vprt_getOrientationMode(struct hg3dclass_struct * thisclass_c, enum EnumOrientationMode * result_c);
+
+// 
+void ogre_vprt_setBackgroundColour(struct hg3dclass_struct * thisclass_c, struct colourvalue_struct * colour_c);
+
+// 
+void ogre_vprt_getBackgroundColour(struct hg3dclass_struct * thisclass_c, struct colourvalue_struct * result_c);
+
+// 
+void ogre_vprt_setDepthClear(struct hg3dclass_struct * thisclass_c, float depth_c);
+
+// 
+void ogre_vprt_getDepthClear(struct hg3dclass_struct * thisclass_c, float * result_c);
+
+// 
+void ogre_vprt_setClearEveryFrame(struct hg3dclass_struct * thisclass_c, long clear_c, unsigned long buffers_c);
+
+// 
+void ogre_vprt_getClearEveryFrame(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_vprt_getClearBuffers(struct hg3dclass_struct * thisclass_c, unsigned long * result_c);
+
+// 
+void ogre_vprt_setAutoUpdated(struct hg3dclass_struct * thisclass_c, long autoupdate_c);
+
+// 
+void ogre_vprt_isAutoUpdated(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_vprt_setMaterialScheme(struct hg3dclass_struct * thisclass_c, char * schemeName_c);
+
+// 
+void ogre_vprt_getMaterialScheme(struct hg3dclass_struct * thisclass_c, char * result_c);
+
+// 
+void ogre_vprt_getActualDimensions(struct hg3dclass_struct * thisclass_c, long * left_c, long * top_c, long * width_c, long * height_c);
+
+// 
+void ogre_vprt_setOverlaysEnabled(struct hg3dclass_struct * thisclass_c, long enabled_c);
+
+// 
+void ogre_vprt_getOverlaysEnabled(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_vprt_setSkiesEnabled(struct hg3dclass_struct * thisclass_c, long enabled_c);
+
+// 
+void ogre_vprt_getSkiesEnabled(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_vprt_setShadowsEnabled(struct hg3dclass_struct * thisclass_c, long enabled_c);
+
+// 
+void ogre_vprt_getShadowsEnabled(struct hg3dclass_struct * thisclass_c, long * result_c);
+
+// 
+void ogre_vprt_setVisibilityMask(struct hg3dclass_struct * thisclass_c, unsigned long mask_c);
+
+// 
+void ogre_vprt_getVisibilityMask(struct hg3dclass_struct * thisclass_c, unsigned long * result_c);
+
+// 
+void ogre_vprt_setRenderQueueInvocationSequenceName(struct hg3dclass_struct * thisclass_c, char * sequenceName_c);
+
+// 
+void ogre_vprt_getRenderQueueInvocationSequenceName(struct hg3dclass_struct * thisclass_c, char * result_c);
+
+// 
+void ogre_vprt_pointOrientedToScreen(struct hg3dclass_struct * thisclass_c, struct vector2_struct * v_c, long orientationMode_c, struct vector2_struct * outv_c);
+
+// 
+void ogre_vprt_pointOrientedToScreen2(struct hg3dclass_struct * thisclass_c, float orientedX_c, float orientedY_c, long orientationMode_c, float * screenX_c, float * screenY_c);
+
+// 
+void ogre_vprt_setDefaultOrientationMode(enum EnumOrientationMode orientationMode_c);
+
+// 
+void ogre_vprt_getDefaultOrientationMode(enum EnumOrientationMode * result_c);
+
+#endif 
diff --git a/include/ClassWindowEventUtilities.h b/include/ClassWindowEventUtilities.h
--- a/include/ClassWindowEventUtilities.h
+++ b/include/ClassWindowEventUtilities.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,20 +14,20 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // ClassWindowEventUtilities.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_ClassWindowEventUtilities
-#define _DEFINED_HG3D_ClassWindowEventUtilities
-
-#include "ClassPtr.h"
+#ifndef _DEFINED_HG3D_ClassWindowEventUtilities
+#define _DEFINED_HG3D_ClassWindowEventUtilities
 
+#include "ClassPtr.h"
 
-// 
-void ogre_weu_messagePump();
-
-#endif 
+
+// 
+void ogre_weu_messagePump();
+
+#endif 
diff --git a/include/EnumAnimationInterpolationMode.h b/include/EnumAnimationInterpolationMode.h
--- a/include/EnumAnimationInterpolationMode.h
+++ b/include/EnumAnimationInterpolationMode.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,20 +14,20 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // EnumAnimationInterpolationMode.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_EnumAnimationInterpolationMode
-#define _DEFINED_HG3D_EnumAnimationInterpolationMode
+#ifndef _DEFINED_HG3D_EnumAnimationInterpolationMode
+#define _DEFINED_HG3D_EnumAnimationInterpolationMode
 
 
-enum EnumAnimationInterpolationMode
-{
-  IM_LINEAR, // 
-  IM_SPLINE // 
-};
-#endif 
+enum EnumAnimationInterpolationMode
+{
+  IM_LINEAR, // 
+  IM_SPLINE // 
+};
+#endif 
diff --git a/include/EnumAnimationRotationInterpolationMode.h b/include/EnumAnimationRotationInterpolationMode.h
--- a/include/EnumAnimationRotationInterpolationMode.h
+++ b/include/EnumAnimationRotationInterpolationMode.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,20 +14,20 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // EnumAnimationRotationInterpolationMode.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_EnumAnimationRotationInterpolationMode
-#define _DEFINED_HG3D_EnumAnimationRotationInterpolationMode
+#ifndef _DEFINED_HG3D_EnumAnimationRotationInterpolationMode
+#define _DEFINED_HG3D_EnumAnimationRotationInterpolationMode
 
 
-enum EnumAnimationRotationInterpolationMode
-{
-  RIM_LINEAR, // 
-  RIM_SPHERICAL // 
-};
-#endif 
+enum EnumAnimationRotationInterpolationMode
+{
+  RIM_LINEAR, // 
+  RIM_SPHERICAL // 
+};
+#endif 
diff --git a/include/EnumAxisAlignedBoxCorner.h b/include/EnumAxisAlignedBoxCorner.h
--- a/include/EnumAxisAlignedBoxCorner.h
+++ b/include/EnumAxisAlignedBoxCorner.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,26 +14,26 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // EnumAxisAlignedBoxCorner.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_EnumAxisAlignedBoxCorner
-#define _DEFINED_HG3D_EnumAxisAlignedBoxCorner
+#ifndef _DEFINED_HG3D_EnumAxisAlignedBoxCorner
+#define _DEFINED_HG3D_EnumAxisAlignedBoxCorner
 
 
-enum EnumAxisAlignedBoxCorner
-{
-  CE_FAR_LEFT_BOTTOM =  0, // 
-  CE_FAR_LEFT_TOP =  1, // 
-  CE_FAR_RIGHT_TOP =  2, // 
-  CE_FAR_RIGHT_BOTTOM =  3, // 
-  CE_NEAR_RIGHT_BOTTOM =  7, // 
-  CE_NEAR_LEFT_BOTTOM =  6, // 
-  CE_NEAR_LEFT_TOP =  5, // 
-  CE_NEAR_RIGHT_TOP =  4 // 
-};
-#endif 
+enum EnumAxisAlignedBoxCorner
+{
+  CE_FAR_LEFT_BOTTOM =  0, // 
+  CE_FAR_LEFT_TOP =  1, // 
+  CE_FAR_RIGHT_TOP =  2, // 
+  CE_FAR_RIGHT_BOTTOM =  3, // 
+  CE_NEAR_RIGHT_BOTTOM =  7, // 
+  CE_NEAR_LEFT_BOTTOM =  6, // 
+  CE_NEAR_LEFT_TOP =  5, // 
+  CE_NEAR_RIGHT_TOP =  4 // 
+};
+#endif 
diff --git a/include/EnumAxisAlignedBoxExtent.h b/include/EnumAxisAlignedBoxExtent.h
--- a/include/EnumAxisAlignedBoxExtent.h
+++ b/include/EnumAxisAlignedBoxExtent.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,21 +14,21 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // EnumAxisAlignedBoxExtent.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_EnumAxisAlignedBoxExtent
-#define _DEFINED_HG3D_EnumAxisAlignedBoxExtent
+#ifndef _DEFINED_HG3D_EnumAxisAlignedBoxExtent
+#define _DEFINED_HG3D_EnumAxisAlignedBoxExtent
 
 
-enum EnumAxisAlignedBoxExtent
-{
-  EXTENT_NULL, // 
-  EXTENT_FINITE, // 
-  EXTENT_INFINITE // 
-};
-#endif 
+enum EnumAxisAlignedBoxExtent
+{
+  EXTENT_NULL, // 
+  EXTENT_FINITE, // 
+  EXTENT_INFINITE // 
+};
+#endif 
diff --git a/include/EnumBillboardChainTexCoordDirection.h b/include/EnumBillboardChainTexCoordDirection.h
--- a/include/EnumBillboardChainTexCoordDirection.h
+++ b/include/EnumBillboardChainTexCoordDirection.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,20 +14,20 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // EnumBillboardChainTexCoordDirection.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_EnumBillboardChainTexCoordDirection
-#define _DEFINED_HG3D_EnumBillboardChainTexCoordDirection
+#ifndef _DEFINED_HG3D_EnumBillboardChainTexCoordDirection
+#define _DEFINED_HG3D_EnumBillboardChainTexCoordDirection
 
 
-enum EnumBillboardChainTexCoordDirection
-{
-  TCD_U, // Tex coord in elements is treated as the 'u' texture coordinate. 
-  TCD_V // Tex coord in elements is treated as the 'v' texture coordinate. 
-};
-#endif 
+enum EnumBillboardChainTexCoordDirection
+{
+  TCD_U, // Tex coord in elements is treated as the 'u' texture coordinate. 
+  TCD_V // Tex coord in elements is treated as the 'v' texture coordinate. 
+};
+#endif 
diff --git a/include/EnumBillboardOrigin.h b/include/EnumBillboardOrigin.h
--- a/include/EnumBillboardOrigin.h
+++ b/include/EnumBillboardOrigin.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,27 +14,27 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // EnumBillboardOrigin.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_EnumBillboardOrigin
-#define _DEFINED_HG3D_EnumBillboardOrigin
+#ifndef _DEFINED_HG3D_EnumBillboardOrigin
+#define _DEFINED_HG3D_EnumBillboardOrigin
 
 
-enum EnumBillboardOrigin
-{
-  BBO_TOP_LEFT, // 
-  BBO_TOP_CENTER, // 
-  BBO_TOP_RIGHT, // 
-  BBO_CENTER_LEFT, // 
-  BBO_CENTER, // 
-  BBO_CENTER_RIGHT, // 
-  BBO_BOTTOM_LEFT, // 
-  BBO_BOTTOM_CENTER, // 
-  BBO_BOTTOM_RIGHT // 
-};
-#endif 
+enum EnumBillboardOrigin
+{
+  BBO_TOP_LEFT, // 
+  BBO_TOP_CENTER, // 
+  BBO_TOP_RIGHT, // 
+  BBO_CENTER_LEFT, // 
+  BBO_CENTER, // 
+  BBO_CENTER_RIGHT, // 
+  BBO_BOTTOM_LEFT, // 
+  BBO_BOTTOM_CENTER, // 
+  BBO_BOTTOM_RIGHT // 
+};
+#endif 
diff --git a/include/EnumBillboardRotationType.h b/include/EnumBillboardRotationType.h
--- a/include/EnumBillboardRotationType.h
+++ b/include/EnumBillboardRotationType.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,20 +14,20 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // EnumBillboardRotationType.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_EnumBillboardRotationType
-#define _DEFINED_HG3D_EnumBillboardRotationType
+#ifndef _DEFINED_HG3D_EnumBillboardRotationType
+#define _DEFINED_HG3D_EnumBillboardRotationType
 
 
-enum EnumBillboardRotationType
-{
-  BBR_VERTEX, // Rotate the billboard's vertices around their facing direction. 
-  BBR_TEXCOORD // Rotate the billboard's texture coordinates. 
-};
-#endif 
+enum EnumBillboardRotationType
+{
+  BBR_VERTEX, // Rotate the billboard's vertices around their facing direction. 
+  BBR_TEXCOORD // Rotate the billboard's texture coordinates. 
+};
+#endif 
diff --git a/include/EnumBillboardType.h b/include/EnumBillboardType.h
--- a/include/EnumBillboardType.h
+++ b/include/EnumBillboardType.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,23 +14,23 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // EnumBillboardType.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_EnumBillboardType
-#define _DEFINED_HG3D_EnumBillboardType
+#ifndef _DEFINED_HG3D_EnumBillboardType
+#define _DEFINED_HG3D_EnumBillboardType
 
 
-enum EnumBillboardType
-{
-  BBT_POINT, // Standard point billboard (default), always faces the camera completely and is always upright. 
-  BBT_ORIENTED_COMMON, // Billboards are oriented around a shared direction vector (used as Y axis) and only rotate around this to face the camera. 
-  BBT_ORIENTED_SELF, // Billboards are oriented around their own direction vector (their own Y axis) and only rotate around this to face the camera. 
-  BBT_PERPENDICULAR_COMMON, // Billboards are perpendicular to a shared direction vector (used as Z axis, the facing direction) and X, Y axis are determined by a shared up-vertor. 
-  BBT_PERPENDICULAR_SELF // Billboards are perpendicular to their own direction vector (their own Z axis, the facing direction) and X, Y axis are determined by a shared up-vertor. 
-};
-#endif 
+enum EnumBillboardType
+{
+  BBT_POINT, // Standard point billboard (default), always faces the camera completely and is always upright. 
+  BBT_ORIENTED_COMMON, // Billboards are oriented around a shared direction vector (used as Y axis) and only rotate around this to face the camera. 
+  BBT_ORIENTED_SELF, // Billboards are oriented around their own direction vector (their own Y axis) and only rotate around this to face the camera. 
+  BBT_PERPENDICULAR_COMMON, // Billboards are perpendicular to a shared direction vector (used as Z axis, the facing direction) and X, Y axis are determined by a shared up-vertor. 
+  BBT_PERPENDICULAR_SELF // Billboards are perpendicular to their own direction vector (their own Z axis, the facing direction) and X, Y axis are determined by a shared up-vertor. 
+};
+#endif 
diff --git a/include/EnumDataStreamAccessMode.h b/include/EnumDataStreamAccessMode.h
--- a/include/EnumDataStreamAccessMode.h
+++ b/include/EnumDataStreamAccessMode.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,20 +14,20 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // EnumDataStreamAccessMode.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_EnumDataStreamAccessMode
-#define _DEFINED_HG3D_EnumDataStreamAccessMode
+#ifndef _DEFINED_HG3D_EnumDataStreamAccessMode
+#define _DEFINED_HG3D_EnumDataStreamAccessMode
 
 
-enum EnumDataStreamAccessMode
-{
-  AM_READ =  1, // 
-  AM_WRITE =  2 // 
-};
-#endif 
+enum EnumDataStreamAccessMode
+{
+  AM_READ =  1, // 
+  AM_WRITE =  2 // 
+};
+#endif 
diff --git a/include/EnumEntityVertexDataBindChoice.h b/include/EnumEntityVertexDataBindChoice.h
--- a/include/EnumEntityVertexDataBindChoice.h
+++ b/include/EnumEntityVertexDataBindChoice.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,22 +14,22 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // EnumEntityVertexDataBindChoice.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_EnumEntityVertexDataBindChoice
-#define _DEFINED_HG3D_EnumEntityVertexDataBindChoice
+#ifndef _DEFINED_HG3D_EnumEntityVertexDataBindChoice
+#define _DEFINED_HG3D_EnumEntityVertexDataBindChoice
 
 
-enum EnumEntityVertexDataBindChoice
-{
-  BIND_ORIGINAL, // 
-  BIND_SOFTWARE_SKELETAL, // 
-  BIND_SOFTWARE_MORPH, // 
-  BIND_HARDWARE_MORPH // 
-};
-#endif 
+enum EnumEntityVertexDataBindChoice
+{
+  BIND_ORIGINAL, // 
+  BIND_SOFTWARE_SKELETAL, // 
+  BIND_SOFTWARE_MORPH, // 
+  BIND_HARDWARE_MORPH // 
+};
+#endif 
diff --git a/include/EnumExceptionCode.h b/include/EnumExceptionCode.h
--- a/include/EnumExceptionCode.h
+++ b/include/EnumExceptionCode.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,28 +14,28 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // EnumExceptionCode.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_EnumExceptionCode
-#define _DEFINED_HG3D_EnumExceptionCode
+#ifndef _DEFINED_HG3D_EnumExceptionCode
+#define _DEFINED_HG3D_EnumExceptionCode
 
 
-enum EnumExceptionCode
-{
-  ERR_CANNOT_WRITE_TO_FILE, // 
-  ERR_INVALID_STATE, // 
-  ERR_INVALIDPARAMS, // 
-  ERR_RENDERINGAPI_ERROR, // 
-  ERR_DUPLICATE_ITEM, // 
-  ERR_ITEM_NOT_FOUND, // 
-  ERR_FILE_NOT_FOUND, // 
-  ERR_INTERNAL_ERROR, // 
-  ERR_RT_ASSERTION_FAILED, // 
-  ERR_NOT_IMPLEMENTED // 
-};
-#endif 
+enum EnumExceptionCode
+{
+  ERR_CANNOT_WRITE_TO_FILE, // 
+  ERR_INVALID_STATE, // 
+  ERR_INVALIDPARAMS, // 
+  ERR_RENDERINGAPI_ERROR, // 
+  ERR_DUPLICATE_ITEM, // 
+  ERR_ITEM_NOT_FOUND, // 
+  ERR_FILE_NOT_FOUND, // 
+  ERR_INTERNAL_ERROR, // 
+  ERR_RT_ASSERTION_FAILED, // 
+  ERR_NOT_IMPLEMENTED // 
+};
+#endif 
diff --git a/include/EnumFrustumPlane.h b/include/EnumFrustumPlane.h
--- a/include/EnumFrustumPlane.h
+++ b/include/EnumFrustumPlane.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,24 +14,24 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // EnumFrustumPlane.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_EnumFrustumPlane
-#define _DEFINED_HG3D_EnumFrustumPlane
+#ifndef _DEFINED_HG3D_EnumFrustumPlane
+#define _DEFINED_HG3D_EnumFrustumPlane
 
 
-enum EnumFrustumPlane
-{
-  FRUSTUM_PLANE_NEAR =  0, // 
-  FRUSTUM_PLANE_FAR =  1, // 
-  FRUSTUM_PLANE_LEFT =  2, // 
-  FRUSTUM_PLANE_RIGHT =  3, // 
-  FRUSTUM_PLANE_TOP =  4, // 
-  FRUSTUM_PLANE_BOTTOM =  5 // 
-};
-#endif 
+enum EnumFrustumPlane
+{
+  FRUSTUM_PLANE_NEAR =  0, // 
+  FRUSTUM_PLANE_FAR =  1, // 
+  FRUSTUM_PLANE_LEFT =  2, // 
+  FRUSTUM_PLANE_RIGHT =  3, // 
+  FRUSTUM_PLANE_TOP =  4, // 
+  FRUSTUM_PLANE_BOTTOM =  5 // 
+};
+#endif 
diff --git a/include/EnumGpuProgramType.h b/include/EnumGpuProgramType.h
--- a/include/EnumGpuProgramType.h
+++ b/include/EnumGpuProgramType.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,21 +14,21 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // EnumGpuProgramType.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_EnumGpuProgramType
-#define _DEFINED_HG3D_EnumGpuProgramType
+#ifndef _DEFINED_HG3D_EnumGpuProgramType
+#define _DEFINED_HG3D_EnumGpuProgramType
 
 
-enum EnumGpuProgramType
-{
-  GPT_VERTEX_PROGRAM, // 
-  GPT_FRAGMENT_PROGRAM, // 
-  GPT_GEOMETRY_PROGRAM // 
-};
-#endif 
+enum EnumGpuProgramType
+{
+  GPT_VERTEX_PROGRAM, // 
+  GPT_FRAGMENT_PROGRAM, // 
+  GPT_GEOMETRY_PROGRAM // 
+};
+#endif 
diff --git a/include/EnumLightType.h b/include/EnumLightType.h
--- a/include/EnumLightType.h
+++ b/include/EnumLightType.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,21 +14,21 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // EnumLightType.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_EnumLightType
-#define _DEFINED_HG3D_EnumLightType
+#ifndef _DEFINED_HG3D_EnumLightType
+#define _DEFINED_HG3D_EnumLightType
 
 
-enum EnumLightType
-{
-  LT_POINT =  0, // Point light sources give off light equally in all directions, so require only position not direction. 
-  LT_DIRECTIONAL =  1, // Directional lights simulate parallel light beams from a distant source, hence have direction but no position. 
-  LT_SPOTLIGHT =  2 // Spotlights simulate a cone of light from a source so require position and direction, plus extra values for falloff. 
-};
-#endif 
+enum EnumLightType
+{
+  LT_POINT =  0, // Point light sources give off light equally in all directions, so require only position not direction. 
+  LT_DIRECTIONAL =  1, // Directional lights simulate parallel light beams from a distant source, hence have direction but no position. 
+  LT_SPOTLIGHT =  2 // Spotlights simulate a cone of light from a source so require position and direction, plus extra values for falloff. 
+};
+#endif 
diff --git a/include/EnumLogMessageLevel.h b/include/EnumLogMessageLevel.h
--- a/include/EnumLogMessageLevel.h
+++ b/include/EnumLogMessageLevel.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,21 +14,21 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // EnumLogMessageLevel.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_EnumLogMessageLevel
-#define _DEFINED_HG3D_EnumLogMessageLevel
+#ifndef _DEFINED_HG3D_EnumLogMessageLevel
+#define _DEFINED_HG3D_EnumLogMessageLevel
 
 
-enum EnumLogMessageLevel
-{
-  LML_TRIVIAL =  1, // 
-  LML_NORMAL =  2, // 
-  LML_CRITICAL =  3 // 
-};
-#endif 
+enum EnumLogMessageLevel
+{
+  LML_TRIVIAL =  1, // 
+  LML_NORMAL =  2, // 
+  LML_CRITICAL =  3 // 
+};
+#endif 
diff --git a/include/EnumLoggingLevel.h b/include/EnumLoggingLevel.h
--- a/include/EnumLoggingLevel.h
+++ b/include/EnumLoggingLevel.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,21 +14,21 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // EnumLoggingLevel.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_EnumLoggingLevel
-#define _DEFINED_HG3D_EnumLoggingLevel
+#ifndef _DEFINED_HG3D_EnumLoggingLevel
+#define _DEFINED_HG3D_EnumLoggingLevel
 
 
-enum EnumLoggingLevel
-{
-  LL_LOW =  1, // 
-  LL_NORMAL =  2, // 
-  LL_BOREME =  3 // 
-};
-#endif 
+enum EnumLoggingLevel
+{
+  LL_LOW =  1, // 
+  LL_NORMAL =  2, // 
+  LL_BOREME =  3 // 
+};
+#endif 
diff --git a/include/EnumMathAngleUnit.h b/include/EnumMathAngleUnit.h
--- a/include/EnumMathAngleUnit.h
+++ b/include/EnumMathAngleUnit.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,20 +14,20 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // EnumMathAngleUnit.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_EnumMathAngleUnit
-#define _DEFINED_HG3D_EnumMathAngleUnit
+#ifndef _DEFINED_HG3D_EnumMathAngleUnit
+#define _DEFINED_HG3D_EnumMathAngleUnit
 
 
-enum EnumMathAngleUnit
-{
-  AU_DEGREE, // 
-  AU_RADIAN // 
-};
-#endif 
+enum EnumMathAngleUnit
+{
+  AU_DEGREE, // 
+  AU_RADIAN // 
+};
+#endif 
diff --git a/include/EnumMeshManagerMeshBuildType.h b/include/EnumMeshManagerMeshBuildType.h
--- a/include/EnumMeshManagerMeshBuildType.h
+++ b/include/EnumMeshManagerMeshBuildType.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,21 +14,21 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // EnumMeshManagerMeshBuildType.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_EnumMeshManagerMeshBuildType
-#define _DEFINED_HG3D_EnumMeshManagerMeshBuildType
+#ifndef _DEFINED_HG3D_EnumMeshManagerMeshBuildType
+#define _DEFINED_HG3D_EnumMeshManagerMeshBuildType
 
 
-enum EnumMeshManagerMeshBuildType
-{
-  MBT_PLANE, // 
-  MBT_CURVED_ILLUSION_PLANE, // 
-  MBT_CURVED_PLANE // 
-};
-#endif 
+enum EnumMeshManagerMeshBuildType
+{
+  MBT_PLANE, // 
+  MBT_CURVED_ILLUSION_PLANE, // 
+  MBT_CURVED_PLANE // 
+};
+#endif 
diff --git a/include/EnumNodeTransformSpace.h b/include/EnumNodeTransformSpace.h
--- a/include/EnumNodeTransformSpace.h
+++ b/include/EnumNodeTransformSpace.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,21 +14,21 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // EnumNodeTransformSpace.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_EnumNodeTransformSpace
-#define _DEFINED_HG3D_EnumNodeTransformSpace
+#ifndef _DEFINED_HG3D_EnumNodeTransformSpace
+#define _DEFINED_HG3D_EnumNodeTransformSpace
 
 
-enum EnumNodeTransformSpace
-{
-  TS_LOCAL, // Transform is relative to the local space. 
-  TS_PARENT, // Transform is relative to the space of the parent node. 
-  TS_WORLD // Transform is relative to world space. 
-};
-#endif 
+enum EnumNodeTransformSpace
+{
+  TS_LOCAL, // Transform is relative to the local space. 
+  TS_PARENT, // Transform is relative to the space of the parent node. 
+  TS_WORLD // Transform is relative to world space. 
+};
+#endif 
diff --git a/include/EnumOrientationMode.h b/include/EnumOrientationMode.h
--- a/include/EnumOrientationMode.h
+++ b/include/EnumOrientationMode.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,25 +14,25 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // EnumOrientationMode.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_EnumOrientationMode
-#define _DEFINED_HG3D_EnumOrientationMode
+#ifndef _DEFINED_HG3D_EnumOrientationMode
+#define _DEFINED_HG3D_EnumOrientationMode
 
 
-enum EnumOrientationMode
-{
-  OR_DEGREE_0 =  0, // 
-  OR_DEGREE_90 =  1, // 
-  OR_DEGREE_180 =  2, // 
-  OR_DEGREE_270 =  3, // 
-  OR_PORTRAIT =  OR_DEGREE_0, // 
-  OR_LANDSCAPERIGHT =  OR_DEGREE_90, // 
-  OR_LANDSCAPELEFT =  OR_DEGREE_270 // 
-};
-#endif 
+enum EnumOrientationMode
+{
+  OR_DEGREE_0 =  0, // 
+  OR_DEGREE_90 =  1, // 
+  OR_DEGREE_180 =  2, // 
+  OR_DEGREE_270 =  3, // 
+  OR_PORTRAIT =  OR_DEGREE_0, // 
+  OR_LANDSCAPERIGHT =  OR_DEGREE_90, // 
+  OR_LANDSCAPELEFT =  OR_DEGREE_270 // 
+};
+#endif 
diff --git a/include/EnumProjectionType.h b/include/EnumProjectionType.h
--- a/include/EnumProjectionType.h
+++ b/include/EnumProjectionType.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,20 +14,20 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // EnumProjectionType.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_EnumProjectionType
-#define _DEFINED_HG3D_EnumProjectionType
+#ifndef _DEFINED_HG3D_EnumProjectionType
+#define _DEFINED_HG3D_EnumProjectionType
 
 
-enum EnumProjectionType
-{
-  PT_ORTHOGRAPHIC, // 
-  PT_PERSPECTIVE // 
-};
-#endif 
+enum EnumProjectionType
+{
+  PT_ORTHOGRAPHIC, // 
+  PT_PERSPECTIVE // 
+};
+#endif 
diff --git a/include/EnumRenderOperationOperationType.h b/include/EnumRenderOperationOperationType.h
--- a/include/EnumRenderOperationOperationType.h
+++ b/include/EnumRenderOperationOperationType.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,24 +14,24 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // EnumRenderOperationOperationType.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_EnumRenderOperationOperationType
-#define _DEFINED_HG3D_EnumRenderOperationOperationType
+#ifndef _DEFINED_HG3D_EnumRenderOperationOperationType
+#define _DEFINED_HG3D_EnumRenderOperationOperationType
 
 
-enum EnumRenderOperationOperationType
-{
-  OT_POINT_LIST =  1, // A list of points, 1 vertex per point. 
-  OT_LINE_LIST =  2, // A list of lines, 2 vertices per line. 
-  OT_LINE_STRIP =  3, // A strip of connected lines, 1 vertex per line plus 1 start vertex. 
-  OT_TRIANGLE_LIST =  4, // A list of triangles, 3 vertices per triangle. 
-  OT_TRIANGLE_STRIP =  5, // A strip of triangles, 3 vertices for the first triangle, and 1 per triangle after that. 
-  OT_TRIANGLE_FAN =  6 // A fan of triangles, 3 vertices for the first triangle, and 1 per triangle after that. 
-};
-#endif 
+enum EnumRenderOperationOperationType
+{
+  OT_POINT_LIST =  1, // A list of points, 1 vertex per point. 
+  OT_LINE_LIST =  2, // A list of lines, 2 vertices per line. 
+  OT_LINE_STRIP =  3, // A strip of connected lines, 1 vertex per line plus 1 start vertex. 
+  OT_TRIANGLE_LIST =  4, // A list of triangles, 3 vertices per triangle. 
+  OT_TRIANGLE_STRIP =  5, // A strip of triangles, 3 vertices for the first triangle, and 1 per triangle after that. 
+  OT_TRIANGLE_FAN =  6 // A fan of triangles, 3 vertices for the first triangle, and 1 per triangle after that. 
+};
+#endif 
diff --git a/include/EnumRenderTargetFrameBuffer.h b/include/EnumRenderTargetFrameBuffer.h
--- a/include/EnumRenderTargetFrameBuffer.h
+++ b/include/EnumRenderTargetFrameBuffer.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,21 +14,21 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // EnumRenderTargetFrameBuffer.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_EnumRenderTargetFrameBuffer
-#define _DEFINED_HG3D_EnumRenderTargetFrameBuffer
+#ifndef _DEFINED_HG3D_EnumRenderTargetFrameBuffer
+#define _DEFINED_HG3D_EnumRenderTargetFrameBuffer
 
 
-enum EnumRenderTargetFrameBuffer
-{
-  FB_FRONT, // 
-  FB_BACK, // 
-  FB_AUTO // 
-};
-#endif 
+enum EnumRenderTargetFrameBuffer
+{
+  FB_FRONT, // 
+  FB_BACK, // 
+  FB_AUTO // 
+};
+#endif 
diff --git a/include/EnumRenderTargetStatFlags.h b/include/EnumRenderTargetStatFlags.h
--- a/include/EnumRenderTargetStatFlags.h
+++ b/include/EnumRenderTargetStatFlags.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,25 +14,25 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // EnumRenderTargetStatFlags.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_EnumRenderTargetStatFlags
-#define _DEFINED_HG3D_EnumRenderTargetStatFlags
+#ifndef _DEFINED_HG3D_EnumRenderTargetStatFlags
+#define _DEFINED_HG3D_EnumRenderTargetStatFlags
 
 
-enum EnumRenderTargetStatFlags
-{
-  SF_NONE =  0, // 
-  SF_FPS =  1, // 
-  SF_AVG_FPS =  2, // 
-  SF_BEST_FPS =  4, // 
-  SF_WORST_FPS =  8, // 
-  SF_TRIANGLE_COUNT =  16, // 
-  SF_ALL =  0xFFFF // 
-};
-#endif 
+enum EnumRenderTargetStatFlags
+{
+  SF_NONE =  0, // 
+  SF_FPS =  1, // 
+  SF_AVG_FPS =  2, // 
+  SF_BEST_FPS =  4, // 
+  SF_WORST_FPS =  8, // 
+  SF_TRIANGLE_COUNT =  16, // 
+  SF_ALL =  0xFFFF // 
+};
+#endif 
diff --git a/include/EnumRootFrameEventTimeType.h b/include/EnumRootFrameEventTimeType.h
--- a/include/EnumRootFrameEventTimeType.h
+++ b/include/EnumRootFrameEventTimeType.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,23 +14,23 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // EnumRootFrameEventTimeType.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_EnumRootFrameEventTimeType
-#define _DEFINED_HG3D_EnumRootFrameEventTimeType
+#ifndef _DEFINED_HG3D_EnumRootFrameEventTimeType
+#define _DEFINED_HG3D_EnumRootFrameEventTimeType
 
 
-enum EnumRootFrameEventTimeType
-{
-  FETT_ANY =  0, // 
-  FETT_STARTED =  1, // 
-  FETT_QUEUED =  2, // 
-  FETT_ENDED =  3, // 
-  FETT_COUNT =  4 // 
-};
-#endif 
+enum EnumRootFrameEventTimeType
+{
+  FETT_ANY =  0, // 
+  FETT_STARTED =  1, // 
+  FETT_QUEUED =  2, // 
+  FETT_ENDED =  3, // 
+  FETT_COUNT =  4 // 
+};
+#endif 
diff --git a/include/EnumSceneManagerBoxPlane.h b/include/EnumSceneManagerBoxPlane.h
--- a/include/EnumSceneManagerBoxPlane.h
+++ b/include/EnumSceneManagerBoxPlane.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,24 +14,24 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // EnumSceneManagerBoxPlane.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_EnumSceneManagerBoxPlane
-#define _DEFINED_HG3D_EnumSceneManagerBoxPlane
+#ifndef _DEFINED_HG3D_EnumSceneManagerBoxPlane
+#define _DEFINED_HG3D_EnumSceneManagerBoxPlane
 
 
-enum EnumSceneManagerBoxPlane
-{
-  BP_FRONT =  0, // 
-  BP_BACK =  1, // 
-  BP_LEFT =  2, // 
-  BP_RIGHT =  3, // 
-  BP_UP =  4, // 
-  BP_DOWN =  5 // 
-};
-#endif 
+enum EnumSceneManagerBoxPlane
+{
+  BP_FRONT =  0, // 
+  BP_BACK =  1, // 
+  BP_LEFT =  2, // 
+  BP_RIGHT =  3, // 
+  BP_UP =  4, // 
+  BP_DOWN =  5 // 
+};
+#endif 
diff --git a/include/EnumSceneManagerIlluminationRenderStage.h b/include/EnumSceneManagerIlluminationRenderStage.h
--- a/include/EnumSceneManagerIlluminationRenderStage.h
+++ b/include/EnumSceneManagerIlluminationRenderStage.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,21 +14,21 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // EnumSceneManagerIlluminationRenderStage.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_EnumSceneManagerIlluminationRenderStage
-#define _DEFINED_HG3D_EnumSceneManagerIlluminationRenderStage
+#ifndef _DEFINED_HG3D_EnumSceneManagerIlluminationRenderStage
+#define _DEFINED_HG3D_EnumSceneManagerIlluminationRenderStage
 
 
-enum EnumSceneManagerIlluminationRenderStage
-{
-  IRS_NONE, // No special illumination stage. 
-  IRS_RENDER_TO_TEXTURE, // Render to texture stage, used for texture based shadows. 
-  IRS_RENDER_RECEIVER_PASS // Render from shadow texture to receivers stage. 
-};
-#endif 
+enum EnumSceneManagerIlluminationRenderStage
+{
+  IRS_NONE, // No special illumination stage. 
+  IRS_RENDER_TO_TEXTURE, // Render to texture stage, used for texture based shadows. 
+  IRS_RENDER_RECEIVER_PASS // Render from shadow texture to receivers stage. 
+};
+#endif 
diff --git a/include/EnumSceneManagerPrefabType.h b/include/EnumSceneManagerPrefabType.h
--- a/include/EnumSceneManagerPrefabType.h
+++ b/include/EnumSceneManagerPrefabType.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,21 +14,21 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // EnumSceneManagerPrefabType.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_EnumSceneManagerPrefabType
-#define _DEFINED_HG3D_EnumSceneManagerPrefabType
+#ifndef _DEFINED_HG3D_EnumSceneManagerPrefabType
+#define _DEFINED_HG3D_EnumSceneManagerPrefabType
 
 
-enum EnumSceneManagerPrefabType
-{
-  PT_PLANE, // 
-  PT_CUBE, // 
-  PT_SPHERE // 
-};
-#endif 
+enum EnumSceneManagerPrefabType
+{
+  PT_PLANE, // 
+  PT_CUBE, // 
+  PT_SPHERE // 
+};
+#endif 
diff --git a/include/EnumSceneManagerSpecialCaseRenderQueueMode.h b/include/EnumSceneManagerSpecialCaseRenderQueueMode.h
--- a/include/EnumSceneManagerSpecialCaseRenderQueueMode.h
+++ b/include/EnumSceneManagerSpecialCaseRenderQueueMode.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,20 +14,20 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // EnumSceneManagerSpecialCaseRenderQueueMode.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_EnumSceneManagerSpecialCaseRenderQueueMode
-#define _DEFINED_HG3D_EnumSceneManagerSpecialCaseRenderQueueMode
+#ifndef _DEFINED_HG3D_EnumSceneManagerSpecialCaseRenderQueueMode
+#define _DEFINED_HG3D_EnumSceneManagerSpecialCaseRenderQueueMode
 
 
-enum EnumSceneManagerSpecialCaseRenderQueueMode
-{
-  SCRQM_INCLUDE, // Render only the queues in the special case list. 
-  SCRQM_EXCLUDE // Render all except the queues in the special case list. 
-};
-#endif 
+enum EnumSceneManagerSpecialCaseRenderQueueMode
+{
+  SCRQM_INCLUDE, // Render only the queues in the special case list. 
+  SCRQM_EXCLUDE // Render all except the queues in the special case list. 
+};
+#endif 
diff --git a/include/EnumSceneType.h b/include/EnumSceneType.h
--- a/include/EnumSceneType.h
+++ b/include/EnumSceneType.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,23 +14,23 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // EnumSceneType.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_EnumSceneType
-#define _DEFINED_HG3D_EnumSceneType
+#ifndef _DEFINED_HG3D_EnumSceneType
+#define _DEFINED_HG3D_EnumSceneType
 
 
-enum EnumSceneType
-{
-  ST_GENERIC =  1, // 
-  ST_EXTERIOR_CLOSE =  2, // 
-  ST_EXTERIOR_FAR =  4, // 
-  ST_EXTERIOR_REAL_FAR =  8, // 
-  ST_INTERIOR =  16 // 
-};
-#endif 
+enum EnumSceneType
+{
+  ST_GENERIC =  1, // 
+  ST_EXTERIOR_CLOSE =  2, // 
+  ST_EXTERIOR_FAR =  4, // 
+  ST_EXTERIOR_REAL_FAR =  8, // 
+  ST_INTERIOR =  16 // 
+};
+#endif 
diff --git a/include/EnumSkeletonAnimationBlendMode.h b/include/EnumSkeletonAnimationBlendMode.h
--- a/include/EnumSkeletonAnimationBlendMode.h
+++ b/include/EnumSkeletonAnimationBlendMode.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,20 +14,20 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // EnumSkeletonAnimationBlendMode.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_EnumSkeletonAnimationBlendMode
-#define _DEFINED_HG3D_EnumSkeletonAnimationBlendMode
+#ifndef _DEFINED_HG3D_EnumSkeletonAnimationBlendMode
+#define _DEFINED_HG3D_EnumSkeletonAnimationBlendMode
 
 
-enum EnumSkeletonAnimationBlendMode
-{
-  ANIMBLEND_AVERAGE =  0, // Animations are applied by calculating a weighted average of all animations. 
-  ANIMBLEND_CUMULATIVE =  1 // Animations are applied by calculating a weighted cumulative total. 
-};
-#endif 
+enum EnumSkeletonAnimationBlendMode
+{
+  ANIMBLEND_AVERAGE =  0, // Animations are applied by calculating a weighted average of all animations. 
+  ANIMBLEND_CUMULATIVE =  1 // Animations are applied by calculating a weighted cumulative total. 
+};
+#endif 
diff --git a/include/EnumStencilOperation.h b/include/EnumStencilOperation.h
--- a/include/EnumStencilOperation.h
+++ b/include/EnumStencilOperation.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,26 +14,26 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // EnumStencilOperation.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_EnumStencilOperation
-#define _DEFINED_HG3D_EnumStencilOperation
+#ifndef _DEFINED_HG3D_EnumStencilOperation
+#define _DEFINED_HG3D_EnumStencilOperation
 
 
-enum EnumStencilOperation
-{
-  SOP_KEEP, // Leave the stencil buffer unchanged. 
-  SOP_ZERO, // Set the stencil value to zero. 
-  SOP_REPLACE, // Set the stencil value to the reference value. 
-  SOP_INCREMENT, // Increase the stencil value by 1, clamping at the maximum value. 
-  SOP_DECREMENT, // Decrease the stencil value by 1, clamping at 0. 
-  SOP_INCREMENT_WRAP, // Increase the stencil value by 1, wrapping back to 0 when incrementing the maximum value. 
-  SOP_DECREMENT_WRAP, // Decrease the stencil value by 1, wrapping when decrementing 0. 
-  SOP_INVERT // Invert the bits of the stencil buffer. 
-};
-#endif 
+enum EnumStencilOperation
+{
+  SOP_KEEP, // Leave the stencil buffer unchanged. 
+  SOP_ZERO, // Set the stencil value to zero. 
+  SOP_REPLACE, // Set the stencil value to the reference value. 
+  SOP_INCREMENT, // Increase the stencil value by 1, clamping at the maximum value. 
+  SOP_DECREMENT, // Decrease the stencil value by 1, clamping at 0. 
+  SOP_INCREMENT_WRAP, // Increase the stencil value by 1, wrapping back to 0 when incrementing the maximum value. 
+  SOP_DECREMENT_WRAP, // Decrease the stencil value by 1, wrapping when decrementing 0. 
+  SOP_INVERT // Invert the bits of the stencil buffer. 
+};
+#endif 
diff --git a/include/EnumTexCoordCalcMethod.h b/include/EnumTexCoordCalcMethod.h
--- a/include/EnumTexCoordCalcMethod.h
+++ b/include/EnumTexCoordCalcMethod.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,24 +14,24 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // EnumTexCoordCalcMethod.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_EnumTexCoordCalcMethod
-#define _DEFINED_HG3D_EnumTexCoordCalcMethod
+#ifndef _DEFINED_HG3D_EnumTexCoordCalcMethod
+#define _DEFINED_HG3D_EnumTexCoordCalcMethod
 
 
-enum EnumTexCoordCalcMethod
-{
-  TEXCALC_NONE, // No calculated texture coordinates. 
-  TEXCALC_ENVIRONMENT_MAP, // Environment map based on vertex normals. 
-  TEXCALC_ENVIRONMENT_MAP_PLANAR, // Environment map based on vertex positions. 
-  TEXCALC_ENVIRONMENT_MAP_REFLECTION, // 
-  TEXCALC_ENVIRONMENT_MAP_NORMAL, // 
-  TEXCALC_PROJECTIVE_TEXTURE // Projective texture. 
-};
-#endif 
+enum EnumTexCoordCalcMethod
+{
+  TEXCALC_NONE, // No calculated texture coordinates. 
+  TEXCALC_ENVIRONMENT_MAP, // Environment map based on vertex normals. 
+  TEXCALC_ENVIRONMENT_MAP_PLANAR, // Environment map based on vertex positions. 
+  TEXCALC_ENVIRONMENT_MAP_REFLECTION, // 
+  TEXCALC_ENVIRONMENT_MAP_NORMAL, // 
+  TEXCALC_PROJECTIVE_TEXTURE // Projective texture. 
+};
+#endif 
diff --git a/include/EnumVertexAnimationTrackTargetMode.h b/include/EnumVertexAnimationTrackTargetMode.h
--- a/include/EnumVertexAnimationTrackTargetMode.h
+++ b/include/EnumVertexAnimationTrackTargetMode.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,20 +14,20 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // EnumVertexAnimationTrackTargetMode.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_EnumVertexAnimationTrackTargetMode
-#define _DEFINED_HG3D_EnumVertexAnimationTrackTargetMode
+#ifndef _DEFINED_HG3D_EnumVertexAnimationTrackTargetMode
+#define _DEFINED_HG3D_EnumVertexAnimationTrackTargetMode
 
 
-enum EnumVertexAnimationTrackTargetMode
-{
-  TM_SOFTWARE, // Interpolate vertex positions in software. 
-  TM_HARDWARE // 
-};
-#endif 
+enum EnumVertexAnimationTrackTargetMode
+{
+  TM_SOFTWARE, // Interpolate vertex positions in software. 
+  TM_HARDWARE // 
+};
+#endif 
diff --git a/include/EnumVertexAnimationType.h b/include/EnumVertexAnimationType.h
--- a/include/EnumVertexAnimationType.h
+++ b/include/EnumVertexAnimationType.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,21 +14,21 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // EnumVertexAnimationType.h
 
-// 
+// 
 
 #include "wchar.h"
-#ifndef _DEFINED_HG3D_EnumVertexAnimationType
-#define _DEFINED_HG3D_EnumVertexAnimationType
+#ifndef _DEFINED_HG3D_EnumVertexAnimationType
+#define _DEFINED_HG3D_EnumVertexAnimationType
 
 
-enum EnumVertexAnimationType
-{
-  VAT_NONE =  0, // No animation. 
-  VAT_MORPH =  1, // Morph animation is made up of many interpolated snapshot keyframes. 
-  VAT_POSE =  2 // Pose animation is made up of a single delta pose keyframe. 
-};
-#endif 
+enum EnumVertexAnimationType
+{
+  VAT_NONE =  0, // No animation. 
+  VAT_MORPH =  1, // Morph animation is made up of many interpolated snapshot keyframes. 
+  VAT_POSE =  2 // Pose animation is made up of a single delta pose keyframe. 
+};
+#endif 
diff --git a/include/OgreDllDefines.h b/include/OgreDllDefines.h
--- a/include/OgreDllDefines.h
+++ b/include/OgreDllDefines.h
@@ -11,15 +11,15 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 
 // OgreDllDefines.h
 
-#ifndef _HGamer3DOgre040_DLLDEFINES_H_
-#define _HGamer3DOgre040_DLLDEFINES_H_
+#ifndef _HGamer3DOgre050_DLLDEFINES_H_
+#define _HGamer3DOgre050_DLLDEFINES_H_
 
-/* Cmake will define HGamer3DOgre040_EXPORTS on Windows when it
+/* Cmake will define HGamer3DOgre050_EXPORTS on Windows when it
 configures to build a shared library. If you are going to use
 another build system on windows or create the visual studio
 projects by hand you need to define MyLibrary_EXPORTS when
@@ -29,13 +29,13 @@
 // We are using the Visual Studio Compiler and building Shared libraries
 
 #if (defined (_WIN32)) && !(defined (__GNUC__)) 
-  #if defined(HGamer3DOgre040_EXPORTS)
+  #if defined(HGamer3DOgre050_EXPORTS)
     #define  Ogre_LIB_EXPORT __declspec(dllexport)
   #else
     #define  Ogre_LIB_EXPORT __declspec(dllimport)
-  #endif /* HGamer3DOgre040_EXPORTS */
+  #endif /* HGamer3DOgre050_EXPORTS */
 #else /* defined (_WIN32) */
  #define Ogre_LIB_EXPORT
 #endif
 
-#endif /* _HGamer3DOgre040_DLLDEFINES_H_ */
+#endif /* _HGamer3DOgre050_DLLDEFINES_H_ */
diff --git a/include/StructColour.h b/include/StructColour.h
--- a/include/StructColour.h
+++ b/include/StructColour.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,23 +14,23 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // StructColour.h
 
-// 
+// 
 
 #include "wchar.h"
 
 
-#ifndef _INC_STRUCT_COLOURVALUE
-#define _INC_STRUCT_COLOURVALUE
-
-typedef struct colourvalue_struct {
-	float r;
-	float g;
-	float b;
-	float a;
-} colourvalue_struct;
-
+#ifndef _INC_STRUCT_COLOURVALUE
+#define _INC_STRUCT_COLOURVALUE
+
+typedef struct colourvalue_struct {
+	float r;
+	float g;
+	float b;
+	float a;
+} colourvalue_struct;
+
 #endif
diff --git a/include/StructDegrees.h b/include/StructDegrees.h
--- a/include/StructDegrees.h
+++ b/include/StructDegrees.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,21 +14,21 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // StructDegrees.h
 
-// 
+// 
 
 #include "wchar.h"
 
 
-#ifndef _INC_STRUCT_DEGREE
-#define _INC_STRUCT_DEGREE
-
-typedef struct degree_struct {
-	float d;
-} degree_struct;
-
-
+#ifndef _INC_STRUCT_DEGREE
+#define _INC_STRUCT_DEGREE
+
+typedef struct degree_struct {
+	float d;
+} degree_struct;
+
+
 #endif
diff --git a/include/StructHG3DClass.h b/include/StructHG3DClass.h
--- a/include/StructHG3DClass.h
+++ b/include/StructHG3DClass.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,21 +14,21 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // StructHG3DClass.h
 
-// 
+// 
 
 #include "wchar.h"
 
 
-#ifndef _INC_STRUCT_HG3DCLASS
-#define _INC_STRUCT_HG3DCLASS
-
-typedef struct hg3dclass_struct {
-	void *ptr;
-	void *fptr;
-} hg3dclass_struct;
-
+#ifndef _INC_STRUCT_HG3DCLASS
+#define _INC_STRUCT_HG3DCLASS
+
+typedef struct hg3dclass_struct {
+	void *ptr;
+	void *fptr;
+} hg3dclass_struct;
+
 #endif
diff --git a/include/StructQuaternion.h b/include/StructQuaternion.h
--- a/include/StructQuaternion.h
+++ b/include/StructQuaternion.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,23 +14,23 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // StructQuaternion.h
 
-// 
+// 
 
 #include "wchar.h"
 
 
-#ifndef _INC_STRUCT_QUATERNION
-#define _INC_STRUCT_QUATERNION
-
-typedef struct quaternion_struct {
-	float fw;
-	float fx;
-	float fy;
-	float fz;
-} quaternion_struct;
-
+#ifndef _INC_STRUCT_QUATERNION
+#define _INC_STRUCT_QUATERNION
+
+typedef struct quaternion_struct {
+	float fw;
+	float fx;
+	float fy;
+	float fz;
+} quaternion_struct;
+
 #endif
diff --git a/include/StructRadians.h b/include/StructRadians.h
--- a/include/StructRadians.h
+++ b/include/StructRadians.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,20 +14,20 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // StructRadians.h
 
-// 
+// 
 
 #include "wchar.h"
 
 
-#ifndef _INC_STRUCT_RADIAN
-#define _INC_STRUCT_RADIAN
-
-typedef struct radian_struct {
-	float r;
-} radian_struct;
-
+#ifndef _INC_STRUCT_RADIAN
+#define _INC_STRUCT_RADIAN
+
+typedef struct radian_struct {
+	float r;
+} radian_struct;
+
 #endif
diff --git a/include/StructSharedPtr.h b/include/StructSharedPtr.h
--- a/include/StructSharedPtr.h
+++ b/include/StructSharedPtr.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,22 +14,22 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // StructSharedPtr.h
 
-// 
+// 
 
 #include "wchar.h"
 
 
-#ifndef _INC_STRUCT_SHAREDPTR
-#define _INC_STRUCT_SHAREDPTR
-
-typedef struct sharedptr_struct {
-	void* pT;
-	void* pCount;
-	void* pFreeFunc;
-} sharedptr_struct;
-
+#ifndef _INC_STRUCT_SHAREDPTR
+#define _INC_STRUCT_SHAREDPTR
+
+typedef struct sharedptr_struct {
+	void* pT;
+	void* pCount;
+	void* pFreeFunc;
+} sharedptr_struct;
+
 #endif
diff --git a/include/StructVec2.h b/include/StructVec2.h
--- a/include/StructVec2.h
+++ b/include/StructVec2.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,21 +14,21 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // StructVec2.h
 
-// 
+// 
 
 #include "wchar.h"
 
 
-#ifndef _INC_STRUCT_VECTOR2
-#define _INC_STRUCT_VECTOR2
-
-typedef struct vector2_struct {
-	float x;
-	float y;
-} vector2_struct;
-
+#ifndef _INC_STRUCT_VECTOR2
+#define _INC_STRUCT_VECTOR2
+
+typedef struct vector2_struct {
+	float x;
+	float y;
+} vector2_struct;
+
 #endif
diff --git a/include/StructVec3.h b/include/StructVec3.h
--- a/include/StructVec3.h
+++ b/include/StructVec3.h
@@ -1,6 +1,6 @@
 // This source file is part of HGamer3D, a project to enable 3D game development 
 // in Haskell. For the latest info, see http://www.hgamer3d.org .
-// 
+// 
 // (c) 2011-2014 Peter Althainz
 // 
 // Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,22 +14,22 @@
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-// 
+// 
 
 // StructVec3.h
 
-// 
+// 
 
 #include "wchar.h"
 
 
-#ifndef _INC_STRUCT_VECTOR3
-#define _INC_STRUCT_VECTOR3
-
-typedef struct vector3_struct {
-	float x;
-	float y;
-	float z;
-} vector3_struct;
-
+#ifndef _INC_STRUCT_VECTOR3
+#define _INC_STRUCT_VECTOR3
+
+typedef struct vector3_struct {
+	float x;
+	float y;
+	float z;
+} vector3_struct;
+
 #endif
diff --git a/include/colorvalue_struct.h b/include/colorvalue_struct.h
--- a/include/colorvalue_struct.h
+++ b/include/colorvalue_struct.h
@@ -1,6 +1,6 @@
-typedef struct colourvalue_struct {
-	float r;
-	float g;
-	float b;
-	float a;
-} colourvalue_struct;
+typedef struct colourvalue_struct {
+	float r;
+	float g;
+	float b;
+	float a;
+} colourvalue_struct;
diff --git a/include/degree_struct.h b/include/degree_struct.h
--- a/include/degree_struct.h
+++ b/include/degree_struct.h
@@ -1,3 +1,3 @@
-typedef struct degree_struct {
-	float d;
-} degree_struct;
+typedef struct degree_struct {
+	float d;
+} degree_struct;
diff --git a/include/quaternion_struct.h b/include/quaternion_struct.h
--- a/include/quaternion_struct.h
+++ b/include/quaternion_struct.h
@@ -1,6 +1,6 @@
-typedef struct quaternion_struct {
-	float fw;
-	float fx;
-	float fy;
-	float fz;
-} quaternion_struct;
+typedef struct quaternion_struct {
+	float fw;
+	float fx;
+	float fy;
+	float fz;
+} quaternion_struct;
diff --git a/include/radian_struct.h b/include/radian_struct.h
--- a/include/radian_struct.h
+++ b/include/radian_struct.h
@@ -1,3 +1,3 @@
-typedef struct radian_struct {
-	float r;
-} radian_struct;
+typedef struct radian_struct {
+	float r;
+} radian_struct;
diff --git a/include/sharedptr_struct.h b/include/sharedptr_struct.h
--- a/include/sharedptr_struct.h
+++ b/include/sharedptr_struct.h
@@ -1,5 +1,5 @@
-typedef struct sharedptr_struct {
-	void* pT;
-	void* pCount;
-	void* pFreeFunc;
-} sharedptr_struct;
+typedef struct sharedptr_struct {
+	void* pT;
+	void* pCount;
+	void* pFreeFunc;
+} sharedptr_struct;
diff --git a/include/vector2_struct.h b/include/vector2_struct.h
--- a/include/vector2_struct.h
+++ b/include/vector2_struct.h
@@ -1,4 +1,4 @@
-typedef struct vector2_struct {
-	float x;
-	float y;
-} vector2_struct;
+typedef struct vector2_struct {
+	float x;
+	float y;
+} vector2_struct;
diff --git a/include/vector3_struct.h b/include/vector3_struct.h
--- a/include/vector3_struct.h
+++ b/include/vector3_struct.h
@@ -1,5 +1,5 @@
-typedef struct vector3_struct {
-	float x;
-	float y;
-	float z;
-} vector3_struct;
+typedef struct vector3_struct {
+	float x;
+	float y;
+	float z;
+} vector3_struct;
diff --git a/include/vector4_struct.h b/include/vector4_struct.h
--- a/include/vector4_struct.h
+++ b/include/vector4_struct.h
@@ -1,6 +1,6 @@
-typedef struct vector4_struct {
-	float x;
-	float y;
-	float z;
-	float w;
-} vector4_struct;
+typedef struct vector4_struct {
+	float x;
+	float y;
+	float z;
+	float w;
+} vector4_struct;
