Commit graph

599 commits

Author SHA1 Message Date
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
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