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
Marco Antognini
01254d4122
Improve Xcode 4 Templates ( close #113 )
2011-10-17 00:50:20 +03: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
512a7c63cb
FindSFML.cmake now defines the SFML_STATIC macro when requesting static libraries
2011-10-09 11:20:45 +02:00
Laurent Gomila
5b6c824773
Fixed error in subrect adjustment in Texture::LoadFromImage
2011-10-07 08:03:24 +02:00
Laurent Gomila
9f7573c395
Fixed signed/unsigned comparison
2011-10-03 22:10:48 +02:00
Laurent Gomila
35bdbf6e2e
Merge branch 'master' of github.com:LaurentGomila/SFML
2011-09-30 13:44:12 +02:00
Laurent Gomila
d58d6e51bc
Added explicit include directories for OpenGL and X11 in CMake files
2011-09-30 13:43:52 +02:00
Marco Antognini
0fd992d56e
fix OS X alert related to key event ( close #98 )
2011-09-24 13:34:58 +02:00
Laurent Gomila
a547acfeb7
Fixed linker errors with InputStream in SFML dynamic libraries
2011-09-20 21:02:02 +02:00
Laurent Gomila
2856090573
Fixed error when calling Shader::LoadFromFile multiple times on the same instance
2011-09-18 22:46:11 +02:00
Marco Antognini
91d56172b0
Improved SFML integration with Cocoa
2011-09-18 10:43:21 +02:00
Laurent Gomila
a647c68a7f
Fixed CMake files failing on FreeBSD
2011-09-14 17:58:51 +02:00
Laurent Gomila
78a625de22
CMake configuration is now stopped if the Xrandr library (Linux) is not found
2011-09-10 18:36:12 +02:00
Marco Antognini
d6c1fda5bd
fixed creation of SFML.framework
2011-09-09 15:24:09 +02:00
Marco Antognini
c942e576c1
fixed creation of frameworks and a minor error in xcode 4 template script
2011-09-08 12:06:09 +02:00
Laurent Gomila
dad362bf69
Fixed Listener::GetGlobalVolume returning wrong values
2011-09-08 08:16:37 +02:00
Marco Antognini
ecaafa9a18
Fixed sf::Window::Create on OS X ( Closes #86 )
2011-09-05 18:54:27 +02:00
Marco Antognini
95a0126371
Improved cmake : autodetect available OS X SDK
2011-09-05 18:54:03 +02:00
Marco Antognini
b834787946
Removed dummy.cpp
2011-09-05 18:53:20 +02:00
Marco Antognini
0063eef520
Fixed Xcode templates script
2011-09-05 18:53:20 +02:00
Marco Antognini
6c0535db45
Fixed OSX/ShowMouseCursor
2011-09-05 18:53:20 +02:00
Marco Antognini
32563cdc6f
Improved SFML integration with Cocoa
2011-09-05 18:53:20 +02:00
Laurent Gomila
d6a40cf062
Fixed IpAddress::GetLocalAddress() (was incorrectly returning 127.0.0.1)
2011-09-04 14:46:36 +02:00
Laurent Gomila
9205942917
Minor fix in API documentation
2011-09-03 10:18:09 +02:00
Laurent Gomila
c51e22cb52
Fixed sf::Mouse::IsButtonPressed and sf::Keyboard::IsKeyPressed incorrectly returning true on Windows
2011-09-02 23:03:46 +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
Marco Antognini
7d919f4344
Fixed frameworks compilation
2011-08-21 20:15:55 +02:00
Marco Antognini
0580cba0cd
Xcode templates can be configured to use framework or dylibs
...
Xocde templates now disable objective-c garbage collector
2011-08-20 12:28:21 +02:00
Marco Antognini
71277f06e5
Updated Cocoa example
2011-08-20 12:28:21 +02:00
Marco Antognini
e09db44906
Cmake now is able to build SFML libraries as frameworks ( closes #12 )
...
Cmake can now automatically install the Xcode templates
2011-08-20 12:22:39 +02:00
Laurent Gomila
e5d635350e
Fixed sf::Music::GetDuration()
2011-08-19 18:44:46 +02:00
Laurent Gomila
1e2aca6e49
Fixed sf::Texture copy constructor
2011-08-19 18:28:21 +02:00
Laurent Gomila
d541f5f5b0
Minor fixes in documentation
2011-08-19 18:28:08 +02:00