Commit Graph

212 Commits

Author SHA1 Message Date
Laurent Gomila
c33fa1d290 Added SetPointsCount in sf::CircleShape 2011-12-10 15:22:21 +01:00
Laurent Gomila
048abbf46f Renamed GetOutlinePoint/GetOutlinePointsCount to GetPoint/GetPointsCount in sf::Shape, and made them public 2011-12-10 14:58:18 +01:00
Laurent Gomila
e6956d8e4d Removed the sf::StarShape class 2011-12-10 14:51:03 +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
6ff27baf54 Removed wrong comment about scale factors in sf::Transformable 2011-12-05 17:57:45 +01:00
Laurent Gomila
f381260136 Removed references to the old sf::Renderer class 2011-12-04 21:06:29 +01:00
Laurent Gomila
6381d10d40 Made one-arg constructors explicit in shapes classes 2011-12-04 20:43:28 +01:00
Laurent Gomila
a2fcb75876 Fixed compile errors in sf::Vertex with LLVM GCC 4.2 on OS X Lion 2011-12-04 20:37:08 +01:00
Laurent Gomila
44cc9bad84 Added constructors with parameters for shapes, and default-constructed shapes are now always empty 2011-12-04 10:53:14 +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
a5d40de8a2 Replaced unsigned long with Uint32 in the public API (avoids size problems with bindings) 2011-11-20 13:50:11 +01:00
Laurent Gomila
017ef652f9 Removed the Resource and ResourcePtr classes 2011-11-05 15:50:44 +01:00
Laurent Gomila
46b2c096c4 Added extra underscores to gcc 4 specific attributes (visibility, constructor) 2011-11-04 08:01:56 +01:00
Laurent Gomila
eed112d9ea SFML shared libraries now use ELF visibility on Unixes with gcc >= 4 2011-10-16 19:30:37 +02:00
Laurent Gomila
a547acfeb7 Fixed linker errors with InputStream in SFML dynamic libraries 2011-09-20 21:02:02 +02:00
Laurent Gomila
9205942917 Minor fix in API documentation 2011-09-03 10:18:09 +02:00
Laurent Gomila
7f390367f1 OpenGL.hpp now includes windows.h only with VC++ 2011-09-02 19:26:49 +02:00
Laurent Gomila
18cebde155 Minor fix in comments 2011-09-02 19:26:18 +02:00
Laurent Gomila
78afc38501 Minor fixes to the doc 2011-08-26 18:42:54 +02:00
Laurent Gomila
b9b3888788 Minor fix in comments 2011-08-21 21:13:23 +02:00
Laurent Gomila
d541f5f5b0 Minor fixes in documentation 2011-08-19 18:28:08 +02:00
Laurent Gomila
4c3bd58ef6 Config.hpp doesn't define WIN32_LEAN_AND_MEAN anymore on Windows 2011-08-11 22:24:25 +02:00
Laurent Gomila
7f11d16f3b Fixed SoundStream::GetPlayingOffset looping after a few seconds 2011-08-08 20:49:57 +02:00
Laurent Gomila
2e4531f751 Removed useless #include 2011-08-07 13:41:07 +02:00
Laurent Gomila
550ef632e3 Fixed compile error in sf::Font 2011-08-07 10:22:42 +02:00
Laurent Gomila
3f22fbb978 Fixed typo in documentation of sf::TcpListener 2011-07-30 17:35:13 +02:00
Laurent Gomila
f5294d5342 Added Image::FlipHorizontally and Image::FlipVertically 2011-07-29 22:04:59 +02: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
3d4bb1f568 Renamed InputStream::GetPosition to InputStream::Tell (more consistent naming) 2011-07-20 08:03:40 +02:00
Laurent Gomila
dfe7cba373 Merge branch 'master' of github.com:LaurentGomila/SFML 2011-07-17 12:22:08 +02:00
Laurent Gomila
c5276ff30a Added a new InputStream interface, and LoadFromStream functions to resource classes 2011-07-17 12:21:47 +02:00
Marco Antognini
535733f5c7 Implemented OSX/Joysticks and fixed some tabulations 2011-07-13 22:16:34 +02:00
Laurent Gomila
e46016a79d Removed Window::GetMouseFocusWindow 2011-07-11 23:26:09 +02:00
Laurent Gomila
46843d84f7 Fixed typo in comments 2011-07-11 08:01:48 +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
15f6eca815 Updated CSFML and SFML.Net to the new input classes 2011-07-05 23:04:03 +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
48e30ea0e3 Made the behaviour of Thread::Wait consistent across implementations when called from its owner thread 2011-06-12 14:08:54 +02:00
Laurent Gomila
175cddee58 UdpSocket::Send(Packet) is now limited to UdpSocket::MaxDatagramSize, so that data is never split into multiple datagrams, which removes a lot of potential major problems 2011-06-11 11:28:43 +02:00
Laurent Gomila
79d5217c42 Minor fix in sf::Text 2011-06-09 08:37:25 +02:00
Laurent Gomila
df61292f65 Made sf::Mutex recursive on Unix, the behaviour is now consistent across platforms 2011-05-31 23:31:25 +02:00
Laurent Gomila
d938899f5c Window::SetCursorPosition now triggers MouseMoved events 2011-05-30 18:56:49 +02:00
Laurent Gomila
94ab420dd3 Implemented the sf::Packet to bool conversion using the safe-bool idiom 2011-05-25 20:45:16 +02:00
Laurent Gomila
1526d09701 Changed Packet::operator bool() to Packet::operator void*(), to avoid inappropriate implicit conversions 2011-05-24 22:10:13 +02:00
Laurent Gomila
1a59b9291e Minor fix in documentation 2011-05-23 07:38:49 +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
Laurent Gomila
a4f6e915a0 Removed the sf::Randomizer class from the system module 2011-05-10 08:16:22 +02:00
Laurent Gomila
2f9a47b463 Minor fixes in documentation related to joysticks 2011-05-06 14:03:15 +02:00
Laurent Gomila
ede01df778 Added the sf::Event::KeyEvent::System member (implements feature #8) 2011-04-26 21:58:03 +02:00