diff --git a/CSFML/build/VC2005/csfml-audio.vcproj b/CSFML/build/VC2005/csfml-audio.vcproj index d0da74bb9..bc7563660 100644 --- a/CSFML/build/VC2005/csfml-audio.vcproj +++ b/CSFML/build/VC2005/csfml-audio.vcproj @@ -216,6 +216,10 @@ RelativePath="..\..\include\SFML\Audio\Music.h" > + + @@ -240,6 +244,14 @@ RelativePath="..\..\include\SFML\Audio\SoundBufferRecorder.h" > + + + + @@ -248,6 +260,10 @@ RelativePath="..\..\include\SFML\Audio\SoundRecorder.h" > + + @@ -260,6 +276,14 @@ RelativePath="..\..\include\SFML\Audio\SoundStream.h" > + + + + diff --git a/CSFML/build/VC2005/csfml-graphics-d.def b/CSFML/build/VC2005/csfml-graphics-d.def index 60f095bad..0734be7bc 100644 --- a/CSFML/build/VC2005/csfml-graphics-d.def +++ b/CSFML/build/VC2005/csfml-graphics-d.def @@ -166,6 +166,22 @@ EXPORTS sfString_GetStyle sfString_GetCharacterPos sfString_GetRect + sfRenderImage_Create + sfRenderImage_Destroy + sfRenderImage_GetWidth + sfRenderImage_GetHeight + sfRenderImage_SetActive + sfRenderImage_DrawPostFX + sfRenderImage_DrawSprite + sfRenderImage_DrawShape + sfRenderImage_DrawString + sfRenderImage_Clear + sfRenderImage_SetView + sfRenderImage_GetView + sfRenderImage_GetDefaultView + sfRenderImage_PreserveOpenGLStates + sfRenderImage_GetImage + sfRenderImage_CanUseRenderImage sfRenderWindow_Create sfRenderWindow_CreateFromHandle sfRenderWindow_Destroy diff --git a/CSFML/build/VC2005/csfml-graphics.def b/CSFML/build/VC2005/csfml-graphics.def index 06ccc200e..ad5ec2d12 100644 --- a/CSFML/build/VC2005/csfml-graphics.def +++ b/CSFML/build/VC2005/csfml-graphics.def @@ -166,6 +166,22 @@ EXPORTS sfString_GetStyle sfString_GetCharacterPos sfString_GetRect + sfRenderImage_Create + sfRenderImage_Destroy + sfRenderImage_GetWidth + sfRenderImage_GetHeight + sfRenderImage_SetActive + sfRenderImage_DrawPostFX + sfRenderImage_DrawSprite + sfRenderImage_DrawShape + sfRenderImage_DrawString + sfRenderImage_Clear + sfRenderImage_SetView + sfRenderImage_GetView + sfRenderImage_GetDefaultView + sfRenderImage_PreserveOpenGLStates + sfRenderImage_GetImage + sfRenderImage_CanUseRenderImage sfRenderWindow_Create sfRenderWindow_CreateFromHandle sfRenderWindow_Destroy diff --git a/CSFML/build/VC2005/csfml-graphics.vcproj b/CSFML/build/VC2005/csfml-graphics.vcproj index 43b83f458..c45711533 100644 --- a/CSFML/build/VC2005/csfml-graphics.vcproj +++ b/CSFML/build/VC2005/csfml-graphics.vcproj @@ -229,6 +229,10 @@ RelativePath="..\..\include\SFML\Graphics\Font.h" > + + @@ -241,6 +245,10 @@ RelativePath="..\..\include\SFML\Graphics\Image.h" > + + @@ -249,6 +257,10 @@ RelativePath="..\..\include\SFML\Graphics\PostFX.h" > + + @@ -257,6 +269,18 @@ RelativePath="..\..\include\SFML\Graphics\Rect.h" > + + + + + + @@ -265,6 +289,10 @@ RelativePath="..\..\include\SFML\Graphics\RenderWindow.h" > + + @@ -273,6 +301,10 @@ RelativePath="..\..\include\SFML\Graphics\Shape.h" > + + @@ -281,6 +313,10 @@ RelativePath="..\..\include\SFML\Graphics\Sprite.h" > + + @@ -289,6 +325,10 @@ RelativePath="..\..\include\SFML\Graphics\String.h" > + + @@ -301,6 +341,10 @@ RelativePath="..\..\include\SFML\Graphics\View.h" > + + diff --git a/CSFML/build/VC2005/csfml-network.vcproj b/CSFML/build/VC2005/csfml-network.vcproj index 43de6fd3a..7da73efea 100644 --- a/CSFML/build/VC2005/csfml-network.vcproj +++ b/CSFML/build/VC2005/csfml-network.vcproj @@ -206,6 +206,10 @@ RelativePath="..\..\include\SFML\Network\Ftp.h" > + + @@ -214,6 +218,10 @@ RelativePath="..\..\include\SFML\Network\Http.h" > + + @@ -230,6 +238,10 @@ RelativePath="..\..\include\SFML\Network\Packet.h" > + + @@ -238,6 +250,10 @@ RelativePath="..\..\include\SFML\Network\Selector.h" > + + @@ -250,6 +266,10 @@ RelativePath="..\..\include\SFML\Network\SocketTCP.h" > + + @@ -258,6 +278,10 @@ RelativePath="..\..\include\SFML\Network\SocketUDP.h" > + + diff --git a/CSFML/build/VC2005/csfml-system.vcproj b/CSFML/build/VC2005/csfml-system.vcproj index 58b85e2b0..7b4a2a42c 100644 --- a/CSFML/build/VC2005/csfml-system.vcproj +++ b/CSFML/build/VC2005/csfml-system.vcproj @@ -198,6 +198,10 @@ RelativePath="..\..\include\SFML\System\Clock.h" > + + @@ -214,6 +218,10 @@ RelativePath="..\..\include\SFML\System\Mutex.h" > + + @@ -238,6 +246,10 @@ RelativePath="..\..\include\SFML\System\Thread.h" > + + diff --git a/CSFML/build/VC2005/csfml-window.vcproj b/CSFML/build/VC2005/csfml-window.vcproj index b24999732..bbb013fcd 100644 --- a/CSFML/build/VC2005/csfml-window.vcproj +++ b/CSFML/build/VC2005/csfml-window.vcproj @@ -200,6 +200,10 @@ RelativePath="..\..\include\SFML\Window\Context.h" > + + @@ -220,6 +224,10 @@ RelativePath="..\..\include\SFML\Window\Input.h" > + + @@ -244,6 +252,10 @@ RelativePath="..\..\include\SFML\Window\WindowHandle.h" > + + diff --git a/CSFML/build/VC2008/csfml-audio.vcproj b/CSFML/build/VC2008/csfml-audio.vcproj index cf0292111..1c1881430 100644 --- a/CSFML/build/VC2008/csfml-audio.vcproj +++ b/CSFML/build/VC2008/csfml-audio.vcproj @@ -239,6 +239,14 @@ RelativePath="..\..\include\SFML\Audio\SoundBufferRecorder.h" > + + + + @@ -247,6 +255,10 @@ RelativePath="..\..\include\SFML\Audio\SoundRecorder.h" > + + @@ -259,6 +271,14 @@ RelativePath="..\..\include\SFML\Audio\SoundStream.h" > + + + + diff --git a/CSFML/build/VC2008/csfml-graphics-d.def b/CSFML/build/VC2008/csfml-graphics-d.def index 60f095bad..0734be7bc 100644 --- a/CSFML/build/VC2008/csfml-graphics-d.def +++ b/CSFML/build/VC2008/csfml-graphics-d.def @@ -166,6 +166,22 @@ EXPORTS sfString_GetStyle sfString_GetCharacterPos sfString_GetRect + sfRenderImage_Create + sfRenderImage_Destroy + sfRenderImage_GetWidth + sfRenderImage_GetHeight + sfRenderImage_SetActive + sfRenderImage_DrawPostFX + sfRenderImage_DrawSprite + sfRenderImage_DrawShape + sfRenderImage_DrawString + sfRenderImage_Clear + sfRenderImage_SetView + sfRenderImage_GetView + sfRenderImage_GetDefaultView + sfRenderImage_PreserveOpenGLStates + sfRenderImage_GetImage + sfRenderImage_CanUseRenderImage sfRenderWindow_Create sfRenderWindow_CreateFromHandle sfRenderWindow_Destroy diff --git a/CSFML/build/VC2008/csfml-graphics.def b/CSFML/build/VC2008/csfml-graphics.def index 06ccc200e..ad5ec2d12 100644 --- a/CSFML/build/VC2008/csfml-graphics.def +++ b/CSFML/build/VC2008/csfml-graphics.def @@ -166,6 +166,22 @@ EXPORTS sfString_GetStyle sfString_GetCharacterPos sfString_GetRect + sfRenderImage_Create + sfRenderImage_Destroy + sfRenderImage_GetWidth + sfRenderImage_GetHeight + sfRenderImage_SetActive + sfRenderImage_DrawPostFX + sfRenderImage_DrawSprite + sfRenderImage_DrawShape + sfRenderImage_DrawString + sfRenderImage_Clear + sfRenderImage_SetView + sfRenderImage_GetView + sfRenderImage_GetDefaultView + sfRenderImage_PreserveOpenGLStates + sfRenderImage_GetImage + sfRenderImage_CanUseRenderImage sfRenderWindow_Create sfRenderWindow_CreateFromHandle sfRenderWindow_Destroy diff --git a/CSFML/build/VC2008/csfml-graphics.vcproj b/CSFML/build/VC2008/csfml-graphics.vcproj index ada3af4a0..22bcb1991 100644 --- a/CSFML/build/VC2008/csfml-graphics.vcproj +++ b/CSFML/build/VC2008/csfml-graphics.vcproj @@ -228,6 +228,10 @@ RelativePath="..\..\include\SFML\Graphics\Font.h" > + + @@ -236,6 +240,10 @@ RelativePath="..\..\include\SFML\Graphics\Image.h" > + + @@ -244,6 +252,10 @@ RelativePath="..\..\include\SFML\Graphics\PostFX.h" > + + @@ -252,6 +264,14 @@ RelativePath="..\..\include\SFML\Graphics\Rect.h" > + + + + @@ -260,6 +280,10 @@ RelativePath="..\..\include\SFML\Graphics\RenderWindow.h" > + + @@ -268,6 +292,10 @@ RelativePath="..\..\include\SFML\Graphics\Shape.h" > + + @@ -276,6 +304,10 @@ RelativePath="..\..\include\SFML\Graphics\Sprite.h" > + + @@ -284,6 +316,10 @@ RelativePath="..\..\include\SFML\Graphics\String.h" > + + @@ -296,6 +332,10 @@ RelativePath="..\..\include\SFML\Graphics\View.h" > + + diff --git a/CSFML/build/VC2008/csfml-network.vcproj b/CSFML/build/VC2008/csfml-network.vcproj index 11009488c..bedc23af6 100644 --- a/CSFML/build/VC2008/csfml-network.vcproj +++ b/CSFML/build/VC2008/csfml-network.vcproj @@ -205,6 +205,10 @@ RelativePath="..\..\include\SFML\Network\Ftp.h" > + + @@ -213,6 +217,10 @@ RelativePath="..\..\include\SFML\Network\Http.h" > + + @@ -229,6 +237,10 @@ RelativePath="..\..\include\SFML\Network\Packet.h" > + + @@ -237,6 +249,10 @@ RelativePath="..\..\include\SFML\Network\Selector.h" > + + @@ -249,6 +265,10 @@ RelativePath="..\..\include\SFML\Network\SocketTCP.h" > + + @@ -257,6 +277,10 @@ RelativePath="..\..\include\SFML\Network\SocketUDP.h" > + + diff --git a/CSFML/build/VC2008/csfml-system.vcproj b/CSFML/build/VC2008/csfml-system.vcproj index c1aaeb3ff..03628aea9 100644 --- a/CSFML/build/VC2008/csfml-system.vcproj +++ b/CSFML/build/VC2008/csfml-system.vcproj @@ -197,6 +197,10 @@ RelativePath="..\..\include\SFML\System\Clock.h" > + + @@ -213,6 +217,10 @@ RelativePath="..\..\include\SFML\System\Mutex.h" > + + @@ -237,6 +245,10 @@ RelativePath="..\..\include\SFML\System\Thread.h" > + + diff --git a/CSFML/build/VC2008/csfml-window.vcproj b/CSFML/build/VC2008/csfml-window.vcproj index 06b582731..b0110d281 100644 --- a/CSFML/build/VC2008/csfml-window.vcproj +++ b/CSFML/build/VC2008/csfml-window.vcproj @@ -199,6 +199,10 @@ RelativePath="..\..\include\SFML\Window\Context.h" > + + @@ -219,6 +223,10 @@ RelativePath="..\..\include\SFML\Window\Input.h" > + + @@ -243,6 +251,10 @@ RelativePath="..\..\include\SFML\Window\WindowHandle.h" > + + diff --git a/CSFML/build/codeblocks/csfml-audio.cbp b/CSFML/build/codeblocks/csfml-audio.cbp index 9e22afa75..395bbd41b 100644 --- a/CSFML/build/codeblocks/csfml-audio.cbp +++ b/CSFML/build/codeblocks/csfml-audio.cbp @@ -64,11 +64,17 @@ + + + + + + diff --git a/CSFML/build/codeblocks/csfml-graphics.cbp b/CSFML/build/codeblocks/csfml-graphics.cbp index 884f3fa99..9c9220f2b 100644 --- a/CSFML/build/codeblocks/csfml-graphics.cbp +++ b/CSFML/build/codeblocks/csfml-graphics.cbp @@ -69,14 +69,24 @@ + + + + + + + + + + diff --git a/CSFML/build/codeblocks/csfml-network.cbp b/CSFML/build/codeblocks/csfml-network.cbp index 8c183f380..2127d08f3 100644 --- a/CSFML/build/codeblocks/csfml-network.cbp +++ b/CSFML/build/codeblocks/csfml-network.cbp @@ -63,12 +63,18 @@ + + + + + + diff --git a/CSFML/build/codeblocks/csfml-system.cbp b/CSFML/build/codeblocks/csfml-system.cbp index f1cf47a49..d750bcf88 100644 --- a/CSFML/build/codeblocks/csfml-system.cbp +++ b/CSFML/build/codeblocks/csfml-system.cbp @@ -58,10 +58,13 @@ + + + diff --git a/CSFML/build/codeblocks/csfml-window.cbp b/CSFML/build/codeblocks/csfml-window.cbp index 3c603655b..328259d04 100644 --- a/CSFML/build/codeblocks/csfml-window.cbp +++ b/CSFML/build/codeblocks/csfml-window.cbp @@ -63,9 +63,12 @@ + + + diff --git a/CSFML/include/SFML/Audio.h b/CSFML/include/SFML/Audio.h index bfa70f4b6..64254130c 100644 --- a/CSFML/include/SFML/Audio.h +++ b/CSFML/include/SFML/Audio.h @@ -1,7 +1,7 @@ //////////////////////////////////////////////////////////// // // SFML - Simple and Fast Multimedia Library -// Copyright (C) 2007 Laurent Gomila (laurent.gom@gmail.com) +// Copyright (C) 2007-2009 Laurent Gomila (laurent.gom@gmail.com) // // This software is provided 'as-is', without any express or implied warranty. // In no event will the authors be held liable for any damages arising from the use of this software. diff --git a/CSFML/include/SFML/Audio/Types.h b/CSFML/include/SFML/Audio/Types.h index 3ade7fdbc..af2136069 100644 --- a/CSFML/include/SFML/Audio/Types.h +++ b/CSFML/include/SFML/Audio/Types.h @@ -1,8 +1,7 @@ //////////////////////////////////////////////////////////// // // SFML - Simple and Fast Multimedia Library -// Copyright (C) 2007-2009-2008 Laurent Gomila (laurent.gom@gmail.com) -// +// Copyright (C) 2007-2009 Laurent Gomila (laurent.gom@gmail.com)// // This software is provided 'as-is', without any express or implied warranty. // In no event will the authors be held liable for any damages arising from the use of this software. // diff --git a/CSFML/include/SFML/Config.h b/CSFML/include/SFML/Config.h index 8869d74be..bd75fa924 100644 --- a/CSFML/include/SFML/Config.h +++ b/CSFML/include/SFML/Config.h @@ -1,7 +1,7 @@ //////////////////////////////////////////////////////////// // // SFML - Simple and Fast Multimedia Library -// Copyright (C) 2007 Laurent Gomila (laurent.gom@gmail.com) +// Copyright (C) 2007-2009 Laurent Gomila (laurent.gom@gmail.com) // // This software is provided 'as-is', without any express or implied warranty. // In no event will the authors be held liable for any damages arising from the use of this software. diff --git a/CSFML/include/SFML/Graphics.h b/CSFML/include/SFML/Graphics.h index 2b3131c6b..35de6312a 100644 --- a/CSFML/include/SFML/Graphics.h +++ b/CSFML/include/SFML/Graphics.h @@ -1,7 +1,7 @@ //////////////////////////////////////////////////////////// // // SFML - Simple and Fast Multimedia Library -// Copyright (C) 2007 Laurent Gomila (laurent.gom@gmail.com) +// Copyright (C) 2007-2009 Laurent Gomila (laurent.gom@gmail.com) // // This software is provided 'as-is', without any express or implied warranty. // In no event will the authors be held liable for any damages arising from the use of this software. diff --git a/CSFML/include/SFML/Graphics/RenderImage.h b/CSFML/include/SFML/Graphics/RenderImage.h new file mode 100644 index 000000000..3e6c38f9f --- /dev/null +++ b/CSFML/include/SFML/Graphics/RenderImage.h @@ -0,0 +1,169 @@ +//////////////////////////////////////////////////////////// +// +// SFML - Simple and Fast Multimedia Library +// Copyright (C) 2007-2009 Laurent Gomila (laurent.gom@gmail.com) +// +// This software is provided 'as-is', without any express or implied warranty. +// In no event will the authors be held liable for any damages arising from the use of this software. +// +// Permission is granted to anyone to use this software for any purpose, +// including commercial applications, and to alter it and redistribute it freely, +// subject to the following restrictions: +// +// 1. The origin of this software must not be misrepresented; +// you must not claim that you wrote the original software. +// If you use this software in a product, an acknowledgment +// in the product documentation would be appreciated but is not required. +// +// 2. Altered source versions must be plainly marked as such, +// and must not be misrepresented as being the original software. +// +// 3. This notice may not be removed or altered from any source distribution. +// +//////////////////////////////////////////////////////////// + +#ifndef SFML_RENDERIMAGE_H +#define SFML_RENDERIMAGE_H + +//////////////////////////////////////////////////////////// +// Headers +//////////////////////////////////////////////////////////// +#include +#include +#include +#include + + +//////////////////////////////////////////////////////////// +/// Construct a new renderimage +/// +/// \param Width : Width of the renderimage +/// \param Height : Height of the renderimage +/// \param DepthBuffer : Do you want a depth-buffer attached? (useful only if you're doing 3D OpenGL on the renderimage) +/// +//////////////////////////////////////////////////////////// +CSFML_API sfRenderImage* sfRenderImage_Create(unsigned int Width, unsigned int Height, sfBool DepthBuffer); + +//////////////////////////////////////////////////////////// +/// Destroy an existing renderimage +/// +/// \param RenderImage : renderimage to destroy +/// +//////////////////////////////////////////////////////////// +CSFML_API void sfRenderImage_Destroy(sfRenderImage* RenderImage); + +//////////////////////////////////////////////////////////// +/// Get the width of the rendering region of a renderimage +/// +/// \param RenderImage : Renderimage object +/// +/// \return Width in pixels +/// +//////////////////////////////////////////////////////////// +CSFML_API unsigned int sfRenderImage_GetWidth(sfRenderImage* RenderImage); + +//////////////////////////////////////////////////////////// +/// Get the height of the rendering region of a renderimage +/// +/// \param RenderImage : Renderimage object +/// +/// \return Height in pixels +/// +//////////////////////////////////////////////////////////// +CSFML_API unsigned int sfRenderImage_GetHeight(sfRenderImage* RenderImage); + +//////////////////////////////////////////////////////////// +/// Activate or deactivate a renderimage as the current target for rendering +/// +/// \param RenderImage : Renderimage object +/// \param Active : sfTrue to activate, sfFalse to deactivate +/// +/// \return True if operation was successful, false otherwise +/// +//////////////////////////////////////////////////////////// +CSFML_API sfBool sfRenderImage_SetActive(sfRenderImage* RenderImage, sfBool Active); + +//////////////////////////////////////////////////////////// +/// Draw something on a renderimage +/// +/// \param RenderImage : Renderimage to draw in +/// \param PostFX / Sprite / String / shape : Object to draw +/// +//////////////////////////////////////////////////////////// +CSFML_API void sfRenderImage_DrawPostFX(sfRenderImage* RenderImage, sfPostFX* PostFX); +CSFML_API void sfRenderImage_DrawSprite(sfRenderImage* RenderImage, sfSprite* Sprite); +CSFML_API void sfRenderImage_DrawShape (sfRenderImage* RenderImage, sfShape* Shape); +CSFML_API void sfRenderImage_DrawString(sfRenderImage* RenderImage, sfString* String); + +//////////////////////////////////////////////////////////// +/// Clear the renderimage with the given color +/// +/// \param RenderImage : Renderimage to modify +/// \param Color : Fill color +/// +//////////////////////////////////////////////////////////// +CSFML_API void sfRenderImage_Clear(sfRenderImage* RenderImage, sfColor Color); + +//////////////////////////////////////////////////////////// +/// Change the current active view of a renderimage +/// +/// \param RenderImage : Renderimage to modify +/// \param NewView : Pointer to the new view +/// +//////////////////////////////////////////////////////////// +CSFML_API void sfRenderImage_SetView(sfRenderImage* RenderImage, sfView* View); + +//////////////////////////////////////////////////////////// +/// Get the current active view of a renderimage +/// +/// \param RenderImage : Renderimage +/// +/// \return Current active view +/// +//////////////////////////////////////////////////////////// +CSFML_API const sfView* sfRenderImage_GetView(sfRenderImage* RenderImage); + +//////////////////////////////////////////////////////////// +/// Get the default view of a renderimage +/// +/// \param RenderImage : Renderimage +/// +/// \return Default view of the renderimage +/// +//////////////////////////////////////////////////////////// +CSFML_API sfView* sfRenderImage_GetDefaultView(sfRenderImage* RenderImage); + +//////////////////////////////////////////////////////////// +/// Tell SFML to preserve external OpenGL states, at the expense of +/// more CPU charge. Use this function if you don't want SFML +/// to mess up your own OpenGL states (if any). +/// Don't enable state preservation if not needed, as it will allow +/// SFML to do internal optimizations and improve performances. +/// This parameter is false by default +/// +/// \param RenderImage : Target renderimage +/// \param Preserve : True to preserve OpenGL states, false to let SFML optimize +/// +//////////////////////////////////////////////////////////// +CSFML_API void sfRenderImage_PreserveOpenGLStates(sfRenderImage* RenderImage, sfBool Preserve); + +//////////////////////////////////////////////////////////// +/// Get the target image +/// +/// \param RenderImage : Renderimage object +/// +/// \return Pointer to the target image +/// +//////////////////////////////////////////////////////////// +CSFML_API sfImage* sfRenderImage_GetImage(sfRenderImage* RenderImage); + +//////////////////////////////////////////////////////////// +/// Check whether the system supports render images or not +/// +/// \return sfTrue if the RenderImage class can be used +/// +//////////////////////////////////////////////////////////// +CSFML_API sfBool sfRenderImage_CanUseRenderImage(); + + +#endif // SFML_RENDERIMAGE_H diff --git a/CSFML/include/SFML/Graphics/Types.h b/CSFML/include/SFML/Graphics/Types.h index b8119a611..10b8bb181 100644 --- a/CSFML/include/SFML/Graphics/Types.h +++ b/CSFML/include/SFML/Graphics/Types.h @@ -29,6 +29,7 @@ typedef struct sfFont sfFont; typedef struct sfImage sfImage; typedef struct sfPostFX sfPostFX; +typedef struct sfRenderImage sfRenderImage; typedef struct sfRenderWindow sfRenderWindow; typedef struct sfShape sfShape; typedef struct sfSprite sfSprite; diff --git a/CSFML/include/SFML/Network.h b/CSFML/include/SFML/Network.h index 4a238822a..bbc87ffcd 100644 --- a/CSFML/include/SFML/Network.h +++ b/CSFML/include/SFML/Network.h @@ -1,7 +1,7 @@ //////////////////////////////////////////////////////////// // // SFML - Simple and Fast Multimedia Library -// Copyright (C) 2007 Laurent Gomila (laurent.gom@gmail.com) +// Copyright (C) 2007-2009 Laurent Gomila (laurent.gom@gmail.com) // // This software is provided 'as-is', without any express or implied warranty. // In no event will the authors be held liable for any damages arising from the use of this software. diff --git a/CSFML/include/SFML/Network/Types.h b/CSFML/include/SFML/Network/Types.h index bd74b2c22..5878a6262 100644 --- a/CSFML/include/SFML/Network/Types.h +++ b/CSFML/include/SFML/Network/Types.h @@ -1,7 +1,7 @@ //////////////////////////////////////////////////////////// // // SFML - Simple and Fast Multimedia Library -// Copyright (C) 2007-2009-2008 Laurent Gomila (laurent.gom@gmail.com) +// Copyright (C) 2007-2009 Laurent Gomila (laurent.gom@gmail.com) // // This software is provided 'as-is', without any express or implied warranty. // In no event will the authors be held liable for any damages arising from the use of this software. diff --git a/CSFML/include/SFML/System.h b/CSFML/include/SFML/System.h index dcc87a01d..428627e3b 100644 --- a/CSFML/include/SFML/System.h +++ b/CSFML/include/SFML/System.h @@ -1,7 +1,7 @@ //////////////////////////////////////////////////////////// // // SFML - Simple and Fast Multimedia Library -// Copyright (C) 2007 Laurent Gomila (laurent.gom@gmail.com) +// Copyright (C) 2007-2009 Laurent Gomila (laurent.gom@gmail.com) // // This software is provided 'as-is', without any express or implied warranty. // In no event will the authors be held liable for any damages arising from the use of this software. diff --git a/CSFML/include/SFML/System/Types.h b/CSFML/include/SFML/System/Types.h index 82feb1a52..c071b4804 100644 --- a/CSFML/include/SFML/System/Types.h +++ b/CSFML/include/SFML/System/Types.h @@ -1,8 +1,7 @@ //////////////////////////////////////////////////////////// // // SFML - Simple and Fast Multimedia Library -// Copyright (C) 2007-2009-2008 Laurent Gomila (laurent.gom@gmail.com) -// +// Copyright (C) 2007-2009 Laurent Gomila (laurent.gom@gmail.com)// // This software is provided 'as-is', without any express or implied warranty. // In no event will the authors be held liable for any damages arising from the use of this software. // diff --git a/CSFML/include/SFML/Window.h b/CSFML/include/SFML/Window.h index d989cddfa..32847b5d2 100644 --- a/CSFML/include/SFML/Window.h +++ b/CSFML/include/SFML/Window.h @@ -1,7 +1,7 @@ //////////////////////////////////////////////////////////// // // SFML - Simple and Fast Multimedia Library -// Copyright (C) 2007 Laurent Gomila (laurent.gom@gmail.com) +// Copyright (C) 2007-2009 Laurent Gomila (laurent.gom@gmail.com) // // This software is provided 'as-is', without any express or implied warranty. // In no event will the authors be held liable for any damages arising from the use of this software. @@ -33,6 +33,7 @@ #include #include #include +#include #include #include diff --git a/CSFML/include/SFML/Window/Event.h b/CSFML/include/SFML/Window/Event.h index 3cd983245..3471ccaf7 100644 --- a/CSFML/include/SFML/Window/Event.h +++ b/CSFML/include/SFML/Window/Event.h @@ -1,8 +1,7 @@ //////////////////////////////////////////////////////////// // // SFML - Simple and Fast Multimedia Library -// Copyright (C) 2007-2009-2008 Laurent Gomila (laurent.gom@gmail.com) -// +// Copyright (C) 2007-2009 Laurent Gomila (laurent.gom@gmail.com)// // This software is provided 'as-is', without any express or implied warranty. // In no event will the authors be held liable for any damages arising from the use of this software. // diff --git a/CSFML/include/SFML/Window/Input.h b/CSFML/include/SFML/Window/Input.h index 0b313bfa6..d8aacaf1a 100644 --- a/CSFML/include/SFML/Window/Input.h +++ b/CSFML/include/SFML/Window/Input.h @@ -1,8 +1,7 @@ //////////////////////////////////////////////////////////// // // SFML - Simple and Fast Multimedia Library -// Copyright (C) 2007-2009-2008 Laurent Gomila (laurent.gom@gmail.com) -// +// Copyright (C) 2007-2009 Laurent Gomila (laurent.gom@gmail.com)// // This software is provided 'as-is', without any express or implied warranty. // In no event will the authors be held liable for any damages arising from the use of this software. // diff --git a/CSFML/include/SFML/Window/OpenGL.h b/CSFML/include/SFML/Window/OpenGL.h new file mode 100644 index 000000000..d65ca1100 --- /dev/null +++ b/CSFML/include/SFML/Window/OpenGL.h @@ -0,0 +1,59 @@ +//////////////////////////////////////////////////////////// +// +// SFML - Simple and Fast Multimedia Library +// Copyright (C) 2007-2009 Laurent Gomila (laurent.gom@gmail.com) +// +// This software is provided 'as-is', without any express or implied warranty. +// In no event will the authors be held liable for any damages arising from the use of this software. +// +// Permission is granted to anyone to use this software for any purpose, +// including commercial applications, and to alter it and redistribute it freely, +// subject to the following restrictions: +// +// 1. The origin of this software must not be misrepresented; +// you must not claim that you wrote the original software. +// If you use this software in a product, an acknowledgment +// in the product documentation would be appreciated but is not required. +// +// 2. Altered source versions must be plainly marked as such, +// and must not be misrepresented as being the original software. +// +// 3. This notice may not be removed or altered from any source distribution. +// +//////////////////////////////////////////////////////////// + +#ifndef SFML_OPENGL_H +#define SFML_OPENGL_H + + +//////////////////////////////////////////////////////////// +/// Headers +//////////////////////////////////////////////////////////// +#include + + +//////////////////////////////////////////////////////////// +/// This file just includes the OpenGL (GL and GLU) headers, +/// which have actually different paths on each system +//////////////////////////////////////////////////////////// +#if defined(CSFML_SYSTEM_WINDOWS) + + #include + #include + #include + +#elif defined(CSFML_SYSTEM_LINUX) || defined(CSFML_SYSTEM_FREEBSD) + + #include + #include + +#elif defined(CSFML_SYSTEM_MACOS) + + #include + #include + +#endif + + +#endif // SFML_OPENGL_H + diff --git a/CSFML/include/SFML/Window/Types.h b/CSFML/include/SFML/Window/Types.h index c5695c291..f91fdabcd 100644 --- a/CSFML/include/SFML/Window/Types.h +++ b/CSFML/include/SFML/Window/Types.h @@ -1,7 +1,7 @@ //////////////////////////////////////////////////////////// // // SFML - Simple and Fast Multimedia Library -// Copyright (C) 2007-2009-2008 Laurent Gomila (laurent.gom@gmail.com) +// Copyright (C) 2007-2009 Laurent Gomila (laurent.gom@gmail.com) // // This software is provided 'as-is', without any express or implied warranty. // In no event will the authors be held liable for any damages arising from the use of this software. diff --git a/CSFML/include/SFML/Window/VideoMode.h b/CSFML/include/SFML/Window/VideoMode.h index 64f5a18a4..ea3bfda03 100644 --- a/CSFML/include/SFML/Window/VideoMode.h +++ b/CSFML/include/SFML/Window/VideoMode.h @@ -1,8 +1,7 @@ //////////////////////////////////////////////////////////// // // SFML - Simple and Fast Multimedia Library -// Copyright (C) 2007-2009-2008 Laurent Gomila (laurent.gom@gmail.com) -// +// Copyright (C) 2007-2009 Laurent Gomila (laurent.gom@gmail.com)// // This software is provided 'as-is', without any express or implied warranty. // In no event will the authors be held liable for any damages arising from the use of this software. // diff --git a/CSFML/include/SFML/Window/Window.h b/CSFML/include/SFML/Window/Window.h index 8c5748c78..cb2bfb34a 100644 --- a/CSFML/include/SFML/Window/Window.h +++ b/CSFML/include/SFML/Window/Window.h @@ -1,7 +1,7 @@ //////////////////////////////////////////////////////////// // // SFML - Simple and Fast Multimedia Library -// Copyright (C) 2007-2009-2008 Laurent Gomila (laurent.gom@gmail.com) +// Copyright (C) 2007-2009 Laurent Gomila (laurent.gom@gmail.com) // // This software is provided 'as-is', without any express or implied warranty. // In no event will the authors be held liable for any damages arising from the use of this software. diff --git a/CSFML/include/SFML/Window/WindowHandle.h b/CSFML/include/SFML/Window/WindowHandle.h index 04722c4b3..2a1a6974d 100644 --- a/CSFML/include/SFML/Window/WindowHandle.h +++ b/CSFML/include/SFML/Window/WindowHandle.h @@ -1,56 +1,56 @@ -//////////////////////////////////////////////////////////// -// -// SFML - Simple and Fast Multimedia Library -// Copyright (C) 2007-2009-2008 Laurent Gomila (laurent.gom@gmail.com) -// -// This software is provided 'as-is', without any express or implied warranty. -// In no event will the authors be held liable for any damages arising from the use of this software. -// -// Permission is granted to anyone to use this software for any purpose, -// including commercial applications, and to alter it and redistribute it freely, -// subject to the following restrictions: -// -// 1. The origin of this software must not be misrepresented; -// you must not claim that you wrote the original software. -// If you use this software in a product, an acknowledgment -// in the product documentation would be appreciated but is not required. -// -// 2. Altered source versions must be plainly marked as such, -// and must not be misrepresented as being the original software. -// -// 3. This notice may not be removed or altered from any source distribution. -// -//////////////////////////////////////////////////////////// - -#ifndef SFML_WINDOWHANDLE_H -#define SFML_WINDOWHANDLE_H - -//////////////////////////////////////////////////////////// -// Headers -//////////////////////////////////////////////////////////// -#include - - -//////////////////////////////////////////////////////////// -/// Define a low-level window handle type, specific to -/// each platform -//////////////////////////////////////////////////////////// -#if defined(CSFML_SYSTEM_WINDOWS) - - // Windows defines a void* handle (HWND) - typedef void* sfWindowHandle; - -#elif defined(CSFML_SYSTEM_LINUX) - - // Unix - X11 defines an unsigned integer handle (Window) - typedef unsigned long sfWindowHandle; - -#elif defined(CSFML_SYSTEM_MACOS) - - // Mac OS X defines a void* handle (NSWindow) - typedef void * sfWindowHandle; - -#endif - - -#endif // SFML_WINDOWHANDLE_H +//////////////////////////////////////////////////////////// +// +// SFML - Simple and Fast Multimedia Library +// Copyright (C) 2007-2009 Laurent Gomila (laurent.gom@gmail.com) +// +// This software is provided 'as-is', without any express or implied warranty. +// In no event will the authors be held liable for any damages arising from the use of this software. +// +// Permission is granted to anyone to use this software for any purpose, +// including commercial applications, and to alter it and redistribute it freely, +// subject to the following restrictions: +// +// 1. The origin of this software must not be misrepresented; +// you must not claim that you wrote the original software. +// If you use this software in a product, an acknowledgment +// in the product documentation would be appreciated but is not required. +// +// 2. Altered source versions must be plainly marked as such, +// and must not be misrepresented as being the original software. +// +// 3. This notice may not be removed or altered from any source distribution. +// +//////////////////////////////////////////////////////////// + +#ifndef SFML_WINDOWHANDLE_H +#define SFML_WINDOWHANDLE_H + +//////////////////////////////////////////////////////////// +// Headers +//////////////////////////////////////////////////////////// +#include + + +//////////////////////////////////////////////////////////// +/// Define a low-level window handle type, specific to +/// each platform +//////////////////////////////////////////////////////////// +#if defined(CSFML_SYSTEM_WINDOWS) + + // Windows defines a void* handle (HWND) + typedef void* sfWindowHandle; + +#elif defined(CSFML_SYSTEM_LINUX) + + // Unix - X11 defines an unsigned integer handle (Window) + typedef unsigned long sfWindowHandle; + +#elif defined(CSFML_SYSTEM_MACOS) + + // Mac OS X defines a void* handle (NSWindow) + typedef void* sfWindowHandle; + +#endif + + +#endif // SFML_WINDOWHANDLE_H diff --git a/CSFML/src/SFML/Audio/Music.cpp b/CSFML/src/SFML/Audio/Music.cpp index 9c6d9a14f..e3e8ebbbf 100644 --- a/CSFML/src/SFML/Audio/Music.cpp +++ b/CSFML/src/SFML/Audio/Music.cpp @@ -26,16 +26,10 @@ // Headers //////////////////////////////////////////////////////////// #include -#include +#include #include -struct sfMusic -{ - sf::Music This; -}; - - //////////////////////////////////////////////////////////// /// Create a new music and load it from a file //////////////////////////////////////////////////////////// diff --git a/CSFML/src/SFML/Audio/MusicStruct.h b/CSFML/src/SFML/Audio/MusicStruct.h new file mode 100644 index 000000000..8c82e893e --- /dev/null +++ b/CSFML/src/SFML/Audio/MusicStruct.h @@ -0,0 +1,43 @@ +//////////////////////////////////////////////////////////// +// +// SFML - Simple and Fast Multimedia Library +// Copyright (C) 2007-2009 Laurent Gomila (laurent.gom@gmail.com) +// +// This software is provided 'as-is', without any express or implied warranty. +// In no event will the authors be held liable for any damages arising from the use of this software. +// +// Permission is granted to anyone to use this software for any purpose, +// including commercial applications, and to alter it and redistribute it freely, +// subject to the following restrictions: +// +// 1. The origin of this software must not be misrepresented; +// you must not claim that you wrote the original software. +// If you use this software in a product, an acknowledgment +// in the product documentation would be appreciated but is not required. +// +// 2. Altered source versions must be plainly marked as such, +// and must not be misrepresented as being the original software. +// +// 3. This notice may not be removed or altered from any source distribution. +// +//////////////////////////////////////////////////////////// + +#ifndef SFML_MUSICSTRUCT_H +#define SFML_MUSICSTRUCT_H + +//////////////////////////////////////////////////////////// +// Headers +//////////////////////////////////////////////////////////// +#include + + +//////////////////////////////////////////////////////////// +// Internal structure of sfMusic +//////////////////////////////////////////////////////////// +struct sfMusic +{ + sf::Music This; +}; + + +#endif // SFML_MUSICSTRUCT_H diff --git a/CSFML/src/SFML/Audio/Sound.cpp b/CSFML/src/SFML/Audio/Sound.cpp index 176bb5b47..ae82d8a5b 100644 --- a/CSFML/src/SFML/Audio/Sound.cpp +++ b/CSFML/src/SFML/Audio/Sound.cpp @@ -26,23 +26,10 @@ // Headers //////////////////////////////////////////////////////////// #include -#include -#include +#include #include -// WARNING : this structure must always be the SAME as in Audio/SoundBuffer.h -struct sfSoundBuffer -{ - sf::SoundBuffer This; -}; -struct sfSound -{ - sf::Sound This; - sfSoundBuffer* Buffer; -}; - - //////////////////////////////////////////////////////////// /// Construct a new sound //////////////////////////////////////////////////////////// diff --git a/CSFML/src/SFML/Audio/SoundBuffer.cpp b/CSFML/src/SFML/Audio/SoundBuffer.cpp index a7136eaef..2c28a65eb 100644 --- a/CSFML/src/SFML/Audio/SoundBuffer.cpp +++ b/CSFML/src/SFML/Audio/SoundBuffer.cpp @@ -26,16 +26,10 @@ // Headers //////////////////////////////////////////////////////////// #include -#include +#include #include -struct sfSoundBuffer -{ - sf::SoundBuffer This; -}; - - //////////////////////////////////////////////////////////// /// Create a new sound buffer and load it from a file //////////////////////////////////////////////////////////// diff --git a/CSFML/src/SFML/Audio/SoundBufferRecorder.cpp b/CSFML/src/SFML/Audio/SoundBufferRecorder.cpp index 4beb86aee..b5d705b43 100644 --- a/CSFML/src/SFML/Audio/SoundBufferRecorder.cpp +++ b/CSFML/src/SFML/Audio/SoundBufferRecorder.cpp @@ -26,24 +26,10 @@ // Headers //////////////////////////////////////////////////////////// #include -#include -#include +#include #include -// WARNING : this structure must always be the SAME as in Audio/SoundBuffer.h -struct sfSoundBuffer -{ - sf::SoundBuffer This; -}; - -struct sfSoundBufferRecorder -{ - sf::SoundBufferRecorder This; - sfSoundBuffer SoundBuffer; -}; - - //////////////////////////////////////////////////////////// /// Construct a new sound buffer recorder //////////////////////////////////////////////////////////// diff --git a/CSFML/src/SFML/Audio/SoundBufferRecorderStruct.h b/CSFML/src/SFML/Audio/SoundBufferRecorderStruct.h new file mode 100644 index 000000000..71c1a8eb5 --- /dev/null +++ b/CSFML/src/SFML/Audio/SoundBufferRecorderStruct.h @@ -0,0 +1,45 @@ +//////////////////////////////////////////////////////////// +// +// SFML - Simple and Fast Multimedia Library +// Copyright (C) 2007-2009 Laurent Gomila (laurent.gom@gmail.com) +// +// This software is provided 'as-is', without any express or implied warranty. +// In no event will the authors be held liable for any damages arising from the use of this software. +// +// Permission is granted to anyone to use this software for any purpose, +// including commercial applications, and to alter it and redistribute it freely, +// subject to the following restrictions: +// +// 1. The origin of this software must not be misrepresented; +// you must not claim that you wrote the original software. +// If you use this software in a product, an acknowledgment +// in the product documentation would be appreciated but is not required. +// +// 2. Altered source versions must be plainly marked as such, +// and must not be misrepresented as being the original software. +// +// 3. This notice may not be removed or altered from any source distribution. +// +//////////////////////////////////////////////////////////// + +#ifndef SFML_SOUNDBUFFERRECORDERSTRUCT_H +#define SFML_SOUNDBUFFERRECORDERSTRUCT_H + +//////////////////////////////////////////////////////////// +// Headers +//////////////////////////////////////////////////////////// +#include +#include + + +//////////////////////////////////////////////////////////// +// Internal structure of sfSoundBufferRecorder +//////////////////////////////////////////////////////////// +struct sfSoundBufferRecorder +{ + sf::SoundBufferRecorder This; + sfSoundBuffer SoundBuffer; +}; + + +#endif // SFML_SOUNDBUFFERRECORDERSTRUCT_H diff --git a/CSFML/src/SFML/Audio/SoundBufferStruct.h b/CSFML/src/SFML/Audio/SoundBufferStruct.h new file mode 100644 index 000000000..8cadb73eb --- /dev/null +++ b/CSFML/src/SFML/Audio/SoundBufferStruct.h @@ -0,0 +1,43 @@ +//////////////////////////////////////////////////////////// +// +// SFML - Simple and Fast Multimedia Library +// Copyright (C) 2007-2009 Laurent Gomila (laurent.gom@gmail.com) +// +// This software is provided 'as-is', without any express or implied warranty. +// In no event will the authors be held liable for any damages arising from the use of this software. +// +// Permission is granted to anyone to use this software for any purpose, +// including commercial applications, and to alter it and redistribute it freely, +// subject to the following restrictions: +// +// 1. The origin of this software must not be misrepresented; +// you must not claim that you wrote the original software. +// If you use this software in a product, an acknowledgment +// in the product documentation would be appreciated but is not required. +// +// 2. Altered source versions must be plainly marked as such, +// and must not be misrepresented as being the original software. +// +// 3. This notice may not be removed or altered from any source distribution. +// +//////////////////////////////////////////////////////////// + +#ifndef SFML_SOUNDBUFFERSTRUCT_H +#define SFML_SOUNDBUFFERSTRUCT_H + +//////////////////////////////////////////////////////////// +// Headers +//////////////////////////////////////////////////////////// +#include + + +//////////////////////////////////////////////////////////// +// Internal structure of sfSoundBuffer +//////////////////////////////////////////////////////////// +struct sfSoundBuffer +{ + sf::SoundBuffer This; +}; + + +#endif // SFML_SOUNDBUFFERSTRUCT_H diff --git a/CSFML/src/SFML/Audio/SoundRecorder.cpp b/CSFML/src/SFML/Audio/SoundRecorder.cpp index 069bfb812..6013608fb 100644 --- a/CSFML/src/SFML/Audio/SoundRecorder.cpp +++ b/CSFML/src/SFML/Audio/SoundRecorder.cpp @@ -26,70 +26,10 @@ // Headers //////////////////////////////////////////////////////////// #include -#include +#include #include -class sfSoundRecorderImpl : public sf::SoundRecorder -{ -public : - - sfSoundRecorderImpl(sfSoundRecorderStartCallback OnStart, - sfSoundRecorderProcessCallback OnProcess, - sfSoundRecorderStopCallback OnStop, - void* UserData) : - myStartCallback (OnStart), - myProcessCallback(OnProcess), - myStopCallback (OnStop), - myUserData (UserData) - { - } - -private : - - virtual bool OnStart() - { - if (myStartCallback) - return myStartCallback(myUserData) == sfTrue; - else - return true; - } - - virtual bool OnProcessSamples(const sf::Int16* Samples, std::size_t SamplesCount) - { - if (myProcessCallback) - return myProcessCallback(Samples, SamplesCount, myUserData) == sfTrue; - else - return true; - } - - virtual void OnStop() - { - if (myStopCallback) - myStopCallback(myUserData); - } - - sfSoundRecorderStartCallback myStartCallback; - sfSoundRecorderProcessCallback myProcessCallback; - sfSoundRecorderStopCallback myStopCallback; - void* myUserData; -}; - - -struct sfSoundRecorder -{ - sfSoundRecorder(sfSoundRecorderStartCallback OnStart, - sfSoundRecorderProcessCallback OnProcess, - sfSoundRecorderStopCallback OnStop, - void* UserData) : - This(OnStart, OnProcess, OnStop, UserData) - { - } - - sfSoundRecorderImpl This; -}; - - //////////////////////////////////////////////////////////// /// Construct a new sound recorder with callback functions /// for processing captured samples diff --git a/CSFML/src/SFML/Audio/SoundRecorderStruct.h b/CSFML/src/SFML/Audio/SoundRecorderStruct.h new file mode 100644 index 000000000..7de0f1ca8 --- /dev/null +++ b/CSFML/src/SFML/Audio/SoundRecorderStruct.h @@ -0,0 +1,102 @@ +//////////////////////////////////////////////////////////// +// +// SFML - Simple and Fast Multimedia Library +// Copyright (C) 2007-2009 Laurent Gomila (laurent.gom@gmail.com) +// +// This software is provided 'as-is', without any express or implied warranty. +// In no event will the authors be held liable for any damages arising from the use of this software. +// +// Permission is granted to anyone to use this software for any purpose, +// including commercial applications, and to alter it and redistribute it freely, +// subject to the following restrictions: +// +// 1. The origin of this software must not be misrepresented; +// you must not claim that you wrote the original software. +// If you use this software in a product, an acknowledgment +// in the product documentation would be appreciated but is not required. +// +// 2. Altered source versions must be plainly marked as such, +// and must not be misrepresented as being the original software. +// +// 3. This notice may not be removed or altered from any source distribution. +// +//////////////////////////////////////////////////////////// + +#ifndef SFML_SOUNDRECORDERSTRUCT_H +#define SFML_SOUNDRECORDERSTRUCT_H + +//////////////////////////////////////////////////////////// +// Headers +//////////////////////////////////////////////////////////// +#include +#include + + +//////////////////////////////////////////////////////////// +// Helper class implementing the callback forwarding from +// C++ to C in sfSoundRecorder +//////////////////////////////////////////////////////////// +class sfSoundRecorderImpl : public sf::SoundRecorder +{ +public : + + sfSoundRecorderImpl(sfSoundRecorderStartCallback OnStart, + sfSoundRecorderProcessCallback OnProcess, + sfSoundRecorderStopCallback OnStop, + void* UserData) : + myStartCallback (OnStart), + myProcessCallback(OnProcess), + myStopCallback (OnStop), + myUserData (UserData) + { + } + +private : + + virtual bool OnStart() + { + if (myStartCallback) + return myStartCallback(myUserData) == sfTrue; + else + return true; + } + + virtual bool OnProcessSamples(const sf::Int16* Samples, std::size_t SamplesCount) + { + if (myProcessCallback) + return myProcessCallback(Samples, SamplesCount, myUserData) == sfTrue; + else + return true; + } + + virtual void OnStop() + { + if (myStopCallback) + myStopCallback(myUserData); + } + + sfSoundRecorderStartCallback myStartCallback; + sfSoundRecorderProcessCallback myProcessCallback; + sfSoundRecorderStopCallback myStopCallback; + void* myUserData; +}; + + +//////////////////////////////////////////////////////////// +// Internal structure of sfPacket +//////////////////////////////////////////////////////////// +struct sfSoundRecorder +{ + sfSoundRecorder(sfSoundRecorderStartCallback OnStart, + sfSoundRecorderProcessCallback OnProcess, + sfSoundRecorderStopCallback OnStop, + void* UserData) : + This(OnStart, OnProcess, OnStop, UserData) + { + } + + sfSoundRecorderImpl This; +}; + + +#endif // SFML_SOUNDRECORDERSTRUCT_H diff --git a/CSFML/src/SFML/Audio/SoundStream.cpp b/CSFML/src/SFML/Audio/SoundStream.cpp index e50cb047d..209e99437 100644 --- a/CSFML/src/SFML/Audio/SoundStream.cpp +++ b/CSFML/src/SFML/Audio/SoundStream.cpp @@ -26,66 +26,10 @@ // Headers //////////////////////////////////////////////////////////// #include -#include +#include #include -class sfSoundStreamImpl : public sf::SoundStream -{ -public : - - sfSoundStreamImpl(sfSoundStreamGetDataCallback OnGetData, - sfSoundStreamSeekCallback OnSeek, - unsigned int ChannelsCount, - unsigned int SampleRate, - void* UserData) : - myGetDataCallback(OnGetData), - mySeekCallback (OnSeek), - myUserData (UserData) - { - Initialize(ChannelsCount, SampleRate); - } - -private : - - virtual bool OnGetData(Chunk& Data) - { - sfSoundStreamChunk Chunk = {NULL, 0}; - bool Continue = (myGetDataCallback(&Chunk, myUserData) == sfTrue); - - Data.Samples = Chunk.Samples; - Data.NbSamples = Chunk.NbSamples; - - return Continue; - } - - virtual void OnSeek(float TimeOffset) - { - if (mySeekCallback) - mySeekCallback(TimeOffset, myUserData); - } - - sfSoundStreamGetDataCallback myGetDataCallback; - sfSoundStreamSeekCallback mySeekCallback; - void* myUserData; -}; - - -struct sfSoundStream -{ - sfSoundStream(sfSoundStreamGetDataCallback OnGetData, - sfSoundStreamSeekCallback OnSeek, - unsigned int ChannelsCount, - unsigned int SampleRate, - void* UserData) : - This(OnGetData, OnSeek, ChannelsCount, SampleRate, UserData) - { - } - - sfSoundStreamImpl This; -}; - - //////////////////////////////////////////////////////////// /// Construct a new sound stream //////////////////////////////////////////////////////////// diff --git a/CSFML/src/SFML/Audio/SoundStreamStruct.h b/CSFML/src/SFML/Audio/SoundStreamStruct.h new file mode 100644 index 000000000..bef7f83b4 --- /dev/null +++ b/CSFML/src/SFML/Audio/SoundStreamStruct.h @@ -0,0 +1,97 @@ +//////////////////////////////////////////////////////////// +// +// SFML - Simple and Fast Multimedia Library +// Copyright (C) 2007-2009 Laurent Gomila (laurent.gom@gmail.com) +// +// This software is provided 'as-is', without any express or implied warranty. +// In no event will the authors be held liable for any damages arising from the use of this software. +// +// Permission is granted to anyone to use this software for any purpose, +// including commercial applications, and to alter it and redistribute it freely, +// subject to the following restrictions: +// +// 1. The origin of this software must not be misrepresented; +// you must not claim that you wrote the original software. +// If you use this software in a product, an acknowledgment +// in the product documentation would be appreciated but is not required. +// +// 2. Altered source versions must be plainly marked as such, +// and must not be misrepresented as being the original software. +// +// 3. This notice may not be removed or altered from any source distribution. +// +//////////////////////////////////////////////////////////// + +#ifndef SFML_SOUNDSTREAMSTRUCT_H +#define SFML_SOUNDSTREAMSTRUCT_H + +//////////////////////////////////////////////////////////// +// Headers +//////////////////////////////////////////////////////////// +#include + + +//////////////////////////////////////////////////////////// +// Helper class implementing the callback forwarding from +// C++ to C in sfSoundStream +//////////////////////////////////////////////////////////// +class sfSoundStreamImpl : public sf::SoundStream +{ +public : + + sfSoundStreamImpl(sfSoundStreamGetDataCallback OnGetData, + sfSoundStreamSeekCallback OnSeek, + unsigned int ChannelsCount, + unsigned int SampleRate, + void* UserData) : + myGetDataCallback(OnGetData), + mySeekCallback (OnSeek), + myUserData (UserData) + { + Initialize(ChannelsCount, SampleRate); + } + +private : + + virtual bool OnGetData(Chunk& Data) + { + sfSoundStreamChunk Chunk = {NULL, 0}; + bool Continue = (myGetDataCallback(&Chunk, myUserData) == sfTrue); + + Data.Samples = Chunk.Samples; + Data.NbSamples = Chunk.NbSamples; + + return Continue; + } + + virtual void OnSeek(float TimeOffset) + { + if (mySeekCallback) + mySeekCallback(TimeOffset, myUserData); + } + + sfSoundStreamGetDataCallback myGetDataCallback; + sfSoundStreamSeekCallback mySeekCallback; + void* myUserData; +}; + + +//////////////////////////////////////////////////////////// +// Internal structure of sfSoundStream +//////////////////////////////////////////////////////////// +struct sfSoundStream +{ + sfSoundStream(sfSoundStreamGetDataCallback OnGetData, + sfSoundStreamSeekCallback OnSeek, + unsigned int ChannelsCount, + unsigned int SampleRate, + void* UserData) : + This(OnGetData, OnSeek, ChannelsCount, SampleRate, UserData) + { + } + + sfSoundStreamImpl This; +}; + + +#endif // SFML_SOUNDSTREAMSTRUCT_H diff --git a/CSFML/src/SFML/Audio/SoundStruct.h b/CSFML/src/SFML/Audio/SoundStruct.h new file mode 100644 index 000000000..4d3176625 --- /dev/null +++ b/CSFML/src/SFML/Audio/SoundStruct.h @@ -0,0 +1,45 @@ +//////////////////////////////////////////////////////////// +// +// SFML - Simple and Fast Multimedia Library +// Copyright (C) 2007-2009 Laurent Gomila (laurent.gom@gmail.com) +// +// This software is provided 'as-is', without any express or implied warranty. +// In no event will the authors be held liable for any damages arising from the use of this software. +// +// Permission is granted to anyone to use this software for any purpose, +// including commercial applications, and to alter it and redistribute it freely, +// subject to the following restrictions: +// +// 1. The origin of this software must not be misrepresented; +// you must not claim that you wrote the original software. +// If you use this software in a product, an acknowledgment +// in the product documentation would be appreciated but is not required. +// +// 2. Altered source versions must be plainly marked as such, +// and must not be misrepresented as being the original software. +// +// 3. This notice may not be removed or altered from any source distribution. +// +//////////////////////////////////////////////////////////// + +#ifndef SFML_SOUNDSTRUCT_H +#define SFML_SOUNDSTRUCT_H + +//////////////////////////////////////////////////////////// +// Headers +//////////////////////////////////////////////////////////// +#include +#include + + +//////////////////////////////////////////////////////////// +// Internal structure of sfSound +//////////////////////////////////////////////////////////// +struct sfSound +{ + sf::Sound This; + sfSoundBuffer* Buffer; +}; + + +#endif // SFML_SOUNDSTRUCT_H diff --git a/CSFML/src/SFML/Graphics/Font.cpp b/CSFML/src/SFML/Graphics/Font.cpp index 4bb8e5003..82dafb553 100644 --- a/CSFML/src/SFML/Graphics/Font.cpp +++ b/CSFML/src/SFML/Graphics/Font.cpp @@ -26,16 +26,10 @@ // Headers //////////////////////////////////////////////////////////// #include -#include +#include #include -struct sfFont -{ - sf::Font This; -}; - - //////////////////////////////////////////////////////////// /// Create a new empty font //////////////////////////////////////////////////////////// diff --git a/CSFML/src/SFML/Graphics/FontStruct.h b/CSFML/src/SFML/Graphics/FontStruct.h new file mode 100644 index 000000000..08a31f17c --- /dev/null +++ b/CSFML/src/SFML/Graphics/FontStruct.h @@ -0,0 +1,43 @@ +//////////////////////////////////////////////////////////// +// +// SFML - Simple and Fast Multimedia Library +// Copyright (C) 2007-2009 Laurent Gomila (laurent.gom@gmail.com) +// +// This software is provided 'as-is', without any express or implied warranty. +// In no event will the authors be held liable for any damages arising from the use of this software. +// +// Permission is granted to anyone to use this software for any purpose, +// including commercial applications, and to alter it and redistribute it freely, +// subject to the following restrictions: +// +// 1. The origin of this software must not be misrepresented; +// you must not claim that you wrote the original software. +// If you use this software in a product, an acknowledgment +// in the product documentation would be appreciated but is not required. +// +// 2. Altered source versions must be plainly marked as such, +// and must not be misrepresented as being the original software. +// +// 3. This notice may not be removed or altered from any source distribution. +// +//////////////////////////////////////////////////////////// + +#ifndef SFML_FONTSTRUCT_H +#define SFML_FONTSTRUCT_H + +//////////////////////////////////////////////////////////// +// Headers +//////////////////////////////////////////////////////////// +#include + + +//////////////////////////////////////////////////////////// +// Internal structure of sfFont +//////////////////////////////////////////////////////////// +struct sfFont +{ + sf::Font This; +}; + + +#endif // SFML_FONTSTRUCT_H diff --git a/CSFML/src/SFML/Graphics/Image.cpp b/CSFML/src/SFML/Graphics/Image.cpp index a307bf896..9ef7a8f04 100644 --- a/CSFML/src/SFML/Graphics/Image.cpp +++ b/CSFML/src/SFML/Graphics/Image.cpp @@ -26,37 +26,11 @@ // Headers //////////////////////////////////////////////////////////// #include -#include -#include -#include +#include +#include #include -// WARNING : this structure must always be the SAME as in Window/Input.h -struct sfInput -{ - const sf::Input* This; -}; -// WARNING : this structure must always be the SAME as in Graphics/View.h -struct sfView -{ - sf::View* This; -}; -// WARNING : this structure must always be the SAME as in Graphics/RenderWindow.h -struct sfRenderWindow -{ - sf::RenderWindow This; - sfInput Input; - sfView DefaultView; - sfView* CurrentView; -}; - -struct sfImage -{ - sf::Image This; -}; - - //////////////////////////////////////////////////////////// /// Create a new empty image //////////////////////////////////////////////////////////// @@ -73,7 +47,7 @@ sfImage* sfImage_CreateFromColor(unsigned int Width, unsigned int Height, sfColo { sfImage* Image = new sfImage; - if (!Image->This.Create(Width, Height, sf::Color(Color.r, Color.g, Color.b, Color.a))) + if (!Image->This->Create(Width, Height, sf::Color(Color.r, Color.g, Color.b, Color.a))) { delete Image; Image = NULL; @@ -90,7 +64,7 @@ sfImage* sfImage_CreateFromPixels(unsigned int Width, unsigned int Height, const { sfImage* Image = new sfImage; - if (!Image->This.LoadFromPixels(Width, Height, Data)) + if (!Image->This->LoadFromPixels(Width, Height, Data)) { delete Image; Image = NULL; @@ -107,7 +81,7 @@ sfImage* sfImage_CreateFromFile(const char* Filename) { sfImage* Image = new sfImage; - if (!Image->This.LoadFromFile(Filename)) + if (!Image->This->LoadFromFile(Filename)) { delete Image; Image = NULL; @@ -124,7 +98,7 @@ sfImage* sfImage_CreateFromMemory(const char* Data, size_t SizeInBytes) { sfImage* Image = new sfImage; - if (!Image->This.LoadFromMemory(Data, SizeInBytes)) + if (!Image->This->LoadFromMemory(Data, SizeInBytes)) { delete Image; Image = NULL; @@ -148,7 +122,7 @@ void sfImage_Destroy(sfImage* Image) //////////////////////////////////////////////////////////// sfBool sfImage_SaveToFile(sfImage* Image, const char* Filename) { - CSFML_CALL_RETURN(Image, SaveToFile(Filename), sfFalse); + CSFML_CALL_PTR_RETURN(Image, SaveToFile(Filename), sfFalse); } @@ -158,7 +132,7 @@ sfBool sfImage_SaveToFile(sfImage* Image, const char* Filename) void sfImage_CreateMaskFromColor(sfImage* Image, sfColor ColorKey, sfUint8 Alpha) { sf::Color SFMLColor(ColorKey.r, ColorKey.g, ColorKey.b, ColorKey.a); - CSFML_CALL(Image, CreateMaskFromColor(SFMLColor, Alpha)); + CSFML_CALL_PTR(Image, CreateMaskFromColor(SFMLColor, Alpha)); } @@ -171,7 +145,7 @@ void sfImage_Copy(sfImage* Image, sfImage* Source, unsigned int DestX, unsigned { CSFML_CHECK(Source); sf::IntRect SFMLRect(SourceRect.Left, SourceRect.Top, SourceRect.Right, SourceRect.Bottom); - CSFML_CALL(Image, Copy(Source->This, DestX, DestY, SFMLRect)); + CSFML_CALL_PTR(Image, Copy(*Source->This, DestX, DestY, SFMLRect)); } @@ -183,7 +157,7 @@ CSFML_API sfBool sfImage_CopyScreen(sfImage* Image, sfRenderWindow* Window, sfIn { CSFML_CHECK_RETURN(Window, sfFalse); sf::IntRect SFMLRect(SourceRect.Left, SourceRect.Top, SourceRect.Right, SourceRect.Bottom); - CSFML_CALL_RETURN(Image, CopyScreen(Window->This, SFMLRect), sfFalse); + CSFML_CALL_PTR_RETURN(Image, CopyScreen(Window->This, SFMLRect), sfFalse); } @@ -194,7 +168,7 @@ CSFML_API sfBool sfImage_CopyScreen(sfImage* Image, sfRenderWindow* Window, sfIn void sfImage_SetPixel(sfImage* Image, unsigned int X, unsigned int Y, sfColor Color) { sf::Color SFMLColor(Color.r, Color.g, Color.b, Color.a); - CSFML_CALL(Image, SetPixel(X, Y, SFMLColor)); + CSFML_CALL_PTR(Image, SetPixel(X, Y, SFMLColor)); } @@ -206,7 +180,7 @@ sfColor sfImage_GetPixel(sfImage* Image, unsigned int X, unsigned int Y) sfColor Color = {0, 0, 0, 0}; CSFML_CHECK_RETURN(Image, Color); - sf::Color SFMLColor = Image->This.GetPixel(X, Y); + sf::Color SFMLColor = Image->This->GetPixel(X, Y); return sfColor_FromRGBA(SFMLColor.r, SFMLColor.g, SFMLColor.b, SFMLColor.a); } @@ -219,7 +193,7 @@ sfColor sfImage_GetPixel(sfImage* Image, unsigned int X, unsigned int Y) //////////////////////////////////////////////////////////// const sfUint8* sfImage_GetPixelsPtr(sfImage* Image) { - CSFML_CALL_RETURN(Image, GetPixelsPtr(), NULL); + CSFML_CALL_PTR_RETURN(Image, GetPixelsPtr(), NULL); } @@ -228,7 +202,7 @@ const sfUint8* sfImage_GetPixelsPtr(sfImage* Image) //////////////////////////////////////////////////////////// void sfImage_Bind(sfImage* Image) { - CSFML_CALL(Image, Bind()); + CSFML_CALL_PTR(Image, Bind()); } @@ -237,7 +211,7 @@ void sfImage_Bind(sfImage* Image) //////////////////////////////////////////////////////////// void sfImage_SetSmooth(sfImage* Image, sfBool Smooth) { - CSFML_CALL(Image, SetSmooth(Smooth == sfTrue)); + CSFML_CALL_PTR(Image, SetSmooth(Smooth == sfTrue)); } @@ -246,7 +220,7 @@ void sfImage_SetSmooth(sfImage* Image, sfBool Smooth) //////////////////////////////////////////////////////////// unsigned int sfImage_GetWidth(sfImage* Image) { - CSFML_CALL_RETURN(Image, GetWidth(), 0); + CSFML_CALL_PTR_RETURN(Image, GetWidth(), 0); } @@ -255,7 +229,7 @@ unsigned int sfImage_GetWidth(sfImage* Image) //////////////////////////////////////////////////////////// unsigned int sfImage_GetHeight(sfImage* Image) { - CSFML_CALL_RETURN(Image, GetHeight(), 0); + CSFML_CALL_PTR_RETURN(Image, GetHeight(), 0); } @@ -264,5 +238,5 @@ unsigned int sfImage_GetHeight(sfImage* Image) //////////////////////////////////////////////////////////// sfBool sfImage_IsSmooth(sfImage* Image) { - CSFML_CALL_RETURN(Image, IsSmooth(), sfFalse); + CSFML_CALL_PTR_RETURN(Image, IsSmooth(), sfFalse); } diff --git a/CSFML/src/SFML/Graphics/ImageStruct.h b/CSFML/src/SFML/Graphics/ImageStruct.h new file mode 100644 index 000000000..1edc65307 --- /dev/null +++ b/CSFML/src/SFML/Graphics/ImageStruct.h @@ -0,0 +1,62 @@ +//////////////////////////////////////////////////////////// +// +// SFML - Simple and Fast Multimedia Library +// Copyright (C) 2007-2009 Laurent Gomila (laurent.gom@gmail.com) +// +// This software is provided 'as-is', without any express or implied warranty. +// In no event will the authors be held liable for any damages arising from the use of this software. +// +// Permission is granted to anyone to use this software for any purpose, +// including commercial applications, and to alter it and redistribute it freely, +// subject to the following restrictions: +// +// 1. The origin of this software must not be misrepresented; +// you must not claim that you wrote the original software. +// If you use this software in a product, an acknowledgment +// in the product documentation would be appreciated but is not required. +// +// 2. Altered source versions must be plainly marked as such, +// and must not be misrepresented as being the original software. +// +// 3. This notice may not be removed or altered from any source distribution. +// +//////////////////////////////////////////////////////////// + +#ifndef SFML_IMAGESTRUCT_H +#define SFML_IMAGESTRUCT_H + +//////////////////////////////////////////////////////////// +// Headers +//////////////////////////////////////////////////////////// +#include + + +//////////////////////////////////////////////////////////// +// Internal structure of sfImage +//////////////////////////////////////////////////////////// +struct sfImage +{ + sfImage() + { + This = new sf::Image; + OwnInstance = true; + } + + sfImage(sf::Image* Image) + { + This = Image; + OwnInstance = false; + } + + ~sfImage() + { + if (OwnInstance) + delete This; + } + + sf::Image* This; + bool OwnInstance; +}; + + +#endif // SFML_IMAGESTRUCT_H diff --git a/CSFML/src/SFML/Graphics/PostFX.cpp b/CSFML/src/SFML/Graphics/PostFX.cpp index 776946c13..0d850330a 100644 --- a/CSFML/src/SFML/Graphics/PostFX.cpp +++ b/CSFML/src/SFML/Graphics/PostFX.cpp @@ -26,21 +26,11 @@ // Headers //////////////////////////////////////////////////////////// #include -#include +#include +#include #include -// WARNING : this structure must always be the SAME as in Graphics/Image.h -struct sfImage -{ - sf::Image This; -}; -struct sfPostFX -{ - sf::PostFX This; -}; - - //////////////////////////////////////////////////////////// /// Create a new post-fx from a file //////////////////////////////////////////////////////////// @@ -125,7 +115,7 @@ void sfPostFX_SetParameter4(sfPostFX* PostFX, const char* Name, float X, float Y //////////////////////////////////////////////////////////// void sfPostFX_SetTexture(sfPostFX* PostFX, const char* Name, sfImage* Texture) { - CSFML_CALL(PostFX, SetTexture(Name, Texture ? &Texture->This : NULL)) + CSFML_CALL(PostFX, SetTexture(Name, Texture ? Texture->This : NULL)) } diff --git a/CSFML/src/SFML/Graphics/PostFXStruct.h b/CSFML/src/SFML/Graphics/PostFXStruct.h new file mode 100644 index 000000000..584484b21 --- /dev/null +++ b/CSFML/src/SFML/Graphics/PostFXStruct.h @@ -0,0 +1,43 @@ +//////////////////////////////////////////////////////////// +// +// SFML - Simple and Fast Multimedia Library +// Copyright (C) 2007-2009 Laurent Gomila (laurent.gom@gmail.com) +// +// This software is provided 'as-is', without any express or implied warranty. +// In no event will the authors be held liable for any damages arising from the use of this software. +// +// Permission is granted to anyone to use this software for any purpose, +// including commercial applications, and to alter it and redistribute it freely, +// subject to the following restrictions: +// +// 1. The origin of this software must not be misrepresented; +// you must not claim that you wrote the original software. +// If you use this software in a product, an acknowledgment +// in the product documentation would be appreciated but is not required. +// +// 2. Altered source versions must be plainly marked as such, +// and must not be misrepresented as being the original software. +// +// 3. This notice may not be removed or altered from any source distribution. +// +//////////////////////////////////////////////////////////// + +#ifndef SFML_POSTFXSTRUCT_H +#define SFML_POSTFXSTRUCT_H + +//////////////////////////////////////////////////////////// +// Headers +//////////////////////////////////////////////////////////// +#include + + +//////////////////////////////////////////////////////////// +// Internal structure of sfPostFX +//////////////////////////////////////////////////////////// +struct sfPostFX +{ + sf::PostFX This; +}; + + +#endif // SFML_POSTFXSTRUCT_H diff --git a/CSFML/src/SFML/Graphics/RenderImage.cpp b/CSFML/src/SFML/Graphics/RenderImage.cpp new file mode 100644 index 000000000..f70582c3b --- /dev/null +++ b/CSFML/src/SFML/Graphics/RenderImage.cpp @@ -0,0 +1,190 @@ +//////////////////////////////////////////////////////////// +// +// SFML - Simple and Fast Multimedia Library +// Copyright (C) 2007-2009 Laurent Gomila (laurent.gom@gmail.com) +// +// This software is provided 'as-is', without any express or implied warranty. +// In no event will the authors be held liable for any damages arising from the use of this software. +// +// Permission is granted to anyone to use this software for any purpose, +// including commercial applications, and to alter it and redistribute it freely, +// subject to the following restrictions: +// +// 1. The origin of this software must not be misrepresented; +// you must not claim that you wrote the original software. +// If you use this software in a product, an acknowledgment +// in the product documentation would be appreciated but is not required. +// +// 2. Altered source versions must be plainly marked as such, +// and must not be misrepresented as being the original software. +// +// 3. This notice may not be removed or altered from any source distribution. +// +//////////////////////////////////////////////////////////// + +//////////////////////////////////////////////////////////// +// Headers +//////////////////////////////////////////////////////////// +#include +#include +#include +#include +#include +#include +#include + + +//////////////////////////////////////////////////////////// +/// Construct a new renderimage +//////////////////////////////////////////////////////////// +sfRenderImage* sfRenderImage_Create(unsigned int Width, unsigned int Height, sfBool DepthBuffer) +{ + sfRenderImage* RenderImage = new sfRenderImage; + RenderImage->This.Create(Width, Height, DepthBuffer == sfTrue); + RenderImage->Target = new sfImage(const_cast(&RenderImage->This.GetImage())); + RenderImage->DefaultView = new sfView(const_cast(&RenderImage->This.GetDefaultView())); + RenderImage->CurrentView = RenderImage->DefaultView; + + return RenderImage; +} + + +//////////////////////////////////////////////////////////// +/// Destroy an existing renderimage +//////////////////////////////////////////////////////////// +void sfRenderImage_Destroy(sfRenderImage* RenderImage) +{ + delete RenderImage->DefaultView; + delete RenderImage->Target; + delete RenderImage; +} + + +//////////////////////////////////////////////////////////// +/// Get the width of the rendering region of a renderimage +//////////////////////////////////////////////////////////// +unsigned int sfRenderImage_GetWidth(sfRenderImage* RenderImage) +{ + CSFML_CALL_RETURN(RenderImage, GetWidth(), 0); +} + + +//////////////////////////////////////////////////////////// +/// Get the height of the rendering region of a renderimage +//////////////////////////////////////////////////////////// +unsigned int sfRenderImage_GetHeight(sfRenderImage* RenderImage) +{ + CSFML_CALL_RETURN(RenderImage, GetHeight(), 0); +} + + +//////////////////////////////////////////////////////////// +/// Set a renderimage as the current target for rendering +//////////////////////////////////////////////////////////// +sfBool sfRenderImage_SetActive(sfRenderImage* RenderImage, sfBool Active) +{ + CSFML_CALL_RETURN(RenderImage, SetActive(Active == sfTrue), sfFalse) +} + + +//////////////////////////////////////////////////////////// +/// Draw something on a renderimage +//////////////////////////////////////////////////////////// +void sfRenderImage_DrawPostFX(sfRenderImage* RenderImage, sfPostFX* PostFX) +{ + CSFML_CHECK(PostFX); + CSFML_CALL(RenderImage, Draw(PostFX->This)); +} +void sfRenderImage_DrawShape(sfRenderImage* RenderImage, sfShape* Shape) +{ + CSFML_CHECK(Shape); + CSFML_CALL(RenderImage, Draw(Shape->This)); +} +void sfRenderImage_DrawSprite(sfRenderImage* RenderImage, sfSprite* Sprite) +{ + CSFML_CHECK(Sprite); + CSFML_CALL(RenderImage, Draw(Sprite->This)); +} +void sfRenderImage_DrawString(sfRenderImage* RenderImage, sfString* String) +{ + CSFML_CHECK(String); + CSFML_CALL(RenderImage, Draw(String->This)); +} + + +//////////////////////////////////////////////////////////// +/// Clear the renderimage with the given color +//////////////////////////////////////////////////////////// +void sfRenderImage_Clear(sfRenderImage* RenderImage, sfColor Color) +{ + sf::Color SFMLColor(Color.r, Color.g, Color.b, Color.a); + + CSFML_CALL(RenderImage, Clear(SFMLColor)); +} + + +//////////////////////////////////////////////////////////// +/// Change the current active view of a renderimage +//////////////////////////////////////////////////////////// +void sfRenderImage_SetView(sfRenderImage* RenderImage, sfView* View) +{ + CSFML_CHECK(View); + CSFML_CALL(RenderImage, SetView(*View->This)); + RenderImage->CurrentView = View; +} + + +//////////////////////////////////////////////////////////// +/// Get the current active view of a renderimage +//////////////////////////////////////////////////////////// +const sfView* sfRenderImage_GetView(sfRenderImage* RenderImage) +{ + CSFML_CHECK_RETURN(RenderImage, NULL); + + return RenderImage->CurrentView; +} + + +//////////////////////////////////////////////////////////// +/// Get the default view of a renderimage +//////////////////////////////////////////////////////////// +sfView* sfRenderImage_GetDefaultView(sfRenderImage* RenderImage) +{ + CSFML_CHECK_RETURN(RenderImage, NULL); + + return RenderImage->DefaultView; +} + + +//////////////////////////////////////////////////////////// +/// Tell SFML to preserve external OpenGL states, at the expense of +/// more CPU charge. Use this function if you don't want SFML +/// to mess up your own OpenGL states (if any). +/// Don't enable state preservation if not needed, as it will allow +/// SFML to do internal optimizations and improve performances. +/// This parameter is false by default +//////////////////////////////////////////////////////////// +void sfRenderImage_PreserveOpenGLStates(sfRenderImage* RenderImage, sfBool Preserve) +{ + CSFML_CALL(RenderImage, PreserveOpenGLStates(Preserve == sfTrue)); +} + + +//////////////////////////////////////////////////////////// +/// Get the target image +//////////////////////////////////////////////////////////// +sfImage* sfRenderImage_GetImage(sfRenderImage* RenderImage) +{ + CSFML_CHECK_RETURN(RenderImage, NULL); + + return RenderImage->Target; +} + + +//////////////////////////////////////////////////////////// +/// Check whether the system supports render images or not +//////////////////////////////////////////////////////////// +sfBool sfRenderImage_CanUseRenderImage() +{ + return sf::RenderImage::CanUseRenderImage(); +} diff --git a/CSFML/src/SFML/Graphics/RenderImageStruct.h b/CSFML/src/SFML/Graphics/RenderImageStruct.h new file mode 100644 index 000000000..0c9f5c8f3 --- /dev/null +++ b/CSFML/src/SFML/Graphics/RenderImageStruct.h @@ -0,0 +1,49 @@ +//////////////////////////////////////////////////////////// +// +// SFML - Simple and Fast Multimedia Library +// Copyright (C) 2007-2009 Laurent Gomila (laurent.gom@gmail.com) +// +// This software is provided 'as-is', without any express or implied warranty. +// In no event will the authors be held liable for any damages arising from the use of this software. +// +// Permission is granted to anyone to use this software for any purpose, +// including commercial applications, and to alter it and redistribute it freely, +// subject to the following restrictions: +// +// 1. The origin of this software must not be misrepresented; +// you must not claim that you wrote the original software. +// If you use this software in a product, an acknowledgment +// in the product documentation would be appreciated but is not required. +// +// 2. Altered source versions must be plainly marked as such, +// and must not be misrepresented as being the original software. +// +// 3. This notice may not be removed or altered from any source distribution. +// +//////////////////////////////////////////////////////////// + +#ifndef SFML_RENDERIMAGESTRUCT_H +#define SFML_RENDERIMAGESTRUCT_H + +//////////////////////////////////////////////////////////// +// Headers +//////////////////////////////////////////////////////////// +#include +#include +#include +#include + + +//////////////////////////////////////////////////////////// +// Internal structure of sfRenderWindow +//////////////////////////////////////////////////////////// +struct sfRenderImage +{ + sf::RenderImage This; + sfImage* Target; + sfView* DefaultView; + sfView* CurrentView; +}; + + +#endif // SFML_RENDERIMAGESTRUCT_H diff --git a/CSFML/src/SFML/Graphics/RenderWindow.cpp b/CSFML/src/SFML/Graphics/RenderWindow.cpp index c35fed48f..ebe0c1a03 100644 --- a/CSFML/src/SFML/Graphics/RenderWindow.cpp +++ b/CSFML/src/SFML/Graphics/RenderWindow.cpp @@ -26,63 +26,15 @@ // Headers //////////////////////////////////////////////////////////// #include -#include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include #include -// WARNING : this structure must always be the SAME as in Graphics/PostFX.h -struct sfPostFX -{ - sf::PostFX This; -}; -// WARNING : this structure must always be the SAME as in Graphics/Shape.h -struct sfShape -{ - sf::Shape This; -}; -// WARNING : this structure must always be the SAME as in Graphics/Sprite.h -struct sfSprite -{ - sf::Sprite This; - sfImage* Image; - sfIntRect SubRect; -}; -// WARNING : this structure must always be the SAME as in Graphics/String.h -struct sfString -{ - sf::String This; - std::string Text; -}; -// WARNING : this structure must always be the SAME as in Graphics/Image.h -struct sfImage -{ - sf::Image This; -}; -// WARNING : this structure must always be the SAME as in Window/Input.h -struct sfInput -{ - const sf::Input* This; -}; -// WARNING : this structure must always be the SAME as in Graphics/View.h -struct sfView -{ - sf::View* This; -}; -struct sfRenderWindow -{ - sf::RenderWindow This; - sfInput Input; - sfView DefaultView; - sfView* CurrentView; -}; - - //////////////////////////////////////////////////////////// /// Construct a new renderwindow //////////////////////////////////////////////////////////// @@ -95,9 +47,9 @@ sfRenderWindow* sfRenderWindow_Create(sfVideoMode Mode, const char* Title, unsig sfRenderWindow* RenderWindow = new sfRenderWindow; sf::ContextSettings Settings(Params.DepthBits, Params.StencilBits, Params.AntialiasingLevel); RenderWindow->This.Create(VideoMode, Title, Style, Settings); - RenderWindow->Input.This = &RenderWindow->This.GetInput(); - RenderWindow->DefaultView.This = &RenderWindow->This.GetDefaultView(); - RenderWindow->CurrentView = &RenderWindow->DefaultView; + RenderWindow->Input.This = &RenderWindow->This.GetInput(); + RenderWindow->DefaultView = new sfView(const_cast(&RenderWindow->This.GetDefaultView())); + RenderWindow->CurrentView = RenderWindow->DefaultView; return RenderWindow; } @@ -111,9 +63,9 @@ sfRenderWindow* sfRenderWindow_CreateFromHandle(sfWindowHandle Handle, sfContext sfRenderWindow* RenderWindow = new sfRenderWindow; sf::ContextSettings Settings(Params.DepthBits, Params.StencilBits, Params.AntialiasingLevel); RenderWindow->This.Create(Handle, Settings); - RenderWindow->Input.This = &RenderWindow->This.GetInput(); - RenderWindow->DefaultView.This = &RenderWindow->This.GetDefaultView(); - RenderWindow->CurrentView = &RenderWindow->DefaultView; + RenderWindow->Input.This = &RenderWindow->This.GetInput(); + RenderWindow->DefaultView = new sfView(const_cast(&RenderWindow->This.GetDefaultView())); + RenderWindow->CurrentView = RenderWindow->DefaultView; return RenderWindow; } @@ -124,6 +76,7 @@ sfRenderWindow* sfRenderWindow_CreateFromHandle(sfWindowHandle Handle, sfContext //////////////////////////////////////////////////////////// void sfRenderWindow_Destroy(sfRenderWindow* RenderWindow) { + delete RenderWindow->DefaultView; delete RenderWindow; } @@ -420,7 +373,7 @@ sfImage* sfRenderWindow_Capture(sfRenderWindow* RenderWindow) CSFML_CHECK_RETURN(RenderWindow, NULL); sfImage* Image = new sfImage; - Image->This = RenderWindow->This.Capture(); + *Image->This = RenderWindow->This.Capture(); return Image; } @@ -465,7 +418,7 @@ sfView* sfRenderWindow_GetDefaultView(sfRenderWindow* RenderWindow) { CSFML_CHECK_RETURN(RenderWindow, NULL); - return &RenderWindow->DefaultView; + return RenderWindow->DefaultView; } diff --git a/CSFML/src/SFML/Graphics/RenderWindowStruct.h b/CSFML/src/SFML/Graphics/RenderWindowStruct.h new file mode 100644 index 000000000..8c26fa548 --- /dev/null +++ b/CSFML/src/SFML/Graphics/RenderWindowStruct.h @@ -0,0 +1,48 @@ +//////////////////////////////////////////////////////////// +// +// SFML - Simple and Fast Multimedia Library +// Copyright (C) 2007-2009 Laurent Gomila (laurent.gom@gmail.com) +// +// This software is provided 'as-is', without any express or implied warranty. +// In no event will the authors be held liable for any damages arising from the use of this software. +// +// Permission is granted to anyone to use this software for any purpose, +// including commercial applications, and to alter it and redistribute it freely, +// subject to the following restrictions: +// +// 1. The origin of this software must not be misrepresented; +// you must not claim that you wrote the original software. +// If you use this software in a product, an acknowledgment +// in the product documentation would be appreciated but is not required. +// +// 2. Altered source versions must be plainly marked as such, +// and must not be misrepresented as being the original software. +// +// 3. This notice may not be removed or altered from any source distribution. +// +//////////////////////////////////////////////////////////// + +#ifndef SFML_RENDERWINDOWSTRUCT_H +#define SFML_RENDERWINDOWSTRUCT_H + +//////////////////////////////////////////////////////////// +// Headers +//////////////////////////////////////////////////////////// +#include +#include +#include + + +//////////////////////////////////////////////////////////// +// Internal structure of sfRenderWindow +//////////////////////////////////////////////////////////// +struct sfRenderWindow +{ + sf::RenderWindow This; + sfInput Input; + sfView* DefaultView; + sfView* CurrentView; +}; + + +#endif // SFML_RENDERWINDOWSTRUCT_H diff --git a/CSFML/src/SFML/Graphics/Shape.cpp b/CSFML/src/SFML/Graphics/Shape.cpp index 93c988d93..729490168 100644 --- a/CSFML/src/SFML/Graphics/Shape.cpp +++ b/CSFML/src/SFML/Graphics/Shape.cpp @@ -26,18 +26,11 @@ // Headers //////////////////////////////////////////////////////////// #include -#include +#include #include -#include #include -struct sfShape -{ - sf::Shape This; -}; - - //////////////////////////////////////////////////////////// /// Create a new shape //////////////////////////////////////////////////////////// @@ -46,6 +39,7 @@ sfShape* sfShape_Create() return new sfShape; } + //////////////////////////////////////////////////////////// /// Create a new shape made of a single line //////////////////////////////////////////////////////////// diff --git a/CSFML/src/SFML/Graphics/ShapeStruct.h b/CSFML/src/SFML/Graphics/ShapeStruct.h new file mode 100644 index 000000000..90825caa5 --- /dev/null +++ b/CSFML/src/SFML/Graphics/ShapeStruct.h @@ -0,0 +1,43 @@ +//////////////////////////////////////////////////////////// +// +// SFML - Simple and Fast Multimedia Library +// Copyright (C) 2007-2009 Laurent Gomila (laurent.gom@gmail.com) +// +// This software is provided 'as-is', without any express or implied warranty. +// In no event will the authors be held liable for any damages arising from the use of this software. +// +// Permission is granted to anyone to use this software for any purpose, +// including commercial applications, and to alter it and redistribute it freely, +// subject to the following restrictions: +// +// 1. The origin of this software must not be misrepresented; +// you must not claim that you wrote the original software. +// If you use this software in a product, an acknowledgment +// in the product documentation would be appreciated but is not required. +// +// 2. Altered source versions must be plainly marked as such, +// and must not be misrepresented as being the original software. +// +// 3. This notice may not be removed or altered from any source distribution. +// +//////////////////////////////////////////////////////////// + +#ifndef SFML_SHAPESTRUCT_H +#define SFML_SHAPESTRUCT_H + +//////////////////////////////////////////////////////////// +// Headers +//////////////////////////////////////////////////////////// +#include + + +//////////////////////////////////////////////////////////// +// Internal structure of sfShape +//////////////////////////////////////////////////////////// +struct sfShape +{ + sf::Shape This; +}; + + +#endif // SFML_SHAPESTRUCT_H diff --git a/CSFML/src/SFML/Graphics/Sprite.cpp b/CSFML/src/SFML/Graphics/Sprite.cpp index 42c0550d9..5afbbd7da 100644 --- a/CSFML/src/SFML/Graphics/Sprite.cpp +++ b/CSFML/src/SFML/Graphics/Sprite.cpp @@ -26,25 +26,12 @@ // Headers //////////////////////////////////////////////////////////// #include -#include +#include #include #include #include -// WARNING : this structure must always be the SAME as in Graphics/Image.h -struct sfImage -{ - sf::Image This; -}; -struct sfSprite -{ - sf::Sprite This; - sfImage* Image; - sfIntRect SubRect; -}; - - //////////////////////////////////////////////////////////// /// Create a new sprite //////////////////////////////////////////////////////////// @@ -310,7 +297,7 @@ void sfSprite_SetImage(sfSprite* Sprite, sfImage* Image) { if (Image) { - CSFML_CALL(Sprite, SetImage(Image->This)) + CSFML_CALL(Sprite, SetImage(*Image->This)) Sprite->Image = Image; } } diff --git a/CSFML/src/SFML/Graphics/SpriteStruct.h b/CSFML/src/SFML/Graphics/SpriteStruct.h new file mode 100644 index 000000000..191bade17 --- /dev/null +++ b/CSFML/src/SFML/Graphics/SpriteStruct.h @@ -0,0 +1,47 @@ +//////////////////////////////////////////////////////////// +// +// SFML - Simple and Fast Multimedia Library +// Copyright (C) 2007-2009 Laurent Gomila (laurent.gom@gmail.com) +// +// This software is provided 'as-is', without any express or implied warranty. +// In no event will the authors be held liable for any damages arising from the use of this software. +// +// Permission is granted to anyone to use this software for any purpose, +// including commercial applications, and to alter it and redistribute it freely, +// subject to the following restrictions: +// +// 1. The origin of this software must not be misrepresented; +// you must not claim that you wrote the original software. +// If you use this software in a product, an acknowledgment +// in the product documentation would be appreciated but is not required. +// +// 2. Altered source versions must be plainly marked as such, +// and must not be misrepresented as being the original software. +// +// 3. This notice may not be removed or altered from any source distribution. +// +//////////////////////////////////////////////////////////// + +#ifndef SFML_SPRITESTRUCT_H +#define SFML_SPRITESTRUCT_H + +//////////////////////////////////////////////////////////// +// Headers +//////////////////////////////////////////////////////////// +#include +#include +#include + + +//////////////////////////////////////////////////////////// +// Internal structure of sfMusic +//////////////////////////////////////////////////////////// +struct sfSprite +{ + sf::Sprite This; + sfImage* Image; + sfIntRect SubRect; +}; + + +#endif // SFML_SPRITESTRUCT_H diff --git a/CSFML/src/SFML/Graphics/String.cpp b/CSFML/src/SFML/Graphics/String.cpp index 89ac70f5d..39d4f2032 100644 --- a/CSFML/src/SFML/Graphics/String.cpp +++ b/CSFML/src/SFML/Graphics/String.cpp @@ -26,28 +26,12 @@ // Headers //////////////////////////////////////////////////////////// #include +#include #include -#include #include -#include #include -// WARNING : this structure must always be the SAME as in Graphics/Font.h -struct sfFont -{ - sf::Font This; -}; - -struct sfString -{ - sf::String This; - std::string Text; - sfFont* Font; - sfFloatRect Rect; -}; - - //////////////////////////////////////////////////////////// /// Create a new string //////////////////////////////////////////////////////////// diff --git a/CSFML/src/SFML/Graphics/StringStruct.h b/CSFML/src/SFML/Graphics/StringStruct.h new file mode 100644 index 000000000..c27b230d9 --- /dev/null +++ b/CSFML/src/SFML/Graphics/StringStruct.h @@ -0,0 +1,49 @@ +//////////////////////////////////////////////////////////// +// +// SFML - Simple and Fast Multimedia Library +// Copyright (C) 2007-2009 Laurent Gomila (laurent.gom@gmail.com) +// +// This software is provided 'as-is', without any express or implied warranty. +// In no event will the authors be held liable for any damages arising from the use of this software. +// +// Permission is granted to anyone to use this software for any purpose, +// including commercial applications, and to alter it and redistribute it freely, +// subject to the following restrictions: +// +// 1. The origin of this software must not be misrepresented; +// you must not claim that you wrote the original software. +// If you use this software in a product, an acknowledgment +// in the product documentation would be appreciated but is not required. +// +// 2. Altered source versions must be plainly marked as such, +// and must not be misrepresented as being the original software. +// +// 3. This notice may not be removed or altered from any source distribution. +// +//////////////////////////////////////////////////////////// + +#ifndef SFML_STRINGSTRUCT_H +#define SFML_STRINGSTRUCT_H + +//////////////////////////////////////////////////////////// +// Headers +//////////////////////////////////////////////////////////// +#include +#include +#include +#include + + +//////////////////////////////////////////////////////////// +// Internal structure of sfMusic +//////////////////////////////////////////////////////////// +struct sfString +{ + sf::String This; + std::string Text; + sfFont* Font; + sfFloatRect Rect; +}; + + +#endif // SFML_STRINGSTRUCT_H diff --git a/CSFML/src/SFML/Graphics/View.cpp b/CSFML/src/SFML/Graphics/View.cpp index e217cf860..d5070a79b 100644 --- a/CSFML/src/SFML/Graphics/View.cpp +++ b/CSFML/src/SFML/Graphics/View.cpp @@ -26,21 +26,10 @@ // Headers //////////////////////////////////////////////////////////// #include -#include -#include +#include #include -struct sfView -{ - sfView() : This(new sf::View) {} - sfView(sfFloatRect Rect) : This(new sf::View(sf::FloatRect(Rect.Left, Rect.Top, Rect.Right, Rect.Bottom))) {} - ~sfView() {delete This;} - - sf::View* This; // pointer needed for RenderView -}; - - //////////////////////////////////////////////////////////// /// Construct a default view (1000x1000) //////////////////////////////////////////////////////////// diff --git a/CSFML/src/SFML/Graphics/ViewStruct.h b/CSFML/src/SFML/Graphics/ViewStruct.h new file mode 100644 index 000000000..4d6262e6f --- /dev/null +++ b/CSFML/src/SFML/Graphics/ViewStruct.h @@ -0,0 +1,68 @@ +//////////////////////////////////////////////////////////// +// +// SFML - Simple and Fast Multimedia Library +// Copyright (C) 2007-2009 Laurent Gomila (laurent.gom@gmail.com) +// +// This software is provided 'as-is', without any express or implied warranty. +// In no event will the authors be held liable for any damages arising from the use of this software. +// +// Permission is granted to anyone to use this software for any purpose, +// including commercial applications, and to alter it and redistribute it freely, +// subject to the following restrictions: +// +// 1. The origin of this software must not be misrepresented; +// you must not claim that you wrote the original software. +// If you use this software in a product, an acknowledgment +// in the product documentation would be appreciated but is not required. +// +// 2. Altered source versions must be plainly marked as such, +// and must not be misrepresented as being the original software. +// +// 3. This notice may not be removed or altered from any source distribution. +// +//////////////////////////////////////////////////////////// + +#ifndef SFML_VIEWSTRUCT_H +#define SFML_VIEWSTRUCT_H + +//////////////////////////////////////////////////////////// +// Headers +//////////////////////////////////////////////////////////// +#include + + +//////////////////////////////////////////////////////////// +// Internal structure of sfMusic +//////////////////////////////////////////////////////////// +struct sfView +{ + sfView() : + This(new sf::View), + OwnInstance(true) + { + } + + sfView(sfFloatRect Rect) : + This(new sf::View(sf::FloatRect(Rect.Left, Rect.Top, Rect.Right, Rect.Bottom))), + OwnInstance(true) + { + } + + sfView(sf::View* View) : + This(View), + OwnInstance(false) + { + } + + ~sfView() + { + if (OwnInstance) + delete This; + } + + sf::View* This; // pointer needed for RenderWindow + bool OwnInstance; +}; + + +#endif // SFML_VIEWSTRUCT_H diff --git a/CSFML/src/SFML/Makefile b/CSFML/src/SFML/Makefile index fa14c1daa..400267228 100644 --- a/CSFML/src/SFML/Makefile +++ b/CSFML/src/SFML/Makefile @@ -3,7 +3,8 @@ export CPP = g++ export CFLAGS = -W -Wall -pedantic -fPIC -Wno-unused -I../.. -I../../../include -DNDEBUG -DCSFML_EXPORTS -O2 export LDFLAGS = -shared export LIBPATH = ../../../lib -export VERSION = 2.0export CP = cp +export VERSION = 2.0 +export CP = cp export LN = ln export LNFLAGS = -s -f export DESTDIR = /usr diff --git a/CSFML/src/SFML/Network/Ftp.cpp b/CSFML/src/SFML/Network/Ftp.cpp index e4f3f5213..0ba3a5b12 100644 --- a/CSFML/src/SFML/Network/Ftp.cpp +++ b/CSFML/src/SFML/Network/Ftp.cpp @@ -26,19 +26,11 @@ // Headers //////////////////////////////////////////////////////////// #include -#include +#include #include #include -struct sfFtpListingResponse -{ - sfFtpListingResponse(const sf::Ftp::ListingResponse& Response) : This(Response) {} - - sf::Ftp::ListingResponse This; -}; - - //////////////////////////////////////////////////////////// /// Destroy an existing Ftp directory response //////////////////////////////////////////////////////////// @@ -95,14 +87,6 @@ const char* sfFtpListingResponse_GetFilename(sfFtpListingResponse* FtpListingRes } -struct sfFtpDirectoryResponse -{ - sfFtpDirectoryResponse(const sf::Ftp::DirectoryResponse& Response) : This(Response) {} - - sf::Ftp::DirectoryResponse This; -}; - - //////////////////////////////////////////////////////////// /// Destroy an existing Ftp directory response //////////////////////////////////////////////////////////// @@ -151,14 +135,6 @@ const char* sfFtpDirectoryResponse_GetDirectory(sfFtpDirectoryResponse* FtpDirec } -struct sfFtpResponse -{ - sfFtpResponse(const sf::Ftp::Response& Response) : This(Response) {} - - sf::Ftp::Response This; -}; - - //////////////////////////////////////////////////////////// /// Destroy an existing Ftp response //////////////////////////////////////////////////////////// @@ -200,12 +176,6 @@ const char* sfFtpResponse_GetMessage(sfFtpResponse* FtpResponse) } -struct sfFtp -{ - sf::Ftp This; -}; - - //////////////////////////////////////////////////////////// /// Construct a new Ftp //////////////////////////////////////////////////////////// diff --git a/CSFML/src/SFML/Network/FtpStruct.h b/CSFML/src/SFML/Network/FtpStruct.h new file mode 100644 index 000000000..567608ff2 --- /dev/null +++ b/CSFML/src/SFML/Network/FtpStruct.h @@ -0,0 +1,85 @@ +//////////////////////////////////////////////////////////// +// +// SFML - Simple and Fast Multimedia Library +// Copyright (C) 2007-2009 Laurent Gomila (laurent.gom@gmail.com) +// +// This software is provided 'as-is', without any express or implied warranty. +// In no event will the authors be held liable for any damages arising from the use of this software. +// +// Permission is granted to anyone to use this software for any purpose, +// including commercial applications, and to alter it and redistribute it freely, +// subject to the following restrictions: +// +// 1. The origin of this software must not be misrepresented; +// you must not claim that you wrote the original software. +// If you use this software in a product, an acknowledgment +// in the product documentation would be appreciated but is not required. +// +// 2. Altered source versions must be plainly marked as such, +// and must not be misrepresented as being the original software. +// +// 3. This notice may not be removed or altered from any source distribution. +// +//////////////////////////////////////////////////////////// + +#ifndef SFML_FTPSTRUCT_H +#define SFML_FTPSTRUCT_H + +//////////////////////////////////////////////////////////// +// Headers +//////////////////////////////////////////////////////////// +#include + + +//////////////////////////////////////////////////////////// +// Internal structure of sfFtp +//////////////////////////////////////////////////////////// +struct sfFtp +{ + sf::Ftp This; +}; + + +//////////////////////////////////////////////////////////// +// Internal structure of sfFtpResponse +//////////////////////////////////////////////////////////// +struct sfFtpResponse +{ + sfFtpResponse(const sf::Ftp::Response& Response) + : This(Response) + { + } + + sf::Ftp::Response This; +}; + + +//////////////////////////////////////////////////////////// +// Internal structure of sfFtpDirectoryResponse +//////////////////////////////////////////////////////////// +struct sfFtpDirectoryResponse +{ + sfFtpDirectoryResponse(const sf::Ftp::DirectoryResponse& Response) + : This(Response) + { + } + + sf::Ftp::DirectoryResponse This; +}; + + +//////////////////////////////////////////////////////////// +// Internal structure of sfFtpListingResponse +//////////////////////////////////////////////////////////// +struct sfFtpListingResponse +{ + sfFtpListingResponse(const sf::Ftp::ListingResponse& Response) + : This(Response) + { + } + + sf::Ftp::ListingResponse This; +}; + + +#endif // SFML_FTPSTRUCT_H diff --git a/CSFML/src/SFML/Network/Http.cpp b/CSFML/src/SFML/Network/Http.cpp index e81e3d561..f5bfa1159 100644 --- a/CSFML/src/SFML/Network/Http.cpp +++ b/CSFML/src/SFML/Network/Http.cpp @@ -26,16 +26,10 @@ // Headers //////////////////////////////////////////////////////////// #include -#include +#include #include -struct sfHttpRequest -{ - sf::Http::Request This; -}; - - //////////////////////////////////////////////////////////// /// Construct a new Http request //////////////////////////////////////////////////////////// @@ -106,12 +100,6 @@ void sfHttpRequest_SetBody(sfHttpRequest* HttpRequest, const char* Body) } -struct sfHttpResponse -{ - sf::Http::Response This; -}; - - //////////////////////////////////////////////////////////// /// Destroy an existing Http response //////////////////////////////////////////////////////////// @@ -178,12 +166,6 @@ const char* sfHttpResponse_GetBody(sfHttpResponse* HttpResponse) } -struct sfHttp -{ - sf::Http This; -}; - - //////////////////////////////////////////////////////////// /// Construct a new Http object //////////////////////////////////////////////////////////// diff --git a/CSFML/src/SFML/Network/HttpStruct.h b/CSFML/src/SFML/Network/HttpStruct.h new file mode 100644 index 000000000..f18944538 --- /dev/null +++ b/CSFML/src/SFML/Network/HttpStruct.h @@ -0,0 +1,61 @@ +//////////////////////////////////////////////////////////// +// +// SFML - Simple and Fast Multimedia Library +// Copyright (C) 2007-2009 Laurent Gomila (laurent.gom@gmail.com) +// +// This software is provided 'as-is', without any express or implied warranty. +// In no event will the authors be held liable for any damages arising from the use of this software. +// +// Permission is granted to anyone to use this software for any purpose, +// including commercial applications, and to alter it and redistribute it freely, +// subject to the following restrictions: +// +// 1. The origin of this software must not be misrepresented; +// you must not claim that you wrote the original software. +// If you use this software in a product, an acknowledgment +// in the product documentation would be appreciated but is not required. +// +// 2. Altered source versions must be plainly marked as such, +// and must not be misrepresented as being the original software. +// +// 3. This notice may not be removed or altered from any source distribution. +// +//////////////////////////////////////////////////////////// + +#ifndef SFML_HTTPSTRUCT_H +#define SFML_HTTPSTRUCT_H + +//////////////////////////////////////////////////////////// +// Headers +//////////////////////////////////////////////////////////// +#include + + +//////////////////////////////////////////////////////////// +// Internal structure of sfHttp +//////////////////////////////////////////////////////////// +struct sfHttp +{ + sf::Http This; +}; + + +//////////////////////////////////////////////////////////// +// Internal structure of sfHttpRequest +//////////////////////////////////////////////////////////// +struct sfHttpRequest +{ + sf::Http::Request This; +}; + + +//////////////////////////////////////////////////////////// +// Internal structure of sfHttpResponse +//////////////////////////////////////////////////////////// +struct sfHttpResponse +{ + sf::Http::Response This; +}; + + +#endif // SFML_HTTPSTRUCT_H diff --git a/CSFML/src/SFML/Network/Packet.cpp b/CSFML/src/SFML/Network/Packet.cpp index bdc808aa6..81e04cfaf 100644 --- a/CSFML/src/SFML/Network/Packet.cpp +++ b/CSFML/src/SFML/Network/Packet.cpp @@ -26,16 +26,10 @@ // Headers //////////////////////////////////////////////////////////// #include -#include +#include #include -struct sfPacket -{ - sf::Packet This; -}; - - namespace { //////////////////////////////////////////////////////////// diff --git a/CSFML/src/SFML/Network/PacketStruct.h b/CSFML/src/SFML/Network/PacketStruct.h new file mode 100644 index 000000000..b452fc06e --- /dev/null +++ b/CSFML/src/SFML/Network/PacketStruct.h @@ -0,0 +1,43 @@ +//////////////////////////////////////////////////////////// +// +// SFML - Simple and Fast Multimedia Library +// Copyright (C) 2007-2009 Laurent Gomila (laurent.gom@gmail.com) +// +// This software is provided 'as-is', without any express or implied warranty. +// In no event will the authors be held liable for any damages arising from the use of this software. +// +// Permission is granted to anyone to use this software for any purpose, +// including commercial applications, and to alter it and redistribute it freely, +// subject to the following restrictions: +// +// 1. The origin of this software must not be misrepresented; +// you must not claim that you wrote the original software. +// If you use this software in a product, an acknowledgment +// in the product documentation would be appreciated but is not required. +// +// 2. Altered source versions must be plainly marked as such, +// and must not be misrepresented as being the original software. +// +// 3. This notice may not be removed or altered from any source distribution. +// +//////////////////////////////////////////////////////////// + +#ifndef SFML_PACKETSTRUCT_H +#define SFML_PACKETSTRUCT_H + +//////////////////////////////////////////////////////////// +// Headers +//////////////////////////////////////////////////////////// +#include + + +//////////////////////////////////////////////////////////// +// Internal structure of sfPacket +//////////////////////////////////////////////////////////// +struct sfPacket +{ + sf::Packet This; +}; + + +#endif // SFML_PACKETSTRUCT_H diff --git a/CSFML/src/SFML/Network/Selector.cpp b/CSFML/src/SFML/Network/Selector.cpp index 3ad22321a..618952532 100644 --- a/CSFML/src/SFML/Network/Selector.cpp +++ b/CSFML/src/SFML/Network/Selector.cpp @@ -26,32 +26,8 @@ // Headers //////////////////////////////////////////////////////////// #include -#include +#include #include -#include - - -// WARNING : this structure must always be the SAME as in Network/SocketTCP.h -struct sfSocketTCP -{ - sf::SocketTCP This; -}; -// WARNING : this structure must always be the SAME as in Network/SocketUDP.h -struct sfSocketUDP -{ - sf::SocketUDP This; -}; -struct sfSelectorTCP -{ - sf::SelectorTCP This; - std::map Sockets; -}; -struct sfSelectorUDP -{ - sf::SelectorUDP This; - std::map Sockets; -}; - //////////////////////////////////////////////////////////// diff --git a/CSFML/src/SFML/Network/SelectorStruct.h b/CSFML/src/SFML/Network/SelectorStruct.h new file mode 100644 index 000000000..9ffc6e345 --- /dev/null +++ b/CSFML/src/SFML/Network/SelectorStruct.h @@ -0,0 +1,57 @@ +//////////////////////////////////////////////////////////// +// +// SFML - Simple and Fast Multimedia Library +// Copyright (C) 2007-2009 Laurent Gomila (laurent.gom@gmail.com) +// +// This software is provided 'as-is', without any express or implied warranty. +// In no event will the authors be held liable for any damages arising from the use of this software. +// +// Permission is granted to anyone to use this software for any purpose, +// including commercial applications, and to alter it and redistribute it freely, +// subject to the following restrictions: +// +// 1. The origin of this software must not be misrepresented; +// you must not claim that you wrote the original software. +// If you use this software in a product, an acknowledgment +// in the product documentation would be appreciated but is not required. +// +// 2. Altered source versions must be plainly marked as such, +// and must not be misrepresented as being the original software. +// +// 3. This notice may not be removed or altered from any source distribution. +// +//////////////////////////////////////////////////////////// + +#ifndef SFML_SELECTORSTRUCT_H +#define SFML_SELECTORSTRUCT_H + +//////////////////////////////////////////////////////////// +// Headers +//////////////////////////////////////////////////////////// +#include +#include +#include +#include + + +//////////////////////////////////////////////////////////// +// Internal structure of SelectorTCP +//////////////////////////////////////////////////////////// +struct sfSelectorTCP +{ + sf::SelectorTCP This; + std::map Sockets; +}; + + +//////////////////////////////////////////////////////////// +// Internal structure of sfSelectorUDP +//////////////////////////////////////////////////////////// +struct sfSelectorUDP +{ + sf::SelectorUDP This; + std::map Sockets; +}; + + +#endif // SFML_SELECTORSTRUCT_H diff --git a/CSFML/src/SFML/Network/SocketTCP.cpp b/CSFML/src/SFML/Network/SocketTCP.cpp index 87c5876fa..be3591ef5 100644 --- a/CSFML/src/SFML/Network/SocketTCP.cpp +++ b/CSFML/src/SFML/Network/SocketTCP.cpp @@ -26,25 +26,13 @@ // Headers //////////////////////////////////////////////////////////// #include -#include +#include +#include #include -#include #include #include -// WARNING : this structure must always be the SAME as in Network/Packet.h -struct sfPacket -{ - sf::Packet This; -}; - -struct sfSocketTCP -{ - sf::SocketTCP This; -}; - - //////////////////////////////////////////////////////////// /// Construct a new TCP socket //////////////////////////////////////////////////////////// diff --git a/CSFML/src/SFML/Network/SocketTCPStruct.h b/CSFML/src/SFML/Network/SocketTCPStruct.h new file mode 100644 index 000000000..9577f611c --- /dev/null +++ b/CSFML/src/SFML/Network/SocketTCPStruct.h @@ -0,0 +1,43 @@ +//////////////////////////////////////////////////////////// +// +// SFML - Simple and Fast Multimedia Library +// Copyright (C) 2007-2009 Laurent Gomila (laurent.gom@gmail.com) +// +// This software is provided 'as-is', without any express or implied warranty. +// In no event will the authors be held liable for any damages arising from the use of this software. +// +// Permission is granted to anyone to use this software for any purpose, +// including commercial applications, and to alter it and redistribute it freely, +// subject to the following restrictions: +// +// 1. The origin of this software must not be misrepresented; +// you must not claim that you wrote the original software. +// If you use this software in a product, an acknowledgment +// in the product documentation would be appreciated but is not required. +// +// 2. Altered source versions must be plainly marked as such, +// and must not be misrepresented as being the original software. +// +// 3. This notice may not be removed or altered from any source distribution. +// +//////////////////////////////////////////////////////////// + +#ifndef SFML_SOCKETTCPSTRUCT_H +#define SFML_SOCKETTCPSTRUCT_H + +//////////////////////////////////////////////////////////// +// Headers +//////////////////////////////////////////////////////////// +#include + + +//////////////////////////////////////////////////////////// +// Internal structure of sfSocketTCP +//////////////////////////////////////////////////////////// +struct sfSocketTCP +{ + sf::SocketTCP This; +}; + + +#endif // SFML_SOCKETTCPSTRUCT_H diff --git a/CSFML/src/SFML/Network/SocketUDP.cpp b/CSFML/src/SFML/Network/SocketUDP.cpp index 30d43ffe5..58c9a2cbd 100644 --- a/CSFML/src/SFML/Network/SocketUDP.cpp +++ b/CSFML/src/SFML/Network/SocketUDP.cpp @@ -26,25 +26,13 @@ // Headers //////////////////////////////////////////////////////////// #include -#include +#include +#include #include -#include #include #include -// WARNING : this structure must always be the SAME as in Network/Packet.h -struct sfPacket -{ - sf::Packet This; -}; - -struct sfSocketUDP -{ - sf::SocketUDP This; -}; - - //////////////////////////////////////////////////////////// /// Construct a new UDP socket //////////////////////////////////////////////////////////// diff --git a/CSFML/src/SFML/Network/SocketUDPStruct.h b/CSFML/src/SFML/Network/SocketUDPStruct.h new file mode 100644 index 000000000..c7a974f1c --- /dev/null +++ b/CSFML/src/SFML/Network/SocketUDPStruct.h @@ -0,0 +1,43 @@ +//////////////////////////////////////////////////////////// +// +// SFML - Simple and Fast Multimedia Library +// Copyright (C) 2007-2009 Laurent Gomila (laurent.gom@gmail.com) +// +// This software is provided 'as-is', without any express or implied warranty. +// In no event will the authors be held liable for any damages arising from the use of this software. +// +// Permission is granted to anyone to use this software for any purpose, +// including commercial applications, and to alter it and redistribute it freely, +// subject to the following restrictions: +// +// 1. The origin of this software must not be misrepresented; +// you must not claim that you wrote the original software. +// If you use this software in a product, an acknowledgment +// in the product documentation would be appreciated but is not required. +// +// 2. Altered source versions must be plainly marked as such, +// and must not be misrepresented as being the original software. +// +// 3. This notice may not be removed or altered from any source distribution. +// +//////////////////////////////////////////////////////////// + +#ifndef SFML_SOCKETUDPSTRUCT_H +#define SFML_SOCKETUDPSTRUCT_H + +//////////////////////////////////////////////////////////// +// Headers +//////////////////////////////////////////////////////////// +#include + + +//////////////////////////////////////////////////////////// +// Internal structure of sfSocketUDP +//////////////////////////////////////////////////////////// +struct sfSocketUDP +{ + sf::SocketUDP This; +}; + + +#endif // SFML_SOCKETUDPSTRUCT_H diff --git a/CSFML/src/SFML/System/Clock.cpp b/CSFML/src/SFML/System/Clock.cpp index 33298736f..e07909e70 100644 --- a/CSFML/src/SFML/System/Clock.cpp +++ b/CSFML/src/SFML/System/Clock.cpp @@ -26,16 +26,10 @@ // Headers //////////////////////////////////////////////////////////// #include -#include +#include #include -struct sfClock -{ - sf::Clock This; -}; - - //////////////////////////////////////////////////////////// /// Create a new clock and start it //////////////////////////////////////////////////////////// diff --git a/CSFML/src/SFML/System/ClockStruct.h b/CSFML/src/SFML/System/ClockStruct.h new file mode 100644 index 000000000..20b4edc09 --- /dev/null +++ b/CSFML/src/SFML/System/ClockStruct.h @@ -0,0 +1,43 @@ +//////////////////////////////////////////////////////////// +// +// SFML - Simple and Fast Multimedia Library +// Copyright (C) 2007-2009 Laurent Gomila (laurent.gom@gmail.com) +// +// This software is provided 'as-is', without any express or implied warranty. +// In no event will the authors be held liable for any damages arising from the use of this software. +// +// Permission is granted to anyone to use this software for any purpose, +// including commercial applications, and to alter it and redistribute it freely, +// subject to the following restrictions: +// +// 1. The origin of this software must not be misrepresented; +// you must not claim that you wrote the original software. +// If you use this software in a product, an acknowledgment +// in the product documentation would be appreciated but is not required. +// +// 2. Altered source versions must be plainly marked as such, +// and must not be misrepresented as being the original software. +// +// 3. This notice may not be removed or altered from any source distribution. +// +//////////////////////////////////////////////////////////// + +#ifndef SFML_CLOCKSTRUCT_H +#define SFML_CLOCKSTRUCT_H + +//////////////////////////////////////////////////////////// +// Headers +//////////////////////////////////////////////////////////// +#include + + +//////////////////////////////////////////////////////////// +// Internal structure of sfClock +//////////////////////////////////////////////////////////// +struct sfClock +{ + sf::Clock This; +}; + + +#endif // SFML_CLOCKSTRUCT_H diff --git a/CSFML/src/SFML/System/Mutex.cpp b/CSFML/src/SFML/System/Mutex.cpp index c751b27a5..69a534cb1 100644 --- a/CSFML/src/SFML/System/Mutex.cpp +++ b/CSFML/src/SFML/System/Mutex.cpp @@ -26,16 +26,10 @@ // Headers //////////////////////////////////////////////////////////// #include -#include +#include #include -struct sfMutex -{ - sf::Mutex This; -}; - - //////////////////////////////////////////////////////////// /// Create a new mutex //////////////////////////////////////////////////////////// diff --git a/CSFML/src/SFML/System/MutexStruct.h b/CSFML/src/SFML/System/MutexStruct.h new file mode 100644 index 000000000..68f6786ea --- /dev/null +++ b/CSFML/src/SFML/System/MutexStruct.h @@ -0,0 +1,43 @@ +//////////////////////////////////////////////////////////// +// +// SFML - Simple and Fast Multimedia Library +// Copyright (C) 2007-2009 Laurent Gomila (laurent.gom@gmail.com) +// +// This software is provided 'as-is', without any express or implied warranty. +// In no event will the authors be held liable for any damages arising from the use of this software. +// +// Permission is granted to anyone to use this software for any purpose, +// including commercial applications, and to alter it and redistribute it freely, +// subject to the following restrictions: +// +// 1. The origin of this software must not be misrepresented; +// you must not claim that you wrote the original software. +// If you use this software in a product, an acknowledgment +// in the product documentation would be appreciated but is not required. +// +// 2. Altered source versions must be plainly marked as such, +// and must not be misrepresented as being the original software. +// +// 3. This notice may not be removed or altered from any source distribution. +// +//////////////////////////////////////////////////////////// + +#ifndef SFML_MUTEXSTRUCT_H +#define SFML_MUTEXSTRUCT_H + +//////////////////////////////////////////////////////////// +// Headers +//////////////////////////////////////////////////////////// +#include + + +//////////////////////////////////////////////////////////// +// Internal structure of sfMutex +//////////////////////////////////////////////////////////// +struct sfMutex +{ + sf::Mutex This; +}; + + +#endif // SFML_MUTEXSTRUCT_H diff --git a/CSFML/src/SFML/System/Thread.cpp b/CSFML/src/SFML/System/Thread.cpp index 668fa37db..64f0af1d4 100644 --- a/CSFML/src/SFML/System/Thread.cpp +++ b/CSFML/src/SFML/System/Thread.cpp @@ -26,18 +26,10 @@ // Headers //////////////////////////////////////////////////////////// #include -#include +#include #include -struct sfThread -{ - sfThread(void (*Function)(void*), void* UserData) : This(Function, UserData) {} - - sf::Thread This; -}; - - //////////////////////////////////////////////////////////// /// Construct a new thread from a function pointer //////////////////////////////////////////////////////////// diff --git a/CSFML/src/SFML/System/ThreadStruct.h b/CSFML/src/SFML/System/ThreadStruct.h new file mode 100644 index 000000000..c25ffddb5 --- /dev/null +++ b/CSFML/src/SFML/System/ThreadStruct.h @@ -0,0 +1,48 @@ +//////////////////////////////////////////////////////////// +// +// SFML - Simple and Fast Multimedia Library +// Copyright (C) 2007-2009 Laurent Gomila (laurent.gom@gmail.com) +// +// This software is provided 'as-is', without any express or implied warranty. +// In no event will the authors be held liable for any damages arising from the use of this software. +// +// Permission is granted to anyone to use this software for any purpose, +// including commercial applications, and to alter it and redistribute it freely, +// subject to the following restrictions: +// +// 1. The origin of this software must not be misrepresented; +// you must not claim that you wrote the original software. +// If you use this software in a product, an acknowledgment +// in the product documentation would be appreciated but is not required. +// +// 2. Altered source versions must be plainly marked as such, +// and must not be misrepresented as being the original software. +// +// 3. This notice may not be removed or altered from any source distribution. +// +//////////////////////////////////////////////////////////// + +#ifndef SFML_THREADSTRUCT_H +#define SFML_THREADSTRUCT_H + +//////////////////////////////////////////////////////////// +// Headers +//////////////////////////////////////////////////////////// +#include + + +//////////////////////////////////////////////////////////// +// Internal structure of sfThread +//////////////////////////////////////////////////////////// +struct sfThread +{ + sfThread(void (*Function)(void*), void* UserData) : + This(Function, UserData) + { + } + + sf::Thread This; +}; + + +#endif // SFML_THREADSTRUCT_H diff --git a/CSFML/src/SFML/Window/Context.cpp b/CSFML/src/SFML/Window/Context.cpp index 2f2e1003b..b34137e89 100644 --- a/CSFML/src/SFML/Window/Context.cpp +++ b/CSFML/src/SFML/Window/Context.cpp @@ -26,16 +26,10 @@ // Headers //////////////////////////////////////////////////////////// #include -#include +#include #include -struct sfContext -{ - sf::Context This; -}; - - //////////////////////////////////////////////////////////// /// Construct a new context //////////////////////////////////////////////////////////// diff --git a/CSFML/src/SFML/Window/ContextStruct.h b/CSFML/src/SFML/Window/ContextStruct.h new file mode 100644 index 000000000..fcae94e20 --- /dev/null +++ b/CSFML/src/SFML/Window/ContextStruct.h @@ -0,0 +1,43 @@ +//////////////////////////////////////////////////////////// +// +// SFML - Simple and Fast Multimedia Library +// Copyright (C) 2007-2009 Laurent Gomila (laurent.gom@gmail.com) +// +// This software is provided 'as-is', without any express or implied warranty. +// In no event will the authors be held liable for any damages arising from the use of this software. +// +// Permission is granted to anyone to use this software for any purpose, +// including commercial applications, and to alter it and redistribute it freely, +// subject to the following restrictions: +// +// 1. The origin of this software must not be misrepresented; +// you must not claim that you wrote the original software. +// If you use this software in a product, an acknowledgment +// in the product documentation would be appreciated but is not required. +// +// 2. Altered source versions must be plainly marked as such, +// and must not be misrepresented as being the original software. +// +// 3. This notice may not be removed or altered from any source distribution. +// +//////////////////////////////////////////////////////////// + +#ifndef SFML_CONTEXTSTRUCT_H +#define SFML_CONTEXTSTRUCT_H + +//////////////////////////////////////////////////////////// +// Headers +//////////////////////////////////////////////////////////// +#include + + +//////////////////////////////////////////////////////////// +// Internal structure of sfContext +//////////////////////////////////////////////////////////// +struct sfContext +{ + sf::Context This; +}; + + +#endif // SFML_CONTEXTSTRUCT_H diff --git a/CSFML/src/SFML/Window/Input.cpp b/CSFML/src/SFML/Window/Input.cpp index 0023030af..352a0197d 100644 --- a/CSFML/src/SFML/Window/Input.cpp +++ b/CSFML/src/SFML/Window/Input.cpp @@ -1,7 +1,7 @@ //////////////////////////////////////////////////////////// // // SFML - Simple and Fast Multimedia Library -// Copyright (C) 2007-2009-2008 Laurent Gomila (laurent.gom@gmail.com) +// Copyright (C) 2007-2009 Laurent Gomila (laurent.gom@gmail.com) // // This software is provided 'as-is', without any express or implied warranty. // In no event will the authors be held liable for any damages arising from the use of this software. @@ -26,16 +26,10 @@ // Headers //////////////////////////////////////////////////////////// #include -#include +#include #include -struct sfInput -{ - const sf::Input* This; -}; - - //////////////////////////////////////////////////////////// /// Get the state of a key //////////////////////////////////////////////////////////// diff --git a/CSFML/src/SFML/Window/InputStruct.h b/CSFML/src/SFML/Window/InputStruct.h new file mode 100644 index 000000000..127e459ea --- /dev/null +++ b/CSFML/src/SFML/Window/InputStruct.h @@ -0,0 +1,43 @@ +//////////////////////////////////////////////////////////// +// +// SFML - Simple and Fast Multimedia Library +// Copyright (C) 2007-2009 Laurent Gomila (laurent.gom@gmail.com) +// +// This software is provided 'as-is', without any express or implied warranty. +// In no event will the authors be held liable for any damages arising from the use of this software. +// +// Permission is granted to anyone to use this software for any purpose, +// including commercial applications, and to alter it and redistribute it freely, +// subject to the following restrictions: +// +// 1. The origin of this software must not be misrepresented; +// you must not claim that you wrote the original software. +// If you use this software in a product, an acknowledgment +// in the product documentation would be appreciated but is not required. +// +// 2. Altered source versions must be plainly marked as such, +// and must not be misrepresented as being the original software. +// +// 3. This notice may not be removed or altered from any source distribution. +// +//////////////////////////////////////////////////////////// + +#ifndef SFML_INPUTSTRUCT_H +#define SFML_INPUTSTRUCT_H + +//////////////////////////////////////////////////////////// +// Headers +//////////////////////////////////////////////////////////// +#include + + +//////////////////////////////////////////////////////////// +// Internal structure of sfInput +//////////////////////////////////////////////////////////// +struct sfInput +{ + const sf::Input* This; +}; + + +#endif // SFML_INPUTSTRUCT_H diff --git a/CSFML/src/SFML/Window/VideoMode.cpp b/CSFML/src/SFML/Window/VideoMode.cpp index 7a53a8a10..c8d701459 100644 --- a/CSFML/src/SFML/Window/VideoMode.cpp +++ b/CSFML/src/SFML/Window/VideoMode.cpp @@ -1,7 +1,7 @@ //////////////////////////////////////////////////////////// // // SFML - Simple and Fast Multimedia Library -// Copyright (C) 2007-2009-2008 Laurent Gomila (laurent.gom@gmail.com) +// Copyright (C) 2007-2009 Laurent Gomila (laurent.gom@gmail.com) // // This software is provided 'as-is', without any express or implied warranty. // In no event will the authors be held liable for any damages arising from the use of this software. diff --git a/CSFML/src/SFML/Window/Window.cpp b/CSFML/src/SFML/Window/Window.cpp index e49e0619a..af3723984 100644 --- a/CSFML/src/SFML/Window/Window.cpp +++ b/CSFML/src/SFML/Window/Window.cpp @@ -1,7 +1,7 @@ //////////////////////////////////////////////////////////// // // SFML - Simple and Fast Multimedia Library -// Copyright (C) 2007-2009-2008 Laurent Gomila (laurent.gom@gmail.com) +// Copyright (C) 2007-2009 Laurent Gomila (laurent.gom@gmail.com) // // This software is provided 'as-is', without any express or implied warranty. // In no event will the authors be held liable for any damages arising from the use of this software. @@ -26,23 +26,10 @@ // Headers //////////////////////////////////////////////////////////// #include -#include -#include +#include #include -// WARNING : this structure must always be the SAME as in Window/Input.h -struct sfInput -{ - const sf::Input* This; -}; -struct sfWindow -{ - sf::Window This; - sfInput Input; -}; - - //////////////////////////////////////////////////////////// /// Construct a new window //////////////////////////////////////////////////////////// diff --git a/CSFML/src/SFML/Window/WindowStruct.h b/CSFML/src/SFML/Window/WindowStruct.h new file mode 100644 index 000000000..0429f1539 --- /dev/null +++ b/CSFML/src/SFML/Window/WindowStruct.h @@ -0,0 +1,45 @@ +//////////////////////////////////////////////////////////// +// +// SFML - Simple and Fast Multimedia Library +// Copyright (C) 2007-2009 Laurent Gomila (laurent.gom@gmail.com) +// +// This software is provided 'as-is', without any express or implied warranty. +// In no event will the authors be held liable for any damages arising from the use of this software. +// +// Permission is granted to anyone to use this software for any purpose, +// including commercial applications, and to alter it and redistribute it freely, +// subject to the following restrictions: +// +// 1. The origin of this software must not be misrepresented; +// you must not claim that you wrote the original software. +// If you use this software in a product, an acknowledgment +// in the product documentation would be appreciated but is not required. +// +// 2. Altered source versions must be plainly marked as such, +// and must not be misrepresented as being the original software. +// +// 3. This notice may not be removed or altered from any source distribution. +// +//////////////////////////////////////////////////////////// + +#ifndef SFML_WINDOWSTRUCT_H +#define SFML_WINDOWSTRUCT_H + +//////////////////////////////////////////////////////////// +// Headers +//////////////////////////////////////////////////////////// +#include +#include + + +//////////////////////////////////////////////////////////// +// Internal structure of sfWindow +//////////////////////////////////////////////////////////// +struct sfWindow +{ + sf::Window This; + sfInput Input; +}; + + +#endif // SFML_WINDOWSTRUCT_H diff --git a/CSFML/xcode/SFML-bare.xcodeproj/project.pbxproj b/CSFML/xcode/SFML-bare.xcodeproj/project.pbxproj index 506c8f80e..eff267529 100644 --- a/CSFML/xcode/SFML-bare.xcodeproj/project.pbxproj +++ b/CSFML/xcode/SFML-bare.xcodeproj/project.pbxproj @@ -245,11 +245,10 @@ A011E5E70F65786600FAE48D /* zlib.h in Headers */ = {isa = PBXBuildFile; fileRef = A011E5660F65786600FAE48D /* zlib.h */; }; A011E5E80F65786600FAE48D /* zutil.c in Sources */ = {isa = PBXBuildFile; fileRef = A011E5670F65786600FAE48D /* zutil.c */; }; A011E5E90F65786600FAE48D /* zutil.h in Headers */ = {isa = PBXBuildFile; fileRef = A011E5680F65786600FAE48D /* zutil.h */; }; - A011E5FB0F65791B00FAE48D /* libcsfml-system-d.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = A011E3720F65749300FAE48D /* libcsfml-system-d.dylib */; }; - A011E6060F65797100FAE48D /* libcsfml-system-d.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = A011E3720F65749300FAE48D /* libcsfml-system-d.dylib */; }; - A011E6140F6579CA00FAE48D /* libcsfml-window-d.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = A011E38F0F6574B500FAE48D /* libcsfml-window-d.dylib */; }; - A011E6170F6579D100FAE48D /* libcsfml-system-d.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = A011E3720F65749300FAE48D /* libcsfml-system-d.dylib */; }; - A01BEF370F6BF2490095262C /* sndfile.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A01BEF360F6BF2490095262C /* sndfile.framework */; }; + A011E5FB0F65791B00FAE48D /* libcsfml-system.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = A011E3720F65749300FAE48D /* libcsfml-system.dylib */; }; + A011E6060F65797100FAE48D /* libcsfml-system.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = A011E3720F65749300FAE48D /* libcsfml-system.dylib */; }; + A011E6140F6579CA00FAE48D /* libcsfml-window.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = A011E38F0F6574B500FAE48D /* libcsfml-window.dylib */; }; + A011E6170F6579D100FAE48D /* libcsfml-system.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = A011E3720F65749300FAE48D /* libcsfml-system.dylib */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -291,11 +290,11 @@ /* End PBXContainerItemProxy section */ /* Begin PBXFileReference section */ - A011E3720F65749300FAE48D /* libcsfml-system-d.dylib */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.dylib"; includeInIndex = 0; path = "libcsfml-system-d.dylib"; sourceTree = BUILT_PRODUCTS_DIR; }; - A011E37D0F65749F00FAE48D /* libcsfml-network-d.dylib */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.dylib"; includeInIndex = 0; path = "libcsfml-network-d.dylib"; sourceTree = BUILT_PRODUCTS_DIR; }; - A011E3860F6574AC00FAE48D /* libcsfml-audio-d.dylib */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.dylib"; includeInIndex = 0; path = "libcsfml-audio-d.dylib"; sourceTree = BUILT_PRODUCTS_DIR; }; - A011E38F0F6574B500FAE48D /* libcsfml-window-d.dylib */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.dylib"; includeInIndex = 0; path = "libcsfml-window-d.dylib"; sourceTree = BUILT_PRODUCTS_DIR; }; - A011E3980F6574BE00FAE48D /* libcsfml-graphics-d.dylib */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.dylib"; includeInIndex = 0; path = "libcsfml-graphics-d.dylib"; sourceTree = BUILT_PRODUCTS_DIR; }; + A011E3720F65749300FAE48D /* libcsfml-system.dylib */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.dylib"; includeInIndex = 0; path = "libcsfml-system.dylib"; sourceTree = BUILT_PRODUCTS_DIR; }; + A011E37D0F65749F00FAE48D /* libcsfml-network.dylib */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.dylib"; includeInIndex = 0; path = "libcsfml-network.dylib"; sourceTree = BUILT_PRODUCTS_DIR; }; + A011E3860F6574AC00FAE48D /* libcsfml-audio.dylib */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.dylib"; includeInIndex = 0; path = "libcsfml-audio.dylib"; sourceTree = BUILT_PRODUCTS_DIR; }; + A011E38F0F6574B500FAE48D /* libcsfml-window.dylib */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.dylib"; includeInIndex = 0; path = "libcsfml-window.dylib"; sourceTree = BUILT_PRODUCTS_DIR; }; + A011E3980F6574BE00FAE48D /* libcsfml-graphics.dylib */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.dylib"; includeInIndex = 0; path = "libcsfml-graphics.dylib"; sourceTree = BUILT_PRODUCTS_DIR; }; A011E3A40F6574E400FAE48D /* SFML-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "SFML-Info.plist"; sourceTree = ""; }; A011E3DE0F65776B00FAE48D /* Sleep.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = Sleep.cpp; path = ../src/SFML/System/Sleep.cpp; sourceTree = SOURCE_ROOT; }; A011E3DF0F65776B00FAE48D /* Thread.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = Thread.cpp; path = ../src/SFML/System/Thread.cpp; sourceTree = SOURCE_ROOT; }; @@ -517,7 +516,6 @@ A011E5660F65786600FAE48D /* zlib.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = zlib.h; sourceTree = ""; }; A011E5670F65786600FAE48D /* zutil.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = zutil.c; sourceTree = ""; }; A011E5680F65786600FAE48D /* zutil.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = zutil.h; sourceTree = ""; }; - A01BEF360F6BF2490095262C /* sndfile.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = sndfile.framework; path = "../../extlibs/libs-xcode/sndfile.framework"; sourceTree = SOURCE_ROOT; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -539,8 +537,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - A011E5FB0F65791B00FAE48D /* libcsfml-system-d.dylib in Frameworks */, - A01BEF370F6BF2490095262C /* sndfile.framework in Frameworks */, + A011E5FB0F65791B00FAE48D /* libcsfml-system.dylib in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -548,7 +545,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - A011E6060F65797100FAE48D /* libcsfml-system-d.dylib in Frameworks */, + A011E6060F65797100FAE48D /* libcsfml-system.dylib in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -556,8 +553,8 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - A011E6140F6579CA00FAE48D /* libcsfml-window-d.dylib in Frameworks */, - A011E6170F6579D100FAE48D /* libcsfml-system-d.dylib in Frameworks */, + A011E6140F6579CA00FAE48D /* libcsfml-window.dylib in Frameworks */, + A011E6170F6579D100FAE48D /* libcsfml-system.dylib in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -567,7 +564,6 @@ A011E3550F65738800FAE48D = { isa = PBXGroup; children = ( - A011E3C10F6575B300FAE48D /* SFML */, A011E3C80F6575D800FAE48D /* csfml-system */, A011E3C70F6575D000FAE48D /* csfml-network */, A011E3C40F6575C100FAE48D /* csfml-audio */, @@ -581,22 +577,15 @@ A011E3730F65749300FAE48D /* Products */ = { isa = PBXGroup; children = ( - A011E3720F65749300FAE48D /* libcsfml-system-d.dylib */, - A011E37D0F65749F00FAE48D /* libcsfml-network-d.dylib */, - A011E3860F6574AC00FAE48D /* libcsfml-audio-d.dylib */, - A011E38F0F6574B500FAE48D /* libcsfml-window-d.dylib */, - A011E3980F6574BE00FAE48D /* libcsfml-graphics-d.dylib */, + A011E3720F65749300FAE48D /* libcsfml-system.dylib */, + A011E37D0F65749F00FAE48D /* libcsfml-network.dylib */, + A011E3860F6574AC00FAE48D /* libcsfml-audio.dylib */, + A011E38F0F6574B500FAE48D /* libcsfml-window.dylib */, + A011E3980F6574BE00FAE48D /* libcsfml-graphics.dylib */, ); name = Products; sourceTree = ""; }; - A011E3C10F6575B300FAE48D /* SFML */ = { - isa = PBXGroup; - children = ( - ); - name = SFML; - sourceTree = ""; - }; A011E3C20F6575B700FAE48D /* csfml-graphics */ = { isa = PBXGroup; children = ( @@ -630,7 +619,6 @@ A011E3C40F6575C100FAE48D /* csfml-audio */ = { isa = PBXGroup; children = ( - A01BEF360F6BF2490095262C /* sndfile.framework */, A011E45E0F65783900FAE48D /* Audio */, A011E3F80F65778600FAE48D /* Listener.cpp */, A011E3F90F65778600FAE48D /* Music.cpp */, @@ -1088,7 +1076,7 @@ ); name = "csfml-system"; productName = "csfml-system"; - productReference = A011E3720F65749300FAE48D /* libcsfml-system-d.dylib */; + productReference = A011E3720F65749300FAE48D /* libcsfml-system.dylib */; productType = "com.apple.product-type.library.dynamic"; }; A011E37C0F65749F00FAE48D /* csfml-network */ = { @@ -1105,7 +1093,7 @@ ); name = "csfml-network"; productName = "csfml-network"; - productReference = A011E37D0F65749F00FAE48D /* libcsfml-network-d.dylib */; + productReference = A011E37D0F65749F00FAE48D /* libcsfml-network.dylib */; productType = "com.apple.product-type.library.dynamic"; }; A011E3850F6574AC00FAE48D /* csfml-audio */ = { @@ -1122,7 +1110,7 @@ ); name = "csfml-audio"; productName = "csfml-audio"; - productReference = A011E3860F6574AC00FAE48D /* libcsfml-audio-d.dylib */; + productReference = A011E3860F6574AC00FAE48D /* libcsfml-audio.dylib */; productType = "com.apple.product-type.library.dynamic"; }; A011E38E0F6574B500FAE48D /* csfml-window */ = { @@ -1139,7 +1127,7 @@ ); name = "csfml-window"; productName = "csfml-window"; - productReference = A011E38F0F6574B500FAE48D /* libcsfml-window-d.dylib */; + productReference = A011E38F0F6574B500FAE48D /* libcsfml-window.dylib */; productType = "com.apple.product-type.library.dynamic"; }; A011E3970F6574BE00FAE48D /* csfml-graphics */ = { @@ -1156,7 +1144,7 @@ ); name = "csfml-graphics"; productName = "csfml-graphics"; - productReference = A011E3980F6574BE00FAE48D /* libcsfml-graphics-d.dylib */; + productReference = A011E3980F6574BE00FAE48D /* libcsfml-graphics.dylib */; productType = "com.apple.product-type.library.dynamic"; }; /* End PBXNativeTarget section */ @@ -1417,11 +1405,18 @@ A011E3580F65738800FAE48D /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; ARCHS = "$(ARCHS_STANDARD_32_BIT_PRE_XCODE_3_1)"; ARCHS_STANDARD_32_BIT_PRE_XCODE_3_1 = "ppc i386"; CONFIGURATION_BUILD_DIR = "$(SRCROOT)/../../lib"; COPY_PHASE_STRIP = NO; + FRAMEWORK_SEARCH_PATHS = ( + "$(SRCROOT)/../../lib", + "$(SRCROOT)/../lib", + "$(SRCROOT)/../../extlibs/bin", + ); GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = CSFML_EXPORTS; GCC_WARN_64_TO_32_BIT_CONVERSION = YES; GCC_WARN_ABOUT_RETURN_TYPE = YES; GCC_WARN_CHECK_SWITCH_STATEMENTS = YES; @@ -1441,8 +1436,14 @@ "$(SRCROOT)/../include", "$(SRCROOT)/../../include", "$(SRCROOT)/../../src", + "$(SRCROOT)/../../extlibs/headers", ); INSTALL_PATH = "@executable_path"; + LIBRARY_SEARCH_PATHS = ( + "$(SRCROOT)/../../lib", + "$(SRCROOT)/../lib", + "$(SRCROOT)/../../extlibs/libs-xcode", + ); OBJROOT = "$(SRCROOT)/build"; SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk; SYMROOT = "$(SRCROOT)/../../lib"; @@ -1452,18 +1453,31 @@ A011E3590F65738800FAE48D /* Release */ = { isa = XCBuildConfiguration; buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; ARCHS = "$(ARCHS_STANDARD_32_BIT_PRE_XCODE_3_1)"; ARCHS_STANDARD_32_BIT_PRE_XCODE_3_1 = "ppc i386"; CONFIGURATION_BUILD_DIR = "$(SRCROOT)/../../lib"; COPY_PHASE_STRIP = YES; + FRAMEWORK_SEARCH_PATHS = ( + "$(SRCROOT)/../../lib", + "$(SRCROOT)/../lib", + "$(SRCROOT)/../../extlibs/bin", + ); GCC_OPTIMIZATION_LEVEL = 2; + GCC_PREPROCESSOR_DEFINITIONS = CSFML_EXPORTS; HEADER_SEARCH_PATHS = ( "$(SRCROOT)/../src", "$(SRCROOT)/../include", "$(SRCROOT)/../../include", "$(SRCROOT)/../../src", + "$(SRCROOT)/../../extlibs/headers", ); INSTALL_PATH = "@executable_path"; + LIBRARY_SEARCH_PATHS = ( + "$(SRCROOT)/../../lib", + "$(SRCROOT)/../lib", + "$(SRCROOT)/../../extlibs/libs-xcode", + ); OBJROOT = "$(SRCROOT)/build"; SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk; SYMROOT = "$(SRCROOT)/../../lib"; @@ -1473,7 +1487,6 @@ A011E3740F65749400FAE48D /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; COPY_PHASE_STRIP = NO; EXECUTABLE_PREFIX = lib; GCC_DYNAMIC_NO_PIC = NO; @@ -1492,7 +1505,6 @@ A011E3750F65749400FAE48D /* Release */ = { isa = XCBuildConfiguration; buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; COPY_PHASE_STRIP = YES; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; EXECUTABLE_PREFIX = lib; @@ -1511,7 +1523,6 @@ A011E37E0F65749F00FAE48D /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; COPY_PHASE_STRIP = NO; EXECUTABLE_PREFIX = lib; GCC_DYNAMIC_NO_PIC = NO; @@ -1526,7 +1537,6 @@ A011E37F0F65749F00FAE48D /* Release */ = { isa = XCBuildConfiguration; buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; COPY_PHASE_STRIP = YES; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; EXECUTABLE_PREFIX = lib; @@ -1541,24 +1551,17 @@ A011E3870F6574AC00FAE48D /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; COPY_PHASE_STRIP = NO; EXECUTABLE_PREFIX = lib; - FRAMEWORK_SEARCH_PATHS = "$(SRCROOT)/../../extlibs/libs-xcode"; GCC_DYNAMIC_NO_PIC = NO; GCC_ENABLE_FIX_AND_CONTINUE = YES; GCC_MODEL_TUNING = G5; GCC_OPTIMIZATION_LEVEL = 0; - HEADER_SEARCH_PATHS = ( - "$(SRCROOT)/../src", - "$(SRCROOT)/../include", - "$(SRCROOT)/../../include", - "$(SRCROOT)/../../src", - "$(SRCROOT)/../../extlibs/headers", - ); OTHER_LDFLAGS = ( "-framework", OpenAL, + "-framework", + sndfile, ); PREBINDING = NO; PRODUCT_NAME = "csfml-audio-d"; @@ -1568,23 +1571,16 @@ A011E3880F6574AC00FAE48D /* Release */ = { isa = XCBuildConfiguration; buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; COPY_PHASE_STRIP = YES; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; EXECUTABLE_PREFIX = lib; - FRAMEWORK_SEARCH_PATHS = "$(SRCROOT)/../../extlibs/libs-xcode"; GCC_ENABLE_FIX_AND_CONTINUE = NO; GCC_MODEL_TUNING = G5; - HEADER_SEARCH_PATHS = ( - "$(SRCROOT)/../src", - "$(SRCROOT)/../include", - "$(SRCROOT)/../../include", - "$(SRCROOT)/../../src", - "$(SRCROOT)/../../extlibs/headers", - ); OTHER_LDFLAGS = ( "-framework", OpenAL, + "-framework", + sndfile, ); PREBINDING = NO; PRODUCT_NAME = "csfml-audio"; @@ -1594,7 +1590,6 @@ A011E3900F6574B500FAE48D /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; COPY_PHASE_STRIP = NO; EXECUTABLE_PREFIX = lib; GCC_DYNAMIC_NO_PIC = NO; @@ -1613,7 +1608,6 @@ A011E3910F6574B500FAE48D /* Release */ = { isa = XCBuildConfiguration; buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; COPY_PHASE_STRIP = YES; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; EXECUTABLE_PREFIX = lib; @@ -1632,20 +1626,12 @@ A011E3990F6574BE00FAE48D /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; COPY_PHASE_STRIP = NO; EXECUTABLE_PREFIX = lib; GCC_DYNAMIC_NO_PIC = NO; GCC_ENABLE_FIX_AND_CONTINUE = YES; GCC_MODEL_TUNING = G5; GCC_OPTIMIZATION_LEVEL = 0; - HEADER_SEARCH_PATHS = ( - "$(SRCROOT)/../src", - "$(SRCROOT)/../include", - "$(SRCROOT)/../../include", - "$(SRCROOT)/../../src", - "$(SRCROOT)/../../extlibs/headers", - ); OTHER_LDFLAGS = ( "-framework", OpenGL, @@ -1659,19 +1645,11 @@ A011E39A0F6574BE00FAE48D /* Release */ = { isa = XCBuildConfiguration; buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; COPY_PHASE_STRIP = YES; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; EXECUTABLE_PREFIX = lib; GCC_ENABLE_FIX_AND_CONTINUE = NO; GCC_MODEL_TUNING = G5; - HEADER_SEARCH_PATHS = ( - "$(SRCROOT)/../src", - "$(SRCROOT)/../include", - "$(SRCROOT)/../../include", - "$(SRCROOT)/../../src", - "$(SRCROOT)/../../extlibs/headers", - ); OTHER_LDFLAGS = ( "-framework", OpenGL, @@ -1710,8 +1688,8 @@ A011E35A0F65738800FAE48D /* Build configuration list for PBXProject "SFML-bare" */ = { isa = XCConfigurationList; buildConfigurations = ( - A011E3580F65738800FAE48D /* Debug */, A011E3590F65738800FAE48D /* Release */, + A011E3580F65738800FAE48D /* Debug */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; @@ -1719,8 +1697,8 @@ A011E3760F65749400FAE48D /* Build configuration list for PBXNativeTarget "csfml-system" */ = { isa = XCConfigurationList; buildConfigurations = ( - A011E3740F65749400FAE48D /* Debug */, A011E3750F65749400FAE48D /* Release */, + A011E3740F65749400FAE48D /* Debug */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; @@ -1728,8 +1706,8 @@ A011E3A70F6574E400FAE48D /* Build configuration list for PBXNativeTarget "csfml-network" */ = { isa = XCConfigurationList; buildConfigurations = ( - A011E37E0F65749F00FAE48D /* Debug */, A011E37F0F65749F00FAE48D /* Release */, + A011E37E0F65749F00FAE48D /* Debug */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; @@ -1737,8 +1715,8 @@ A011E3A80F6574E400FAE48D /* Build configuration list for PBXNativeTarget "csfml-audio" */ = { isa = XCConfigurationList; buildConfigurations = ( - A011E3870F6574AC00FAE48D /* Debug */, A011E3880F6574AC00FAE48D /* Release */, + A011E3870F6574AC00FAE48D /* Debug */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; @@ -1746,8 +1724,8 @@ A011E3A90F6574E400FAE48D /* Build configuration list for PBXNativeTarget "csfml-window" */ = { isa = XCConfigurationList; buildConfigurations = ( - A011E3900F6574B500FAE48D /* Debug */, A011E3910F6574B500FAE48D /* Release */, + A011E3900F6574B500FAE48D /* Debug */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; @@ -1755,8 +1733,8 @@ A011E3AA0F6574E400FAE48D /* Build configuration list for PBXNativeTarget "csfml-graphics" */ = { isa = XCConfigurationList; buildConfigurations = ( - A011E3990F6574BE00FAE48D /* Debug */, A011E39A0F6574BE00FAE48D /* Release */, + A011E3990F6574BE00FAE48D /* Debug */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; @@ -1764,8 +1742,8 @@ A011E3AB0F6574E400FAE48D /* Build configuration list for PBXAggregateTarget "All" */ = { isa = XCConfigurationList; buildConfigurations = ( - A011E39C0F6574D600FAE48D /* Debug */, A011E39D0F6574D600FAE48D /* Release */, + A011E39C0F6574D600FAE48D /* Debug */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; diff --git a/CSFML/xcode/SFML.xcodeproj/project.pbxproj b/CSFML/xcode/SFML.xcodeproj/project.pbxproj new file mode 100644 index 000000000..123cb9a44 --- /dev/null +++ b/CSFML/xcode/SFML.xcodeproj/project.pbxproj @@ -0,0 +1,2018 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 42; + objects = { + +/* Begin PBXAggregateTarget section */ + A011E39B0F6574D600FAE48D /* All */ = { + isa = PBXAggregateTarget; + buildConfigurationList = A011E3AB0F6574E400FAE48D /* Build configuration list for PBXAggregateTarget "All" */; + buildPhases = ( + ); + dependencies = ( + A0DE00960FCB1E2900DA0132 /* PBXTargetDependency */, + A01BEFB30F6BF5340095262C /* PBXTargetDependency */, + A01BEFB50F6BF5340095262C /* PBXTargetDependency */, + A01BEFB70F6BF5340095262C /* PBXTargetDependency */, + A01BEFB90F6BF5340095262C /* PBXTargetDependency */, + A01BEFBB0F6BF5340095262C /* PBXTargetDependency */, + ); + name = All; + productName = All; + }; +/* End PBXAggregateTarget section */ + +/* Begin PBXBuildFile section */ + A01BEFC70F6BF5640095262C /* Clock.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A011E3E10F65776B00FAE48D /* Clock.cpp */; }; + A01BEFC80F6BF5640095262C /* Clock.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A011E4250F65780E00FAE48D /* Clock.cpp */; }; + A01BEFC90F6BF5650095262C /* csfml-system-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = A01BEF800F6BF42D0095262C /* csfml-system-Info.plist */; }; + A01BEFCA0F6BF5650095262C /* Initializer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A011E4260F65780E00FAE48D /* Initializer.cpp */; }; + A01BEFCB0F6BF5660095262C /* Lock.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A011E4270F65780E00FAE48D /* Lock.cpp */; }; + A01BEFCC0F6BF5670095262C /* Mutex.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A011E42E0F65780E00FAE48D /* Mutex.cpp */; }; + A01BEFCD0F6BF5670095262C /* Mutex.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A011E3E20F65776B00FAE48D /* Mutex.cpp */; }; + A01BEFCE0F6BF5680095262C /* Platform.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A011E42F0F65780E00FAE48D /* Platform.cpp */; }; + A01BEFD00F6BF56E0095262C /* Randomizer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A011E42A0F65780E00FAE48D /* Randomizer.cpp */; }; + A01BEFD10F6BF56E0095262C /* Randomizer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A011E3E00F65776B00FAE48D /* Randomizer.cpp */; }; + A01BEFD20F6BF56E0095262C /* Sleep.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A011E42B0F65780E00FAE48D /* Sleep.cpp */; }; + A01BEFD30F6BF56F0095262C /* Sleep.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A011E3DE0F65776B00FAE48D /* Sleep.cpp */; }; + A01BEFD40F6BF56F0095262C /* Thread.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A011E4310F65780E00FAE48D /* Thread.cpp */; }; + A01BEFD50F6BF5710095262C /* Thread.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A011E3DF0F65776B00FAE48D /* Thread.cpp */; }; + A01BEFD60F6BF5720095262C /* Unicode.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A011E42C0F65780E00FAE48D /* Unicode.cpp */; }; + A01BEFD70F6BF5780095262C /* Ftp.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A011E4480F65782800FAE48D /* Ftp.cpp */; }; + A01BEFD80F6BF5780095262C /* Ftp.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A011E3EA0F65777800FAE48D /* Ftp.cpp */; }; + A01BEFD90F6BF5790095262C /* Http.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A011E4490F65782800FAE48D /* Http.cpp */; }; + A01BEFDA0F6BF5790095262C /* Http.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A011E3EB0F65777800FAE48D /* Http.cpp */; }; + A01BEFDB0F6BF57A0095262C /* IPAddress.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A011E3EC0F65777800FAE48D /* IPAddress.cpp */; }; + A01BEFDC0F6BF57A0095262C /* IPAddress.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A011E44A0F65782800FAE48D /* IPAddress.cpp */; }; + A01BEFDD0F6BF57A0095262C /* Packet.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A011E44C0F65782800FAE48D /* Packet.cpp */; }; + A01BEFDE0F6BF57B0095262C /* Packet.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A011E3ED0F65777800FAE48D /* Packet.cpp */; }; + A01BEFDF0F6BF57D0095262C /* Selector.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A011E3EE0F65777800FAE48D /* Selector.cpp */; }; + A01BEFE00F6BF57E0095262C /* SelectorBase.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A011E44D0F65782800FAE48D /* SelectorBase.cpp */; }; + A01BEFE10F6BF57E0095262C /* SocketHelper.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A011E4510F65782800FAE48D /* SocketHelper.cpp */; }; + A01BEFE40F6BF5800095262C /* SocketTCP.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A011E44E0F65782800FAE48D /* SocketTCP.cpp */; }; + A01BEFE60F6BF5810095262C /* SocketUDP.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A011E3F00F65777800FAE48D /* SocketUDP.cpp */; }; + A01BEFE70F6BF5820095262C /* SocketTCP.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A011E3EF0F65777800FAE48D /* SocketTCP.cpp */; }; + A01BEFE80F6BF5830095262C /* SocketUDP.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A011E44F0F65782800FAE48D /* SocketUDP.cpp */; }; + A01BEFFF0F6BF5CC0095262C /* AudioDevice.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A011E45F0F65783900FAE48D /* AudioDevice.cpp */; }; + A01BF0000F6BF5CD0095262C /* AudioResource.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A011E4610F65783900FAE48D /* AudioResource.cpp */; }; + A01BF0010F6BF5CE0095262C /* Listener.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A011E3F80F65778600FAE48D /* Listener.cpp */; }; + A01BF0020F6BF5CF0095262C /* Listener.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A011E4620F65783900FAE48D /* Listener.cpp */; }; + A01BF0030F6BF5CF0095262C /* Music.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A011E3F90F65778600FAE48D /* Music.cpp */; }; + A01BF0040F6BF5D00095262C /* Music.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A011E4640F65783900FAE48D /* Music.cpp */; }; + A01BF0060F6BF5D40095262C /* Sound.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A011E4660F65783900FAE48D /* Sound.cpp */; }; + A01BF0070F6BF5D40095262C /* Sound.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A011E3FA0F65778600FAE48D /* Sound.cpp */; }; + A01BF0080F6BF5D50095262C /* SoundBuffer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A011E3FB0F65778600FAE48D /* SoundBuffer.cpp */; }; + A01BF0090F6BF5D50095262C /* SoundBuffer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A011E4670F65783900FAE48D /* SoundBuffer.cpp */; }; + A01BF00A0F6BF5D50095262C /* SoundBufferRecorder.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A011E3FC0F65778600FAE48D /* SoundBufferRecorder.cpp */; }; + A01BF00B0F6BF5D60095262C /* SoundBufferRecorder.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A011E4680F65783900FAE48D /* SoundBufferRecorder.cpp */; }; + A01BF00C0F6BF5D90095262C /* SoundFile.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A011E4690F65783900FAE48D /* SoundFile.cpp */; }; + A01BF00D0F6BF5DA0095262C /* SoundFileDefault.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A011E46B0F65783900FAE48D /* SoundFileDefault.cpp */; }; + A01BF00E0F6BF5DD0095262C /* SoundFileOgg.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A011E46D0F65783900FAE48D /* SoundFileOgg.cpp */; }; + A01BF00F0F6BF5E00095262C /* SoundRecorder.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A011E3FD0F65778600FAE48D /* SoundRecorder.cpp */; }; + A01BF0100F6BF5E00095262C /* SoundRecorder.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A011E46F0F65783900FAE48D /* SoundRecorder.cpp */; }; + A01BF0110F6BF5E10095262C /* SoundStream.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A011E4700F65783900FAE48D /* SoundStream.cpp */; }; + A01BF0120F6BF5E10095262C /* SoundStream.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A011E3FE0F65778600FAE48D /* SoundStream.cpp */; }; + A01BF0130F6BF5E30095262C /* stb_vorbis.c in Sources */ = {isa = PBXBuildFile; fileRef = A011E4720F65783900FAE48D /* stb_vorbis.c */; }; + A01BF01B0F6BF5F60095262C /* AppController.mm in Sources */ = {isa = PBXBuildFile; fileRef = A011E48B0F65784E00FAE48D /* AppController.mm */; }; + A01BF01C0F6BF5F70095262C /* Context.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A011E4960F65784E00FAE48D /* Context.cpp */; }; + A01BF01D0F6BF5F70095262C /* Context.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A011E4060F65779900FAE48D /* Context.cpp */; }; + A01BF01E0F6BF5FA0095262C /* GLKit.mm in Sources */ = {isa = PBXBuildFile; fileRef = A011E48D0F65784E00FAE48D /* GLKit.mm */; }; + A01BF01F0F6BF5FD0095262C /* Input.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A011E49B0F65784E00FAE48D /* Input.cpp */; }; + A01BF0200F6BF5FE0095262C /* Input.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A011E4070F65779900FAE48D /* Input.cpp */; }; + A01BF0210F6BF5FF0095262C /* Joystick.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A011E48E0F65784E00FAE48D /* Joystick.cpp */; }; + A01BF0220F6BF6020095262C /* VideoMode.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A011E4080F65779900FAE48D /* VideoMode.cpp */; }; + A01BF0230F6BF6020095262C /* VideoMode.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A011E4AC0F65784E00FAE48D /* VideoMode.cpp */; }; + A01BF0240F6BF6030095262C /* VideoModeSupport.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A011E4900F65784E00FAE48D /* VideoModeSupport.cpp */; }; + A01BF0250F6BF6060095262C /* Window.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A011E4090F65779900FAE48D /* Window.cpp */; }; + A01BF0260F6BF6060095262C /* Window.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A011E4B50F65784E00FAE48D /* Window.cpp */; }; + A01BF0270F6BF6080095262C /* WindowImpl.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A011E4B60F65784E00FAE48D /* WindowImpl.cpp */; }; + A01BF0280F6BF60A0095262C /* WindowImplCocoa.mm in Sources */ = {isa = PBXBuildFile; fileRef = A011E4950F65784E00FAE48D /* WindowImplCocoa.mm */; }; + A01BF0290F6BF6110095262C /* adler32.c in Sources */ = {isa = PBXBuildFile; fileRef = A011E5550F65786600FAE48D /* adler32.c */; }; + A01BF02A0F6BF6130095262C /* Color.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A011E40E0F6577A500FAE48D /* Color.cpp */; }; + A01BF02B0F6BF6130095262C /* Color.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A011E4E40F65786600FAE48D /* Color.cpp */; }; + A01BF02C0F6BF6150095262C /* compress.c in Sources */ = {isa = PBXBuildFile; fileRef = A011E5560F65786600FAE48D /* compress.c */; }; + A01BF02D0F6BF6160095262C /* crc32.c in Sources */ = {isa = PBXBuildFile; fileRef = A011E5570F65786600FAE48D /* crc32.c */; }; + A01BF02E0F6BF61A0095262C /* deflate.c in Sources */ = {isa = PBXBuildFile; fileRef = A011E5590F65786600FAE48D /* deflate.c */; }; + A01BF02F0F6BF61C0095262C /* Drawable.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A011E4E50F65786600FAE48D /* Drawable.cpp */; }; + A01BF0300F6BF61D0095262C /* Font.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A011E4E60F65786600FAE48D /* Font.cpp */; }; + A01BF0310F6BF61E0095262C /* Font.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A011E40F0F6577A500FAE48D /* Font.cpp */; }; + A01BF0320F6BF6210095262C /* FontLoader.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A011E4E70F65786600FAE48D /* FontLoader.cpp */; }; + A01BF0330F6BF6230095262C /* glew.c in Sources */ = {isa = PBXBuildFile; fileRef = A011E4EA0F65786600FAE48D /* glew.c */; }; + A01BF0340F6BF6240095262C /* GraphicsContext.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A011E4EE0F65786600FAE48D /* GraphicsContext.cpp */; }; + A01BF0350F6BF6270095262C /* Image.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A011E4100F6577A500FAE48D /* Image.cpp */; }; + A01BF0360F6BF6270095262C /* Image.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A011E4F00F65786600FAE48D /* Image.cpp */; }; + A01BF0370F6BF6280095262C /* image_DXT.c in Sources */ = {isa = PBXBuildFile; fileRef = A011E5490F65786600FAE48D /* image_DXT.c */; }; + A01BF0380F6BF62B0095262C /* ImageLoader.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A011E4F10F65786600FAE48D /* ImageLoader.cpp */; }; + A01BF0390F6BF62C0095262C /* inffast.c in Sources */ = {isa = PBXBuildFile; fileRef = A011E55B0F65786600FAE48D /* inffast.c */; }; + A01BF03A0F6BF6380095262C /* jcprepct.c in Sources */ = {isa = PBXBuildFile; fileRef = A011E5040F65786600FAE48D /* jcprepct.c */; }; + A01BF03B0F6BF6390095262C /* jdapimin.c in Sources */ = {isa = PBXBuildFile; fileRef = A011E5070F65786600FAE48D /* jdapimin.c */; }; + A01BF03C0F6BF6390095262C /* jcmainct.c in Sources */ = {isa = PBXBuildFile; fileRef = A011E4FD0F65786600FAE48D /* jcmainct.c */; }; + A01BF03D0F6BF63A0095262C /* jidctint.c in Sources */ = {isa = PBXBuildFile; fileRef = A011E5210F65786600FAE48D /* jidctint.c */; }; + A01BF03E0F6BF63A0095262C /* jddctmgr.c in Sources */ = {isa = PBXBuildFile; fileRef = A011E50E0F65786600FAE48D /* jddctmgr.c */; }; + A01BF03F0F6BF63B0095262C /* jfdctint.c in Sources */ = {isa = PBXBuildFile; fileRef = A011E51E0F65786600FAE48D /* jfdctint.c */; }; + A01BF0400F6BF63B0095262C /* pngget.c in Sources */ = {isa = PBXBuildFile; fileRef = A011E5340F65786600FAE48D /* pngget.c */; }; + A01BF0410F6BF63B0095262C /* pngvcrd.c in Sources */ = {isa = PBXBuildFile; fileRef = A011E53D0F65786600FAE48D /* pngvcrd.c */; }; + A01BF0420F6BF63F0095262C /* jmemmgr.c in Sources */ = {isa = PBXBuildFile; fileRef = A011E5240F65786600FAE48D /* jmemmgr.c */; }; + A01BF0450F6BF6410095262C /* inflate.c in Sources */ = {isa = PBXBuildFile; fileRef = A011E55E0F65786600FAE48D /* inflate.c */; }; + A01BF0460F6BF6410095262C /* jccoefct.c in Sources */ = {isa = PBXBuildFile; fileRef = A011E4F70F65786600FAE48D /* jccoefct.c */; }; + A01BF0470F6BF6420095262C /* trees.c in Sources */ = {isa = PBXBuildFile; fileRef = A011E5620F65786600FAE48D /* trees.c */; }; + A01BF0480F6BF6420095262C /* jquant2.c in Sources */ = {isa = PBXBuildFile; fileRef = A011E52B0F65786600FAE48D /* jquant2.c */; }; + A01BF0490F6BF6420095262C /* SOIL.c in Sources */ = {isa = PBXBuildFile; fileRef = A011E54B0F65786600FAE48D /* SOIL.c */; }; + A01BF04A0F6BF6430095262C /* jchuff.c in Sources */ = {isa = PBXBuildFile; fileRef = A011E4FA0F65786600FAE48D /* jchuff.c */; }; + A01BF04B0F6BF6450095262C /* pngtrans.c in Sources */ = {isa = PBXBuildFile; fileRef = A011E53C0F65786600FAE48D /* pngtrans.c */; }; + A01BF04C0F6BF6460095262C /* jdapistd.c in Sources */ = {isa = PBXBuildFile; fileRef = A011E5080F65786600FAE48D /* jdapistd.c */; }; + A01BF04D0F6BF6460095262C /* jcsample.c in Sources */ = {isa = PBXBuildFile; fileRef = A011E5050F65786600FAE48D /* jcsample.c */; }; + A01BF04E0F6BF6470095262C /* jccolor.c in Sources */ = {isa = PBXBuildFile; fileRef = A011E4F80F65786600FAE48D /* jccolor.c */; }; + A01BF04F0F6BF6470095262C /* jidctflt.c in Sources */ = {isa = PBXBuildFile; fileRef = A011E51F0F65786600FAE48D /* jidctflt.c */; }; + A01BF0500F6BF6480095262C /* jcdctmgr.c in Sources */ = {isa = PBXBuildFile; fileRef = A011E4F90F65786600FAE48D /* jcdctmgr.c */; }; + A01BF0510F6BF6480095262C /* jidctfst.c in Sources */ = {isa = PBXBuildFile; fileRef = A011E5200F65786600FAE48D /* jidctfst.c */; }; + A01BF0520F6BF64B0095262C /* jdmarker.c in Sources */ = {isa = PBXBuildFile; fileRef = A011E5130F65786600FAE48D /* jdmarker.c */; }; + A01BF0530F6BF64B0095262C /* jutils.c in Sources */ = {isa = PBXBuildFile; fileRef = A011E52C0F65786600FAE48D /* jutils.c */; }; + A01BF0540F6BF64C0095262C /* pngrutil.c in Sources */ = {isa = PBXBuildFile; fileRef = A011E53A0F65786600FAE48D /* pngrutil.c */; }; + A01BF0550F6BF64C0095262C /* pngwio.c in Sources */ = {isa = PBXBuildFile; fileRef = A011E53E0F65786600FAE48D /* pngwio.c */; }; + A01BF0560F6BF64D0095262C /* jdatadst.c in Sources */ = {isa = PBXBuildFile; fileRef = A011E5090F65786600FAE48D /* jdatadst.c */; }; + A01BF0570F6BF64E0095262C /* uncompr.c in Sources */ = {isa = PBXBuildFile; fileRef = A011E5640F65786600FAE48D /* uncompr.c */; }; + A01BF0580F6BF64F0095262C /* jmemnobs.c in Sources */ = {isa = PBXBuildFile; fileRef = A011E5250F65786600FAE48D /* jmemnobs.c */; }; + A01BF0590F6BF64F0095262C /* pngrio.c in Sources */ = {isa = PBXBuildFile; fileRef = A011E5380F65786600FAE48D /* pngrio.c */; }; + A01BF05A0F6BF6540095262C /* jdcolor.c in Sources */ = {isa = PBXBuildFile; fileRef = A011E50C0F65786600FAE48D /* jdcolor.c */; }; + A01BF05B0F6BF6540095262C /* jdhuff.c in Sources */ = {isa = PBXBuildFile; fileRef = A011E50F0F65786600FAE48D /* jdhuff.c */; }; + A01BF05C0F6BF6550095262C /* stb_image_aug.c in Sources */ = {isa = PBXBuildFile; fileRef = A011E54D0F65786600FAE48D /* stb_image_aug.c */; }; + A01BF05D0F6BF6550095262C /* jdatasrc.c in Sources */ = {isa = PBXBuildFile; fileRef = A011E50A0F65786600FAE48D /* jdatasrc.c */; }; + A01BF05E0F6BF6560095262C /* png.c in Sources */ = {isa = PBXBuildFile; fileRef = A011E52F0F65786600FAE48D /* png.c */; }; + A01BF05F0F6BF6560095262C /* pngerror.c in Sources */ = {isa = PBXBuildFile; fileRef = A011E5320F65786600FAE48D /* pngerror.c */; }; + A01BF0600F6BF6580095262C /* pngset.c in Sources */ = {isa = PBXBuildFile; fileRef = A011E53B0F65786600FAE48D /* pngset.c */; }; + A01BF0610F6BF6580095262C /* jcmaster.c in Sources */ = {isa = PBXBuildFile; fileRef = A011E4FF0F65786600FAE48D /* jcmaster.c */; }; + A01BF0620F6BF6590095262C /* jdpostct.c in Sources */ = {isa = PBXBuildFile; fileRef = A011E5170F65786600FAE48D /* jdpostct.c */; }; + A01BF0630F6BF6590095262C /* pngread.c in Sources */ = {isa = PBXBuildFile; fileRef = A011E5370F65786600FAE48D /* pngread.c */; }; + A01BF0640F6BF65A0095262C /* jcparam.c in Sources */ = {isa = PBXBuildFile; fileRef = A011E5020F65786600FAE48D /* jcparam.c */; }; + A01BF0650F6BF65C0095262C /* jdphuff.c in Sources */ = {isa = PBXBuildFile; fileRef = A011E5160F65786600FAE48D /* jdphuff.c */; }; + A01BF0660F6BF65D0095262C /* jdcoefct.c in Sources */ = {isa = PBXBuildFile; fileRef = A011E50B0F65786600FAE48D /* jdcoefct.c */; }; + A01BF0670F6BF65E0095262C /* jdmerge.c in Sources */ = {isa = PBXBuildFile; fileRef = A011E5150F65786600FAE48D /* jdmerge.c */; }; + A01BF0680F6BF65E0095262C /* pngwrite.c in Sources */ = {isa = PBXBuildFile; fileRef = A011E53F0F65786600FAE48D /* pngwrite.c */; }; + A01BF0690F6BF65E0095262C /* jctrans.c in Sources */ = {isa = PBXBuildFile; fileRef = A011E5060F65786600FAE48D /* jctrans.c */; }; + A01BF06A0F6BF65F0095262C /* jdinput.c in Sources */ = {isa = PBXBuildFile; fileRef = A011E5110F65786600FAE48D /* jdinput.c */; }; + A01BF06B0F6BF65F0095262C /* jcapimin.c in Sources */ = {isa = PBXBuildFile; fileRef = A011E4F50F65786600FAE48D /* jcapimin.c */; }; + A01BF06C0F6BF6620095262C /* jcinit.c in Sources */ = {isa = PBXBuildFile; fileRef = A011E4FC0F65786600FAE48D /* jcinit.c */; }; + A01BF06D0F6BF6620095262C /* jdmainct.c in Sources */ = {isa = PBXBuildFile; fileRef = A011E5120F65786600FAE48D /* jdmainct.c */; }; + A01BF06E0F6BF6630095262C /* pngwutil.c in Sources */ = {isa = PBXBuildFile; fileRef = A011E5410F65786600FAE48D /* pngwutil.c */; }; + A01BF06F0F6BF6630095262C /* jcapistd.c in Sources */ = {isa = PBXBuildFile; fileRef = A011E4F60F65786600FAE48D /* jcapistd.c */; }; + A01BF0700F6BF6640095262C /* jdmaster.c in Sources */ = {isa = PBXBuildFile; fileRef = A011E5140F65786600FAE48D /* jdmaster.c */; }; + A01BF0710F6BF6690095262C /* inftrees.c in Sources */ = {isa = PBXBuildFile; fileRef = A011E5600F65786600FAE48D /* inftrees.c */; }; + A01BF0720F6BF6690095262C /* pnggccrd.c in Sources */ = {isa = PBXBuildFile; fileRef = A011E5330F65786600FAE48D /* pnggccrd.c */; }; + A01BF0730F6BF66A0095262C /* pngwtran.c in Sources */ = {isa = PBXBuildFile; fileRef = A011E5400F65786600FAE48D /* pngwtran.c */; }; + A01BF0750F6BF66B0095262C /* jdtrans.c in Sources */ = {isa = PBXBuildFile; fileRef = A011E5190F65786600FAE48D /* jdtrans.c */; }; + A01BF0760F6BF66B0095262C /* jfdctfst.c in Sources */ = {isa = PBXBuildFile; fileRef = A011E51D0F65786600FAE48D /* jfdctfst.c */; }; + A01BF0770F6BF66B0095262C /* jcmarker.c in Sources */ = {isa = PBXBuildFile; fileRef = A011E4FE0F65786600FAE48D /* jcmarker.c */; }; + A01BF0780F6BF66F0095262C /* pngmem.c in Sources */ = {isa = PBXBuildFile; fileRef = A011E5350F65786600FAE48D /* pngmem.c */; }; + A01BF0790F6BF6700095262C /* jidctred.c in Sources */ = {isa = PBXBuildFile; fileRef = A011E5220F65786600FAE48D /* jidctred.c */; }; + A01BF07A0F6BF6700095262C /* zutil.c in Sources */ = {isa = PBXBuildFile; fileRef = A011E5670F65786600FAE48D /* zutil.c */; }; + A01BF07B0F6BF6710095262C /* pngpread.c in Sources */ = {isa = PBXBuildFile; fileRef = A011E5360F65786600FAE48D /* pngpread.c */; }; + A01BF07C0F6BF6710095262C /* jdsample.c in Sources */ = {isa = PBXBuildFile; fileRef = A011E5180F65786600FAE48D /* jdsample.c */; }; + A01BF07D0F6BF6740095262C /* pngrtran.c in Sources */ = {isa = PBXBuildFile; fileRef = A011E5390F65786600FAE48D /* pngrtran.c */; }; + A01BF07E0F6BF6750095262C /* jcphuff.c in Sources */ = {isa = PBXBuildFile; fileRef = A011E5030F65786600FAE48D /* jcphuff.c */; }; + A01BF07F0F6BF6750095262C /* jfdctflt.c in Sources */ = {isa = PBXBuildFile; fileRef = A011E51C0F65786600FAE48D /* jfdctflt.c */; }; + A01BF0800F6BF6750095262C /* jcomapi.c in Sources */ = {isa = PBXBuildFile; fileRef = A011E5000F65786600FAE48D /* jcomapi.c */; }; + A01BF0820F6BF6770095262C /* jquant1.c in Sources */ = {isa = PBXBuildFile; fileRef = A011E52A0F65786600FAE48D /* jquant1.c */; }; + A01BF0830F6BF6770095262C /* jerror.c in Sources */ = {isa = PBXBuildFile; fileRef = A011E51A0F65786600FAE48D /* jerror.c */; }; + A01BF0840F6BF6780095262C /* String.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A011E5520F65786600FAE48D /* String.cpp */; }; + A01BF0850F6BF6780095262C /* Shape.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A011E4140F6577A500FAE48D /* Shape.cpp */; }; + A01BF0860F6BF67B0095262C /* RenderTarget.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A011E5450F65786600FAE48D /* RenderTarget.cpp */; }; + A01BF0870F6BF67E0095262C /* PostFX.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A011E5440F65786600FAE48D /* PostFX.cpp */; }; + A01BF0880F6BF67F0095262C /* View.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A011E5530F65786600FAE48D /* View.cpp */; }; + A01BF0890F6BF67F0095262C /* RenderWindow.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A011E4130F6577A500FAE48D /* RenderWindow.cpp */; }; + A01BF08A0F6BF6800095262C /* Matrix3.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A011E5430F65786600FAE48D /* Matrix3.cpp */; }; + A01BF08B0F6BF6820095262C /* Sprite.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A011E4150F6577A500FAE48D /* Sprite.cpp */; }; + A01BF08C0F6BF6830095262C /* Shape.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A011E5470F65786600FAE48D /* Shape.cpp */; }; + A01BF08D0F6BF6830095262C /* String.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A011E4160F6577A500FAE48D /* String.cpp */; }; + A01BF08E0F6BF6830095262C /* RenderWindow.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A011E5460F65786600FAE48D /* RenderWindow.cpp */; }; + A01BF08F0F6BF6860095262C /* View.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A011E4170F6577A500FAE48D /* View.cpp */; }; + A01BF0900F6BF6860095262C /* Sprite.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A011E5510F65786600FAE48D /* Sprite.cpp */; }; + A01BF0910F6BF6870095262C /* PostFX.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A011E4110F6577A500FAE48D /* PostFX.cpp */; }; + A01BF0920F6BF6870095262C /* Rect.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A011E4120F6577A500FAE48D /* Rect.cpp */; }; + A01BF0B50F6BF7DC0095262C /* csfml-system.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A01BEF7F0F6BF42D0095262C /* csfml-system.framework */; }; + A01BF0BE0F6BF8070095262C /* csfml-system.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A01BEF7F0F6BF42D0095262C /* csfml-system.framework */; }; + A01BF0C70F6BF8370095262C /* csfml-window.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A01BEF9D0F6BF4490095262C /* csfml-window.framework */; }; + A01BF0CA0F6BF8460095262C /* csfml-system.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A01BEF7F0F6BF42D0095262C /* csfml-system.framework */; }; + A0DE009A0FCB1EC500DA0132 /* dummy.c in Sources */ = {isa = PBXBuildFile; fileRef = A0DE00990FCB1EC500DA0132 /* dummy.c */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + A01BEFB20F6BF5340095262C /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = A011E3570F65738800FAE48D /* Project object */; + proxyType = 1; + remoteGlobalIDString = A01BEF7E0F6BF42D0095262C; + remoteInfo = "csfml-system"; + }; + A01BEFB40F6BF5340095262C /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = A011E3570F65738800FAE48D /* Project object */; + proxyType = 1; + remoteGlobalIDString = A01BEF880F6BF4360095262C; + remoteInfo = "csfml-network"; + }; + A01BEFB60F6BF5340095262C /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = A011E3570F65738800FAE48D /* Project object */; + proxyType = 1; + remoteGlobalIDString = A01BEF920F6BF4400095262C; + remoteInfo = "csfml-audio"; + }; + A01BEFB80F6BF5340095262C /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = A011E3570F65738800FAE48D /* Project object */; + proxyType = 1; + remoteGlobalIDString = A01BEF9C0F6BF4490095262C; + remoteInfo = "csfml-window"; + }; + A01BEFBA0F6BF5340095262C /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = A011E3570F65738800FAE48D /* Project object */; + proxyType = 1; + remoteGlobalIDString = A01BEFA60F6BF4510095262C; + remoteInfo = "csfml-graphics"; + }; + A0DE00950FCB1E2900DA0132 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = A011E3570F65738800FAE48D /* Project object */; + proxyType = 1; + remoteGlobalIDString = A0DE008D0FCB1D8D00DA0132; + remoteInfo = SFML; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + A011E3A40F6574E400FAE48D /* SFML-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "SFML-Info.plist"; sourceTree = ""; }; + A011E3DE0F65776B00FAE48D /* Sleep.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = Sleep.cpp; path = ../src/SFML/System/Sleep.cpp; sourceTree = SOURCE_ROOT; }; + A011E3DF0F65776B00FAE48D /* Thread.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = Thread.cpp; path = ../src/SFML/System/Thread.cpp; sourceTree = SOURCE_ROOT; }; + A011E3E00F65776B00FAE48D /* Randomizer.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = Randomizer.cpp; path = ../src/SFML/System/Randomizer.cpp; sourceTree = SOURCE_ROOT; }; + A011E3E10F65776B00FAE48D /* Clock.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = Clock.cpp; path = ../src/SFML/System/Clock.cpp; sourceTree = SOURCE_ROOT; }; + A011E3E20F65776B00FAE48D /* Mutex.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = Mutex.cpp; path = ../src/SFML/System/Mutex.cpp; sourceTree = SOURCE_ROOT; }; + A011E3EA0F65777800FAE48D /* Ftp.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = Ftp.cpp; path = ../src/SFML/Network/Ftp.cpp; sourceTree = SOURCE_ROOT; }; + A011E3EB0F65777800FAE48D /* Http.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = Http.cpp; path = ../src/SFML/Network/Http.cpp; sourceTree = SOURCE_ROOT; }; + A011E3EC0F65777800FAE48D /* IPAddress.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = IPAddress.cpp; path = ../src/SFML/Network/IPAddress.cpp; sourceTree = SOURCE_ROOT; }; + A011E3ED0F65777800FAE48D /* Packet.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = Packet.cpp; path = ../src/SFML/Network/Packet.cpp; sourceTree = SOURCE_ROOT; }; + A011E3EE0F65777800FAE48D /* Selector.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = Selector.cpp; path = ../src/SFML/Network/Selector.cpp; sourceTree = SOURCE_ROOT; }; + A011E3EF0F65777800FAE48D /* SocketTCP.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = SocketTCP.cpp; path = ../src/SFML/Network/SocketTCP.cpp; sourceTree = SOURCE_ROOT; }; + A011E3F00F65777800FAE48D /* SocketUDP.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = SocketUDP.cpp; path = ../src/SFML/Network/SocketUDP.cpp; sourceTree = SOURCE_ROOT; }; + A011E3F80F65778600FAE48D /* Listener.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = Listener.cpp; path = ../src/SFML/Audio/Listener.cpp; sourceTree = SOURCE_ROOT; }; + A011E3F90F65778600FAE48D /* Music.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = Music.cpp; path = ../src/SFML/Audio/Music.cpp; sourceTree = SOURCE_ROOT; }; + A011E3FA0F65778600FAE48D /* Sound.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = Sound.cpp; path = ../src/SFML/Audio/Sound.cpp; sourceTree = SOURCE_ROOT; }; + A011E3FB0F65778600FAE48D /* SoundBuffer.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = SoundBuffer.cpp; path = ../src/SFML/Audio/SoundBuffer.cpp; sourceTree = SOURCE_ROOT; }; + A011E3FC0F65778600FAE48D /* SoundBufferRecorder.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = SoundBufferRecorder.cpp; path = ../src/SFML/Audio/SoundBufferRecorder.cpp; sourceTree = SOURCE_ROOT; }; + A011E3FD0F65778600FAE48D /* SoundRecorder.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = SoundRecorder.cpp; path = ../src/SFML/Audio/SoundRecorder.cpp; sourceTree = SOURCE_ROOT; }; + A011E3FE0F65778600FAE48D /* SoundStream.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = SoundStream.cpp; path = ../src/SFML/Audio/SoundStream.cpp; sourceTree = SOURCE_ROOT; }; + A011E4060F65779900FAE48D /* Context.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = Context.cpp; path = ../src/SFML/Window/Context.cpp; sourceTree = SOURCE_ROOT; }; + A011E4070F65779900FAE48D /* Input.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = Input.cpp; path = ../src/SFML/Window/Input.cpp; sourceTree = SOURCE_ROOT; }; + A011E4080F65779900FAE48D /* VideoMode.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = VideoMode.cpp; path = ../src/SFML/Window/VideoMode.cpp; sourceTree = SOURCE_ROOT; }; + A011E4090F65779900FAE48D /* Window.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = Window.cpp; path = ../src/SFML/Window/Window.cpp; sourceTree = SOURCE_ROOT; }; + A011E40E0F6577A500FAE48D /* Color.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = Color.cpp; path = ../src/SFML/Graphics/Color.cpp; sourceTree = SOURCE_ROOT; }; + A011E40F0F6577A500FAE48D /* Font.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = Font.cpp; path = ../src/SFML/Graphics/Font.cpp; sourceTree = SOURCE_ROOT; }; + A011E4100F6577A500FAE48D /* Image.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = Image.cpp; path = ../src/SFML/Graphics/Image.cpp; sourceTree = SOURCE_ROOT; }; + A011E4110F6577A500FAE48D /* PostFX.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = PostFX.cpp; path = ../src/SFML/Graphics/PostFX.cpp; sourceTree = SOURCE_ROOT; }; + A011E4120F6577A500FAE48D /* Rect.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = Rect.cpp; path = ../src/SFML/Graphics/Rect.cpp; sourceTree = SOURCE_ROOT; }; + A011E4130F6577A500FAE48D /* RenderWindow.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = RenderWindow.cpp; path = ../src/SFML/Graphics/RenderWindow.cpp; sourceTree = SOURCE_ROOT; }; + A011E4140F6577A500FAE48D /* Shape.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = Shape.cpp; path = ../src/SFML/Graphics/Shape.cpp; sourceTree = SOURCE_ROOT; }; + A011E4150F6577A500FAE48D /* Sprite.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = Sprite.cpp; path = ../src/SFML/Graphics/Sprite.cpp; sourceTree = SOURCE_ROOT; }; + A011E4160F6577A500FAE48D /* String.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = String.cpp; path = ../src/SFML/Graphics/String.cpp; sourceTree = SOURCE_ROOT; }; + A011E4170F6577A500FAE48D /* View.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = View.cpp; path = ../src/SFML/Graphics/View.cpp; sourceTree = SOURCE_ROOT; }; + A011E4250F65780E00FAE48D /* Clock.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = Clock.cpp; sourceTree = ""; }; + A011E4260F65780E00FAE48D /* Initializer.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = Initializer.cpp; sourceTree = ""; }; + A011E4270F65780E00FAE48D /* Lock.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = Lock.cpp; sourceTree = ""; }; + A011E4290F65780E00FAE48D /* Platform.hpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.h; path = Platform.hpp; sourceTree = ""; }; + A011E42A0F65780E00FAE48D /* Randomizer.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = Randomizer.cpp; sourceTree = ""; }; + A011E42B0F65780E00FAE48D /* Sleep.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = Sleep.cpp; sourceTree = ""; }; + A011E42C0F65780E00FAE48D /* Unicode.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = Unicode.cpp; sourceTree = ""; }; + A011E42E0F65780E00FAE48D /* Mutex.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = Mutex.cpp; sourceTree = ""; }; + A011E42F0F65780E00FAE48D /* Platform.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = Platform.cpp; sourceTree = ""; }; + A011E4300F65780E00FAE48D /* Platform.hpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.h; path = Platform.hpp; sourceTree = ""; }; + A011E4310F65780E00FAE48D /* Thread.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = Thread.cpp; sourceTree = ""; }; + A011E4480F65782800FAE48D /* Ftp.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = Ftp.cpp; sourceTree = ""; }; + A011E4490F65782800FAE48D /* Http.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = Http.cpp; sourceTree = ""; }; + A011E44A0F65782800FAE48D /* IPAddress.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = IPAddress.cpp; sourceTree = ""; }; + A011E44C0F65782800FAE48D /* Packet.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = Packet.cpp; sourceTree = ""; }; + A011E44D0F65782800FAE48D /* SelectorBase.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = SelectorBase.cpp; sourceTree = ""; }; + A011E44E0F65782800FAE48D /* SocketTCP.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = SocketTCP.cpp; sourceTree = ""; }; + A011E44F0F65782800FAE48D /* SocketUDP.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = SocketUDP.cpp; sourceTree = ""; }; + A011E4510F65782800FAE48D /* SocketHelper.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = SocketHelper.cpp; sourceTree = ""; }; + A011E45F0F65783900FAE48D /* AudioDevice.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = AudioDevice.cpp; sourceTree = ""; }; + A011E4600F65783900FAE48D /* AudioDevice.hpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.h; path = AudioDevice.hpp; sourceTree = ""; }; + A011E4610F65783900FAE48D /* AudioResource.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = AudioResource.cpp; sourceTree = ""; }; + A011E4620F65783900FAE48D /* Listener.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = Listener.cpp; sourceTree = ""; }; + A011E4640F65783900FAE48D /* Music.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = Music.cpp; sourceTree = ""; }; + A011E4650F65783900FAE48D /* OpenAL.hpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.h; path = OpenAL.hpp; sourceTree = ""; }; + A011E4660F65783900FAE48D /* Sound.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = Sound.cpp; sourceTree = ""; }; + A011E4670F65783900FAE48D /* SoundBuffer.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = SoundBuffer.cpp; sourceTree = ""; }; + A011E4680F65783900FAE48D /* SoundBufferRecorder.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = SoundBufferRecorder.cpp; sourceTree = ""; }; + A011E4690F65783900FAE48D /* SoundFile.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = SoundFile.cpp; sourceTree = ""; }; + A011E46A0F65783900FAE48D /* SoundFile.hpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.h; path = SoundFile.hpp; sourceTree = ""; }; + A011E46B0F65783900FAE48D /* SoundFileDefault.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = SoundFileDefault.cpp; sourceTree = ""; }; + A011E46C0F65783900FAE48D /* SoundFileDefault.hpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.h; path = SoundFileDefault.hpp; sourceTree = ""; }; + A011E46D0F65783900FAE48D /* SoundFileOgg.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = SoundFileOgg.cpp; sourceTree = ""; }; + A011E46E0F65783900FAE48D /* SoundFileOgg.hpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.h; path = SoundFileOgg.hpp; sourceTree = ""; }; + A011E46F0F65783900FAE48D /* SoundRecorder.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = SoundRecorder.cpp; sourceTree = ""; }; + A011E4700F65783900FAE48D /* SoundStream.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = SoundStream.cpp; sourceTree = ""; }; + A011E4720F65783900FAE48D /* stb_vorbis.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = stb_vorbis.c; sourceTree = ""; }; + A011E4730F65783900FAE48D /* stb_vorbis.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = stb_vorbis.h; sourceTree = ""; }; + A011E48A0F65784E00FAE48D /* AppController.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = AppController.h; sourceTree = ""; }; + A011E48B0F65784E00FAE48D /* AppController.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = AppController.mm; sourceTree = ""; }; + A011E48C0F65784E00FAE48D /* GLKit.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = GLKit.h; sourceTree = ""; }; + A011E48D0F65784E00FAE48D /* GLKit.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = GLKit.mm; sourceTree = ""; }; + A011E48E0F65784E00FAE48D /* Joystick.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = Joystick.cpp; sourceTree = ""; }; + A011E48F0F65784E00FAE48D /* Joystick.hpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.h; path = Joystick.hpp; sourceTree = ""; }; + A011E4900F65784E00FAE48D /* VideoModeSupport.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = VideoModeSupport.cpp; sourceTree = ""; }; + A011E4910F65784E00FAE48D /* VideoModeSupport.hpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.h; path = VideoModeSupport.hpp; sourceTree = ""; }; + A011E4940F65784E00FAE48D /* WindowImplCocoa.hpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.h; path = WindowImplCocoa.hpp; sourceTree = ""; }; + A011E4950F65784E00FAE48D /* WindowImplCocoa.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = WindowImplCocoa.mm; sourceTree = ""; }; + A011E4960F65784E00FAE48D /* Context.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = Context.cpp; sourceTree = ""; }; + A011E4980F65784E00FAE48D /* glext.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = glext.h; sourceTree = ""; }; + A011E4990F65784E00FAE48D /* glxext.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = glxext.h; sourceTree = ""; }; + A011E49A0F65784E00FAE48D /* wglext.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = wglext.h; sourceTree = ""; }; + A011E49B0F65784E00FAE48D /* Input.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = Input.cpp; sourceTree = ""; }; + A011E49C0F65784E00FAE48D /* Joystick.hpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.h; path = Joystick.hpp; sourceTree = ""; }; + A011E4AC0F65784E00FAE48D /* VideoMode.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = VideoMode.cpp; sourceTree = ""; }; + A011E4AD0F65784E00FAE48D /* VideoModeSupport.hpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.h; path = VideoModeSupport.hpp; sourceTree = ""; }; + A011E4B50F65784E00FAE48D /* Window.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = Window.cpp; sourceTree = ""; }; + A011E4B60F65784E00FAE48D /* WindowImpl.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = WindowImpl.cpp; sourceTree = ""; }; + A011E4B70F65784E00FAE48D /* WindowImpl.hpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.h; path = WindowImpl.hpp; sourceTree = ""; }; + A011E4E30F65786600FAE48D /* Arial.hpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.h; path = Arial.hpp; sourceTree = ""; }; + A011E4E40F65786600FAE48D /* Color.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = Color.cpp; sourceTree = ""; }; + A011E4E50F65786600FAE48D /* Drawable.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = Drawable.cpp; sourceTree = ""; }; + A011E4E60F65786600FAE48D /* Font.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = Font.cpp; sourceTree = ""; }; + A011E4E70F65786600FAE48D /* FontLoader.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = FontLoader.cpp; sourceTree = ""; }; + A011E4E80F65786600FAE48D /* FontLoader.hpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.h; path = FontLoader.hpp; sourceTree = ""; }; + A011E4EA0F65786600FAE48D /* glew.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = glew.c; sourceTree = ""; }; + A011E4EB0F65786600FAE48D /* glew.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = glew.h; sourceTree = ""; }; + A011E4EC0F65786600FAE48D /* glxew.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = glxew.h; sourceTree = ""; }; + A011E4ED0F65786600FAE48D /* wglew.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = wglew.h; sourceTree = ""; }; + A011E4EE0F65786600FAE48D /* GraphicsContext.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = GraphicsContext.cpp; sourceTree = ""; }; + A011E4EF0F65786600FAE48D /* GraphicsContext.hpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.h; path = GraphicsContext.hpp; sourceTree = ""; }; + A011E4F00F65786600FAE48D /* Image.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = Image.cpp; sourceTree = ""; }; + A011E4F10F65786600FAE48D /* ImageLoader.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = ImageLoader.cpp; sourceTree = ""; }; + A011E4F20F65786600FAE48D /* ImageLoader.hpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.h; path = ImageLoader.hpp; sourceTree = ""; }; + A011E4F40F65786600FAE48D /* cderror.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = cderror.h; sourceTree = ""; }; + A011E4F50F65786600FAE48D /* jcapimin.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = jcapimin.c; sourceTree = ""; }; + A011E4F60F65786600FAE48D /* jcapistd.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = jcapistd.c; sourceTree = ""; }; + A011E4F70F65786600FAE48D /* jccoefct.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = jccoefct.c; sourceTree = ""; }; + A011E4F80F65786600FAE48D /* jccolor.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = jccolor.c; sourceTree = ""; }; + A011E4F90F65786600FAE48D /* jcdctmgr.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = jcdctmgr.c; sourceTree = ""; }; + A011E4FA0F65786600FAE48D /* jchuff.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = jchuff.c; sourceTree = ""; }; + A011E4FB0F65786600FAE48D /* jchuff.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = jchuff.h; sourceTree = ""; }; + A011E4FC0F65786600FAE48D /* jcinit.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = jcinit.c; sourceTree = ""; }; + A011E4FD0F65786600FAE48D /* jcmainct.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = jcmainct.c; sourceTree = ""; }; + A011E4FE0F65786600FAE48D /* jcmarker.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = jcmarker.c; sourceTree = ""; }; + A011E4FF0F65786600FAE48D /* jcmaster.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = jcmaster.c; sourceTree = ""; }; + A011E5000F65786600FAE48D /* jcomapi.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = jcomapi.c; sourceTree = ""; }; + A011E5010F65786600FAE48D /* jconfig.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = jconfig.h; sourceTree = ""; }; + A011E5020F65786600FAE48D /* jcparam.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = jcparam.c; sourceTree = ""; }; + A011E5030F65786600FAE48D /* jcphuff.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = jcphuff.c; sourceTree = ""; }; + A011E5040F65786600FAE48D /* jcprepct.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = jcprepct.c; sourceTree = ""; }; + A011E5050F65786600FAE48D /* jcsample.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = jcsample.c; sourceTree = ""; }; + A011E5060F65786600FAE48D /* jctrans.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = jctrans.c; sourceTree = ""; }; + A011E5070F65786600FAE48D /* jdapimin.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = jdapimin.c; sourceTree = ""; }; + A011E5080F65786600FAE48D /* jdapistd.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = jdapistd.c; sourceTree = ""; }; + A011E5090F65786600FAE48D /* jdatadst.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = jdatadst.c; sourceTree = ""; }; + A011E50A0F65786600FAE48D /* jdatasrc.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = jdatasrc.c; sourceTree = ""; }; + A011E50B0F65786600FAE48D /* jdcoefct.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = jdcoefct.c; sourceTree = ""; }; + A011E50C0F65786600FAE48D /* jdcolor.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = jdcolor.c; sourceTree = ""; }; + A011E50D0F65786600FAE48D /* jdct.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = jdct.h; sourceTree = ""; }; + A011E50E0F65786600FAE48D /* jddctmgr.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = jddctmgr.c; sourceTree = ""; }; + A011E50F0F65786600FAE48D /* jdhuff.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = jdhuff.c; sourceTree = ""; }; + A011E5100F65786600FAE48D /* jdhuff.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = jdhuff.h; sourceTree = ""; }; + A011E5110F65786600FAE48D /* jdinput.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = jdinput.c; sourceTree = ""; }; + A011E5120F65786600FAE48D /* jdmainct.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = jdmainct.c; sourceTree = ""; }; + A011E5130F65786600FAE48D /* jdmarker.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = jdmarker.c; sourceTree = ""; }; + A011E5140F65786600FAE48D /* jdmaster.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = jdmaster.c; sourceTree = ""; }; + A011E5150F65786600FAE48D /* jdmerge.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = jdmerge.c; sourceTree = ""; }; + A011E5160F65786600FAE48D /* jdphuff.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = jdphuff.c; sourceTree = ""; }; + A011E5170F65786600FAE48D /* jdpostct.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = jdpostct.c; sourceTree = ""; }; + A011E5180F65786600FAE48D /* jdsample.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = jdsample.c; sourceTree = ""; }; + A011E5190F65786600FAE48D /* jdtrans.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = jdtrans.c; sourceTree = ""; }; + A011E51A0F65786600FAE48D /* jerror.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = jerror.c; sourceTree = ""; }; + A011E51B0F65786600FAE48D /* jerror.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = jerror.h; sourceTree = ""; }; + A011E51C0F65786600FAE48D /* jfdctflt.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = jfdctflt.c; sourceTree = ""; }; + A011E51D0F65786600FAE48D /* jfdctfst.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = jfdctfst.c; sourceTree = ""; }; + A011E51E0F65786600FAE48D /* jfdctint.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = jfdctint.c; sourceTree = ""; }; + A011E51F0F65786600FAE48D /* jidctflt.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = jidctflt.c; sourceTree = ""; }; + A011E5200F65786600FAE48D /* jidctfst.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = jidctfst.c; sourceTree = ""; }; + A011E5210F65786600FAE48D /* jidctint.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = jidctint.c; sourceTree = ""; }; + A011E5220F65786600FAE48D /* jidctred.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = jidctred.c; sourceTree = ""; }; + A011E5230F65786600FAE48D /* jinclude.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = jinclude.h; sourceTree = ""; }; + A011E5240F65786600FAE48D /* jmemmgr.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = jmemmgr.c; sourceTree = ""; }; + A011E5250F65786600FAE48D /* jmemnobs.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = jmemnobs.c; sourceTree = ""; }; + A011E5260F65786600FAE48D /* jmemsys.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = jmemsys.h; sourceTree = ""; }; + A011E5270F65786600FAE48D /* jmorecfg.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = jmorecfg.h; sourceTree = ""; }; + A011E5280F65786600FAE48D /* jpegint.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = jpegint.h; sourceTree = ""; }; + A011E5290F65786600FAE48D /* jpeglib.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = jpeglib.h; sourceTree = ""; }; + A011E52A0F65786600FAE48D /* jquant1.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = jquant1.c; sourceTree = ""; }; + A011E52B0F65786600FAE48D /* jquant2.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = jquant2.c; sourceTree = ""; }; + A011E52C0F65786600FAE48D /* jutils.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = jutils.c; sourceTree = ""; }; + A011E52D0F65786600FAE48D /* jversion.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = jversion.h; sourceTree = ""; }; + A011E52F0F65786600FAE48D /* png.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = png.c; sourceTree = ""; }; + A011E5300F65786600FAE48D /* png.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = png.h; sourceTree = ""; }; + A011E5310F65786600FAE48D /* pngconf.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = pngconf.h; sourceTree = ""; }; + A011E5320F65786600FAE48D /* pngerror.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = pngerror.c; sourceTree = ""; }; + A011E5330F65786600FAE48D /* pnggccrd.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = pnggccrd.c; sourceTree = ""; }; + A011E5340F65786600FAE48D /* pngget.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = pngget.c; sourceTree = ""; }; + A011E5350F65786600FAE48D /* pngmem.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = pngmem.c; sourceTree = ""; }; + A011E5360F65786600FAE48D /* pngpread.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = pngpread.c; sourceTree = ""; }; + A011E5370F65786600FAE48D /* pngread.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = pngread.c; sourceTree = ""; }; + A011E5380F65786600FAE48D /* pngrio.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = pngrio.c; sourceTree = ""; }; + A011E5390F65786600FAE48D /* pngrtran.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = pngrtran.c; sourceTree = ""; }; + A011E53A0F65786600FAE48D /* pngrutil.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = pngrutil.c; sourceTree = ""; }; + A011E53B0F65786600FAE48D /* pngset.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = pngset.c; sourceTree = ""; }; + A011E53C0F65786600FAE48D /* pngtrans.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = pngtrans.c; sourceTree = ""; }; + A011E53D0F65786600FAE48D /* pngvcrd.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = pngvcrd.c; sourceTree = ""; }; + A011E53E0F65786600FAE48D /* pngwio.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = pngwio.c; sourceTree = ""; }; + A011E53F0F65786600FAE48D /* pngwrite.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = pngwrite.c; sourceTree = ""; }; + A011E5400F65786600FAE48D /* pngwtran.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = pngwtran.c; sourceTree = ""; }; + A011E5410F65786600FAE48D /* pngwutil.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = pngwutil.c; sourceTree = ""; }; + A011E5430F65786600FAE48D /* Matrix3.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = Matrix3.cpp; sourceTree = ""; }; + A011E5440F65786600FAE48D /* PostFX.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = PostFX.cpp; sourceTree = ""; }; + A011E5450F65786600FAE48D /* RenderTarget.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = RenderTarget.cpp; sourceTree = ""; }; + A011E5460F65786600FAE48D /* RenderWindow.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = RenderWindow.cpp; sourceTree = ""; }; + A011E5470F65786600FAE48D /* Shape.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = Shape.cpp; sourceTree = ""; }; + A011E5490F65786600FAE48D /* image_DXT.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = image_DXT.c; sourceTree = ""; }; + A011E54A0F65786600FAE48D /* image_DXT.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = image_DXT.h; sourceTree = ""; }; + A011E54B0F65786600FAE48D /* SOIL.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = SOIL.c; sourceTree = ""; }; + A011E54C0F65786600FAE48D /* SOIL.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = SOIL.h; sourceTree = ""; }; + A011E54D0F65786600FAE48D /* stb_image_aug.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = stb_image_aug.c; sourceTree = ""; }; + A011E54E0F65786600FAE48D /* stb_image_aug.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = stb_image_aug.h; sourceTree = ""; }; + A011E54F0F65786600FAE48D /* stbi_DDS_aug.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = stbi_DDS_aug.h; sourceTree = ""; }; + A011E5500F65786600FAE48D /* stbi_DDS_aug_c.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = stbi_DDS_aug_c.h; sourceTree = ""; }; + A011E5510F65786600FAE48D /* Sprite.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = Sprite.cpp; sourceTree = ""; }; + A011E5520F65786600FAE48D /* String.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = String.cpp; sourceTree = ""; }; + A011E5530F65786600FAE48D /* View.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = View.cpp; sourceTree = ""; }; + A011E5550F65786600FAE48D /* adler32.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = adler32.c; sourceTree = ""; }; + A011E5560F65786600FAE48D /* compress.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = compress.c; sourceTree = ""; }; + A011E5570F65786600FAE48D /* crc32.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = crc32.c; sourceTree = ""; }; + A011E5580F65786600FAE48D /* crc32.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = crc32.h; sourceTree = ""; }; + A011E5590F65786600FAE48D /* deflate.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = deflate.c; sourceTree = ""; }; + A011E55A0F65786600FAE48D /* deflate.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = deflate.h; sourceTree = ""; }; + A011E55B0F65786600FAE48D /* inffast.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = inffast.c; sourceTree = ""; }; + A011E55C0F65786600FAE48D /* inffast.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = inffast.h; sourceTree = ""; }; + A011E55D0F65786600FAE48D /* inffixed.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = inffixed.h; sourceTree = ""; }; + A011E55E0F65786600FAE48D /* inflate.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = inflate.c; sourceTree = ""; }; + A011E55F0F65786600FAE48D /* inflate.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = inflate.h; sourceTree = ""; }; + A011E5600F65786600FAE48D /* inftrees.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = inftrees.c; sourceTree = ""; }; + A011E5610F65786600FAE48D /* inftrees.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = inftrees.h; sourceTree = ""; }; + A011E5620F65786600FAE48D /* trees.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = trees.c; sourceTree = ""; }; + A011E5630F65786600FAE48D /* trees.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = trees.h; sourceTree = ""; }; + A011E5640F65786600FAE48D /* uncompr.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = uncompr.c; sourceTree = ""; }; + A011E5650F65786600FAE48D /* zconf.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = zconf.h; sourceTree = ""; }; + A011E5660F65786600FAE48D /* zlib.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = zlib.h; sourceTree = ""; }; + A011E5670F65786600FAE48D /* zutil.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = zutil.c; sourceTree = ""; }; + A011E5680F65786600FAE48D /* zutil.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = zutil.h; sourceTree = ""; }; + A01BEF7F0F6BF42D0095262C /* csfml-system.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = "csfml-system.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; + A01BEF800F6BF42D0095262C /* csfml-system-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "csfml-system-Info.plist"; sourceTree = ""; }; + A01BEF890F6BF4360095262C /* csfml-network.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = "csfml-network.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; + A01BEF8A0F6BF4360095262C /* csfml-network-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "csfml-network-Info.plist"; sourceTree = ""; }; + A01BEF930F6BF4400095262C /* csfml-audio.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = "csfml-audio.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; + A01BEF940F6BF4400095262C /* csfml-audio-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "csfml-audio-Info.plist"; sourceTree = ""; }; + A01BEF9D0F6BF4490095262C /* csfml-window.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = "csfml-window.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; + A01BEF9E0F6BF4490095262C /* csfml-window-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "csfml-window-Info.plist"; sourceTree = ""; }; + A01BEFA70F6BF4510095262C /* csfml-graphics.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = "csfml-graphics.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; + A01BEFA80F6BF4510095262C /* csfml-graphics-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "csfml-graphics-Info.plist"; sourceTree = ""; }; + A0DE008E0FCB1D8D00DA0132 /* SFML.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = SFML.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + A0DE00990FCB1EC500DA0132 /* dummy.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = dummy.c; sourceTree = ""; }; + A0DE018D0FCB433100DA0132 /* Listener.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = Listener.h; sourceTree = ""; }; + A0DE018E0FCB433100DA0132 /* Music.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = Music.h; sourceTree = ""; }; + A0DE018F0FCB433100DA0132 /* Sound.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = Sound.h; sourceTree = ""; }; + A0DE01900FCB433100DA0132 /* SoundBuffer.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = SoundBuffer.h; sourceTree = ""; }; + A0DE01910FCB433100DA0132 /* SoundBufferRecorder.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = SoundBufferRecorder.h; sourceTree = ""; }; + A0DE01920FCB433100DA0132 /* SoundRecorder.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = SoundRecorder.h; sourceTree = ""; }; + A0DE01930FCB433100DA0132 /* SoundStatus.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = SoundStatus.h; sourceTree = ""; }; + A0DE01940FCB433100DA0132 /* SoundStream.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = SoundStream.h; sourceTree = ""; }; + A0DE01950FCB433100DA0132 /* Types.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = Types.h; sourceTree = ""; }; + A0DE01960FCB433100DA0132 /* Audio.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = Audio.h; path = ../include/SFML/Audio.h; sourceTree = SOURCE_ROOT; }; + A0DE01970FCB433100DA0132 /* Config.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = Config.h; path = ../include/SFML/Config.h; sourceTree = SOURCE_ROOT; }; + A0DE01990FCB433100DA0132 /* BlendMode.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = BlendMode.h; sourceTree = ""; }; + A0DE019A0FCB433100DA0132 /* Color.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = Color.h; sourceTree = ""; }; + A0DE019B0FCB433100DA0132 /* Font.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = Font.h; sourceTree = ""; }; + A0DE019C0FCB433100DA0132 /* Glyph.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = Glyph.h; sourceTree = ""; }; + A0DE019D0FCB433100DA0132 /* Image.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = Image.h; sourceTree = ""; }; + A0DE019E0FCB433100DA0132 /* PostFX.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = PostFX.h; sourceTree = ""; }; + A0DE019F0FCB433100DA0132 /* Rect.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = Rect.h; sourceTree = ""; }; + A0DE01A00FCB433100DA0132 /* RenderWindow.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = RenderWindow.h; sourceTree = ""; }; + A0DE01A10FCB433100DA0132 /* Shape.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = Shape.h; sourceTree = ""; }; + A0DE01A20FCB433100DA0132 /* Sprite.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = Sprite.h; sourceTree = ""; }; + A0DE01A30FCB433100DA0132 /* String.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = String.h; sourceTree = ""; }; + A0DE01A40FCB433100DA0132 /* Types.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = Types.h; sourceTree = ""; }; + A0DE01A50FCB433100DA0132 /* View.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = View.h; sourceTree = ""; }; + A0DE01A60FCB433100DA0132 /* Graphics.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = Graphics.h; path = ../include/SFML/Graphics.h; sourceTree = SOURCE_ROOT; }; + A0DE01A80FCB433100DA0132 /* Ftp.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = Ftp.h; sourceTree = ""; }; + A0DE01A90FCB433100DA0132 /* Http.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = Http.h; sourceTree = ""; }; + A0DE01AA0FCB433100DA0132 /* IPAddress.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = IPAddress.h; sourceTree = ""; }; + A0DE01AB0FCB433100DA0132 /* Packet.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = Packet.h; sourceTree = ""; }; + A0DE01AC0FCB433100DA0132 /* Selector.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = Selector.h; sourceTree = ""; }; + A0DE01AD0FCB433100DA0132 /* SocketStatus.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = SocketStatus.h; sourceTree = ""; }; + A0DE01AE0FCB433100DA0132 /* SocketTCP.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = SocketTCP.h; sourceTree = ""; }; + A0DE01AF0FCB433100DA0132 /* SocketUDP.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = SocketUDP.h; sourceTree = ""; }; + A0DE01B00FCB433100DA0132 /* Types.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = Types.h; sourceTree = ""; }; + A0DE01B10FCB433100DA0132 /* Network.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = Network.h; path = ../include/SFML/Network.h; sourceTree = SOURCE_ROOT; }; + A0DE01B30FCB433100DA0132 /* Clock.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = Clock.h; sourceTree = ""; }; + A0DE01B40FCB433100DA0132 /* Mutex.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = Mutex.h; sourceTree = ""; }; + A0DE01B50FCB433100DA0132 /* Randomizer.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = Randomizer.h; sourceTree = ""; }; + A0DE01B60FCB433100DA0132 /* Sleep.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = Sleep.h; sourceTree = ""; }; + A0DE01B70FCB433100DA0132 /* Thread.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = Thread.h; sourceTree = ""; }; + A0DE01B80FCB433100DA0132 /* Types.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = Types.h; sourceTree = ""; }; + A0DE01B90FCB433100DA0132 /* System.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = System.h; path = ../include/SFML/System.h; sourceTree = SOURCE_ROOT; }; + A0DE01BB0FCB433100DA0132 /* Context.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = Context.h; sourceTree = ""; }; + A0DE01BC0FCB433100DA0132 /* Event.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = Event.h; sourceTree = ""; }; + A0DE01BD0FCB433100DA0132 /* Input.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = Input.h; sourceTree = ""; }; + A0DE01BE0FCB433100DA0132 /* Types.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = Types.h; sourceTree = ""; }; + A0DE01BF0FCB433100DA0132 /* VideoMode.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = VideoMode.h; sourceTree = ""; }; + A0DE01C00FCB433100DA0132 /* Window.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = Window.h; sourceTree = ""; }; + A0DE01C10FCB433100DA0132 /* WindowHandle.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = WindowHandle.h; sourceTree = ""; }; + A0DE01C20FCB433100DA0132 /* Window.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = Window.h; path = ../include/SFML/Window.h; sourceTree = SOURCE_ROOT; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + A01BEF7D0F6BF42D0095262C /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + A01BEF870F6BF4360095262C /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + A01BEF910F6BF4400095262C /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + A01BF0B50F6BF7DC0095262C /* csfml-system.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + A01BEF9B0F6BF4490095262C /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + A01BF0BE0F6BF8070095262C /* csfml-system.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + A01BEFA50F6BF4510095262C /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + A01BF0C70F6BF8370095262C /* csfml-window.framework in Frameworks */, + A01BF0CA0F6BF8460095262C /* csfml-system.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + A0DE008C0FCB1D8D00DA0132 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + A011E3550F65738800FAE48D = { + isa = PBXGroup; + children = ( + A011E3C10F6575B300FAE48D /* SFML */, + A011E3C80F6575D800FAE48D /* csfml-system */, + A011E3C70F6575D000FAE48D /* csfml-network */, + A011E3C40F6575C100FAE48D /* csfml-audio */, + A011E3C30F6575BC00FAE48D /* csfml-window */, + A011E3C20F6575B700FAE48D /* csfml-graphics */, + A011E3730F65749300FAE48D /* Products */, + ); + sourceTree = ""; + }; + A011E3730F65749300FAE48D /* Products */ = { + isa = PBXGroup; + children = ( + A01BEF7F0F6BF42D0095262C /* csfml-system.framework */, + A01BEF890F6BF4360095262C /* csfml-network.framework */, + A01BEF930F6BF4400095262C /* csfml-audio.framework */, + A01BEF9D0F6BF4490095262C /* csfml-window.framework */, + A01BEFA70F6BF4510095262C /* csfml-graphics.framework */, + A0DE008E0FCB1D8D00DA0132 /* SFML.framework */, + ); + name = Products; + sourceTree = ""; + }; + A011E3C10F6575B300FAE48D /* SFML */ = { + isa = PBXGroup; + children = ( + A0DE02120FCB454300DA0132 /* Headers */, + A011E3A40F6574E400FAE48D /* SFML-Info.plist */, + A0DE00990FCB1EC500DA0132 /* dummy.c */, + ); + name = SFML; + sourceTree = ""; + }; + A011E3C20F6575B700FAE48D /* csfml-graphics */ = { + isa = PBXGroup; + children = ( + A01BEFA80F6BF4510095262C /* csfml-graphics-Info.plist */, + A011E4E20F65786600FAE48D /* Graphics */, + A011E40E0F6577A500FAE48D /* Color.cpp */, + A011E40F0F6577A500FAE48D /* Font.cpp */, + A011E4100F6577A500FAE48D /* Image.cpp */, + A011E4110F6577A500FAE48D /* PostFX.cpp */, + A011E4120F6577A500FAE48D /* Rect.cpp */, + A011E4130F6577A500FAE48D /* RenderWindow.cpp */, + A011E4140F6577A500FAE48D /* Shape.cpp */, + A011E4150F6577A500FAE48D /* Sprite.cpp */, + A011E4160F6577A500FAE48D /* String.cpp */, + A011E4170F6577A500FAE48D /* View.cpp */, + ); + name = "csfml-graphics"; + sourceTree = ""; + }; + A011E3C30F6575BC00FAE48D /* csfml-window */ = { + isa = PBXGroup; + children = ( + A01BEF9E0F6BF4490095262C /* csfml-window-Info.plist */, + A011E4880F65784E00FAE48D /* Window */, + A011E4060F65779900FAE48D /* Context.cpp */, + A011E4070F65779900FAE48D /* Input.cpp */, + A011E4080F65779900FAE48D /* VideoMode.cpp */, + A011E4090F65779900FAE48D /* Window.cpp */, + ); + name = "csfml-window"; + sourceTree = ""; + }; + A011E3C40F6575C100FAE48D /* csfml-audio */ = { + isa = PBXGroup; + children = ( + A01BEF940F6BF4400095262C /* csfml-audio-Info.plist */, + A011E45E0F65783900FAE48D /* Audio */, + A011E3F80F65778600FAE48D /* Listener.cpp */, + A011E3F90F65778600FAE48D /* Music.cpp */, + A011E3FA0F65778600FAE48D /* Sound.cpp */, + A011E3FB0F65778600FAE48D /* SoundBuffer.cpp */, + A011E3FC0F65778600FAE48D /* SoundBufferRecorder.cpp */, + A011E3FD0F65778600FAE48D /* SoundRecorder.cpp */, + A011E3FE0F65778600FAE48D /* SoundStream.cpp */, + ); + name = "csfml-audio"; + sourceTree = ""; + }; + A011E3C70F6575D000FAE48D /* csfml-network */ = { + isa = PBXGroup; + children = ( + A01BEF8A0F6BF4360095262C /* csfml-network-Info.plist */, + A011E4470F65782800FAE48D /* Network */, + A011E3EA0F65777800FAE48D /* Ftp.cpp */, + A011E3EB0F65777800FAE48D /* Http.cpp */, + A011E3EC0F65777800FAE48D /* IPAddress.cpp */, + A011E3ED0F65777800FAE48D /* Packet.cpp */, + A011E3EE0F65777800FAE48D /* Selector.cpp */, + A011E3EF0F65777800FAE48D /* SocketTCP.cpp */, + A011E3F00F65777800FAE48D /* SocketUDP.cpp */, + ); + name = "csfml-network"; + sourceTree = ""; + }; + A011E3C80F6575D800FAE48D /* csfml-system */ = { + isa = PBXGroup; + children = ( + A01BEF800F6BF42D0095262C /* csfml-system-Info.plist */, + A011E4240F65780E00FAE48D /* System */, + A011E3DE0F65776B00FAE48D /* Sleep.cpp */, + A011E3DF0F65776B00FAE48D /* Thread.cpp */, + A011E3E00F65776B00FAE48D /* Randomizer.cpp */, + A011E3E10F65776B00FAE48D /* Clock.cpp */, + A011E3E20F65776B00FAE48D /* Mutex.cpp */, + ); + name = "csfml-system"; + sourceTree = ""; + }; + A011E4240F65780E00FAE48D /* System */ = { + isa = PBXGroup; + children = ( + A011E4250F65780E00FAE48D /* Clock.cpp */, + A011E4260F65780E00FAE48D /* Initializer.cpp */, + A011E4270F65780E00FAE48D /* Lock.cpp */, + A011E4290F65780E00FAE48D /* Platform.hpp */, + A011E42A0F65780E00FAE48D /* Randomizer.cpp */, + A011E42B0F65780E00FAE48D /* Sleep.cpp */, + A011E42C0F65780E00FAE48D /* Unicode.cpp */, + A011E42D0F65780E00FAE48D /* Unix */, + ); + name = System; + path = ../../src/SFML/System; + sourceTree = SOURCE_ROOT; + }; + A011E42D0F65780E00FAE48D /* Unix */ = { + isa = PBXGroup; + children = ( + A011E42E0F65780E00FAE48D /* Mutex.cpp */, + A011E42F0F65780E00FAE48D /* Platform.cpp */, + A011E4300F65780E00FAE48D /* Platform.hpp */, + A011E4310F65780E00FAE48D /* Thread.cpp */, + ); + path = Unix; + sourceTree = ""; + }; + A011E4470F65782800FAE48D /* Network */ = { + isa = PBXGroup; + children = ( + A011E4480F65782800FAE48D /* Ftp.cpp */, + A011E4490F65782800FAE48D /* Http.cpp */, + A011E44A0F65782800FAE48D /* IPAddress.cpp */, + A011E44C0F65782800FAE48D /* Packet.cpp */, + A011E44D0F65782800FAE48D /* SelectorBase.cpp */, + A011E44E0F65782800FAE48D /* SocketTCP.cpp */, + A011E44F0F65782800FAE48D /* SocketUDP.cpp */, + A011E4500F65782800FAE48D /* Unix */, + ); + name = Network; + path = ../../src/SFML/Network; + sourceTree = SOURCE_ROOT; + }; + A011E4500F65782800FAE48D /* Unix */ = { + isa = PBXGroup; + children = ( + A011E4510F65782800FAE48D /* SocketHelper.cpp */, + ); + path = Unix; + sourceTree = ""; + }; + A011E45E0F65783900FAE48D /* Audio */ = { + isa = PBXGroup; + children = ( + A011E45F0F65783900FAE48D /* AudioDevice.cpp */, + A011E4600F65783900FAE48D /* AudioDevice.hpp */, + A011E4610F65783900FAE48D /* AudioResource.cpp */, + A011E4620F65783900FAE48D /* Listener.cpp */, + A011E4640F65783900FAE48D /* Music.cpp */, + A011E4650F65783900FAE48D /* OpenAL.hpp */, + A011E4660F65783900FAE48D /* Sound.cpp */, + A011E4670F65783900FAE48D /* SoundBuffer.cpp */, + A011E4680F65783900FAE48D /* SoundBufferRecorder.cpp */, + A011E4690F65783900FAE48D /* SoundFile.cpp */, + A011E46A0F65783900FAE48D /* SoundFile.hpp */, + A011E46B0F65783900FAE48D /* SoundFileDefault.cpp */, + A011E46C0F65783900FAE48D /* SoundFileDefault.hpp */, + A011E46D0F65783900FAE48D /* SoundFileOgg.cpp */, + A011E46E0F65783900FAE48D /* SoundFileOgg.hpp */, + A011E46F0F65783900FAE48D /* SoundRecorder.cpp */, + A011E4700F65783900FAE48D /* SoundStream.cpp */, + A011E4710F65783900FAE48D /* stb_vorbis */, + ); + name = Audio; + path = ../../src/SFML/Audio; + sourceTree = SOURCE_ROOT; + }; + A011E4710F65783900FAE48D /* stb_vorbis */ = { + isa = PBXGroup; + children = ( + A011E4720F65783900FAE48D /* stb_vorbis.c */, + A011E4730F65783900FAE48D /* stb_vorbis.h */, + ); + path = stb_vorbis; + sourceTree = ""; + }; + A011E4880F65784E00FAE48D /* Window */ = { + isa = PBXGroup; + children = ( + A011E4890F65784E00FAE48D /* Cocoa */, + A011E4960F65784E00FAE48D /* Context.cpp */, + A011E4970F65784E00FAE48D /* glext */, + A011E49B0F65784E00FAE48D /* Input.cpp */, + A011E49C0F65784E00FAE48D /* Joystick.hpp */, + A011E4AC0F65784E00FAE48D /* VideoMode.cpp */, + A011E4AD0F65784E00FAE48D /* VideoModeSupport.hpp */, + A011E4B50F65784E00FAE48D /* Window.cpp */, + A011E4B60F65784E00FAE48D /* WindowImpl.cpp */, + A011E4B70F65784E00FAE48D /* WindowImpl.hpp */, + ); + name = Window; + path = ../../src/SFML/Window; + sourceTree = SOURCE_ROOT; + }; + A011E4890F65784E00FAE48D /* Cocoa */ = { + isa = PBXGroup; + children = ( + A011E48A0F65784E00FAE48D /* AppController.h */, + A011E48B0F65784E00FAE48D /* AppController.mm */, + A011E48C0F65784E00FAE48D /* GLKit.h */, + A011E48D0F65784E00FAE48D /* GLKit.mm */, + A011E48E0F65784E00FAE48D /* Joystick.cpp */, + A011E48F0F65784E00FAE48D /* Joystick.hpp */, + A011E4900F65784E00FAE48D /* VideoModeSupport.cpp */, + A011E4910F65784E00FAE48D /* VideoModeSupport.hpp */, + A011E4940F65784E00FAE48D /* WindowImplCocoa.hpp */, + A011E4950F65784E00FAE48D /* WindowImplCocoa.mm */, + ); + path = Cocoa; + sourceTree = ""; + }; + A011E4970F65784E00FAE48D /* glext */ = { + isa = PBXGroup; + children = ( + A011E4980F65784E00FAE48D /* glext.h */, + A011E4990F65784E00FAE48D /* glxext.h */, + A011E49A0F65784E00FAE48D /* wglext.h */, + ); + path = glext; + sourceTree = ""; + }; + A011E4E20F65786600FAE48D /* Graphics */ = { + isa = PBXGroup; + children = ( + A011E4E30F65786600FAE48D /* Arial.hpp */, + A011E4E40F65786600FAE48D /* Color.cpp */, + A011E4E50F65786600FAE48D /* Drawable.cpp */, + A011E4E60F65786600FAE48D /* Font.cpp */, + A011E4E70F65786600FAE48D /* FontLoader.cpp */, + A011E4E80F65786600FAE48D /* FontLoader.hpp */, + A011E4E90F65786600FAE48D /* GLEW */, + A011E4EE0F65786600FAE48D /* GraphicsContext.cpp */, + A011E4EF0F65786600FAE48D /* GraphicsContext.hpp */, + A011E4F00F65786600FAE48D /* Image.cpp */, + A011E4F10F65786600FAE48D /* ImageLoader.cpp */, + A011E4F20F65786600FAE48D /* ImageLoader.hpp */, + A011E4F30F65786600FAE48D /* libjpeg */, + A011E52E0F65786600FAE48D /* libpng */, + A011E5430F65786600FAE48D /* Matrix3.cpp */, + A011E5440F65786600FAE48D /* PostFX.cpp */, + A011E5450F65786600FAE48D /* RenderTarget.cpp */, + A011E5460F65786600FAE48D /* RenderWindow.cpp */, + A011E5470F65786600FAE48D /* Shape.cpp */, + A011E5480F65786600FAE48D /* SOIL */, + A011E5510F65786600FAE48D /* Sprite.cpp */, + A011E5520F65786600FAE48D /* String.cpp */, + A011E5530F65786600FAE48D /* View.cpp */, + A011E5540F65786600FAE48D /* zlib */, + ); + name = Graphics; + path = ../../src/SFML/Graphics; + sourceTree = SOURCE_ROOT; + }; + A011E4E90F65786600FAE48D /* GLEW */ = { + isa = PBXGroup; + children = ( + A011E4EA0F65786600FAE48D /* glew.c */, + A011E4EB0F65786600FAE48D /* glew.h */, + A011E4EC0F65786600FAE48D /* glxew.h */, + A011E4ED0F65786600FAE48D /* wglew.h */, + ); + path = GLEW; + sourceTree = ""; + }; + A011E4F30F65786600FAE48D /* libjpeg */ = { + isa = PBXGroup; + children = ( + A011E4F40F65786600FAE48D /* cderror.h */, + A011E4F50F65786600FAE48D /* jcapimin.c */, + A011E4F60F65786600FAE48D /* jcapistd.c */, + A011E4F70F65786600FAE48D /* jccoefct.c */, + A011E4F80F65786600FAE48D /* jccolor.c */, + A011E4F90F65786600FAE48D /* jcdctmgr.c */, + A011E4FA0F65786600FAE48D /* jchuff.c */, + A011E4FB0F65786600FAE48D /* jchuff.h */, + A011E4FC0F65786600FAE48D /* jcinit.c */, + A011E4FD0F65786600FAE48D /* jcmainct.c */, + A011E4FE0F65786600FAE48D /* jcmarker.c */, + A011E4FF0F65786600FAE48D /* jcmaster.c */, + A011E5000F65786600FAE48D /* jcomapi.c */, + A011E5010F65786600FAE48D /* jconfig.h */, + A011E5020F65786600FAE48D /* jcparam.c */, + A011E5030F65786600FAE48D /* jcphuff.c */, + A011E5040F65786600FAE48D /* jcprepct.c */, + A011E5050F65786600FAE48D /* jcsample.c */, + A011E5060F65786600FAE48D /* jctrans.c */, + A011E5070F65786600FAE48D /* jdapimin.c */, + A011E5080F65786600FAE48D /* jdapistd.c */, + A011E5090F65786600FAE48D /* jdatadst.c */, + A011E50A0F65786600FAE48D /* jdatasrc.c */, + A011E50B0F65786600FAE48D /* jdcoefct.c */, + A011E50C0F65786600FAE48D /* jdcolor.c */, + A011E50D0F65786600FAE48D /* jdct.h */, + A011E50E0F65786600FAE48D /* jddctmgr.c */, + A011E50F0F65786600FAE48D /* jdhuff.c */, + A011E5100F65786600FAE48D /* jdhuff.h */, + A011E5110F65786600FAE48D /* jdinput.c */, + A011E5120F65786600FAE48D /* jdmainct.c */, + A011E5130F65786600FAE48D /* jdmarker.c */, + A011E5140F65786600FAE48D /* jdmaster.c */, + A011E5150F65786600FAE48D /* jdmerge.c */, + A011E5160F65786600FAE48D /* jdphuff.c */, + A011E5170F65786600FAE48D /* jdpostct.c */, + A011E5180F65786600FAE48D /* jdsample.c */, + A011E5190F65786600FAE48D /* jdtrans.c */, + A011E51A0F65786600FAE48D /* jerror.c */, + A011E51B0F65786600FAE48D /* jerror.h */, + A011E51C0F65786600FAE48D /* jfdctflt.c */, + A011E51D0F65786600FAE48D /* jfdctfst.c */, + A011E51E0F65786600FAE48D /* jfdctint.c */, + A011E51F0F65786600FAE48D /* jidctflt.c */, + A011E5200F65786600FAE48D /* jidctfst.c */, + A011E5210F65786600FAE48D /* jidctint.c */, + A011E5220F65786600FAE48D /* jidctred.c */, + A011E5230F65786600FAE48D /* jinclude.h */, + A011E5240F65786600FAE48D /* jmemmgr.c */, + A011E5250F65786600FAE48D /* jmemnobs.c */, + A011E5260F65786600FAE48D /* jmemsys.h */, + A011E5270F65786600FAE48D /* jmorecfg.h */, + A011E5280F65786600FAE48D /* jpegint.h */, + A011E5290F65786600FAE48D /* jpeglib.h */, + A011E52A0F65786600FAE48D /* jquant1.c */, + A011E52B0F65786600FAE48D /* jquant2.c */, + A011E52C0F65786600FAE48D /* jutils.c */, + A011E52D0F65786600FAE48D /* jversion.h */, + ); + path = libjpeg; + sourceTree = ""; + }; + A011E52E0F65786600FAE48D /* libpng */ = { + isa = PBXGroup; + children = ( + A011E52F0F65786600FAE48D /* png.c */, + A011E5300F65786600FAE48D /* png.h */, + A011E5310F65786600FAE48D /* pngconf.h */, + A011E5320F65786600FAE48D /* pngerror.c */, + A011E5330F65786600FAE48D /* pnggccrd.c */, + A011E5340F65786600FAE48D /* pngget.c */, + A011E5350F65786600FAE48D /* pngmem.c */, + A011E5360F65786600FAE48D /* pngpread.c */, + A011E5370F65786600FAE48D /* pngread.c */, + A011E5380F65786600FAE48D /* pngrio.c */, + A011E5390F65786600FAE48D /* pngrtran.c */, + A011E53A0F65786600FAE48D /* pngrutil.c */, + A011E53B0F65786600FAE48D /* pngset.c */, + A011E53C0F65786600FAE48D /* pngtrans.c */, + A011E53D0F65786600FAE48D /* pngvcrd.c */, + A011E53E0F65786600FAE48D /* pngwio.c */, + A011E53F0F65786600FAE48D /* pngwrite.c */, + A011E5400F65786600FAE48D /* pngwtran.c */, + A011E5410F65786600FAE48D /* pngwutil.c */, + ); + path = libpng; + sourceTree = ""; + }; + A011E5480F65786600FAE48D /* SOIL */ = { + isa = PBXGroup; + children = ( + A011E5490F65786600FAE48D /* image_DXT.c */, + A011E54A0F65786600FAE48D /* image_DXT.h */, + A011E54B0F65786600FAE48D /* SOIL.c */, + A011E54C0F65786600FAE48D /* SOIL.h */, + A011E54D0F65786600FAE48D /* stb_image_aug.c */, + A011E54E0F65786600FAE48D /* stb_image_aug.h */, + A011E54F0F65786600FAE48D /* stbi_DDS_aug.h */, + A011E5500F65786600FAE48D /* stbi_DDS_aug_c.h */, + ); + path = SOIL; + sourceTree = ""; + }; + A011E5540F65786600FAE48D /* zlib */ = { + isa = PBXGroup; + children = ( + A011E5550F65786600FAE48D /* adler32.c */, + A011E5560F65786600FAE48D /* compress.c */, + A011E5570F65786600FAE48D /* crc32.c */, + A011E5580F65786600FAE48D /* crc32.h */, + A011E5590F65786600FAE48D /* deflate.c */, + A011E55A0F65786600FAE48D /* deflate.h */, + A011E55B0F65786600FAE48D /* inffast.c */, + A011E55C0F65786600FAE48D /* inffast.h */, + A011E55D0F65786600FAE48D /* inffixed.h */, + A011E55E0F65786600FAE48D /* inflate.c */, + A011E55F0F65786600FAE48D /* inflate.h */, + A011E5600F65786600FAE48D /* inftrees.c */, + A011E5610F65786600FAE48D /* inftrees.h */, + A011E5620F65786600FAE48D /* trees.c */, + A011E5630F65786600FAE48D /* trees.h */, + A011E5640F65786600FAE48D /* uncompr.c */, + A011E5650F65786600FAE48D /* zconf.h */, + A011E5660F65786600FAE48D /* zlib.h */, + A011E5670F65786600FAE48D /* zutil.c */, + A011E5680F65786600FAE48D /* zutil.h */, + ); + path = zlib; + sourceTree = ""; + }; + A0DE018C0FCB433100DA0132 /* Audio */ = { + isa = PBXGroup; + children = ( + A0DE018D0FCB433100DA0132 /* Listener.h */, + A0DE018E0FCB433100DA0132 /* Music.h */, + A0DE018F0FCB433100DA0132 /* Sound.h */, + A0DE01900FCB433100DA0132 /* SoundBuffer.h */, + A0DE01910FCB433100DA0132 /* SoundBufferRecorder.h */, + A0DE01920FCB433100DA0132 /* SoundRecorder.h */, + A0DE01930FCB433100DA0132 /* SoundStatus.h */, + A0DE01940FCB433100DA0132 /* SoundStream.h */, + A0DE01950FCB433100DA0132 /* Types.h */, + ); + name = Audio; + path = ../include/SFML/Audio; + sourceTree = SOURCE_ROOT; + }; + A0DE01980FCB433100DA0132 /* Graphics */ = { + isa = PBXGroup; + children = ( + A0DE01990FCB433100DA0132 /* BlendMode.h */, + A0DE019A0FCB433100DA0132 /* Color.h */, + A0DE019B0FCB433100DA0132 /* Font.h */, + A0DE019C0FCB433100DA0132 /* Glyph.h */, + A0DE019D0FCB433100DA0132 /* Image.h */, + A0DE019E0FCB433100DA0132 /* PostFX.h */, + A0DE019F0FCB433100DA0132 /* Rect.h */, + A0DE01A00FCB433100DA0132 /* RenderWindow.h */, + A0DE01A10FCB433100DA0132 /* Shape.h */, + A0DE01A20FCB433100DA0132 /* Sprite.h */, + A0DE01A30FCB433100DA0132 /* String.h */, + A0DE01A40FCB433100DA0132 /* Types.h */, + A0DE01A50FCB433100DA0132 /* View.h */, + ); + name = Graphics; + path = ../include/SFML/Graphics; + sourceTree = SOURCE_ROOT; + }; + A0DE01A70FCB433100DA0132 /* Network */ = { + isa = PBXGroup; + children = ( + A0DE01A80FCB433100DA0132 /* Ftp.h */, + A0DE01A90FCB433100DA0132 /* Http.h */, + A0DE01AA0FCB433100DA0132 /* IPAddress.h */, + A0DE01AB0FCB433100DA0132 /* Packet.h */, + A0DE01AC0FCB433100DA0132 /* Selector.h */, + A0DE01AD0FCB433100DA0132 /* SocketStatus.h */, + A0DE01AE0FCB433100DA0132 /* SocketTCP.h */, + A0DE01AF0FCB433100DA0132 /* SocketUDP.h */, + A0DE01B00FCB433100DA0132 /* Types.h */, + ); + name = Network; + path = ../include/SFML/Network; + sourceTree = SOURCE_ROOT; + }; + A0DE01B20FCB433100DA0132 /* System */ = { + isa = PBXGroup; + children = ( + A0DE01B30FCB433100DA0132 /* Clock.h */, + A0DE01B40FCB433100DA0132 /* Mutex.h */, + A0DE01B50FCB433100DA0132 /* Randomizer.h */, + A0DE01B60FCB433100DA0132 /* Sleep.h */, + A0DE01B70FCB433100DA0132 /* Thread.h */, + A0DE01B80FCB433100DA0132 /* Types.h */, + ); + name = System; + path = ../include/SFML/System; + sourceTree = SOURCE_ROOT; + }; + A0DE01BA0FCB433100DA0132 /* Window */ = { + isa = PBXGroup; + children = ( + A0DE01BB0FCB433100DA0132 /* Context.h */, + A0DE01BC0FCB433100DA0132 /* Event.h */, + A0DE01BD0FCB433100DA0132 /* Input.h */, + A0DE01BE0FCB433100DA0132 /* Types.h */, + A0DE01BF0FCB433100DA0132 /* VideoMode.h */, + A0DE01C00FCB433100DA0132 /* Window.h */, + A0DE01C10FCB433100DA0132 /* WindowHandle.h */, + ); + name = Window; + path = ../include/SFML/Window; + sourceTree = SOURCE_ROOT; + }; + A0DE02120FCB454300DA0132 /* Headers */ = { + isa = PBXGroup; + children = ( + A0DE018C0FCB433100DA0132 /* Audio */, + A0DE01960FCB433100DA0132 /* Audio.h */, + A0DE01970FCB433100DA0132 /* Config.h */, + A0DE01980FCB433100DA0132 /* Graphics */, + A0DE01A60FCB433100DA0132 /* Graphics.h */, + A0DE01A70FCB433100DA0132 /* Network */, + A0DE01B10FCB433100DA0132 /* Network.h */, + A0DE01B20FCB433100DA0132 /* System */, + A0DE01B90FCB433100DA0132 /* System.h */, + A0DE01BA0FCB433100DA0132 /* Window */, + A0DE01C20FCB433100DA0132 /* Window.h */, + ); + name = Headers; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXHeadersBuildPhase section */ + A01BEF7A0F6BF42D0095262C /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + A01BEF840F6BF4360095262C /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + A01BEF8E0F6BF4400095262C /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + A01BEF980F6BF4490095262C /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + A01BEFA20F6BF4510095262C /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + A0DE00890FCB1D8D00DA0132 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXHeadersBuildPhase section */ + +/* Begin PBXNativeTarget section */ + A01BEF7E0F6BF42D0095262C /* csfml-system */ = { + isa = PBXNativeTarget; + buildConfigurationList = A01BEF830F6BF42D0095262C /* Build configuration list for PBXNativeTarget "csfml-system" */; + buildPhases = ( + A01BEF7A0F6BF42D0095262C /* Headers */, + A01BEF7B0F6BF42D0095262C /* Resources */, + A01BEF7C0F6BF42D0095262C /* Sources */, + A01BEF7D0F6BF42D0095262C /* Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "csfml-system"; + productName = "csfml-system"; + productReference = A01BEF7F0F6BF42D0095262C /* csfml-system.framework */; + productType = "com.apple.product-type.framework"; + }; + A01BEF880F6BF4360095262C /* csfml-network */ = { + isa = PBXNativeTarget; + buildConfigurationList = A01BEF8D0F6BF4370095262C /* Build configuration list for PBXNativeTarget "csfml-network" */; + buildPhases = ( + A01BEF840F6BF4360095262C /* Headers */, + A01BEF850F6BF4360095262C /* Resources */, + A01BEF860F6BF4360095262C /* Sources */, + A01BEF870F6BF4360095262C /* Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "csfml-network"; + productName = "csfml-network"; + productReference = A01BEF890F6BF4360095262C /* csfml-network.framework */; + productType = "com.apple.product-type.framework"; + }; + A01BEF920F6BF4400095262C /* csfml-audio */ = { + isa = PBXNativeTarget; + buildConfigurationList = A01BEF970F6BF4410095262C /* Build configuration list for PBXNativeTarget "csfml-audio" */; + buildPhases = ( + A01BEF8E0F6BF4400095262C /* Headers */, + A01BEF8F0F6BF4400095262C /* Resources */, + A01BEF900F6BF4400095262C /* Sources */, + A01BEF910F6BF4400095262C /* Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "csfml-audio"; + productName = "csfml-audio"; + productReference = A01BEF930F6BF4400095262C /* csfml-audio.framework */; + productType = "com.apple.product-type.framework"; + }; + A01BEF9C0F6BF4490095262C /* csfml-window */ = { + isa = PBXNativeTarget; + buildConfigurationList = A01BEFA10F6BF4490095262C /* Build configuration list for PBXNativeTarget "csfml-window" */; + buildPhases = ( + A01BEF980F6BF4490095262C /* Headers */, + A01BEF990F6BF4490095262C /* Resources */, + A01BEF9A0F6BF4490095262C /* Sources */, + A01BEF9B0F6BF4490095262C /* Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "csfml-window"; + productName = "csfml-window"; + productReference = A01BEF9D0F6BF4490095262C /* csfml-window.framework */; + productType = "com.apple.product-type.framework"; + }; + A01BEFA60F6BF4510095262C /* csfml-graphics */ = { + isa = PBXNativeTarget; + buildConfigurationList = A01BEFAB0F6BF4520095262C /* Build configuration list for PBXNativeTarget "csfml-graphics" */; + buildPhases = ( + A01BEFA20F6BF4510095262C /* Headers */, + A01BEFA30F6BF4510095262C /* Resources */, + A01BEFA40F6BF4510095262C /* Sources */, + A01BEFA50F6BF4510095262C /* Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "csfml-graphics"; + productName = "csfml-graphics"; + productReference = A01BEFA70F6BF4510095262C /* csfml-graphics.framework */; + productType = "com.apple.product-type.framework"; + }; + A0DE008D0FCB1D8D00DA0132 /* SFML */ = { + isa = PBXNativeTarget; + buildConfigurationList = A0DE00940FCB1D9000DA0132 /* Build configuration list for PBXNativeTarget "SFML" */; + buildPhases = ( + A0DE00890FCB1D8D00DA0132 /* Headers */, + A0DE008A0FCB1D8D00DA0132 /* Resources */, + A0DE008B0FCB1D8D00DA0132 /* Sources */, + A0DE008C0FCB1D8D00DA0132 /* Frameworks */, + A0DE00980FCB1EAC00DA0132 /* ShellScript */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = SFML; + productName = SFML; + productReference = A0DE008E0FCB1D8D00DA0132 /* SFML.framework */; + productType = "com.apple.product-type.framework"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + A011E3570F65738800FAE48D /* Project object */ = { + isa = PBXProject; + buildConfigurationList = A011E35A0F65738800FAE48D /* Build configuration list for PBXProject "SFML" */; + compatibilityVersion = "Xcode 2.4"; + hasScannedForEncodings = 0; + mainGroup = A011E3550F65738800FAE48D; + productRefGroup = A011E3730F65749300FAE48D /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + A011E39B0F6574D600FAE48D /* All */, + A0DE008D0FCB1D8D00DA0132 /* SFML */, + A01BEF7E0F6BF42D0095262C /* csfml-system */, + A01BEF880F6BF4360095262C /* csfml-network */, + A01BEF920F6BF4400095262C /* csfml-audio */, + A01BEF9C0F6BF4490095262C /* csfml-window */, + A01BEFA60F6BF4510095262C /* csfml-graphics */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + A01BEF7B0F6BF42D0095262C /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + A01BEFC90F6BF5650095262C /* csfml-system-Info.plist in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + A01BEF850F6BF4360095262C /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + A01BEF8F0F6BF4400095262C /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + A01BEF990F6BF4490095262C /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + A01BEFA30F6BF4510095262C /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + A0DE008A0FCB1D8D00DA0132 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXShellScriptBuildPhase section */ + A0DE00980FCB1EAC00DA0132 /* ShellScript */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "export HEADER_PATH=$BUILT_PRODUCTS_DIR/$PUBLIC_HEADERS_FOLDER_PATH\n\nrm -rf $HEADER_PATH\nmkdir -p $HEADER_PATH\nln -s Versions/Current/Headers $HEADER_PATH/../../../Headers\ncp -r $SRCROOT/../include/SFML/ $HEADER_PATH\nrm -rf `find $HEADER_PATH -name \".svn\"`\nrm -rf `find $HEADER_PATH -name \"Win32\"`\nrm -f $HEADER_PATH/Headers\n\necho \"rm -rf $HEADER_PATH\"\necho \"mkdir -p $HEADER_PATH\"\necho \"ln -s Versions/Current/Headers $HEADER_PATH/../../../Headers\"\necho \"cp -r $SRCROOT/../../include/SFML/ $HEADER_PATH\"\necho \"rm -rf `find $HEADER_PATH -name '.svn'`\"\necho \"rm -f $HEADER_PATH/Headers\""; + }; +/* End PBXShellScriptBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + A01BEF7C0F6BF42D0095262C /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + A01BEFC70F6BF5640095262C /* Clock.cpp in Sources */, + A01BEFC80F6BF5640095262C /* Clock.cpp in Sources */, + A01BEFCA0F6BF5650095262C /* Initializer.cpp in Sources */, + A01BEFCB0F6BF5660095262C /* Lock.cpp in Sources */, + A01BEFCC0F6BF5670095262C /* Mutex.cpp in Sources */, + A01BEFCD0F6BF5670095262C /* Mutex.cpp in Sources */, + A01BEFCE0F6BF5680095262C /* Platform.cpp in Sources */, + A01BEFD00F6BF56E0095262C /* Randomizer.cpp in Sources */, + A01BEFD10F6BF56E0095262C /* Randomizer.cpp in Sources */, + A01BEFD20F6BF56E0095262C /* Sleep.cpp in Sources */, + A01BEFD30F6BF56F0095262C /* Sleep.cpp in Sources */, + A01BEFD40F6BF56F0095262C /* Thread.cpp in Sources */, + A01BEFD50F6BF5710095262C /* Thread.cpp in Sources */, + A01BEFD60F6BF5720095262C /* Unicode.cpp in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + A01BEF860F6BF4360095262C /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + A01BEFD70F6BF5780095262C /* Ftp.cpp in Sources */, + A01BEFD80F6BF5780095262C /* Ftp.cpp in Sources */, + A01BEFD90F6BF5790095262C /* Http.cpp in Sources */, + A01BEFDA0F6BF5790095262C /* Http.cpp in Sources */, + A01BEFDB0F6BF57A0095262C /* IPAddress.cpp in Sources */, + A01BEFDC0F6BF57A0095262C /* IPAddress.cpp in Sources */, + A01BEFDD0F6BF57A0095262C /* Packet.cpp in Sources */, + A01BEFDE0F6BF57B0095262C /* Packet.cpp in Sources */, + A01BEFDF0F6BF57D0095262C /* Selector.cpp in Sources */, + A01BEFE00F6BF57E0095262C /* SelectorBase.cpp in Sources */, + A01BEFE10F6BF57E0095262C /* SocketHelper.cpp in Sources */, + A01BEFE40F6BF5800095262C /* SocketTCP.cpp in Sources */, + A01BEFE60F6BF5810095262C /* SocketUDP.cpp in Sources */, + A01BEFE70F6BF5820095262C /* SocketTCP.cpp in Sources */, + A01BEFE80F6BF5830095262C /* SocketUDP.cpp in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + A01BEF900F6BF4400095262C /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + A01BEFFF0F6BF5CC0095262C /* AudioDevice.cpp in Sources */, + A01BF0000F6BF5CD0095262C /* AudioResource.cpp in Sources */, + A01BF0010F6BF5CE0095262C /* Listener.cpp in Sources */, + A01BF0020F6BF5CF0095262C /* Listener.cpp in Sources */, + A01BF0030F6BF5CF0095262C /* Music.cpp in Sources */, + A01BF0040F6BF5D00095262C /* Music.cpp in Sources */, + A01BF0060F6BF5D40095262C /* Sound.cpp in Sources */, + A01BF0070F6BF5D40095262C /* Sound.cpp in Sources */, + A01BF0080F6BF5D50095262C /* SoundBuffer.cpp in Sources */, + A01BF0090F6BF5D50095262C /* SoundBuffer.cpp in Sources */, + A01BF00A0F6BF5D50095262C /* SoundBufferRecorder.cpp in Sources */, + A01BF00B0F6BF5D60095262C /* SoundBufferRecorder.cpp in Sources */, + A01BF00C0F6BF5D90095262C /* SoundFile.cpp in Sources */, + A01BF00D0F6BF5DA0095262C /* SoundFileDefault.cpp in Sources */, + A01BF00E0F6BF5DD0095262C /* SoundFileOgg.cpp in Sources */, + A01BF00F0F6BF5E00095262C /* SoundRecorder.cpp in Sources */, + A01BF0100F6BF5E00095262C /* SoundRecorder.cpp in Sources */, + A01BF0110F6BF5E10095262C /* SoundStream.cpp in Sources */, + A01BF0120F6BF5E10095262C /* SoundStream.cpp in Sources */, + A01BF0130F6BF5E30095262C /* stb_vorbis.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + A01BEF9A0F6BF4490095262C /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + A01BF01B0F6BF5F60095262C /* AppController.mm in Sources */, + A01BF01C0F6BF5F70095262C /* Context.cpp in Sources */, + A01BF01D0F6BF5F70095262C /* Context.cpp in Sources */, + A01BF01E0F6BF5FA0095262C /* GLKit.mm in Sources */, + A01BF01F0F6BF5FD0095262C /* Input.cpp in Sources */, + A01BF0200F6BF5FE0095262C /* Input.cpp in Sources */, + A01BF0210F6BF5FF0095262C /* Joystick.cpp in Sources */, + A01BF0220F6BF6020095262C /* VideoMode.cpp in Sources */, + A01BF0230F6BF6020095262C /* VideoMode.cpp in Sources */, + A01BF0240F6BF6030095262C /* VideoModeSupport.cpp in Sources */, + A01BF0250F6BF6060095262C /* Window.cpp in Sources */, + A01BF0260F6BF6060095262C /* Window.cpp in Sources */, + A01BF0270F6BF6080095262C /* WindowImpl.cpp in Sources */, + A01BF0280F6BF60A0095262C /* WindowImplCocoa.mm in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + A01BEFA40F6BF4510095262C /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + A01BF0290F6BF6110095262C /* adler32.c in Sources */, + A01BF02A0F6BF6130095262C /* Color.cpp in Sources */, + A01BF02B0F6BF6130095262C /* Color.cpp in Sources */, + A01BF02C0F6BF6150095262C /* compress.c in Sources */, + A01BF02D0F6BF6160095262C /* crc32.c in Sources */, + A01BF02E0F6BF61A0095262C /* deflate.c in Sources */, + A01BF02F0F6BF61C0095262C /* Drawable.cpp in Sources */, + A01BF0300F6BF61D0095262C /* Font.cpp in Sources */, + A01BF0310F6BF61E0095262C /* Font.cpp in Sources */, + A01BF0320F6BF6210095262C /* FontLoader.cpp in Sources */, + A01BF0330F6BF6230095262C /* glew.c in Sources */, + A01BF0340F6BF6240095262C /* GraphicsContext.cpp in Sources */, + A01BF0350F6BF6270095262C /* Image.cpp in Sources */, + A01BF0360F6BF6270095262C /* Image.cpp in Sources */, + A01BF0370F6BF6280095262C /* image_DXT.c in Sources */, + A01BF0380F6BF62B0095262C /* ImageLoader.cpp in Sources */, + A01BF0390F6BF62C0095262C /* inffast.c in Sources */, + A01BF03A0F6BF6380095262C /* jcprepct.c in Sources */, + A01BF03B0F6BF6390095262C /* jdapimin.c in Sources */, + A01BF03C0F6BF6390095262C /* jcmainct.c in Sources */, + A01BF03D0F6BF63A0095262C /* jidctint.c in Sources */, + A01BF03E0F6BF63A0095262C /* jddctmgr.c in Sources */, + A01BF03F0F6BF63B0095262C /* jfdctint.c in Sources */, + A01BF0400F6BF63B0095262C /* pngget.c in Sources */, + A01BF0410F6BF63B0095262C /* pngvcrd.c in Sources */, + A01BF0420F6BF63F0095262C /* jmemmgr.c in Sources */, + A01BF0450F6BF6410095262C /* inflate.c in Sources */, + A01BF0460F6BF6410095262C /* jccoefct.c in Sources */, + A01BF0470F6BF6420095262C /* trees.c in Sources */, + A01BF0480F6BF6420095262C /* jquant2.c in Sources */, + A01BF0490F6BF6420095262C /* SOIL.c in Sources */, + A01BF04A0F6BF6430095262C /* jchuff.c in Sources */, + A01BF04B0F6BF6450095262C /* pngtrans.c in Sources */, + A01BF04C0F6BF6460095262C /* jdapistd.c in Sources */, + A01BF04D0F6BF6460095262C /* jcsample.c in Sources */, + A01BF04E0F6BF6470095262C /* jccolor.c in Sources */, + A01BF04F0F6BF6470095262C /* jidctflt.c in Sources */, + A01BF0500F6BF6480095262C /* jcdctmgr.c in Sources */, + A01BF0510F6BF6480095262C /* jidctfst.c in Sources */, + A01BF0520F6BF64B0095262C /* jdmarker.c in Sources */, + A01BF0530F6BF64B0095262C /* jutils.c in Sources */, + A01BF0540F6BF64C0095262C /* pngrutil.c in Sources */, + A01BF0550F6BF64C0095262C /* pngwio.c in Sources */, + A01BF0560F6BF64D0095262C /* jdatadst.c in Sources */, + A01BF0570F6BF64E0095262C /* uncompr.c in Sources */, + A01BF0580F6BF64F0095262C /* jmemnobs.c in Sources */, + A01BF0590F6BF64F0095262C /* pngrio.c in Sources */, + A01BF05A0F6BF6540095262C /* jdcolor.c in Sources */, + A01BF05B0F6BF6540095262C /* jdhuff.c in Sources */, + A01BF05C0F6BF6550095262C /* stb_image_aug.c in Sources */, + A01BF05D0F6BF6550095262C /* jdatasrc.c in Sources */, + A01BF05E0F6BF6560095262C /* png.c in Sources */, + A01BF05F0F6BF6560095262C /* pngerror.c in Sources */, + A01BF0600F6BF6580095262C /* pngset.c in Sources */, + A01BF0610F6BF6580095262C /* jcmaster.c in Sources */, + A01BF0620F6BF6590095262C /* jdpostct.c in Sources */, + A01BF0630F6BF6590095262C /* pngread.c in Sources */, + A01BF0640F6BF65A0095262C /* jcparam.c in Sources */, + A01BF0650F6BF65C0095262C /* jdphuff.c in Sources */, + A01BF0660F6BF65D0095262C /* jdcoefct.c in Sources */, + A01BF0670F6BF65E0095262C /* jdmerge.c in Sources */, + A01BF0680F6BF65E0095262C /* pngwrite.c in Sources */, + A01BF0690F6BF65E0095262C /* jctrans.c in Sources */, + A01BF06A0F6BF65F0095262C /* jdinput.c in Sources */, + A01BF06B0F6BF65F0095262C /* jcapimin.c in Sources */, + A01BF06C0F6BF6620095262C /* jcinit.c in Sources */, + A01BF06D0F6BF6620095262C /* jdmainct.c in Sources */, + A01BF06E0F6BF6630095262C /* pngwutil.c in Sources */, + A01BF06F0F6BF6630095262C /* jcapistd.c in Sources */, + A01BF0700F6BF6640095262C /* jdmaster.c in Sources */, + A01BF0710F6BF6690095262C /* inftrees.c in Sources */, + A01BF0720F6BF6690095262C /* pnggccrd.c in Sources */, + A01BF0730F6BF66A0095262C /* pngwtran.c in Sources */, + A01BF0750F6BF66B0095262C /* jdtrans.c in Sources */, + A01BF0760F6BF66B0095262C /* jfdctfst.c in Sources */, + A01BF0770F6BF66B0095262C /* jcmarker.c in Sources */, + A01BF0780F6BF66F0095262C /* pngmem.c in Sources */, + A01BF0790F6BF6700095262C /* jidctred.c in Sources */, + A01BF07A0F6BF6700095262C /* zutil.c in Sources */, + A01BF07B0F6BF6710095262C /* pngpread.c in Sources */, + A01BF07C0F6BF6710095262C /* jdsample.c in Sources */, + A01BF07D0F6BF6740095262C /* pngrtran.c in Sources */, + A01BF07E0F6BF6750095262C /* jcphuff.c in Sources */, + A01BF07F0F6BF6750095262C /* jfdctflt.c in Sources */, + A01BF0800F6BF6750095262C /* jcomapi.c in Sources */, + A01BF0820F6BF6770095262C /* jquant1.c in Sources */, + A01BF0830F6BF6770095262C /* jerror.c in Sources */, + A01BF0840F6BF6780095262C /* String.cpp in Sources */, + A01BF0850F6BF6780095262C /* Shape.cpp in Sources */, + A01BF0860F6BF67B0095262C /* RenderTarget.cpp in Sources */, + A01BF0870F6BF67E0095262C /* PostFX.cpp in Sources */, + A01BF0880F6BF67F0095262C /* View.cpp in Sources */, + A01BF0890F6BF67F0095262C /* RenderWindow.cpp in Sources */, + A01BF08A0F6BF6800095262C /* Matrix3.cpp in Sources */, + A01BF08B0F6BF6820095262C /* Sprite.cpp in Sources */, + A01BF08C0F6BF6830095262C /* Shape.cpp in Sources */, + A01BF08D0F6BF6830095262C /* String.cpp in Sources */, + A01BF08E0F6BF6830095262C /* RenderWindow.cpp in Sources */, + A01BF08F0F6BF6860095262C /* View.cpp in Sources */, + A01BF0900F6BF6860095262C /* Sprite.cpp in Sources */, + A01BF0910F6BF6870095262C /* PostFX.cpp in Sources */, + A01BF0920F6BF6870095262C /* Rect.cpp in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + A0DE008B0FCB1D8D00DA0132 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + A0DE009A0FCB1EC500DA0132 /* dummy.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + A01BEFB30F6BF5340095262C /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = A01BEF7E0F6BF42D0095262C /* csfml-system */; + targetProxy = A01BEFB20F6BF5340095262C /* PBXContainerItemProxy */; + }; + A01BEFB50F6BF5340095262C /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = A01BEF880F6BF4360095262C /* csfml-network */; + targetProxy = A01BEFB40F6BF5340095262C /* PBXContainerItemProxy */; + }; + A01BEFB70F6BF5340095262C /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = A01BEF920F6BF4400095262C /* csfml-audio */; + targetProxy = A01BEFB60F6BF5340095262C /* PBXContainerItemProxy */; + }; + A01BEFB90F6BF5340095262C /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = A01BEF9C0F6BF4490095262C /* csfml-window */; + targetProxy = A01BEFB80F6BF5340095262C /* PBXContainerItemProxy */; + }; + A01BEFBB0F6BF5340095262C /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = A01BEFA60F6BF4510095262C /* csfml-graphics */; + targetProxy = A01BEFBA0F6BF5340095262C /* PBXContainerItemProxy */; + }; + A0DE00960FCB1E2900DA0132 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = A0DE008D0FCB1D8D00DA0132 /* SFML */; + targetProxy = A0DE00950FCB1E2900DA0132 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin XCBuildConfiguration section */ + A011E3580F65738800FAE48D /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ARCHS = "$(ARCHS_STANDARD_32_BIT_PRE_XCODE_3_1)"; + ARCHS_STANDARD_32_BIT_PRE_XCODE_3_1 = "ppc i386"; + CONFIGURATION_BUILD_DIR = "$(SRCROOT)/../lib"; + COPY_PHASE_STRIP = NO; + FRAMEWORK_SEARCH_PATHS = ( + "$(SRCROOT)/../../lib", + "$(SRCROOT)/../lib", + "$(SRCROOT)/../../extlibs/bin", + ); + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = CSFML_EXPORTS; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_CHECK_SWITCH_STATEMENTS = YES; + GCC_WARN_EFFECTIVE_CPLUSPLUS_VIOLATIONS = YES; + GCC_WARN_FOUR_CHARACTER_CONSTANTS = YES; + GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = YES; + GCC_WARN_MISSING_PARENTHESES = YES; + GCC_WARN_PROTOTYPE_CONVERSION = YES; + GCC_WARN_SHADOW = YES; + GCC_WARN_SIGN_COMPARE = YES; + GCC_WARN_TYPECHECK_CALLS_TO_PRINTF = YES; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_PARAMETER = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + HEADER_SEARCH_PATHS = ( + "$(SRCROOT)/../src", + "$(SRCROOT)/../include", + "$(SRCROOT)/../../include", + "$(SRCROOT)/../../src", + "$(SRCROOT)/../../extlibs/headers", + ); + INSTALL_PATH = "@executable_path/../Frameworks"; + LIBRARY_SEARCH_PATHS = ( + "$(SRCROOT)/../../lib", + "$(SRCROOT)/../lib", + "$(SRCROOT)/../../extlibs/libs-xcode", + ); + OBJROOT = "$(SRCROOT)/build"; + SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk; + SYMROOT = "$(SRCROOT)/../lib"; + }; + name = Debug; + }; + A011E3590F65738800FAE48D /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ARCHS = "$(ARCHS_STANDARD_32_BIT_PRE_XCODE_3_1)"; + ARCHS_STANDARD_32_BIT_PRE_XCODE_3_1 = "ppc i386"; + CONFIGURATION_BUILD_DIR = "$(SRCROOT)/../lib"; + COPY_PHASE_STRIP = YES; + FRAMEWORK_SEARCH_PATHS = ( + "$(SRCROOT)/../../lib", + "$(SRCROOT)/../lib", + "$(SRCROOT)/../../extlibs/bin", + ); + GCC_OPTIMIZATION_LEVEL = 2; + GCC_PREPROCESSOR_DEFINITIONS = CSFML_EXPORTS; + HEADER_SEARCH_PATHS = ( + "$(SRCROOT)/../src", + "$(SRCROOT)/../include", + "$(SRCROOT)/../../include", + "$(SRCROOT)/../../src", + "$(SRCROOT)/../../extlibs/headers", + ); + INSTALL_PATH = "@executable_path/../Frameworks"; + LIBRARY_SEARCH_PATHS = ( + "$(SRCROOT)/../../lib", + "$(SRCROOT)/../lib", + "$(SRCROOT)/../../extlibs/libs-xcode", + ); + OBJROOT = "$(SRCROOT)/build"; + SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk; + SYMROOT = "$(SRCROOT)/../lib"; + }; + name = Release; + }; + A011E39C0F6574D600FAE48D /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + COPY_PHASE_STRIP = NO; + GCC_DYNAMIC_NO_PIC = NO; + GCC_OPTIMIZATION_LEVEL = 0; + PRODUCT_NAME = All; + }; + name = Debug; + }; + A011E39D0F6574D600FAE48D /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + COPY_PHASE_STRIP = YES; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + GCC_ENABLE_FIX_AND_CONTINUE = NO; + PRODUCT_NAME = All; + ZERO_LINK = NO; + }; + name = Release; + }; + A01BEF810F6BF42D0095262C /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + COPY_PHASE_STRIP = NO; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + FRAMEWORK_VERSION = A; + GCC_DYNAMIC_NO_PIC = NO; + GCC_ENABLE_FIX_AND_CONTINUE = YES; + GCC_MODEL_TUNING = G5; + GCC_OPTIMIZATION_LEVEL = 0; + INFOPLIST_FILE = "csfml-system-Info.plist"; + OTHER_LDFLAGS = ( + "-framework", + CoreFoundation, + ); + PREBINDING = NO; + PRODUCT_NAME = "csfml-system-d"; + }; + name = Debug; + }; + A01BEF820F6BF42D0095262C /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + COPY_PHASE_STRIP = YES; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + FRAMEWORK_VERSION = A; + GCC_ENABLE_FIX_AND_CONTINUE = NO; + GCC_MODEL_TUNING = G5; + INFOPLIST_FILE = "csfml-system-Info.plist"; + OTHER_LDFLAGS = ( + "-framework", + CoreFoundation, + ); + PREBINDING = NO; + PRODUCT_NAME = "csfml-system"; + ZERO_LINK = NO; + }; + name = Release; + }; + A01BEF8B0F6BF4370095262C /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + COPY_PHASE_STRIP = NO; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + FRAMEWORK_VERSION = A; + GCC_DYNAMIC_NO_PIC = NO; + GCC_ENABLE_FIX_AND_CONTINUE = YES; + GCC_MODEL_TUNING = G5; + GCC_OPTIMIZATION_LEVEL = 0; + INFOPLIST_FILE = "csfml-network-Info.plist"; + PREBINDING = NO; + PRODUCT_NAME = "csfml-network-d"; + }; + name = Debug; + }; + A01BEF8C0F6BF4370095262C /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + COPY_PHASE_STRIP = YES; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + FRAMEWORK_VERSION = A; + GCC_ENABLE_FIX_AND_CONTINUE = NO; + GCC_MODEL_TUNING = G5; + INFOPLIST_FILE = "csfml-network-Info.plist"; + PREBINDING = NO; + PRODUCT_NAME = "csfml-network"; + ZERO_LINK = NO; + }; + name = Release; + }; + A01BEF950F6BF4410095262C /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + COPY_PHASE_STRIP = NO; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + FRAMEWORK_VERSION = A; + GCC_DYNAMIC_NO_PIC = NO; + GCC_ENABLE_FIX_AND_CONTINUE = YES; + GCC_MODEL_TUNING = G5; + GCC_OPTIMIZATION_LEVEL = 0; + INFOPLIST_FILE = "csfml-audio-Info.plist"; + OTHER_LDFLAGS = ( + "-framework", + OpenAL, + "-framework", + sndfile, + ); + PREBINDING = NO; + PRODUCT_NAME = "csfml-audio-d"; + }; + name = Debug; + }; + A01BEF960F6BF4410095262C /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + COPY_PHASE_STRIP = YES; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + FRAMEWORK_VERSION = A; + GCC_ENABLE_FIX_AND_CONTINUE = NO; + GCC_MODEL_TUNING = G5; + INFOPLIST_FILE = "csfml-audio-Info.plist"; + OTHER_LDFLAGS = ( + "-framework", + OpenAL, + "-framework", + sndfile, + ); + PREBINDING = NO; + PRODUCT_NAME = "csfml-audio"; + ZERO_LINK = NO; + }; + name = Release; + }; + A01BEF9F0F6BF4490095262C /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + COPY_PHASE_STRIP = NO; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + FRAMEWORK_VERSION = A; + GCC_DYNAMIC_NO_PIC = NO; + GCC_ENABLE_FIX_AND_CONTINUE = YES; + GCC_MODEL_TUNING = G5; + GCC_OPTIMIZATION_LEVEL = 0; + INFOPLIST_FILE = "csfml-window-Info.plist"; + OTHER_LDFLAGS = ( + "-framework", + Cocoa, + ); + PREBINDING = NO; + PRODUCT_NAME = "csfml-window-d"; + }; + name = Debug; + }; + A01BEFA00F6BF4490095262C /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + COPY_PHASE_STRIP = YES; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + FRAMEWORK_VERSION = A; + GCC_ENABLE_FIX_AND_CONTINUE = NO; + GCC_MODEL_TUNING = G5; + INFOPLIST_FILE = "csfml-window-Info.plist"; + OTHER_LDFLAGS = ( + "-framework", + Cocoa, + ); + PREBINDING = NO; + PRODUCT_NAME = "csfml-window"; + ZERO_LINK = NO; + }; + name = Release; + }; + A01BEFA90F6BF4520095262C /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + COPY_PHASE_STRIP = NO; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + FRAMEWORK_VERSION = A; + GCC_DYNAMIC_NO_PIC = NO; + GCC_ENABLE_FIX_AND_CONTINUE = YES; + GCC_MODEL_TUNING = G5; + GCC_OPTIMIZATION_LEVEL = 0; + INFOPLIST_FILE = "csfml-graphics-Info.plist"; + OTHER_LDFLAGS = ( + "-framework", + OpenGL, + "$(SRCROOT)/../../extlibs/libs-xcode/libfreetype.a", + ); + PREBINDING = NO; + PRODUCT_NAME = "csfml-graphics-d"; + }; + name = Debug; + }; + A01BEFAA0F6BF4520095262C /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + COPY_PHASE_STRIP = YES; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + FRAMEWORK_VERSION = A; + GCC_ENABLE_FIX_AND_CONTINUE = NO; + GCC_MODEL_TUNING = G5; + INFOPLIST_FILE = "csfml-graphics-Info.plist"; + OTHER_LDFLAGS = ( + "-framework", + OpenGL, + "$(SRCROOT)/../../extlibs/libs-xcode/libfreetype.a", + ); + PREBINDING = NO; + PRODUCT_NAME = "csfml-graphics"; + ZERO_LINK = NO; + }; + name = Release; + }; + A0DE008F0FCB1D8E00DA0132 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + COPY_PHASE_STRIP = NO; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + FRAMEWORK_VERSION = A; + GCC_DYNAMIC_NO_PIC = NO; + GCC_ENABLE_FIX_AND_CONTINUE = YES; + GCC_MODEL_TUNING = G5; + GCC_OPTIMIZATION_LEVEL = 0; + INFOPLIST_FILE = "SFML-Info.plist"; + PREBINDING = NO; + PRODUCT_NAME = SFML; + }; + name = Debug; + }; + A0DE00900FCB1D8E00DA0132 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + COPY_PHASE_STRIP = YES; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + FRAMEWORK_VERSION = A; + GCC_ENABLE_FIX_AND_CONTINUE = NO; + GCC_MODEL_TUNING = G5; + INFOPLIST_FILE = "SFML-Info.plist"; + PREBINDING = NO; + PRODUCT_NAME = SFML; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + A011E35A0F65738800FAE48D /* Build configuration list for PBXProject "SFML" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + A011E3590F65738800FAE48D /* Release */, + A011E3580F65738800FAE48D /* Debug */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + A011E3AB0F6574E400FAE48D /* Build configuration list for PBXAggregateTarget "All" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + A011E39D0F6574D600FAE48D /* Release */, + A011E39C0F6574D600FAE48D /* Debug */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + A01BEF830F6BF42D0095262C /* Build configuration list for PBXNativeTarget "csfml-system" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + A01BEF820F6BF42D0095262C /* Release */, + A01BEF810F6BF42D0095262C /* Debug */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + A01BEF8D0F6BF4370095262C /* Build configuration list for PBXNativeTarget "csfml-network" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + A01BEF8C0F6BF4370095262C /* Release */, + A01BEF8B0F6BF4370095262C /* Debug */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + A01BEF970F6BF4410095262C /* Build configuration list for PBXNativeTarget "csfml-audio" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + A01BEF960F6BF4410095262C /* Release */, + A01BEF950F6BF4410095262C /* Debug */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + A01BEFA10F6BF4490095262C /* Build configuration list for PBXNativeTarget "csfml-window" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + A01BEFA00F6BF4490095262C /* Release */, + A01BEF9F0F6BF4490095262C /* Debug */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + A01BEFAB0F6BF4520095262C /* Build configuration list for PBXNativeTarget "csfml-graphics" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + A01BEFAA0F6BF4520095262C /* Release */, + A01BEFA90F6BF4520095262C /* Debug */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + A0DE00940FCB1D9000DA0132 /* Build configuration list for PBXNativeTarget "SFML" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + A0DE00900FCB1D8E00DA0132 /* Release */, + A0DE008F0FCB1D8E00DA0132 /* Debug */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = A011E3570F65738800FAE48D /* Project object */; +} diff --git a/CSFML/xcode/csfml-audio-Info.plist b/CSFML/xcode/csfml-audio-Info.plist new file mode 100644 index 000000000..9e2fead0c --- /dev/null +++ b/CSFML/xcode/csfml-audio-Info.plist @@ -0,0 +1,20 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + com.sfml.${PRODUCT_NAME:identifier} + CFBundleInfoDictionaryVersion + 6.0 + CFBundlePackageType + FMWK + CFBundleSignature + ???? + CFBundleVersion + 1.0 + + diff --git a/CSFML/xcode/csfml-graphics-Info.plist b/CSFML/xcode/csfml-graphics-Info.plist new file mode 100644 index 000000000..9e2fead0c --- /dev/null +++ b/CSFML/xcode/csfml-graphics-Info.plist @@ -0,0 +1,20 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + com.sfml.${PRODUCT_NAME:identifier} + CFBundleInfoDictionaryVersion + 6.0 + CFBundlePackageType + FMWK + CFBundleSignature + ???? + CFBundleVersion + 1.0 + + diff --git a/CSFML/xcode/csfml-network-Info.plist b/CSFML/xcode/csfml-network-Info.plist new file mode 100644 index 000000000..9e2fead0c --- /dev/null +++ b/CSFML/xcode/csfml-network-Info.plist @@ -0,0 +1,20 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + com.sfml.${PRODUCT_NAME:identifier} + CFBundleInfoDictionaryVersion + 6.0 + CFBundlePackageType + FMWK + CFBundleSignature + ???? + CFBundleVersion + 1.0 + + diff --git a/CSFML/xcode/csfml-system-Info.plist b/CSFML/xcode/csfml-system-Info.plist new file mode 100644 index 000000000..9e2fead0c --- /dev/null +++ b/CSFML/xcode/csfml-system-Info.plist @@ -0,0 +1,20 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + com.sfml.${PRODUCT_NAME:identifier} + CFBundleInfoDictionaryVersion + 6.0 + CFBundlePackageType + FMWK + CFBundleSignature + ???? + CFBundleVersion + 1.0 + + diff --git a/CSFML/xcode/csfml-window-Info.plist b/CSFML/xcode/csfml-window-Info.plist new file mode 100644 index 000000000..9e2fead0c --- /dev/null +++ b/CSFML/xcode/csfml-window-Info.plist @@ -0,0 +1,20 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + com.sfml.${PRODUCT_NAME:identifier} + CFBundleInfoDictionaryVersion + 6.0 + CFBundlePackageType + FMWK + CFBundleSignature + ???? + CFBundleVersion + 1.0 + + diff --git a/CSFML/xcode/dummy.c b/CSFML/xcode/dummy.c new file mode 100644 index 000000000..794e788e9 --- /dev/null +++ b/CSFML/xcode/dummy.c @@ -0,0 +1,6 @@ + +// Using this only to produce a binary in the SFML framework so that +// linking this framework doesn't produce a "couldn't locate ..." error +static void dummyfunc(void) { + +} \ No newline at end of file diff --git a/CSFML/xcode/templates/CSFML Graphics-based Application/CSFML Graphics-based Application.xcodeproj/TemplateIcon.icns b/CSFML/xcode/templates/CSFML Graphics-based Application/CSFML Graphics-based Application.xcodeproj/TemplateIcon.icns new file mode 100644 index 000000000..d4713d5e6 Binary files /dev/null and b/CSFML/xcode/templates/CSFML Graphics-based Application/CSFML Graphics-based Application.xcodeproj/TemplateIcon.icns differ diff --git a/CSFML/xcode/templates/CSFML Graphics-based Application/CSFML Graphics-based Application.xcodeproj/TemplateInfo.plist b/CSFML/xcode/templates/CSFML Graphics-based Application/CSFML Graphics-based Application.xcodeproj/TemplateInfo.plist new file mode 100755 index 000000000..a1d73ddb0 --- /dev/null +++ b/CSFML/xcode/templates/CSFML Graphics-based Application/CSFML Graphics-based Application.xcodeproj/TemplateInfo.plist @@ -0,0 +1,6 @@ +{ + FilesToMacroExpand = ( + "Info.plist", + ); + Description = "This project builds a SFML application linked against the System, Window and Graphics packages, and written in C."; +} diff --git a/CSFML/xcode/templates/CSFML Graphics-based Application/CSFML Graphics-based Application.xcodeproj/project.pbxproj b/CSFML/xcode/templates/CSFML Graphics-based Application/CSFML Graphics-based Application.xcodeproj/project.pbxproj new file mode 100644 index 000000000..e6da5063e --- /dev/null +++ b/CSFML/xcode/templates/CSFML Graphics-based Application/CSFML Graphics-based Application.xcodeproj/project.pbxproj @@ -0,0 +1,235 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 42; + objects = { + +/* Begin PBXBuildFile section */ + A0072ADE0F1D0EC500B4A594 /* csfml-system.framework in Copy Frameworks */ = {isa = PBXBuildFile; fileRef = A01FB6CB0F07CFF2000AAC7B /* csfml-system.framework */; }; + A0072ADF0F1D0EC500B4A594 /* csfml-window.framework in Copy Frameworks */ = {isa = PBXBuildFile; fileRef = A01FB6CC0F07CFF2000AAC7B /* csfml-window.framework */; }; + A0072AE00F1D0EC500B4A594 /* csfml-graphics.framework in Copy Frameworks */ = {isa = PBXBuildFile; fileRef = A01FB6CA0F07CFF2000AAC7B /* csfml-graphics.framework */; }; + A01FB6C90F07CFCE000AAC7B /* main.c in Sources */ = {isa = PBXBuildFile; fileRef = A01FB6C80F07CFCE000AAC7B /* main.c */; }; + A01FB6CE0F07CFF2000AAC7B /* csfml-graphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A01FB6CA0F07CFF2000AAC7B /* csfml-graphics.framework */; }; + A01FB6CF0F07CFF2000AAC7B /* csfml-system.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A01FB6CB0F07CFF2000AAC7B /* csfml-system.framework */; }; + A01FB6D00F07CFF2000AAC7B /* csfml-window.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A01FB6CC0F07CFF2000AAC7B /* csfml-window.framework */; }; +/* End PBXBuildFile section */ + +/* Begin PBXCopyFilesBuildPhase section */ + A0072AF00F1D0EDD00B4A594 /* Copy Frameworks */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = ""; + dstSubfolderSpec = 10; + files = ( + A0072ADE0F1D0EC500B4A594 /* csfml-system.framework in Copy Frameworks */, + A0072ADF0F1D0EC500B4A594 /* csfml-window.framework in Copy Frameworks */, + A0072AE00F1D0EC500B4A594 /* csfml-graphics.framework in Copy Frameworks */, + ); + name = "Copy Frameworks"; + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXCopyFilesBuildPhase section */ + +/* Begin PBXFileReference section */ + A01FB6A90F07CF6E000AAC7B /* «PROJECTNAME».app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "«PROJECTNAME».app"; sourceTree = BUILT_PRODUCTS_DIR; }; + A01FB6AC0F07CF6E000AAC7B /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + A01FB6C80F07CFCE000AAC7B /* main.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = main.c; sourceTree = ""; }; + A01FB6CA0F07CFF2000AAC7B /* csfml-graphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = "csfml-graphics.framework"; path = "/Library/Frameworks/csfml-graphics.framework"; sourceTree = ""; }; + A01FB6CB0F07CFF2000AAC7B /* csfml-system.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = "csfml-system.framework"; path = "/Library/Frameworks/csfml-system.framework"; sourceTree = ""; }; + A01FB6CC0F07CFF2000AAC7B /* csfml-window.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = "csfml-window.framework"; path = "/Library/Frameworks/csfml-window.framework"; sourceTree = ""; }; + A01FB6CD0F07CFF2000AAC7B /* SFML.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SFML.framework; path = /Library/Frameworks/SFML.framework; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + A01FB6A70F07CF6E000AAC7B /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + A01FB6CE0F07CFF2000AAC7B /* csfml-graphics.framework in Frameworks */, + A01FB6CF0F07CFF2000AAC7B /* csfml-system.framework in Frameworks */, + A01FB6D00F07CFF2000AAC7B /* csfml-window.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + A01FB69A0F07CF63000AAC7B = { + isa = PBXGroup; + children = ( + A01FB6B20F07CF80000AAC7B /* Sources */, + A01FB6B10F07CF7C000AAC7B /* Resources */, + A01FB6B00F07CF75000AAC7B /* Frameworks */, + A01FB6AA0F07CF6E000AAC7B /* Products */, + ); + sourceTree = ""; + }; + A01FB6AA0F07CF6E000AAC7B /* Products */ = { + isa = PBXGroup; + children = ( + A01FB6A90F07CF6E000AAC7B /* «PROJECTNAME».app */, + ); + name = Products; + sourceTree = ""; + }; + A01FB6B00F07CF75000AAC7B /* Frameworks */ = { + isa = PBXGroup; + children = ( + A01FB6CD0F07CFF2000AAC7B /* SFML.framework */, + A01FB6CB0F07CFF2000AAC7B /* csfml-system.framework */, + A01FB6CC0F07CFF2000AAC7B /* csfml-window.framework */, + A01FB6CA0F07CFF2000AAC7B /* csfml-graphics.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; + A01FB6B10F07CF7C000AAC7B /* Resources */ = { + isa = PBXGroup; + children = ( + A01FB6AC0F07CF6E000AAC7B /* Info.plist */, + ); + name = Resources; + sourceTree = ""; + }; + A01FB6B20F07CF80000AAC7B /* Sources */ = { + isa = PBXGroup; + children = ( + A01FB6C80F07CFCE000AAC7B /* main.c */, + ); + name = Sources; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + A01FB6A80F07CF6E000AAC7B /* «PROJECTNAME» */ = { + isa = PBXNativeTarget; + buildConfigurationList = A01FB6AF0F07CF6F000AAC7B /* Build configuration list for PBXNativeTarget "«PROJECTNAME»" */; + buildPhases = ( + A01FB6A50F07CF6E000AAC7B /* Resources */, + A01FB6A60F07CF6E000AAC7B /* Sources */, + A01FB6A70F07CF6E000AAC7B /* Frameworks */, + A0072AF00F1D0EDD00B4A594 /* Copy Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "«PROJECTNAME»"; + productName = "«PROJECTNAME»"; + productReference = A01FB6A90F07CF6E000AAC7B /* «PROJECTNAME».app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + A01FB69C0F07CF63000AAC7B /* Project object */ = { + isa = PBXProject; + buildConfigurationList = A01FB69F0F07CF63000AAC7B /* Build configuration list for PBXProject "«PROJECTNAME»" */; + compatibilityVersion = "Xcode 2.4"; + hasScannedForEncodings = 0; + mainGroup = A01FB69A0F07CF63000AAC7B; + productRefGroup = A01FB6AA0F07CF6E000AAC7B /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + A01FB6A80F07CF6E000AAC7B /* «PROJECTNAME» */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + A01FB6A50F07CF6E000AAC7B /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + A01FB6A60F07CF6E000AAC7B /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + A01FB6C90F07CFCE000AAC7B /* main.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin XCBuildConfiguration section */ + A01FB69D0F07CF63000AAC7B /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + COPY_PHASE_STRIP = NO; + }; + name = Debug; + }; + A01FB69E0F07CF63000AAC7B /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + COPY_PHASE_STRIP = YES; + }; + name = Release; + }; + A01FB6AD0F07CF6F000AAC7B /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + COPY_PHASE_STRIP = NO; + GCC_DYNAMIC_NO_PIC = NO; + GCC_ENABLE_FIX_AND_CONTINUE = YES; + GCC_MODEL_TUNING = G5; + GCC_OPTIMIZATION_LEVEL = 0; + INFOPLIST_FILE = Info.plist; + INSTALL_PATH = "$(HOME)/Applications"; + PREBINDING = NO; + PRODUCT_NAME = "«PROJECTNAME»"; + }; + name = Debug; + }; + A01FB6AE0F07CF6F000AAC7B /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + COPY_PHASE_STRIP = YES; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + GCC_ENABLE_FIX_AND_CONTINUE = NO; + GCC_MODEL_TUNING = G5; + INFOPLIST_FILE = Info.plist; + INSTALL_PATH = "$(HOME)/Applications"; + PREBINDING = NO; + PRODUCT_NAME = "«PROJECTNAME»"; + ZERO_LINK = NO; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + A01FB69F0F07CF63000AAC7B /* Build configuration list for PBXProject "«PROJECTNAME»" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + A01FB69D0F07CF63000AAC7B /* Debug */, + A01FB69E0F07CF63000AAC7B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + A01FB6AF0F07CF6F000AAC7B /* Build configuration list for PBXNativeTarget "«PROJECTNAME»" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + A01FB6AD0F07CF6F000AAC7B /* Debug */, + A01FB6AE0F07CF6F000AAC7B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = A01FB69C0F07CF63000AAC7B /* Project object */; +} diff --git a/CSFML/xcode/templates/CSFML Graphics-based Application/Info.plist b/CSFML/xcode/templates/CSFML Graphics-based Application/Info.plist new file mode 100644 index 000000000..af9a1cadb --- /dev/null +++ b/CSFML/xcode/templates/CSFML Graphics-based Application/Info.plist @@ -0,0 +1,20 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + com.yourcompany.${PRODUCT_NAME:identifier} + CFBundleInfoDictionaryVersion + 6.0 + CFBundlePackageType + APPL + CFBundleSignature + ???? + CFBundleVersion + 1.0 + + diff --git a/CSFML/xcode/templates/CSFML Graphics-based Application/main.c b/CSFML/xcode/templates/CSFML Graphics-based Application/main.c new file mode 100644 index 000000000..d1c95d946 --- /dev/null +++ b/CSFML/xcode/templates/CSFML Graphics-based Application/main.c @@ -0,0 +1,49 @@ + +//////////////////////////////////////////////////////////// +// Headers +//////////////////////////////////////////////////////////// +#include + + +//////////////////////////////////////////////////////////// +/// Entry point of application +/// +/// \return Application exit code +/// +//////////////////////////////////////////////////////////// +int main() +{ + // Create main window + sfVideoMode mode = {640, 480, 32}; + sfWindowSettings settings = {24, 8, 0}; + sfRenderWindow *App = sfRenderWindow_Create (mode, "CSFML Graphics", sfClose, settings); + sfShape *Shape = sfShape_CreateCircle(200, 200, 100, sfYellow,10.f, sfBlue); + + // Start game loop + while (sfRenderWindow_IsOpened(App)) + { + // Process events + sfEvent Event; + while (sfRenderWindow_GetEvent(App, &Event)) + { + // Close window : exit + if (Event.Type == sfEvtClosed) + sfRenderWindow_Close(App); + } + + // Clear screen + sfRenderWindow_Clear(App, sfBlack); + + // Draw shape + sfRenderWindow_DrawShape(App, Shape); + + // Finally, display the rendered frame on screen + sfRenderWindow_Display(App); + } + + // Destroy our objects + sfShape_Destroy(Shape); + sfRenderWindow_Destroy(App); + + return EXIT_SUCCESS; +} diff --git a/CSFML/xcode/templates/CSFML Tool/CSFML Tool.xcodeproj/TemplateIcon.icns b/CSFML/xcode/templates/CSFML Tool/CSFML Tool.xcodeproj/TemplateIcon.icns new file mode 100644 index 000000000..d4713d5e6 Binary files /dev/null and b/CSFML/xcode/templates/CSFML Tool/CSFML Tool.xcodeproj/TemplateIcon.icns differ diff --git a/CSFML/xcode/templates/CSFML Tool/CSFML Tool.xcodeproj/TemplateInfo.plist b/CSFML/xcode/templates/CSFML Tool/CSFML Tool.xcodeproj/TemplateInfo.plist new file mode 100755 index 000000000..6cac1dc10 --- /dev/null +++ b/CSFML/xcode/templates/CSFML Tool/CSFML Tool.xcodeproj/TemplateInfo.plist @@ -0,0 +1,3 @@ +{ + Description = "This project builds a SFML executable linked against the System package, and written in C."; +} diff --git a/CSFML/xcode/templates/CSFML Tool/CSFML Tool.xcodeproj/project.pbxproj b/CSFML/xcode/templates/CSFML Tool/CSFML Tool.xcodeproj/project.pbxproj new file mode 100644 index 000000000..626e6650d --- /dev/null +++ b/CSFML/xcode/templates/CSFML Tool/CSFML Tool.xcodeproj/project.pbxproj @@ -0,0 +1,209 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 45; + objects = { + +/* Begin PBXBuildFile section */ + 8DD76F650486A84900D96B5E /* main.c in Sources */ = {isa = PBXBuildFile; fileRef = 08FB7796FE84155DC02AAC07 /* main.c */; settings = {ATTRIBUTES = (); }; }; + A0BAFBE70F07DDD2005BC41F /* csfml-system.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A0BAFBE50F07DDD2005BC41F /* csfml-system.framework */; }; +/* End PBXBuildFile section */ + +/* Begin PBXCopyFilesBuildPhase section */ + 8DD76F690486A84900D96B5E /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 8; + dstPath = /usr/share/man/man1/; + dstSubfolderSpec = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 1; + }; +/* End PBXCopyFilesBuildPhase section */ + +/* Begin PBXFileReference section */ + 08FB7796FE84155DC02AAC07 /* main.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = main.c; sourceTree = ""; }; + 8DD76F6C0486A84900D96B5E /* «PROJECTNAME» */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = "«PROJECTNAME»"; sourceTree = BUILT_PRODUCTS_DIR; }; + A0BAFBE50F07DDD2005BC41F /* csfml-system.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = "csfml-system.framework"; path = "/Library/Frameworks/csfml-system.framework"; sourceTree = ""; }; + A0BAFBE60F07DDD2005BC41F /* SFML.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SFML.framework; path = /Library/Frameworks/SFML.framework; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 8DD76F660486A84900D96B5E /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + A0BAFBE70F07DDD2005BC41F /* csfml-system.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 08FB7794FE84155DC02AAC07 /* «PROJECTNAME» */ = { + isa = PBXGroup; + children = ( + 08FB7795FE84155DC02AAC07 /* Source */, + A0BAFBE30F07DDBD005BC41F /* Frameworks */, + 1AB674ADFE9D54B511CA2CBB /* Products */, + ); + name = "«PROJECTNAME»"; + sourceTree = ""; + }; + 08FB7795FE84155DC02AAC07 /* Source */ = { + isa = PBXGroup; + children = ( + 08FB7796FE84155DC02AAC07 /* main.c */, + ); + name = Source; + sourceTree = ""; + }; + 1AB674ADFE9D54B511CA2CBB /* Products */ = { + isa = PBXGroup; + children = ( + 8DD76F6C0486A84900D96B5E /* «PROJECTNAME» */, + ); + name = Products; + sourceTree = ""; + }; + A0BAFBE30F07DDBD005BC41F /* Frameworks */ = { + isa = PBXGroup; + children = ( + A0BAFBE60F07DDD2005BC41F /* SFML.framework */, + A0BAFBE50F07DDD2005BC41F /* csfml-system.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 8DD76F620486A84900D96B5E /* «PROJECTNAME» */ = { + isa = PBXNativeTarget; + buildConfigurationList = 1DEB923108733DC60010E9CD /* Build configuration list for PBXNativeTarget "«PROJECTNAME»" */; + buildPhases = ( + 8DD76F640486A84900D96B5E /* Sources */, + 8DD76F660486A84900D96B5E /* Frameworks */, + 8DD76F690486A84900D96B5E /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "«PROJECTNAME»"; + productInstallPath = "$(HOME)/bin"; + productName = "«PROJECTNAME»"; + productReference = 8DD76F6C0486A84900D96B5E /* «PROJECTNAME» */; + productType = "com.apple.product-type.tool"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 08FB7793FE84155DC02AAC07 /* Project object */ = { + isa = PBXProject; + buildConfigurationList = 1DEB923508733DC60010E9CD /* Build configuration list for PBXProject "«PROJECTNAME»" */; + compatibilityVersion = "Xcode 3.1"; + hasScannedForEncodings = 1; + mainGroup = 08FB7794FE84155DC02AAC07 /* «PROJECTNAME» */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 8DD76F620486A84900D96B5E /* «PROJECTNAME» */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXSourcesBuildPhase section */ + 8DD76F640486A84900D96B5E /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 8DD76F650486A84900D96B5E /* main.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin XCBuildConfiguration section */ + 1DEB923208733DC60010E9CD /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + COPY_PHASE_STRIP = NO; + GCC_DYNAMIC_NO_PIC = NO; + GCC_ENABLE_FIX_AND_CONTINUE = YES; + GCC_MODEL_TUNING = G5; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "_GLIBCXX_DEBUG=1", + "_GLIBCXX_DEBUG_PEDANTIC=1", + ); + INSTALL_PATH = /usr/local/bin; + PRODUCT_NAME = "«PROJECTNAME»"; + }; + name = Debug; + }; + 1DEB923308733DC60010E9CD /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + GCC_MODEL_TUNING = G5; + INSTALL_PATH = /usr/local/bin; + PRODUCT_NAME = "«PROJECTNAME»"; + }; + name = Release; + }; + 1DEB923608733DC60010E9CD /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ARCHS = "$(ARCHS_STANDARD_32_BIT)"; + GCC_C_LANGUAGE_STANDARD = c99; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + ONLY_ACTIVE_ARCH = YES; + PREBINDING = NO; + SDKROOT = macosx10.5; + }; + name = Debug; + }; + 1DEB923708733DC60010E9CD /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ARCHS = "$(ARCHS_STANDARD_32_BIT)"; + GCC_C_LANGUAGE_STANDARD = c99; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + PREBINDING = NO; + SDKROOT = macosx10.5; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 1DEB923108733DC60010E9CD /* Build configuration list for PBXNativeTarget "«PROJECTNAME»" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 1DEB923208733DC60010E9CD /* Debug */, + 1DEB923308733DC60010E9CD /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 1DEB923508733DC60010E9CD /* Build configuration list for PBXProject "«PROJECTNAME»" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 1DEB923608733DC60010E9CD /* Debug */, + 1DEB923708733DC60010E9CD /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 08FB7793FE84155DC02AAC07 /* Project object */; +} diff --git a/CSFML/xcode/templates/CSFML Tool/main.c b/CSFML/xcode/templates/CSFML Tool/main.c new file mode 100644 index 000000000..dec495230 --- /dev/null +++ b/CSFML/xcode/templates/CSFML Tool/main.c @@ -0,0 +1,10 @@ + +#include +#include + +int main() +{ + /* Your code here */ + + return 0; +} \ No newline at end of file diff --git a/CSFML/xcode/templates/CSFML Window-based Application/CSFML Window-based Application.xcodeproj/TemplateIcon.icns b/CSFML/xcode/templates/CSFML Window-based Application/CSFML Window-based Application.xcodeproj/TemplateIcon.icns new file mode 100644 index 000000000..d4713d5e6 Binary files /dev/null and b/CSFML/xcode/templates/CSFML Window-based Application/CSFML Window-based Application.xcodeproj/TemplateIcon.icns differ diff --git a/CSFML/xcode/templates/CSFML Window-based Application/CSFML Window-based Application.xcodeproj/TemplateInfo.plist b/CSFML/xcode/templates/CSFML Window-based Application/CSFML Window-based Application.xcodeproj/TemplateInfo.plist new file mode 100755 index 000000000..e73fcc30e --- /dev/null +++ b/CSFML/xcode/templates/CSFML Window-based Application/CSFML Window-based Application.xcodeproj/TemplateInfo.plist @@ -0,0 +1,6 @@ +{ + FilesToMacroExpand = ( + "Info.plist", + ); + Description = "This project builds a SFML application linked against the System and Window packages, and written in C."; +} diff --git a/CSFML/xcode/templates/CSFML Window-based Application/CSFML Window-based Application.xcodeproj/project.pbxproj b/CSFML/xcode/templates/CSFML Window-based Application/CSFML Window-based Application.xcodeproj/project.pbxproj new file mode 100644 index 000000000..9a0eb3706 --- /dev/null +++ b/CSFML/xcode/templates/CSFML Window-based Application/CSFML Window-based Application.xcodeproj/project.pbxproj @@ -0,0 +1,233 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 42; + objects = { + +/* Begin PBXBuildFile section */ + A0072ADE0F1D0EC500B4A594 /* csfml-system.framework in Copy Frameworks */ = {isa = PBXBuildFile; fileRef = A01FB6CB0F07CFF2000AAC7B /* csfml-system.framework */; }; + A0072ADF0F1D0EC500B4A594 /* csfml-window.framework in Copy Frameworks */ = {isa = PBXBuildFile; fileRef = A01FB6CC0F07CFF2000AAC7B /* csfml-window.framework */; }; + A01FB6C90F07CFCE000AAC7B /* main.c in Sources */ = {isa = PBXBuildFile; fileRef = A01FB6C80F07CFCE000AAC7B /* main.c */; }; + A01FB6CF0F07CFF2000AAC7B /* csfml-system.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A01FB6CB0F07CFF2000AAC7B /* csfml-system.framework */; }; + A01FB6D00F07CFF2000AAC7B /* csfml-window.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A01FB6CC0F07CFF2000AAC7B /* csfml-window.framework */; }; + A072DDA60FCE9FE8002D8059 /* OpenGL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A072DDA50FCE9FE8002D8059 /* OpenGL.framework */; }; +/* End PBXBuildFile section */ + +/* Begin PBXCopyFilesBuildPhase section */ + A0072AF00F1D0EDD00B4A594 /* Copy Frameworks */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = ""; + dstSubfolderSpec = 10; + files = ( + A0072ADE0F1D0EC500B4A594 /* csfml-system.framework in Copy Frameworks */, + A0072ADF0F1D0EC500B4A594 /* csfml-window.framework in Copy Frameworks */, + ); + name = "Copy Frameworks"; + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXCopyFilesBuildPhase section */ + +/* Begin PBXFileReference section */ + A01FB6A90F07CF6E000AAC7B /* «PROJECTNAME».app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "«PROJECTNAME».app"; sourceTree = BUILT_PRODUCTS_DIR; }; + A01FB6AC0F07CF6E000AAC7B /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + A01FB6C80F07CFCE000AAC7B /* main.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = main.c; sourceTree = ""; }; + A01FB6CB0F07CFF2000AAC7B /* csfml-system.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = "csfml-system.framework"; path = "/Library/Frameworks/csfml-system.framework"; sourceTree = ""; }; + A01FB6CC0F07CFF2000AAC7B /* csfml-window.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = "csfml-window.framework"; path = "/Library/Frameworks/csfml-window.framework"; sourceTree = ""; }; + A01FB6CD0F07CFF2000AAC7B /* SFML.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SFML.framework; path = /Library/Frameworks/SFML.framework; sourceTree = ""; }; + A072DDA50FCE9FE8002D8059 /* OpenGL.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = OpenGL.framework; path = /System/Library/Frameworks/OpenGL.framework; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + A01FB6A70F07CF6E000AAC7B /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + A01FB6CF0F07CFF2000AAC7B /* csfml-system.framework in Frameworks */, + A01FB6D00F07CFF2000AAC7B /* csfml-window.framework in Frameworks */, + A072DDA60FCE9FE8002D8059 /* OpenGL.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + A01FB69A0F07CF63000AAC7B = { + isa = PBXGroup; + children = ( + A01FB6B20F07CF80000AAC7B /* Sources */, + A01FB6B10F07CF7C000AAC7B /* Resources */, + A01FB6B00F07CF75000AAC7B /* Frameworks */, + A01FB6AA0F07CF6E000AAC7B /* Products */, + ); + sourceTree = ""; + }; + A01FB6AA0F07CF6E000AAC7B /* Products */ = { + isa = PBXGroup; + children = ( + A01FB6A90F07CF6E000AAC7B /* «PROJECTNAME».app */, + ); + name = Products; + sourceTree = ""; + }; + A01FB6B00F07CF75000AAC7B /* Frameworks */ = { + isa = PBXGroup; + children = ( + A072DDA50FCE9FE8002D8059 /* OpenGL.framework */, + A01FB6CD0F07CFF2000AAC7B /* SFML.framework */, + A01FB6CB0F07CFF2000AAC7B /* csfml-system.framework */, + A01FB6CC0F07CFF2000AAC7B /* csfml-window.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; + A01FB6B10F07CF7C000AAC7B /* Resources */ = { + isa = PBXGroup; + children = ( + A01FB6AC0F07CF6E000AAC7B /* Info.plist */, + ); + name = Resources; + sourceTree = ""; + }; + A01FB6B20F07CF80000AAC7B /* Sources */ = { + isa = PBXGroup; + children = ( + A01FB6C80F07CFCE000AAC7B /* main.c */, + ); + name = Sources; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + A01FB6A80F07CF6E000AAC7B /* «PROJECTNAME» */ = { + isa = PBXNativeTarget; + buildConfigurationList = A01FB6AF0F07CF6F000AAC7B /* Build configuration list for PBXNativeTarget "«PROJECTNAME»" */; + buildPhases = ( + A01FB6A50F07CF6E000AAC7B /* Resources */, + A01FB6A60F07CF6E000AAC7B /* Sources */, + A01FB6A70F07CF6E000AAC7B /* Frameworks */, + A0072AF00F1D0EDD00B4A594 /* Copy Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "«PROJECTNAME»"; + productName = "«PROJECTNAME»"; + productReference = A01FB6A90F07CF6E000AAC7B /* «PROJECTNAME».app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + A01FB69C0F07CF63000AAC7B /* Project object */ = { + isa = PBXProject; + buildConfigurationList = A01FB69F0F07CF63000AAC7B /* Build configuration list for PBXProject "«PROJECTNAME»" */; + compatibilityVersion = "Xcode 2.4"; + hasScannedForEncodings = 0; + mainGroup = A01FB69A0F07CF63000AAC7B; + productRefGroup = A01FB6AA0F07CF6E000AAC7B /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + A01FB6A80F07CF6E000AAC7B /* «PROJECTNAME» */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + A01FB6A50F07CF6E000AAC7B /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + A01FB6A60F07CF6E000AAC7B /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + A01FB6C90F07CFCE000AAC7B /* main.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin XCBuildConfiguration section */ + A01FB69D0F07CF63000AAC7B /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + COPY_PHASE_STRIP = NO; + }; + name = Debug; + }; + A01FB69E0F07CF63000AAC7B /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + COPY_PHASE_STRIP = YES; + }; + name = Release; + }; + A01FB6AD0F07CF6F000AAC7B /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + COPY_PHASE_STRIP = NO; + GCC_DYNAMIC_NO_PIC = NO; + GCC_ENABLE_FIX_AND_CONTINUE = YES; + GCC_MODEL_TUNING = G5; + GCC_OPTIMIZATION_LEVEL = 0; + INFOPLIST_FILE = Info.plist; + INSTALL_PATH = "$(HOME)/Applications"; + PREBINDING = NO; + PRODUCT_NAME = "«PROJECTNAME»"; + }; + name = Debug; + }; + A01FB6AE0F07CF6F000AAC7B /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + COPY_PHASE_STRIP = YES; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + GCC_ENABLE_FIX_AND_CONTINUE = NO; + GCC_MODEL_TUNING = G5; + INFOPLIST_FILE = Info.plist; + INSTALL_PATH = "$(HOME)/Applications"; + PREBINDING = NO; + PRODUCT_NAME = "«PROJECTNAME»"; + ZERO_LINK = NO; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + A01FB69F0F07CF63000AAC7B /* Build configuration list for PBXProject "«PROJECTNAME»" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + A01FB69D0F07CF63000AAC7B /* Debug */, + A01FB69E0F07CF63000AAC7B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + A01FB6AF0F07CF6F000AAC7B /* Build configuration list for PBXNativeTarget "«PROJECTNAME»" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + A01FB6AD0F07CF6F000AAC7B /* Debug */, + A01FB6AE0F07CF6F000AAC7B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = A01FB69C0F07CF63000AAC7B /* Project object */; +} diff --git a/CSFML/xcode/templates/CSFML Window-based Application/Info.plist b/CSFML/xcode/templates/CSFML Window-based Application/Info.plist new file mode 100644 index 000000000..af9a1cadb --- /dev/null +++ b/CSFML/xcode/templates/CSFML Window-based Application/Info.plist @@ -0,0 +1,20 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + com.yourcompany.${PRODUCT_NAME:identifier} + CFBundleInfoDictionaryVersion + 6.0 + CFBundlePackageType + APPL + CFBundleSignature + ???? + CFBundleVersion + 1.0 + + diff --git a/CSFML/xcode/templates/CSFML Window-based Application/main.c b/CSFML/xcode/templates/CSFML Window-based Application/main.c new file mode 100644 index 000000000..278840c34 --- /dev/null +++ b/CSFML/xcode/templates/CSFML Window-based Application/main.c @@ -0,0 +1,59 @@ + +//////////////////////////////////////////////////////////// +// Headers +//////////////////////////////////////////////////////////// +#include + + +//////////////////////////////////////////////////////////// +/// Entry point of application +/// +/// \return Application exit code +/// +//////////////////////////////////////////////////////////// +int main() +{ + // Create main window + sfVideoMode mode = {640, 480, 32}; + sfWindowSettings settings = {24, 8, 0}; + sfWindow *App = sfWindow_Create (mode, "CSFML Window", sfClose, settings); + + // Start game loop + while (sfWindow_IsOpened(App)) + { + // Process events + sfEvent Event; + while (sfWindow_GetEvent(App, &Event)) + { + // Close window : exit + if (Event.Type == sfEvtClosed) + sfWindow_Close(App); + + // Escape key : exit + if ((Event.Type == sfEvtKeyPressed) && (Event.Key.Code == sfKeyEscape)) + sfWindow_Close(App); + + // Resize event : adjust viewport + if (Event.Type == sfEvtResized) + glViewport(0, 0, Event.Size.Width, Event.Size.Height); + } + + // Set the active window before using OpenGL commands + // It's useless here because active window is always the same, + // but don't forget it if you use multiple windows or controls + sfWindow_SetActive(App, sfTrue); + + // Clear color buffer + glClear(GL_COLOR_BUFFER_BIT); + + // Your drawing here... + + // Finally, display rendered frame on screen + sfWindow_Display(App); + } + + // Destroy our window + sfWindow_Destroy(App); + + return EXIT_SUCCESS; +} diff --git a/build/codeblocks/sfml-graphics.cbp b/build/codeblocks/sfml-graphics.cbp index 5230223da..0674595a7 100644 --- a/build/codeblocks/sfml-graphics.cbp +++ b/build/codeblocks/sfml-graphics.cbp @@ -127,6 +127,7 @@ + @@ -152,6 +153,12 @@ + + + + + + @@ -172,6 +179,8 @@ + +