Commit Graph

610 Commits

Author SHA1 Message Date
binary1248
20db4969c5 Added setting of the timer resolution in the Win32 implementation of Sleep and rewrote the Unix Sleep implementation to use nanosleep instead of pthread_cond_timedwait to prevent spurious wakeups from causing the function to return too early. 2013-01-11 06:40:44 +01:00
Laurent Gomila
91e1743516 Changed Texture::bind and Shader::bind to be static functions, that can accept a null argument 2013-01-08 22:24:43 +01:00
Laurent Gomila
38da3f4338 Fixed computation of the alpha channel in sf::BlendAdd 2013-01-03 20:34:51 +01:00
Laurent Gomila
2285e3d344 Fixed the repeated keys detection algorithm on Linux 2013-01-03 20:31:20 +01:00
Laurent Gomila
03b8a1c3a7 Disabled fix #271 for ogg cracks (the solution slows down the loading too much) 2012-12-17 20:16:54 +01:00
Laurent Gomila
59a68f0a51 Merge branch 'master' of github.com:LaurentGomila/SFML 2012-11-17 22:41:31 +01:00
Christian Forfang
f9b3e513d2 Don't create std::string on glCheckError unless necessary. 2012-11-17 20:46:48 +01:00
Laurent Gomila
6ce6014dd8 Renamed RenderTarget::convertCoords to mapPixelToCoords, and added its inverse mapCoordsToPixel 2012-11-10 10:30:01 +01:00
Laurent Gomila
044eb85872 Fixed Xlib potential errors 2012-11-01 22:23:00 +01:00
Laurent Gomila
c02e375399 Renamed Ftp::ListingDirectory::getFilenames() to getListing() 2012-10-26 17:09:43 +02:00
Laurent Gomila
49f37ee8b3 Fixed the sf::Font texture corruption bug for big character sizes 2012-10-26 16:49:46 +02:00
Laurent Gomila
109d914bcb Changed SetWindowText to SetWindowTextA in the Win32 implementation (fixes a compiler error when SFML was compiled in Unicode mode) 2012-10-23 10:04:01 +02:00
Laurent Gomila
121cfeb6a3 Removed Shader::unbind (was not used internally, less consistent with sf::Texture and could be confusing for users) 2012-10-20 23:38:39 +02:00
Laurent Gomila
4c04a0ce8f Fixed compile error with std::abs in Sprite.cpp 2012-10-06 18:30:58 +02:00
Laurent Gomila
226be57589 Fixed compile error with Clang/C++11 2012-10-01 21:05:37 +02:00
Laurent Gomila
6e81dabeda Fixed cracks with ogg music files (fixes #271) 2012-09-27 22:21:29 +02:00
Laurent Gomila
79df4146f0 Removed useless sf:: 2012-09-27 08:01:54 +02:00
Laurent Gomila
1bb206a380 Fixed the local bounds of sf::Text not updated when assigned an empty string 2012-09-26 23:08:42 +02:00
Laurent Gomila
57f81d4051 Disabled an optimization in sf::Shape that could break rendering 2012-09-21 22:06:27 +02:00
Laurent Gomila
da64dbe89f "Fixed" warning and crash caused by XCreateIC on Linux 2012-09-21 14:13:01 +02:00
Laurent Gomila
f5bca33eaa Fixed X11 error caused by the previous commit 2012-09-19 23:12:45 +02:00
Laurent Gomila
b75e340dc0 All windows and contexts now use the same X display (Linux) 2012-09-18 22:45:29 +02:00
Laurent Gomila
04620b9f2f sf::Mouse::isButtonPressed nows uses logical buttons 2012-08-27 10:33:36 +02:00
Laurent Gomila
18f1b6263a Joystick check on Linux is now a lot faster (globally improves the performances of pollEvent) 2012-08-26 14:57:43 +02:00
Laurent Gomila
d716b3657c Minor improvement in VertexArray::getBounds 2012-08-24 16:20:27 +02:00
Laurent Gomila
692240f60d sf::Sprite::setTexture(..., false) resets the texture rect only if it hasn't been set before 2012-08-24 16:19:43 +02:00
Laurent Gomila
abd842510e Fixed divide by zero when calling getPlayingOffset on an uninitialized sound stream 2012-08-13 23:11:27 +02:00
Laurent Gomila
1b1bc4c067 sf::Text no longer forces the BlendAlpha blending mode 2012-08-10 15:03:28 +02:00
Laurent Gomila
2b3d9bdd91 Fixed GL_MATRIX_MODE incorrectly restored after calling popGLStates 2012-08-08 20:44:52 +02:00
Laurent Gomila
e4ea6865cd Removed Arial.hpp from CMakeLists.txt 2012-08-04 11:24:43 +02:00
Laurent Gomila
a0c1f5f50f Removed the built-in default font 2012-08-04 00:08:14 +02:00
binary1248
7f1217bfd1 Use glDeleteRenderbuffersEXT to delete m_depthBuffer 2012-07-31 03:19:50 +03:00
Marco Antognini
68494d0dbb Fixed sf::Keyboard on Mac OS X 2012-07-16 16:27:27 +02:00
Laurent Gomila
3180f83160 Changed Transformable::setRotation so that the angle is always in [0 .. 360] 2012-07-15 14:56:23 +02:00
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