Laurent Gomila
6c3fb426b2
Fixed default color of sf::Text (was black instead of white)
2011-12-29 22:12:21 +01:00
Laurent Gomila
8630c88e70
Removed warning in Shader.cpp
2011-12-29 19:24:47 +01:00
Laurent Gomila
c67148eaf2
Fatal errors in CMake files (such as unsupported system) now abort the configuration step
2011-12-29 16:20:21 +01:00
Laurent Gomila
effe6d4cec
Improved FindSFML.cmake: the SFMLDIR variable now has the priority over standard paths when searching SFML headers and libs (implements issue #142 )
2011-12-29 16:16:09 +01:00
Laurent Gomila
8de7fca241
Minor improvements to the API documentation
2011-12-28 22:36:09 +01:00
Laurent Gomila
aa633f6f12
Added support for CLang
2011-12-28 22:20:15 +01:00
Laurent Gomila
4107505a05
Made CMake files compatible with VC++ 2011, and other minor improvements
2011-12-28 21:39:23 +01:00
Laurent Gomila
94a9dfbdfb
Minor fix in comments
2011-12-26 11:56:27 +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
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
Marco Antognini
167618a89e
sf::Joystick now handles controllers designated as "Gamepad" ( Fix #138 )
2011-12-25 01:41:18 +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
f9147eb2a8
The new Linux clock implementation required to link an extra library
2011-12-20 18:53:40 +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
d943f22c93
FindSFML.cmake is now installed to the same directory as other SFML files, not to <cmake install>/Modules anymore (admin rights problems)
2011-12-14 19:54:44 +01:00
Laurent Gomila
78e1e8732b
Fixed (?) a fragment shader in the "Shader" example
2011-12-14 07:34:47 +01:00
Laurent Gomila
00147856da
Fixed minor warnings on Linux
2011-12-13 19:07:40 +01:00
Laurent Gomila
3a732133cb
Changed the Unix implementation of sf::Sleep to a more robust one
2011-12-13 19:06:13 +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
bc64da0469
Fixed bug in Music::SetPlayingOffset (didn't work above a given timestamp)
2011-12-09 20:56:48 +01:00
Laurent Gomila
4d0a6a299a
Fixed typo
2011-12-06 18:08:37 +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
528961c967
Fixed bug in sf::Shape
2011-12-04 20:59:26 +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
0548b226ef
sf::Shape now outputs less warnings about the number of points
2011-12-04 11:25:20 +01:00
Laurent Gomila
7deec641ac
Fixed compile error caused by previous commit
2011-12-04 11:22:46 +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
6034b80ddf
sf::ConvexShape was not updated when SetPointsCount or SetPoint was called
2011-12-03 14:24:26 +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
92f14fa853
Merge pull request #128 from thknepper/fix-cross-compile
...
Explicit use signed char for included font data to enable cross-compile on ARM-based systems
2011-11-29 22:38:54 -08:00
Thomas Knepper
6f44f12faf
Explicit use signed char for included font data to enable cross-compile for an arm-based system
...
From ISO/IEC 9899:1999, 6.2.5.15 (p. 49):
The implementation shall define char to have the same range,
representation, and behavior as either signed char or unsigned char.
Signed-off-by: Thomas Knepper <thknepper@gmx.de>
2011-11-29 21:57:53 +01:00
Laurent Gomila
09854baccf
Fixed compile error on Unix systems (caused by the latest commit)
2011-11-21 07:55:52 +01:00
Laurent Gomila
ac16c8562f
Merge branch 'master' of github.com:LaurentGomila/SFML
2011-11-20 13:50:42 +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
Marco Antognini
a9f0ba7943
Remove unused file
2011-11-09 20:13:48 +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