Commit Graph

322 Commits

Author SHA1 Message Date
Laurent Gomila
8630c88e70 Removed warning in Shader.cpp 2011-12-29 19:24:47 +01:00
Laurent Gomila
aaa21dfaf6 Corrected the name of some functions/variable 2011-12-25 23:42:43 +01:00
Laurent Gomila
c817f882e6 Enabled v-sync in OpenGL and Pong examples (to make them smoother) 2011-12-25 23:13:13 +01:00
Laurent Gomila
78e1e8732b Fixed (?) a fragment shader in the "Shader" example 2011-12-14 07:34:47 +01:00
Laurent Gomila
c9b87ec8a9 Added support for vertex shaders in sf::Shader
Rewrote the Shader example
2011-12-10 13:02:38 +01:00
Laurent Gomila
eeff685255 Merge branch 'master' into drawables
Conflicts:
	include/SFML/Graphics/Sprite.hpp
	include/SFML/Graphics/Text.hpp
	src/SFML/Graphics/Sprite.cpp
2011-12-02 20:58:14 +01:00
Laurent Gomila
5bae08a2d8 Implemented the new graphics API:
- Removed the internal classes sf::Renderer and sf::Matrix3
- Split sf::Drawable into sf::Drawable and sf::Transformable
- Added sf::Transform
- Added sf::Vertex
- Added sf::VertexArray
- Types of shapes are now handled with their own derived class
- Modified the Pong example
2011-12-01 23:24:58 +01:00
Laurent Gomila
d58d6e51bc Added explicit include directories for OpenGL and X11 in CMake files 2011-09-30 13:43:52 +02:00
Martin Foot
13986b2a3b Fix CMake variables to allow adding SFML as a dependency. 2011-08-07 14:33:42 +01:00
Laurent Gomila
e509f01180 Split sf::Image into sf::Image and sf::Texture (implements issue #18) 2011-07-22 22:31:27 +02:00
Laurent Gomila
270f505570 Removed Window::GetCursorPosition/SetCursorPosition, added Mouse::GetPosition/SetPosition (two versions: one that handles desktop coordinates, one that handles window coordinates) 2011-07-08 07:56:14 +02:00
Laurent Gomila
8621e45960 Implemented global inputs (sf::Keyboard, sf::Mouse, sf::Joystick) and removed the event-based sf::Input.
Window::WaitEvent now works with joystick events as well.
Added Event::JoystickConnected and Event::JoystickDisconnected.
Added Window::GetCursorPosition.
2011-07-04 08:21:40 +02:00
Laurent Gomila
f0ed4ba446 Removed forgotten debug stuff from the "shader" example 2011-05-31 23:12:52 +02:00
Laurent Gomila
e4c6c30e0b Times in SFML are now Uint32 milliseconds instead of float seconds
Added the sf::Uint64 and sf::Int64 types
2011-05-19 08:19:42 +02:00
Marco Antognini
0e826d8dec Fixed shader examples 2011-05-15 13:37:29 +02:00
Laurent Gomila
a4f6e915a0 Removed the sf::Randomizer class from the system module 2011-05-10 08:16:22 +02:00
Laurent Gomila
df6874273a Renamed Window::GetEvent to PollEvent 2011-04-11 18:20:21 +02:00
Laurent Gomila
6676d77ea1 Updated the C and .Net bindings according to the previous modifications 2011-04-04 23:37:20 +02:00
laurentgom
a94ed51702 ATI fix!
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1809 4e206d99-4929-0410-ac5d-dfc041789085
2011-03-21 07:08:26 +00:00
LaurentGom
7ed866667d Removed old projects/makefiles for SFML examples
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1613 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-05 13:29:20 +00:00
LaurentGom
8525a7cb92 Changed the output names of SFML libraries in projects/makefiles (sfml-xxx -> sfml2-xxx)
Fixed OpenAL include path in Linux makefiles

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1555 4e206d99-4929-0410-ac5d-dfc041789085
2010-08-27 21:37:50 +00:00
LaurentGom
a991fe8e4d Added support for the CMake build system
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1550 4e206d99-4929-0410-ac5d-dfc041789085
2010-08-19 15:59:24 +00:00