Commit Graph

229 Commits

Author SHA1 Message Date
ceylo
42b97d230f Replaced GetAxesCount() with HasAxis().
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1321 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-05 18:10:29 +00:00
LaurentGom
63867b654c Fixed error in last commit
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1319 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-05 16:50:21 +00:00
LaurentGom
8bbf7dfc46 FS#143 - Increase the number of supported joysticks to 4
FS#142 - Fix joystick axes being sometimes ignored


git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1318 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-05 16:48:32 +00:00
laurentgom
da44e3d8e5 Applied the anti-aliasing modifications to the Linux implementation
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1317 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-02 18:37:02 +00:00
LaurentGom
f2a1ba3cda Improved the anti-aliasing level selection algorithm
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1316 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-02 13:42:32 +00:00
LaurentGom
6d717f3c87 Modified sf::RenderTarget so that it handles views by value rather than by reference
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1315 4e206d99-4929-0410-ac5d-dfc041789085
2009-12-31 16:43:24 +00:00
LaurentGom
1f2b441c9a Fixed alpha calculation in Image::Copy with applyAlpha = true
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1312 4e206d99-4929-0410-ac5d-dfc041789085
2009-12-27 23:23:45 +00:00
LaurentGom
7947044a83 Fixed character weight too high for the sf::Text::Bold style
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1311 4e206d99-4929-0410-ac5d-dfc041789085
2009-12-19 23:17:24 +00:00
LaurentGom
c72312f9a4 Improved the quality of sf::Text::Bold and made it more efficient
Made sf::Text::Underlined style more robust

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1310 4e206d99-4929-0410-ac5d-dfc041789085
2009-12-14 21:26:30 +00:00
LaurentGom
3a34f81561 Complete rewrite of sf::Font to make it more flexible (no more fixed charset and size)
FS#125 - Fix tab character not working in sf::String

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1309 4e206d99-4929-0410-ac5d-dfc041789085
2009-12-13 15:49:30 +00:00
LaurentGom
fb7470cbc3 FS#133 - Add a function to make fast updates of an image's pixels from an external source
Removed sf::Image constructors that called CreateXxx or LoadXxx (there was no way to check errors)


git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1307 4e206d99-4929-0410-ac5d-dfc041789085
2009-12-05 11:35:27 +00:00
LaurentGom
aff5c1a47c Renamed Image::GetValidTextureSize to Image::GetValidSize
Added Image::GetMaximumSize

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1306 4e206d99-4929-0410-ac5d-dfc041789085
2009-12-04 13:55:16 +00:00
LaurentGom
cacd150569 Fixed typo
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1305 4e206d99-4929-0410-ac5d-dfc041789085
2009-12-04 07:10:37 +00:00
LaurentGom
053042bf5a Fixed wglChoosePixelFormatARB crashing when not supported
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1304 4e206d99-4929-0410-ac5d-dfc041789085
2009-12-04 06:35:03 +00:00
LaurentGom
4051c1d99d Fixed a bug in GeometryRendererVBO which caused some quads to be ignored
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1303 4e206d99-4929-0410-ac5d-dfc041789085
2009-12-03 19:36:49 +00:00
LaurentGom
a8a3b423bf Fixed endless loop when creating an OpenGL 3.x context (bug introduced by the last modification)
Updated the API documentation of the graphics module

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1302 4e206d99-4929-0410-ac5d-dfc041789085
2009-12-03 16:47:56 +00:00
LaurentGom
08f819e49e WGL implementations not supporting wglChoosePixelFormatARB (for antialiasing) no longer crash
When an OpenGL 3.x context cannot be created, the minor version is decreased until it reaches 0 (instead of giving up and switching to a 2.x context immediately)


