Commit Graph

245 Commits

Author SHA1 Message Date
Laurent Gomila
ac45dc9cba GL states are no longer polluted by SFML's ones when mixing with custom OpenGL code 2012-03-27 17:09:19 +02:00
Laurent Gomila
ee7cd94220 Fixed various minor warnings 2012-03-17 17:00:19 +01:00
Laurent Gomila
9163d04517 Merge branch 'master' of github.com:LaurentGomila/SFML 2012-03-14 19:06:55 +01:00
Laurent Gomila
ac4efb54f3 Improved the documentation of Music::openFromXxx functions 2012-03-14 19:05:51 +01:00
Marco Antognini
c741b6459f Updated the copyright text 2012-03-14 14:37:17 +01:00
Laurent Gomila
d592b2a7d1 Updated the copyright text 2012-03-13 18:37:34 +01:00
Laurent Gomila
4119c3bb31 Fixed compile error in sf::Rect 2012-03-12 18:01:36 +01:00
Laurent Gomila
14ac411542 Changed the naming convention for public member variables/functions and free functions (using lowerCase instead of UpperCase) 2012-03-11 19:10:37 +01:00
Laurent Gomila
ff5b69d312 Changed the naming convention for member variables (prefix changed from "my" to "m_") 2012-03-09 01:48:45 +01:00
Laurent Gomila
15e9d999b3 Added Window::GetPosition, and renamed some setters in Window for better consistency 2012-03-07 23:29:54 +01:00
Laurent Gomila
b8ea003eae Changed Transform::Combine to modify *this (more consistent with other functions) 2012-02-20 20:18:48 +01:00
Laurent Gomila
73b037b244 Updated the comments of Window::SetFramerateLimit 2012-01-31 19:56:51 +01:00
Laurent Gomila
84d75ed487 Fixed Window::SetFramerateLimit 2012-01-31 07:53:02 +01:00
Laurent Gomila
c2c924f512 Minor fixes in comments 2012-01-29 11:39:29 +01:00
Laurent Gomila
10cd729296 The UDP broadcast address is now a valid IpAddress, IpAddress::None is now 0. 2012-01-23 23:01:12 +01:00
Laurent Gomila
108984f71b sf::Time operators now take arguments by value instead of const reference 2012-01-21 15:41:10 +01:00
Laurent Gomila
369f450502 Minor fixes in documentation 2012-01-21 11:53:31 +01:00
Laurent Gomila
906a62df0f Each module now has its own export macro, which solves the "unresolved symbol" error with sf::Time::Zero 2012-01-21 10:34:17 +01:00
Laurent Gomila
4116ad033c Added the sf::Time class 2012-01-19 23:51:06 +01:00
Laurent Gomila
e775bd0169 Renamed SoundStream::Chunk::NbSamples to SampleCount, and renamed other nbSamples variables to sampleCount 2012-01-13 15:09:30 +01:00
Laurent Gomila
c2039e866c Renamed Window::IsOpened to IsOpen
Made some minor consistency modifications in internal code
2012-01-13 14:53:36 +01:00
Laurent Gomila
1e34d04aac Minor fix in comments 2012-01-04 20:38:02 +01:00
Laurent Gomila
8de7fca241 Minor improvements to the API documentation 2011-12-28 22:36:09 +01:00
Laurent Gomila
aaa21dfaf6 Corrected the name of some functions/variable 2011-12-25 23:42:43 +01:00
Laurent Gomila
f55da8d8bc Merge branch 'drawables' 2011-12-25 23:08:02 +01:00
Laurent Gomila
191730ac0d Added a render states cache to improve performances 2011-12-25 22:30:38 +01:00
Laurent Gomila
b65b19343a Changed the type of Vertex::TexCoords from integers to floats, to make it compatible with buggy ATI drivers 2011-12-21 22:44:21 +01:00
Laurent Gomila
5a4e8d58af Minor modifications 2011-12-21 22:31:42 +01:00
Laurent Gomila
78910b555e Removed unused Context::GetCurrentContextId() 2011-12-21 22:28:53 +01:00
Laurent Gomila
537e8c9e8d Fixed typo 2011-12-20 18:58:23 +01:00
Laurent Gomila
3e89dd652f Rewrote the implementation of sf::Clock, it now ensures microseconds resolution and monotonicity 2011-12-20 18:47:33 +01:00
Laurent Gomila
bc95d855b3 Added a virtual destructor to sf::Transformable 2011-12-19 17:50:15 +01:00
Laurent Gomila
5b2648fd8b Fixed typo in comments 2011-12-15 20:45:08 +01:00
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