Laurent Gomila
26d5620817
Shape::setOutlineThickness now allows negative values
2012-07-15 13:47:14 +02:00
Laurent Gomila
faf8a233db
Merge branch 'master' of github.com:LaurentGomila/SFML
2012-07-09 23:32:11 +02:00
Laurent Gomila
7faf5857ec
Added a sf::Key::Unknown key code for unsupported keys
2012-07-09 23:26:37 +02:00
Marco Antognini
4a482b2385
Fixed TextEntered event on Mac OS X ( Close #192 )
2012-07-08 19:40:41 +02:00
Laurent Gomila
c3fb58b33f
Texture::bind no longer crashes when the texture is invalid
2012-07-07 21:38:57 +02:00
Laurent Gomila
449c7b0e3e
Minor correction in comments
2012-07-07 20:14:45 +02:00
kimci86
75fee5675a
Better behavior of sf::Event::Resized on Windows
2012-07-06 18:44:45 +02:00
Chase LaCas
7d96eb8c62
Fixed bug in the Windows joystick handling converting POV hat angles to their PovX and PovY component axes.
2012-07-01 16:26:12 -04:00
Laurent Gomila
679ec71b95
Forgot a little something in the previous commit :)
2012-06-26 21:56:55 +02:00
Laurent Gomila
aa534a0936
Fixed crash in SocketSelector::add when passing an invalid socket
2012-06-26 21:55:45 +02:00
Laurent Gomila
5706111088
A sprite can now be flipped by setting a texture rect with negative width/height
2012-06-19 18:36:12 +02:00
Laurent Gomila
dd51b3d8ff
Renamed Keyboard::Back to Keyboard::BackSpace
2012-06-19 18:21:16 +02:00
Laurent Gomila
3d02d4c795
OpenGL culling is now explicitly disabled in SFML's internal states
2012-06-14 18:05:47 +02:00
Marco Antognini
82be322731
Fixed Mac OS X fullscreen mode
2012-06-06 13:36:48 +02:00
Laurent Gomila
76e04a8d00
Added a workaround in JoystickImpl::isConnected on Windows, to limit the number of calls to joyGetPosEx which takes too long in certain situations
2012-05-13 21:53:27 +02:00
Laurent Gomila
ac43578f75
Fixed crash when creating an empty sf::Image
2012-05-10 22:48:02 +02:00
Laurent Gomila
5207930169
Fixed glyphs sometimes not shown with high font sizes
2012-05-10 18:07:17 +02:00
Laurent Gomila
3c317cab9b
Fixed crash when loading empty shaders
2012-05-09 18:03:54 +02:00
Laurent Gomila
8327870c9f
Fixed warnings with recent MinGW versions that already define the Windows version macros
2012-05-06 17:32:10 +02:00
Marco Antognini
19cdceb039
Fixed Mac OS X 10.6 support
...
This time it *should* be ok!
2012-04-29 21:12:39 +02:00
Marco Antognini
b18b771c33
Fixed typos
2012-04-28 22:05:10 +02:00
Marco Antognini
3994742aed
Fixed regression introduced in fixing #207
2012-04-25 17:45:07 +02:00
Marco Antognini
d37065e4de
Improved -setWindowPositionToX:Y:
2012-04-21 21:20:43 +02:00
Marco Antognini
3e8961d05f
Fixed view resizing with Cocoa ( close #207 )
2012-04-21 21:17:36 +02:00
Laurent Gomila
c750698333
Minor correction in error message
2012-04-15 18:09:06 +02:00
Marco Antognini
19276a552e
Improved Mac OS X implementation ( Close #195 )
2012-04-10 09:57:24 +02:00
Marco Antognini
cea0839f45
Updated Mac OS X code according to commit 8c776f33c1
2012-04-06 15:40:29 +02:00
Laurent Gomila
8c776f33c1
Private virtual functions are now protected, so that sub-classes can call them if necessary (and they appear in the API doc :)
2012-04-04 22:33:53 +02:00
Laurent Gomila
8d0da1d9d6
Replaced char* arguments with void* for raw data
2012-04-03 19:06:32 +02:00
Laurent Gomila
69f387de22
Fixed bug in texture creation (was a mistake in last commit)
2012-04-01 10:01:53 +02:00
Laurent Gomila
17e6a45a90
Replaced getWidth/getHeight with getSize in sf::Texture and sf::Image
2012-03-31 22:37:13 +02:00
Laurent Gomila
90ba800e1b
Fixed two more casting errors (signed / unsigned) in sf::Time
2012-03-29 17:54:35 +02:00
Laurent Gomila
bdf3380cb3
Fixed a bug in Time::asMilliseconds
2012-03-29 17:21:10 +02:00
Laurent Gomila
859074b3cc
RenderTarget::convertCoords now takes a Vector2i argument
2012-03-27 17:17:59 +02:00
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
24f8c3535d
Updated stb_image to latest version (1.33)
2012-03-17 17:09:47 +01:00
Laurent Gomila
ee7cd94220
Fixed various minor warnings
2012-03-17 17:00:19 +01:00
Laurent Gomila
78e7dcea38
Fixed sf::BlendNone not working
2012-03-15 22:37: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
Marco Antognini
2ef92a2af2
Updated Mac OS X code according to commits ff5b69d312
and 14ac411542
2012-03-12 23:04:06 +01:00
Laurent Gomila
7d91763606
Fixed error on ALCheck.hpp and GLCheck.hpp header names
2012-03-11 20:13:50 +01:00
Laurent Gomila
1dad4219a6
Merge branch 'master' of github.com:LaurentGomila/SFML
2012-03-11 19:11:00 +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
Marco Antognini
2680d3df65
Updated Mac OS X code according to 15e9d999b3
commit
2012-03-09 11:45: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
90854907b5
Minor internal modifications (renamed New functions to Create)
2012-03-04 18:47:05 +01:00
Laurent Gomila
2de690f02d
Fixed right side of underline shape in sf::Text which was transparent
2012-02-26 13:47:19 +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
48c7db52c3
Fixed type conversion warnings
2012-02-16 23:09:55 +01:00
Laurent Gomila
e7256e3324
Fixed compile error in Linux/JoystickImpl.cpp
2012-01-31 19:05:43 +01:00
Laurent Gomila
84d75ed487
Fixed Window::SetFramerateLimit
2012-01-31 07:53:02 +01:00
Marco Antognini
918db11074
fix antialiasing on OS X (close issue #161 )
2012-01-25 02:53:07 +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
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
91705fe25c
The architecture (32/64 bits) is now detected only on Windows
2012-01-03 18:02:18 +01:00
Laurent Gomila
c0af511ed1
Fixed glBindProgramObject used on systems that don't support shaders
2011-12-31 11:42:05 +01:00
Laurent Gomila
2a546411d5
Added error checking in initialization of GLEW
2011-12-31 11:39:06 +01:00
Laurent Gomila
87b7676b95
Fixed minor error in sf::Font::LoadFromStream
2011-12-30 19:16:20 +01:00
Laurent Gomila
6c3fb426b2
Fixed default color of sf::Text (was black instead of white)
2011-12-29 22:12:21 +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
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
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
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
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
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
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
Laurent Gomila
5b6c824773
Fixed error in subrect adjustment in Texture::LoadFromImage
2011-10-07 08:03:24 +02:00