HGamer3D-SFML-Binding 0.1.8 → 0.1.9
raw patch · 7 files changed
+21/−25 lines, 7 filesdep ~HGamer3D-DataPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: HGamer3D-Data
API changes (from Hackage documentation)
Files
- HGamer3D-SFML-Binding.cabal +10/−14
- HGamer3D/Bindings/SFML/ClassSoundSource.hs +1/−1
- HGamer3D/Bindings/SFML/EnumKey.hs +1/−1
- HGamer3D/Bindings/SFML/EnumMouseButton.hs +1/−1
- include/EnumKey.h +1/−1
- include/EnumMouseButton.h +1/−1
- include/SFMLDllDefines.h +6/−6
HGamer3D-SFML-Binding.cabal view
@@ -1,31 +1,27 @@ Name: HGamer3D-SFML-Binding -Version: 0.1.8 -Synopsis: Library to enable 3D game development for Haskell - SFML Bindings +Version: 0.1.9 +Synopsis: Windows Game Engine for the Haskell Programmer - SFML Bindings Description: - Library, to enable 3D game development for Haskell, - based on bindings to 3D Graphics, Audio and GUI libraries. - - This is the SFML Bindings module, which provides Audio and - Input System (Joystick, Mouse, Keyboard) functionality. - - Platform: Windows only - License: Apache License, Version 2.0 - Install: see http://www.althainz.de/HGamer3D/Download-and-Installation.html + HGamer3D is a game engine for developing 3D games in the programming + language Haskell. The game engine uses available libraries for 3D graphics, + sound, input device handling, gui programming and other areas and make + those functions available for the Haskell programmer by providing + a Haskell API on top of that. HGamer3D is available on Windows only. License: OtherLicense License-file: LICENSE Author: Peter Althainz -Maintainer: althainz@googlemail.com +Maintainer: althainz@gmail.com Build-Type: Simple Cabal-Version: >=1.2 -Homepage: http://www.althainz.de/HGamer3D.html +Homepage: http://www.hgamer3d.org Category: Game Extra-source-files: Setup.hs, include/ClassJoystick.h, include/ClassKeyboard.h, include/ClassListener.h, include/ClassMouse.h, include/ClassMouseHG3D.h, include/ClassMusic.h, include/ClassPtr.h, include/ClassSound.h, include/ClassSoundBuffer.h, include/ClassSoundSource.h, include/ClassSoundStream.h, include/EnumJoystickAxis.h, include/EnumKey.h, include/EnumMouseButton.h, include/EnumSoundSourceStatus.h, include/SFMLDllDefines.h, include/StructHG3DClass.h Library - Build-Depends: base >= 3 && < 5, HGamer3D-Data >= 0.1.8 + Build-Depends: base >= 3 && < 5, HGamer3D-Data >= 0.1.9 Exposed-modules: HGamer3D.Bindings.SFML.Utils, HGamer3D.Bindings.SFML.ClassPtr, HGamer3D.Bindings.SFML.StructHG3DClass, HGamer3D.Bindings.SFML.EnumJoystickAxis, HGamer3D.Bindings.SFML.EnumKey, HGamer3D.Bindings.SFML.EnumMouseButton, HGamer3D.Bindings.SFML.EnumSoundSourceStatus, HGamer3D.Bindings.SFML.ClassJoystick, HGamer3D.Bindings.SFML.ClassKeyboard, HGamer3D.Bindings.SFML.ClassListener, HGamer3D.Bindings.SFML.ClassMouse, HGamer3D.Bindings.SFML.ClassMouseHG3D, HGamer3D.Bindings.SFML.ClassMusic, HGamer3D.Bindings.SFML.ClassSound, HGamer3D.Bindings.SFML.ClassSoundBuffer, HGamer3D.Bindings.SFML.ClassSoundSource, HGamer3D.Bindings.SFML.ClassSoundStream Other-modules:
HGamer3D/Bindings/SFML/ClassSoundSource.hs view
@@ -111,7 +111,7 @@ {-# LINE 69 ".\\HGamer3D\\Bindings\\SFML\\ClassSoundSource.chs" #-} -- | Set the minimum distance of the sound. - Details: The "minimum distance" of a sound is the maximum distance at which it is heard at its maximum volume. Further than the minimum distance, it will start to fade out according to its attenuation factor. A value of 0 ("inside the head --- of the listener") is an invalid value and is forbidden. The default value of the minimum distance is 1. +--of the listener") is an invalid value and is forbidden. The default value of the minimum distance is 1. setMinDistance :: HG3DClass -- ^ classpointer - pointer of Class instance from which this methods is called. -> Float -- ^ distance -> IO ()
HGamer3D/Bindings/SFML/EnumKey.hs view
@@ -248,6 +248,6 @@ | KeyF15 -- | The Pause key. | KeyPause - -- | Keep last -- the total number of keyboard keys. + -- | Keep last | KeyKeyCount deriving (Enum,Eq)
HGamer3D/Bindings/SFML/EnumMouseButton.hs view
@@ -53,6 +53,6 @@ | MouseButtonXButton1 -- | The second extra mouse button. | MouseButtonXButton2 - -- | Keep last -- the total number of mouse buttons. + -- | Keep last | MouseButtonButtonCount deriving (Enum,Eq)
include/EnumKey.h view
@@ -129,6 +129,6 @@ KeyF14, // The F14 key. KeyF15, // The F15 key. KeyPause, // The Pause key. - KeyKeyCount // Keep last -- the total number of keyboard keys. + KeyKeyCount // Keep last }; #endif
include/EnumMouseButton.h view
@@ -33,6 +33,6 @@ MouseButtonMiddle, // The middle (wheel) mouse button. MouseButtonXButton1, // The first extra mouse button. MouseButtonXButton2, // The second extra mouse button. - MouseButtonButtonCount // Keep last -- the total number of mouse buttons. + MouseButtonButtonCount // Keep last }; #endif
include/SFMLDllDefines.h view
@@ -16,10 +16,10 @@ // SFMLDllDefines.h -#ifndef _HGamer3DSFML018_DLLDEFINES_H_ -#define _HGamer3DSFML018_DLLDEFINES_H_ +#ifndef _HGamer3DSFML019_DLLDEFINES_H_ +#define _HGamer3DSFML019_DLLDEFINES_H_ -/* Cmake will define HGamer3DSFML018_EXPORTS on Windows when it +/* Cmake will define HGamer3DSFML019_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(HGamer3DSFML018_EXPORTS) + #if defined(HGamer3DSFML019_EXPORTS) #define SFML_LIB_EXPORT __declspec(dllexport) #else #define SFML_LIB_EXPORT __declspec(dllimport) - #endif /* HGamer3DSFML018_EXPORTS */ + #endif /* HGamer3DSFML019_EXPORTS */ #else /* defined (_WIN32) */ #define SFML_LIB_EXPORT #endif -#endif /* _HGamer3DSFML018_DLLDEFINES_H_ */ +#endif /* _HGamer3DSFML019_DLLDEFINES_H_ */