HGamer3D-Ogre-Binding-0.1.3: HGamer3D/Bindings/Ogre/ClassRoot.hs
-- GENERATED by C->Haskell Compiler, version 0.16.3 Crystal Seed, 24 Jan 2009 (Haskell)
-- Edit the ORIGNAL .chs file instead!
{-# LINE 1 "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs" #-}{-# 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.althainz.de/HGamer3D.html
--
-- Copyright 2011 Dr. 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.
--
-- ClassRoot.chs
--
--
--
--
-- File for type, method, enum or function stubs
-- in: "..\OgreSDK_vc10_v1-7-4\include\OGRE\OgreRoot.h"
--
-- each stub combines the following files:
-- a C++ implementation file, transforming cpp calls into C-functions
-- a C-header file, making this C-functions available for the C2HS parser
-- a chs file, give instructions to the C2HS parser.
--
--
module HGamer3D.Bindings.Ogre.ClassRoot where
import C2HS
import Foreign
import Foreign.Ptr
import Foreign.C
import Monad (liftM, liftM2)
import HGamer3D.Data.HG3DClass
import HGamer3D.Data.Vector2
import HGamer3D.Data.Vector3
import HGamer3D.Data.Vector4
import HGamer3D.Data.Quaternion
import HGamer3D.Data.ColourValue
import HGamer3D.Data.Radian
import HGamer3D.Data.Degree
import HGamer3D.Data.Angle
import HGamer3D.Bindings.Ogre.TypeHG3DClass
{-# LINE 54 "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs" #-}
import HGamer3D.Bindings.Ogre.ClassPtr
{-# LINE 55 "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs" #-}
import HGamer3D.Bindings.Ogre.Utils
{-# LINE 56 "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs" #-}
import HGamer3D.Bindings.Ogre.TypeSharedPtr
{-# LINE 57 "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs" #-}
import HGamer3D.Bindings.Ogre.TypeColourValue
{-# LINE 58 "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs" #-}
cRSaveConfig :: HG3DClass -> IO ()
cRSaveConfig a1 =
withHG3DClass a1 $ \a1' ->
cRSaveConfig'_ a1' >>= \res ->
return ()
{-# LINE 63 "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs" #-}
;
cRRestoreConfig :: HG3DClass -> IO (Bool)
cRRestoreConfig a1 =
withHG3DClass a1 $ \a1' ->
alloca $ \a2' ->
cRRestoreConfig'_ a1' a2' >>= \res ->
peekBoolUtil a2'>>= \a2'' ->
return (a2'')
{-# LINE 67 "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs" #-}
;
cRShowConfigDialog :: HG3DClass -> IO (Bool)
cRShowConfigDialog a1 =
withHG3DClass a1 $ \a1' ->
alloca $ \a2' ->
cRShowConfigDialog'_ a1' a2' >>= \res ->
peekBoolUtil a2'>>= \a2'' ->
return (a2'')
{-# LINE 71 "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs" #-}
;
cRInitialise :: HG3DClass -> Bool -> String -> String -> IO (HG3DClass)
cRInitialise a1 a2 a3 a4 =
withHG3DClass a1 $ \a1' ->
let {a2' = fromBool a2} in
withCString a3 $ \a3' ->
withCString a4 $ \a4' ->
alloca $ \a5' ->
cRInitialise'_ a1' a2' a3' a4' a5' >>= \res ->
peek a5'>>= \a5'' ->
return (a5'')
{-# LINE 78 "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs" #-}
;
cRIsInitialised :: HG3DClass -> IO (Bool)
cRIsInitialised a1 =
withHG3DClass a1 $ \a1' ->
alloca $ \a2' ->
cRIsInitialised'_ a1' a2' >>= \res ->
peekBoolUtil a2'>>= \a2'' ->
return (a2'')
{-# LINE 82 "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs" #-}
;
cRGetRemoveRenderQueueStructuresOnClear :: HG3DClass -> IO (Bool)
cRGetRemoveRenderQueueStructuresOnClear a1 =
withHG3DClass a1 $ \a1' ->
alloca $ \a2' ->
cRGetRemoveRenderQueueStructuresOnClear'_ a1' a2' >>= \res ->
peekBoolUtil a2'>>= \a2'' ->
return (a2'')
{-# LINE 86 "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs" #-}
;
cRSetRemoveRenderQueueStructuresOnClear :: HG3DClass -> Bool -> IO ()
cRSetRemoveRenderQueueStructuresOnClear a1 a2 =
withHG3DClass a1 $ \a1' ->
let {a2' = fromBool a2} in
cRSetRemoveRenderQueueStructuresOnClear'_ a1' a2' >>= \res ->
return ()
{-# LINE 90 "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs" #-}
;
cRAddSceneManagerFactory :: HG3DClass -> HG3DClass -> IO ()
cRAddSceneManagerFactory a1 a2 =
withHG3DClass a1 $ \a1' ->
withHG3DClass a2 $ \a2' ->
cRAddSceneManagerFactory'_ a1' a2' >>= \res ->
return ()
{-# LINE 94 "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs" #-}
;
cRRemoveSceneManagerFactory :: HG3DClass -> HG3DClass -> IO ()
cRRemoveSceneManagerFactory a1 a2 =
withHG3DClass a1 $ \a1' ->
withHG3DClass a2 $ \a2' ->
cRRemoveSceneManagerFactory'_ a1' a2' >>= \res ->
return ()
{-# LINE 98 "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs" #-}
;
cRCreateSceneManager :: HG3DClass -> String -> String -> IO (HG3DClass)
cRCreateSceneManager a1 a2 a3 =
withHG3DClass a1 $ \a1' ->
withCString a2 $ \a2' ->
withCString a3 $ \a3' ->
alloca $ \a4' ->
cRCreateSceneManager'_ a1' a2' a3' a4' >>= \res ->
peek a4'>>= \a4'' ->
return (a4'')
{-# LINE 104 "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs" #-}
;
cRCreateSceneManager2 :: HG3DClass -> Int -> String -> IO (HG3DClass)
cRCreateSceneManager2 a1 a2 a3 =
withHG3DClass a1 $ \a1' ->
let {a2' = fromIntegral a2} in
withCString a3 $ \a3' ->
alloca $ \a4' ->
cRCreateSceneManager2'_ a1' a2' a3' a4' >>= \res ->
peek a4'>>= \a4'' ->
return (a4'')
{-# LINE 110 "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs" #-}
;
cRDestroySceneManager :: HG3DClass -> HG3DClass -> IO ()
cRDestroySceneManager a1 a2 =
withHG3DClass a1 $ \a1' ->
withHG3DClass a2 $ \a2' ->
cRDestroySceneManager'_ a1' a2' >>= \res ->
return ()
{-# LINE 114 "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs" #-}
;
cRGetSceneManager :: HG3DClass -> String -> IO (HG3DClass)
cRGetSceneManager a1 a2 =
withHG3DClass a1 $ \a1' ->
withCString a2 $ \a2' ->
alloca $ \a3' ->
cRGetSceneManager'_ a1' a2' a3' >>= \res ->
peek a3'>>= \a3'' ->
return (a3'')
{-# LINE 119 "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs" #-}
;
cRHasSceneManager :: HG3DClass -> String -> IO (Bool)
cRHasSceneManager a1 a2 =
withHG3DClass a1 $ \a1' ->
withCString a2 $ \a2' ->
alloca $ \a3' ->
cRHasSceneManager'_ a1' a2' a3' >>= \res ->
peekBoolUtil a3'>>= \a3'' ->
return (a3'')
{-# LINE 124 "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs" #-}
;
cRGetTextureManager :: HG3DClass -> IO (HG3DClass)
cRGetTextureManager a1 =
withHG3DClass a1 $ \a1' ->
alloca $ \a2' ->
cRGetTextureManager'_ a1' a2' >>= \res ->
peek a2'>>= \a2'' ->
return (a2'')
{-# LINE 128 "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs" #-}
;
cRGetErrorDescription :: HG3DClass -> Int -> IO (String)
cRGetErrorDescription a1 a2 =
withHG3DClass a1 $ \a1' ->
let {a2' = fromIntegral a2} in
alloc64k $ \a3' ->
cRGetErrorDescription'_ a1' a2' a3' >>= \res ->
peekCString a3'>>= \a3'' ->
return (a3'')
{-# LINE 133 "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs" #-}
;
cRQueueEndRendering :: HG3DClass -> IO ()
cRQueueEndRendering a1 =
withHG3DClass a1 $ \a1' ->
cRQueueEndRendering'_ a1' >>= \res ->
return ()
{-# LINE 136 "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs" #-}
;
cRStartRendering :: HG3DClass -> IO ()
cRStartRendering a1 =
withHG3DClass a1 $ \a1' ->
cRStartRendering'_ a1' >>= \res ->
return ()
{-# LINE 139 "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs" #-}
;
cRRenderOneFrame :: HG3DClass -> IO (Bool)
cRRenderOneFrame a1 =
withHG3DClass a1 $ \a1' ->
alloca $ \a2' ->
cRRenderOneFrame'_ a1' a2' >>= \res ->
peekBoolUtil a2'>>= \a2'' ->
return (a2'')
{-# LINE 143 "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs" #-}
;
cRRenderOneFrame2 :: HG3DClass -> Float -> IO (Bool)
cRRenderOneFrame2 a1 a2 =
withHG3DClass a1 $ \a1' ->
let {a2' = realToFrac a2} in
alloca $ \a3' ->
cRRenderOneFrame2'_ a1' a2' a3' >>= \res ->
peekBoolUtil a3'>>= \a3'' ->
return (a3'')
{-# LINE 148 "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs" #-}
;
cRShutdown :: HG3DClass -> IO ()
cRShutdown a1 =
withHG3DClass a1 $ \a1' ->
cRShutdown'_ a1' >>= \res ->
return ()
{-# LINE 151 "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs" #-}
;
cRAddResourceLocation :: HG3DClass -> String -> String -> String -> Bool -> IO ()
cRAddResourceLocation a1 a2 a3 a4 a5 =
withHG3DClass a1 $ \a1' ->
withCString a2 $ \a2' ->
withCString a3 $ \a3' ->
withCString a4 $ \a4' ->
let {a5' = fromBool a5} in
cRAddResourceLocation'_ a1' a2' a3' a4' a5' >>= \res ->
return ()
{-# LINE 158 "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs" #-}
;
cRRemoveResourceLocation :: HG3DClass -> String -> String -> IO ()
cRRemoveResourceLocation a1 a2 a3 =
withHG3DClass a1 $ \a1' ->
withCString a2 $ \a2' ->
withCString a3 $ \a3' ->
cRRemoveResourceLocation'_ a1' a2' a3' >>= \res ->
return ()
{-# LINE 163 "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs" #-}
;
cRCreateFileStream :: HG3DClass -> String -> String -> Bool -> String -> IO (SharedPtr)
cRCreateFileStream a1 a2 a3 a4 a5 =
withHG3DClass a1 $ \a1' ->
withCString a2 $ \a2' ->
withCString a3 $ \a3' ->
let {a4' = fromBool a4} in
withCString a5 $ \a5' ->
alloca $ \a6' ->
cRCreateFileStream'_ a1' a2' a3' a4' a5' a6' >>= \res ->
peek a6'>>= \a6'' ->
return (a6'')
{-# LINE 171 "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs" #-}
;
cROpenFileStream :: HG3DClass -> String -> String -> String -> IO (SharedPtr)
cROpenFileStream a1 a2 a3 a4 =
withHG3DClass a1 $ \a1' ->
withCString a2 $ \a2' ->
withCString a3 $ \a3' ->
withCString a4 $ \a4' ->
alloca $ \a5' ->
cROpenFileStream'_ a1' a2' a3' a4' a5' >>= \res ->
peek a5'>>= \a5'' ->
return (a5'')
{-# LINE 178 "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs" #-}
;
cRConvertColourValue :: HG3DClass -> ColourValue -> IO (Int)
cRConvertColourValue a1 a2 =
withHG3DClass a1 $ \a1' ->
withColourValue a2 $ \a2' ->
alloca $ \a3' ->
cRConvertColourValue'_ a1' a2' a3' >>= \res ->
peekIntConv a3'>>= \a3'' ->
return (a3'')
{-# LINE 183 "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs" #-}
;
cRGetAutoCreatedWindow :: HG3DClass -> IO (HG3DClass)
cRGetAutoCreatedWindow a1 =
withHG3DClass a1 $ \a1' ->
alloca $ \a2' ->
cRGetAutoCreatedWindow'_ a1' a2' >>= \res ->
peek a2'>>= \a2'' ->
return (a2'')
{-# LINE 187 "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs" #-}
;
cRDetachRenderTarget :: HG3DClass -> HG3DClass -> IO ()
cRDetachRenderTarget a1 a2 =
withHG3DClass a1 $ \a1' ->
withHG3DClass a2 $ \a2' ->
cRDetachRenderTarget'_ a1' a2' >>= \res ->
return ()
{-# LINE 191 "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs" #-}
;
cRDetachRenderTarget2 :: HG3DClass -> String -> IO ()
cRDetachRenderTarget2 a1 a2 =
withHG3DClass a1 $ \a1' ->
withCString a2 $ \a2' ->
cRDetachRenderTarget2'_ a1' a2' >>= \res ->
return ()
{-# LINE 195 "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs" #-}
;
cRDestroyRenderTarget :: HG3DClass -> HG3DClass -> IO ()
cRDestroyRenderTarget a1 a2 =
withHG3DClass a1 $ \a1' ->
withHG3DClass a2 $ \a2' ->
cRDestroyRenderTarget'_ a1' a2' >>= \res ->
return ()
{-# LINE 199 "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs" #-}
;
cRDestroyRenderTarget2 :: HG3DClass -> String -> IO ()
cRDestroyRenderTarget2 a1 a2 =
withHG3DClass a1 $ \a1' ->
withCString a2 $ \a2' ->
cRDestroyRenderTarget2'_ a1' a2' >>= \res ->
return ()
{-# LINE 203 "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs" #-}
;
cRGetRenderTarget :: HG3DClass -> String -> IO (HG3DClass)
cRGetRenderTarget a1 a2 =
withHG3DClass a1 $ \a1' ->
withCString a2 $ \a2' ->
alloca $ \a3' ->
cRGetRenderTarget'_ a1' a2' a3' >>= \res ->
peek a3'>>= \a3'' ->
return (a3'')
{-# LINE 208 "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs" #-}
;
cRLoadPlugin :: HG3DClass -> String -> IO ()
cRLoadPlugin a1 a2 =
withHG3DClass a1 $ \a1' ->
withCString a2 $ \a2' ->
cRLoadPlugin'_ a1' a2' >>= \res ->
return ()
{-# LINE 212 "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs" #-}
;
cRUnloadPlugin :: HG3DClass -> String -> IO ()
cRUnloadPlugin a1 a2 =
withHG3DClass a1 $ \a1' ->
withCString a2 $ \a2' ->
cRUnloadPlugin'_ a1' a2' >>= \res ->
return ()
{-# LINE 216 "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs" #-}
;
cRFireFrameStarted2 :: HG3DClass -> IO (Bool)
cRFireFrameStarted2 a1 =
withHG3DClass a1 $ \a1' ->
alloca $ \a2' ->
cRFireFrameStarted2'_ a1' a2' >>= \res ->
peekBoolUtil a2'>>= \a2'' ->
return (a2'')
{-# LINE 220 "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs" #-}
;
cRFireFrameRenderingQueued2 :: HG3DClass -> IO (Bool)
cRFireFrameRenderingQueued2 a1 =
withHG3DClass a1 $ \a1' ->
alloca $ \a2' ->
cRFireFrameRenderingQueued2'_ a1' a2' >>= \res ->
peekBoolUtil a2'>>= \a2'' ->
return (a2'')
{-# LINE 224 "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs" #-}
;
cRFireFrameEnded2 :: HG3DClass -> IO (Bool)
cRFireFrameEnded2 a1 =
withHG3DClass a1 $ \a1' ->
alloca $ \a2' ->
cRFireFrameEnded2'_ a1' a2' >>= \res ->
peekBoolUtil a2'>>= \a2'' ->
return (a2'')
{-# LINE 228 "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs" #-}
;
cRGetCurrentSceneManager :: HG3DClass -> IO (HG3DClass)
cRGetCurrentSceneManager a1 =
withHG3DClass a1 $ \a1' ->
alloca $ \a2' ->
cRGetCurrentSceneManager'_ a1' a2' >>= \res ->
peek a2'>>= \a2'' ->
return (a2'')
{-# LINE 232 "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs" #-}
;
cRPushCurrentSceneManager :: HG3DClass -> HG3DClass -> IO ()
cRPushCurrentSceneManager a1 a2 =
withHG3DClass a1 $ \a1' ->
withHG3DClass a2 $ \a2' ->
cRPushCurrentSceneManager'_ a1' a2' >>= \res ->
return ()
{-# LINE 236 "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs" #-}
;
cRPopCurrentSceneManager :: HG3DClass -> HG3DClass -> IO ()
cRPopCurrentSceneManager a1 a2 =
withHG3DClass a1 $ \a1' ->
withHG3DClass a2 $ \a2' ->
cRPopCurrentSceneManager'_ a1' a2' >>= \res ->
return ()
{-# LINE 240 "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs" #-}
;
cRUpdateAllRenderTargets :: HG3DClass -> IO (Bool)
cRUpdateAllRenderTargets a1 =
withHG3DClass a1 $ \a1' ->
alloca $ \a2' ->
cRUpdateAllRenderTargets'_ a1' a2' >>= \res ->
peekBoolUtil a2'>>= \a2'' ->
return (a2'')
{-# LINE 244 "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs" #-}
;
cRCreateRenderQueueInvocationSequence :: HG3DClass -> String -> IO (HG3DClass)
cRCreateRenderQueueInvocationSequence a1 a2 =
withHG3DClass a1 $ \a1' ->
withCString a2 $ \a2' ->
alloca $ \a3' ->
cRCreateRenderQueueInvocationSequence'_ a1' a2' a3' >>= \res ->
peek a3'>>= \a3'' ->
return (a3'')
{-# LINE 249 "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs" #-}
;
cRGetRenderQueueInvocationSequence :: HG3DClass -> String -> IO (HG3DClass)
cRGetRenderQueueInvocationSequence a1 a2 =
withHG3DClass a1 $ \a1' ->
withCString a2 $ \a2' ->
alloca $ \a3' ->
cRGetRenderQueueInvocationSequence'_ a1' a2' a3' >>= \res ->
peek a3'>>= \a3'' ->
return (a3'')
{-# LINE 254 "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs" #-}
;
cRDestroyRenderQueueInvocationSequence :: HG3DClass -> String -> IO ()
cRDestroyRenderQueueInvocationSequence a1 a2 =
withHG3DClass a1 $ \a1' ->
withCString a2 $ \a2' ->
cRDestroyRenderQueueInvocationSequence'_ a1' a2' >>= \res ->
return ()
{-# LINE 258 "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs" #-}
;
cRDestroyAllRenderQueueInvocationSequences :: HG3DClass -> IO ()
cRDestroyAllRenderQueueInvocationSequences a1 =
withHG3DClass a1 $ \a1' ->
cRDestroyAllRenderQueueInvocationSequences'_ a1' >>= \res ->
return ()
{-# LINE 261 "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs" #-}
;
cRClearEventTimes :: HG3DClass -> IO ()
cRClearEventTimes a1 =
withHG3DClass a1 $ \a1' ->
cRClearEventTimes'_ a1' >>= \res ->
return ()
{-# LINE 264 "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs" #-}
;
cRSetFrameSmoothingPeriod :: HG3DClass -> Float -> IO ()
cRSetFrameSmoothingPeriod a1 a2 =
withHG3DClass a1 $ \a1' ->
let {a2' = realToFrac a2} in
cRSetFrameSmoothingPeriod'_ a1' a2' >>= \res ->
return ()
{-# LINE 268 "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs" #-}
;
cRGetFrameSmoothingPeriod :: HG3DClass -> IO (Float)
cRGetFrameSmoothingPeriod a1 =
withHG3DClass a1 $ \a1' ->
alloca $ \a2' ->
cRGetFrameSmoothingPeriod'_ a1' a2' >>= \res ->
peekFloatConv a2'>>= \a2'' ->
return (a2'')
{-# LINE 272 "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs" #-}
;
cRAddMovableObjectFactory :: HG3DClass -> HG3DClass -> Bool -> IO ()
cRAddMovableObjectFactory a1 a2 a3 =
withHG3DClass a1 $ \a1' ->
withHG3DClass a2 $ \a2' ->
let {a3' = fromBool a3} in
cRAddMovableObjectFactory'_ a1' a2' a3' >>= \res ->
return ()
{-# LINE 277 "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs" #-}
;
cRRemoveMovableObjectFactory :: HG3DClass -> HG3DClass -> IO ()
cRRemoveMovableObjectFactory a1 a2 =
withHG3DClass a1 $ \a1' ->
withHG3DClass a2 $ \a2' ->
cRRemoveMovableObjectFactory'_ a1' a2' >>= \res ->
return ()
{-# LINE 281 "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs" #-}
;
cRHasMovableObjectFactory :: HG3DClass -> String -> IO (Bool)
cRHasMovableObjectFactory a1 a2 =
withHG3DClass a1 $ \a1' ->
withCString a2 $ \a2' ->
alloca $ \a3' ->
cRHasMovableObjectFactory'_ a1' a2' a3' >>= \res ->
peekBoolUtil a3'>>= \a3'' ->
return (a3'')
{-# LINE 286 "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs" #-}
;
cRGetMovableObjectFactory :: HG3DClass -> String -> IO (HG3DClass)
cRGetMovableObjectFactory a1 a2 =
withHG3DClass a1 $ \a1' ->
withCString a2 $ \a2' ->
alloca $ \a3' ->
cRGetMovableObjectFactory'_ a1' a2' a3' >>= \res ->
peek a3'>>= \a3'' ->
return (a3'')
{-# LINE 291 "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs" #-}
;
cRAllocateNextMovableObjectTypeFlag :: HG3DClass -> IO (Int)
cRAllocateNextMovableObjectTypeFlag a1 =
withHG3DClass a1 $ \a1' ->
alloca $ \a2' ->
cRAllocateNextMovableObjectTypeFlag'_ a1' a2' >>= \res ->
peekIntConv a2'>>= \a2'' ->
return (a2'')
{-# LINE 295 "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs" #-}
;
cRGetDisplayMonitorCount :: HG3DClass -> IO (Int)
cRGetDisplayMonitorCount a1 =
withHG3DClass a1 $ \a1' ->
alloca $ \a2' ->
cRGetDisplayMonitorCount'_ a1' a2' >>= \res ->
peekIntConv a2'>>= \a2'' ->
return (a2'')
{-# LINE 299 "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs" #-}
;
-- created constructor function from default constructor
cRNew :: IO (HG3DClass)
cRNew =
alloca $ \a1' ->
cRNew'_ a1' >>= \res ->
peek a1'>>= \a1'' ->
return (a1'')
{-# LINE 303 "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs" #-}
;
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs.h cR_saveConfig_c"
cRSaveConfig'_ :: ((HG3DClassPtr) -> (IO ()))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs.h cR_restoreConfig_c"
cRRestoreConfig'_ :: ((HG3DClassPtr) -> ((Ptr CInt) -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs.h cR_showConfigDialog_c"
cRShowConfigDialog'_ :: ((HG3DClassPtr) -> ((Ptr CInt) -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs.h cR_initialise_c"
cRInitialise'_ :: ((HG3DClassPtr) -> (CInt -> ((Ptr CChar) -> ((Ptr CChar) -> ((HG3DClassPtr) -> (IO ()))))))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs.h cR_isInitialised_c"
cRIsInitialised'_ :: ((HG3DClassPtr) -> ((Ptr CInt) -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs.h cR_getRemoveRenderQueueStructuresOnClear_c"
cRGetRemoveRenderQueueStructuresOnClear'_ :: ((HG3DClassPtr) -> ((Ptr CInt) -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs.h cR_setRemoveRenderQueueStructuresOnClear_c"
cRSetRemoveRenderQueueStructuresOnClear'_ :: ((HG3DClassPtr) -> (CInt -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs.h cR_addSceneManagerFactory_c"
cRAddSceneManagerFactory'_ :: ((HG3DClassPtr) -> ((HG3DClassPtr) -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs.h cR_removeSceneManagerFactory_c"
cRRemoveSceneManagerFactory'_ :: ((HG3DClassPtr) -> ((HG3DClassPtr) -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs.h cR_createSceneManager_c"
cRCreateSceneManager'_ :: ((HG3DClassPtr) -> ((Ptr CChar) -> ((Ptr CChar) -> ((HG3DClassPtr) -> (IO ())))))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs.h cR_createSceneManager2_c"
cRCreateSceneManager2'_ :: ((HG3DClassPtr) -> (CUShort -> ((Ptr CChar) -> ((HG3DClassPtr) -> (IO ())))))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs.h cR_destroySceneManager_c"
cRDestroySceneManager'_ :: ((HG3DClassPtr) -> ((HG3DClassPtr) -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs.h cR_getSceneManager_c"
cRGetSceneManager'_ :: ((HG3DClassPtr) -> ((Ptr CChar) -> ((HG3DClassPtr) -> (IO ()))))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs.h cR_hasSceneManager_c"
cRHasSceneManager'_ :: ((HG3DClassPtr) -> ((Ptr CChar) -> ((Ptr CInt) -> (IO ()))))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs.h cR_getTextureManager_c"
cRGetTextureManager'_ :: ((HG3DClassPtr) -> ((HG3DClassPtr) -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs.h cR_getErrorDescription_c"
cRGetErrorDescription'_ :: ((HG3DClassPtr) -> (CInt -> ((Ptr CChar) -> (IO ()))))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs.h cR_queueEndRendering_c"
cRQueueEndRendering'_ :: ((HG3DClassPtr) -> (IO ()))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs.h cR_startRendering_c"
cRStartRendering'_ :: ((HG3DClassPtr) -> (IO ()))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs.h cR_renderOneFrame_c"
cRRenderOneFrame'_ :: ((HG3DClassPtr) -> ((Ptr CInt) -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs.h cR_renderOneFrame2_c"
cRRenderOneFrame2'_ :: ((HG3DClassPtr) -> (CFloat -> ((Ptr CInt) -> (IO ()))))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs.h cR_shutdown_c"
cRShutdown'_ :: ((HG3DClassPtr) -> (IO ()))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs.h cR_addResourceLocation_c"
cRAddResourceLocation'_ :: ((HG3DClassPtr) -> ((Ptr CChar) -> ((Ptr CChar) -> ((Ptr CChar) -> (CInt -> (IO ()))))))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs.h cR_removeResourceLocation_c"
cRRemoveResourceLocation'_ :: ((HG3DClassPtr) -> ((Ptr CChar) -> ((Ptr CChar) -> (IO ()))))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs.h cR_createFileStream_c"
cRCreateFileStream'_ :: ((HG3DClassPtr) -> ((Ptr CChar) -> ((Ptr CChar) -> (CInt -> ((Ptr CChar) -> ((SharedPtrPtr) -> (IO ())))))))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs.h cR_openFileStream_c"
cROpenFileStream'_ :: ((HG3DClassPtr) -> ((Ptr CChar) -> ((Ptr CChar) -> ((Ptr CChar) -> ((SharedPtrPtr) -> (IO ()))))))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs.h cR_convertColourValue_c"
cRConvertColourValue'_ :: ((HG3DClassPtr) -> ((ColourValuePtr) -> ((Ptr CUInt) -> (IO ()))))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs.h cR_getAutoCreatedWindow_c"
cRGetAutoCreatedWindow'_ :: ((HG3DClassPtr) -> ((HG3DClassPtr) -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs.h cR_detachRenderTarget_c"
cRDetachRenderTarget'_ :: ((HG3DClassPtr) -> ((HG3DClassPtr) -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs.h cR_detachRenderTarget2_c"
cRDetachRenderTarget2'_ :: ((HG3DClassPtr) -> ((Ptr CChar) -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs.h cR_destroyRenderTarget_c"
cRDestroyRenderTarget'_ :: ((HG3DClassPtr) -> ((HG3DClassPtr) -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs.h cR_destroyRenderTarget2_c"
cRDestroyRenderTarget2'_ :: ((HG3DClassPtr) -> ((Ptr CChar) -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs.h cR_getRenderTarget_c"
cRGetRenderTarget'_ :: ((HG3DClassPtr) -> ((Ptr CChar) -> ((HG3DClassPtr) -> (IO ()))))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs.h cR_loadPlugin_c"
cRLoadPlugin'_ :: ((HG3DClassPtr) -> ((Ptr CChar) -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs.h cR_unloadPlugin_c"
cRUnloadPlugin'_ :: ((HG3DClassPtr) -> ((Ptr CChar) -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs.h cR__fireFrameStarted2_c"
cRFireFrameStarted2'_ :: ((HG3DClassPtr) -> ((Ptr CInt) -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs.h cR__fireFrameRenderingQueued2_c"
cRFireFrameRenderingQueued2'_ :: ((HG3DClassPtr) -> ((Ptr CInt) -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs.h cR__fireFrameEnded2_c"
cRFireFrameEnded2'_ :: ((HG3DClassPtr) -> ((Ptr CInt) -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs.h cR__getCurrentSceneManager_c"
cRGetCurrentSceneManager'_ :: ((HG3DClassPtr) -> ((HG3DClassPtr) -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs.h cR__pushCurrentSceneManager_c"
cRPushCurrentSceneManager'_ :: ((HG3DClassPtr) -> ((HG3DClassPtr) -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs.h cR__popCurrentSceneManager_c"
cRPopCurrentSceneManager'_ :: ((HG3DClassPtr) -> ((HG3DClassPtr) -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs.h cR__updateAllRenderTargets_c"
cRUpdateAllRenderTargets'_ :: ((HG3DClassPtr) -> ((Ptr CInt) -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs.h cR_createRenderQueueInvocationSequence_c"
cRCreateRenderQueueInvocationSequence'_ :: ((HG3DClassPtr) -> ((Ptr CChar) -> ((HG3DClassPtr) -> (IO ()))))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs.h cR_getRenderQueueInvocationSequence_c"
cRGetRenderQueueInvocationSequence'_ :: ((HG3DClassPtr) -> ((Ptr CChar) -> ((HG3DClassPtr) -> (IO ()))))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs.h cR_destroyRenderQueueInvocationSequence_c"
cRDestroyRenderQueueInvocationSequence'_ :: ((HG3DClassPtr) -> ((Ptr CChar) -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs.h cR_destroyAllRenderQueueInvocationSequences_c"
cRDestroyAllRenderQueueInvocationSequences'_ :: ((HG3DClassPtr) -> (IO ()))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs.h cR_clearEventTimes_c"
cRClearEventTimes'_ :: ((HG3DClassPtr) -> (IO ()))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs.h cR_setFrameSmoothingPeriod_c"
cRSetFrameSmoothingPeriod'_ :: ((HG3DClassPtr) -> (CFloat -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs.h cR_getFrameSmoothingPeriod_c"
cRGetFrameSmoothingPeriod'_ :: ((HG3DClassPtr) -> ((Ptr CFloat) -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs.h cR_addMovableObjectFactory_c"
cRAddMovableObjectFactory'_ :: ((HG3DClassPtr) -> ((HG3DClassPtr) -> (CInt -> (IO ()))))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs.h cR_removeMovableObjectFactory_c"
cRRemoveMovableObjectFactory'_ :: ((HG3DClassPtr) -> ((HG3DClassPtr) -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs.h cR_hasMovableObjectFactory_c"
cRHasMovableObjectFactory'_ :: ((HG3DClassPtr) -> ((Ptr CChar) -> ((Ptr CInt) -> (IO ()))))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs.h cR_getMovableObjectFactory_c"
cRGetMovableObjectFactory'_ :: ((HG3DClassPtr) -> ((Ptr CChar) -> ((HG3DClassPtr) -> (IO ()))))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs.h cR__allocateNextMovableObjectTypeFlag_c"
cRAllocateNextMovableObjectTypeFlag'_ :: ((HG3DClassPtr) -> ((Ptr CUInt) -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs.h cR_getDisplayMonitorCount_c"
cRGetDisplayMonitorCount'_ :: ((HG3DClassPtr) -> ((Ptr CUInt) -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassRoot.chs.h cR_newRoot_c"
cRNew'_ :: ((HG3DClassPtr) -> (IO ()))