git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1300 4e206d99-4929-0410-ac5d-dfc041789085
2009-12-03 08:49:45 +00:00
LaurentGom
4418469d97 Added SetSmooth / IsSmooth to sf::RenderImage
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1299 4e206d99-4929-0410-ac5d-dfc041789085
2009-12-03 08:29:35 +00:00
LaurentGom
10296333be Fixed minor warnings after the last commit
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1298 4e206d99-4929-0410-ac5d-dfc041789085
2009-12-02 20:50:21 +00:00
LaurentGom
6bd654b854 Fixed wrong type for OpenGL indices (std::size_t could be 64 bits on 64 bits platforms -- now using sf::Uint32)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1297 4e206d99-4929-0410-ac5d-dfc041789085
2009-12-02 20:45:53 +00:00
LaurentGom
cf9ffb0d27 Fixed a const issue in SelectorBase::GetSocketReady on Mac OS X
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1296 4e206d99-4929-0410-ac5d-dfc041789085
2009-12-02 18:41:22 +00:00
LaurentGom
35cfe7a8e4 Removed the workaround for shaders parameters (too slow!)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1295 4e206d99-4929-0410-ac5d-dfc041789085
2009-11-29 10:10:10 +00:00
LaurentGom
642c4fecfa Fixed compile warnings in sfml-graphics
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1293 4e206d99-4929-0410-ac5d-dfc041789085
2009-11-27 08:21:41 +00:00
LaurentGom
092720c0c2 Fixed wrong #include in WindowImplX11.cpp on Linux
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1292 4e206d99-4929-0410-ac5d-dfc041789085
2009-11-27 07:43:25 +00:00
LaurentGom
49fbdb56df Fixed endless recursion in audio initialization
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1291 4e206d99-4929-0410-ac5d-dfc041789085
2009-11-26 22:32:38 +00:00
LaurentGom
d979ca254e Fixed linker errors in sfml-network and csfml-network
Made every read-only pointer "const" in CSFML

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1290 4e206d99-4929-0410-ac5d-dfc041789085
2009-11-26 20:09:57 +00:00
LaurentGom
29ecc552c2 Fixed crashes at startup when using the audio module
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1289 4e206d99-4929-0410-ac5d-dfc041789085
2009-11-26 09:03:00 +00:00
LaurentGom
ae57e56a98 FS#70 - Add support for unicode strings in sf::Packet
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1287 4e206d99-4929-0410-ac5d-dfc041789085
2009-11-26 08:26:01 +00:00
LaurentGom
78247bd386 FS#90 - Improve Unicode string classes
Added the sf::String class to replace (and enhance) sf::Unicode::Text
FS#138 - Rename sf::String to sf::Text


git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1286 4e206d99-4929-0410-ac5d-dfc041789085
2009-11-26 08:07:38 +00:00
LaurentGom
9f063921c9 Fixed RenderWindow being automatically deactivated sometimes
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1285 4e206d99-4929-0410-ac5d-dfc041789085
2009-11-26 07:33:03 +00:00
LaurentGom
8bc4460d15 Added an automatic Flush() when drawing with a shader (temporary workaround to make shaders parameters work properly)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1283 4e206d99-4929-0410-ac5d-dfc041789085
2009-11-22 22:15:56 +00:00
laurentgom
b735c7f3d1 Fixed a memory leak in sf::Window on Linux
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1282 4e206d99-4929-0410-ac5d-dfc041789085
2009-11-22 10:08:11 +00:00
LaurentGom
a32d30c1be Fixed a memory leak in sf::Window implementation on Windows
Synchronized sfml2 with trunk

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1280 4e206d99-4929-0410-ac5d-dfc041789085
2009-11-21 21:39:31 +00:00
LaurentGom
17cf6873aa Fixed a memory leak in sf::Window implementation on Windows
Synchronized sfml2 with trunk

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1280 4e206d99-4929-0410-ac5d-dfc041789085
2009-11-21 21:39:31 +00:00
laurentgom
877df21756 Removed STATIC and DEBUGBUILD options from makefiles, debug symbols are now generated by default and installed to a separate folder
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1279 4e206d99-4929-0410-ac5d-dfc041789085
2009-11-19 23:31:33 +00:00
LaurentGom
548991d665 Fixed error in WGL context creation with anti-aliasing level too high
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1278 4e206d99-4929-0410-ac5d-dfc041789085
2009-11-18 21:36:09 +00:00
LaurentGom
3fb9888b49 Fixed error in WGL context creation with anti-aliasing level too high
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1277 4e206d99-4929-0410-ac5d-dfc041789085
2009-11-18 21:33:23 +00:00
LaurentGom
0e65f72b61 Fixed wrong blending mode with glBlendFuncSeparate
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1265 4e206d99-4929-0410-ac5d-dfc041789085
2009-11-06 13:22:39 +00:00
LaurentGom
f593ea29e7 Fixed alpha-blended drawables getting incorrect alpha values when rendered through a RenderImage
Replaced internal calls to glewIsSupported with the corresponding constants (faster checks)

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1264 4e206d99-4929-0410-ac5d-dfc041789085
2009-11-06 10:38:07 +00:00
LaurentGom
5d778b2bc4 Improved the API documentation of sf::View
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1263 4e206d99-4929-0410-ac5d-dfc041789085
2009-11-04 16:04:18 +00:00
LaurentGom
0f8b8d6c0f Forgot to remove temporary code in ContextGLX.cpp :)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1262 4e206d99-4929-0410-ac5d-dfc041789085
2009-11-04 08:04:43 +00:00
LaurentGom
8e4c61dd19 Added the context version to ContextSettings
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1261 4e206d99-4929-0410-ac5d-dfc041789085
2009-11-03 15:13:11 +00:00
LaurentGom
9db63151e1 Updated API documentation for sf::Shader
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1260 4e206d99-4929-0410-ac5d-dfc041789085
2009-11-03 14:09:58 +00:00
LaurentGom
d7bd00afc0 FS#25 - Change sf::PostFx to a more general purpose pixel shader class (sf::Shader)
Updated the PostFx sample, renamed to Shader
Renamed all the static X::CanUseX() functions to X::IsAvailable() to make the API more consistent
Moved .def files from /build/VC200X to /src in CSFML
Minors fixes in CSFML

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1258 4e206d99-4929-0410-ac5d-dfc041789085
2009-11-03 09:04:40 +00:00
LaurentGom
472627f65f Synchronized with trunk
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1255 4e206d99-4929-0410-ac5d-dfc041789085
2009-10-31 18:49:31 +00:00
LaurentGom
78850be8df FS#134 - Fix Event::TextEntered ignoring the key repeat state
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1254 4e206d99-4929-0410-ac5d-dfc041789085
2009-10-31 16:24:10 +00:00
LaurentGom
7d5f354850 Improved the API documentation in the audio module
Added sf::SoundSource as a base class of both sf::Sound and sf::SoundStream

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1253 4e206d99-4929-0410-ac5d-dfc041789085
2009-10-30 16:14:26 +00:00
LaurentGom
3c0d42fdd0 Improved the API documentation in the audio module
Removed the bufferSize parameter from sf::Music constructor

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1252 4e206d99-4929-0410-ac5d-dfc041789085
2009-10-29 16:05:22 +00:00
LaurentGom
33f54ad6cd Improved the API documentation in the audio module
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1251 4e206d99-4929-0410-ac5d-dfc041789085
2009-10-29 09:32:17 +00:00
laurentgom
6df95868d0 Added mouse position to mouse wheel event on Linux
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1250 4e206d99-4929-0410-ac5d-dfc041789085
2009-10-27 16:05:00 +00:00
LaurentGom
688a8f15da FS#131 - Add mouse position to the sf::Event::MouseWheelMoved event
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1249 4e206d99-4929-0410-ac5d-dfc041789085
2009-10-27 15:56:16 +00:00
laurentgom
0d66fa1776 Implemented WaitEvent on Linux
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1248 4e206d99-4929-0410-ac5d-dfc041789085
2009-10-27 12:26:31 +00:00
LaurentGom
a68ff5713b FS#65 - Add a blocking WaitEvent function
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1247 4e206d99-4929-0410-ac5d-dfc041789085
2009-10-27 11:50:11 +00:00
LaurentGom
fd91756a9e Removed a bad error message :)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1246 4e206d99-4929-0410-ac5d-dfc041789085
2009-10-27 10:39:50 +00:00
LaurentGom
17190bd158 Various improvements on OpenGL contexts handling
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1245 4e206d99-4929-0410-ac5d-dfc041789085
2009-10-27 09:20:20 +00:00
LaurentGom
31b72b6385 Fixed sfView_GetRotation missing in CSFML (and thus causing a crash in SFML.Net)
Updated Visual C++ 2005 export files for CSFML

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1244 4e206d99-4929-0410-ac5d-dfc041789085
2009-10-21 07:37:56 +00:00
LaurentGom
531c54bb13 Oops!
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1242 4e206d99-4929-0410-ac5d-dfc041789085
2009-10-17 14:01:42 +00:00
LaurentGom
39a8ba4c52 Updated documentation
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1241 4e206d99-4929-0410-ac5d-dfc041789085
2009-10-17 08:50:13 +00:00
LaurentGom
b2dfcf9d0c Removed the "template for new ports"
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1240 4e206d99-4929-0410-ac5d-dfc041789085
2009-10-15 08:40:14 +00:00
LaurentGom
1f3d7b6d0c Updated documentation
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1239 4e206d99-4929-0410-ac5d-dfc041789085
2009-10-15 08:37:32 +00:00
LaurentGom
49ebb40c4d Disabled OpenGL 3 contexts on Ljnux -- again (the problem is still there)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1238 4e206d99-4929-0410-ac5d-dfc041789085
2009-10-14 18:27:21 +00:00
LaurentGom
b201b18f3d Added experimental code for stb_truetype (FreeType is still the default backend for loading fonts -- uncomment "#define SFML_USE_STBTT" in FontLoader.cpp to switch to stb_truetype)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1236 4e206d99-4929-0410-ac5d-dfc041789085
2009-10-14 09:30:09 +00:00
laurentgom
d8448a4938 Experimenting a fix for the GLX issue with ATI cards, put OpenGL 3 contexts handling back
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1235 4e206d99-4929-0410-ac5d-dfc041789085
2009-10-13 19:03:49 +00:00
LaurentGom
fc22927874 Synchronized with trunk
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1232 4e206d99-4929-0410-ac5d-dfc041789085
2009-10-08 07:15:26 +00:00
LaurentGom
49b97bb09a Fixed "lib" directory not created before building libraries, in SFML and CSFML Linux makefiles
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1231 4e206d99-4929-0410-ac5d-dfc041789085
2009-10-08 07:08:34 +00:00
LaurentGom
9483ecdfef Fixed copy constructor in sf::Image (didn't properly copy the pixels when the source image was a RenderImage)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1228 4e206d99-4929-0410-ac5d-dfc041789085
2009-10-03 14:48:54 +00:00
LaurentGom
668f8d3db8 Removed stupid debug stuff
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1227 4e206d99-4929-0410-ac5d-dfc041789085
2009-10-02 13:23:51 +00:00
LaurentGom
b4edcffc43 Fixed broken RenderImage
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1226 4e206d99-4929-0410-ac5d-dfc041789085
2009-10-02 09:49:28 +00:00
LaurentGom
fc4867c586 Fixed bad sf::String quality
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1225 4e206d99-4929-0410-ac5d-dfc041789085
2009-10-01 07:03:24 +00:00
LaurentGom
b7f7ac7f1a Changed the default install directory to /usr/local in Linux makefiles
Fixed absolute symbolic links to relative ones in Linux makefiles

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1224 4e206d99-4929-0410-ac5d-dfc041789085
2009-09-28 10:07:00 +00:00
laurentgom
282dfe6b6f Fixed broken rendering
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1223 4e206d99-4929-0410-ac5d-dfc041789085
2009-09-24 13:46:01 +00:00
LaurentGom
a5e20f23ca Synchronized with trunk
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1222 4e206d99-4929-0410-ac5d-dfc041789085
2009-09-24 08:33:34 +00:00
LaurentGom
565172fc75 Added automatic batching to improve performances
Moved the ConvertCoords function from RenderWindow to RenderTarget

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1221 4e206d99-4929-0410-ac5d-dfc041789085
2009-09-24 07:50:08 +00:00
LaurentGom
ccddb8fffe Added missing -lX11 in sfml-graphics makefile for Linux
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1218 4e206d99-4929-0410-ac5d-dfc041789085
2009-09-15 14:42:05 +00:00
LaurentGom
43e745edb8 Added missing -lGL in sfml-graphics makefile for Linux
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1217 4e206d99-4929-0410-ac5d-dfc041789085
2009-09-15 14:19:14 +00:00
ceylo
c140de772d Added "switch back to desktop mode" feature when switching to another application while the SFML one is in fullscreen mode. Using more demanding screen choice : request the use of the primary screen when several monitors are available.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1216 4e206d99-4929-0410-ac5d-dfc041789085
2009-09-12 12:13:28 +00:00
laurentgom
3be521a912 changed default install dir to /usr/local on Linux, fixed symbolic links to be relative, updated glxext.h for OpenGL3
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1214 4e206d99-4929-0410-ac5d-dfc041789085
2009-09-07 10:14:35 +00:00
ceylo
f446f3d973 Moved Initializer.cpp into Unix directory
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1212 4e206d99-4929-0410-ac5d-dfc041789085
2009-09-05 13:35:04 +00:00
ceylo
51c3d9784e Moved Initializer.cpp into Unix directory
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1211 4e206d99-4929-0410-ac5d-dfc041789085
2009-09-05 13:34:27 +00:00
LaurentGom
a6e353f11b Activated OpenGL 3 contexts on Linux
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1210 4e206d99-4929-0410-ac5d-dfc041789085
2009-08-28 20:17:10 +00:00
LaurentGom
0093952872 FS#127 - Make image loading thread-safe
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1205 4e206d99-4929-0410-ac5d-dfc041789085
2009-08-18 07:31:15 +00:00
LaurentGom
fcdc5cdf82 Improved documentation of more classes in the system module
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1204 4e206d99-4929-0410-ac5d-dfc041789085
2009-08-17 10:55:11 +00:00
LaurentGom
351a43f696 Updated the documentation for some sfml-system classes
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1203 4e206d99-4929-0410-ac5d-dfc041789085
2009-08-14 20:00:42 +00:00
LaurentGom
ac0881f6a0 FS#126 - Add an optional parameter to Sprite::SetImage for automatic adjustment of the subrect
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1202 4e206d99-4929-0410-ac5d-dfc041789085
2009-08-14 09:27:00 +00:00
LaurentGom
7a8cc0c76a Synchronized with trunk
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1201 4e206d99-4929-0410-ac5d-dfc041789085
2009-08-14 08:02:57 +00:00
laurentgom
357e89696b Added automatic support for OpenGL 3.0 contexts on Linux
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1197 4e206d99-4929-0410-ac5d-dfc041789085
2009-07-27 16:12:49 +00:00
LaurentGom
b5a17a832f Unconnected joysticks are no longer updated (on Windows)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1195 4e206d99-4929-0410-ac5d-dfc041789085
2009-07-25 10:02:07 +00:00
laurentgom
ec385c64ca Removed the DisplayRef class in the Linux implementation
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1193 4e206d99-4929-0410-ac5d-dfc041789085
2009-07-24 14:13:50 +00:00
laurentgom
800638ed82 Each window now has its own X display, which solves potential multithreading issues (on Linux)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1192 4e206d99-4929-0410-ac5d-dfc041789085
2009-07-24 14:11:50 +00:00
laurentgom
d3125eecd7 Better handling of X display in OpenGL contexts, which solves some multithreading issues (on Linux)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1191 4e206d99-4929-0410-ac5d-dfc041789085
2009-07-24 13:41:28 +00:00
laurentgom
42a3027d7c The internal code of VideoMode now uses its own connection to the display instead of a global one (on Linux)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1190 4e206d99-4929-0410-ac5d-dfc041789085
2009-07-24 12:56:04 +00:00
ceylo
e40eb2e64d Fixed issue with shared OpenGL context not being activated.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1183 4e206d99-4929-0410-ac5d-dfc041789085
2009-07-21 16:56:52 +00:00
LaurentGom
07c0318493 Fixed compile errors
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1178 4e206d99-4929-0410-ac5d-dfc041789085
2009-07-17 06:43:27 +00:00
LaurentGom
ac773e8161 FS#109 - Fix sf::Listener's target being actually a relative direction
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1176 4e206d99-4929-0410-ac5d-dfc041789085
2009-07-12 19:33:56 +00:00
LaurentGom
8e90f147e4 FS#113 - Copy Attenuation and MinDistance members in sf::Sound's copy constructor
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1175 4e206d99-4929-0410-ac5d-dfc041789085
2009-07-12 19:14:00 +00:00
LaurentGom
374af05d5f Replaces glColor4f with glColor4ub in internal code
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1174 4e206d99-4929-0410-ac5d-dfc041789085
2009-07-12 13:28:44 +00:00
laurentgom
ed0cf87e28 Fixed TCP connect with timeout returning success when the connection failed
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1173 4e206d99-4929-0410-ac5d-dfc041789085
2009-07-12 12:12:48 +00:00
LaurentGom
0f7cb43902 Got rid of glBlendFuncSeparate which caused problems on old hardware -- need to find a proper fix for incorrect alpha values when rendering to a RenderImage
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1172 4e206d99-4929-0410-ac5d-dfc041789085
2009-07-12 10:27:28 +00:00
laurentgom
5869b916ef P-Buffer implementation fixed and validated on Linux
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1169 4e206d99-4929-0410-ac5d-dfc041789085
2009-07-12 09:37:35 +00:00
laurentgom
1ce18ed1b9 Fixed compile errors on Linux
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1168 4e206d99-4929-0410-ac5d-dfc041789085
2009-07-12 08:07:30 +00:00