Commit Graph

2358 Commits

Author SHA1 Message Date
ceylo
dc58c4c4c5 Updated project for building System, Audio and Network targets. Window and Graphics packages are not usable.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1266 4e206d99-4929-0410-ac5d-dfc041789085
2009-11-06 16:49:21 +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
683f82b118 Forgot to remove a CSFML debug project in last commit
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1259 4e206d99-4929-0410-ac5d-dfc041789085
2009-11-03 09:37:28 +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
63e07cec84 Fixed a typo in CSFML
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1257 4e206d99-4929-0410-ac5d-dfc041789085
2009-11-01 19:39:56 +00:00
LaurentGom
87b2d5a0d0 Added Close() function to TCP and UDP sockets in CSFML
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1256 4e206d99-4929-0410-ac5d-dfc041789085
2009-10-31 19:23:19 +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
e9c042d060 Added RenderImage::Display() to CSFML and SFML.Net
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1243 4e206d99-4929-0410-ac5d-dfc041789085
2009-10-18 08:03:58 +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
1d3a7e8375 Updated documentation of the Vector2 and Vector3 classes
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1237 4e206d99-4929-0410-ac5d-dfc041789085
2009-10-14 10:45:54 +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
c049196149 Removed RenderWindow.Capture from SFML.Net in the sfml2 branch
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1234 4e206d99-4929-0410-ac5d-dfc041789085
2009-10-12 10:25:42 +00:00
LaurentGom
7f4de9033c Updated CSFML and SFML.Net in the sfml2 branch
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1233 4e206d99-4929-0410-ac5d-dfc041789085
2009-10-12 10:24: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
eee9eee226 Fixed Window sample
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1230 4e206d99-4929-0410-ac5d-dfc041789085
2009-10-04 13:00:59 +00:00
LaurentGom
58db9f25b1 Added detection of FreeBSD in CSFML's config.h
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1229 4e206d99-4929-0410-ac5d-dfc041789085
2009-10-03 18:36:19 +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
1852614e16 Made all Vector2 and Vector3 functions inline
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1220 4e206d99-4929-0410-ac5d-dfc041789085
2009-09-24 07:40:49 +00:00
ceylo
e3fe614f01 Fixed wrong link issue (mixing debug and release frameworks).
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1219 4e206d99-4929-0410-ac5d-dfc041789085
2009-09-20 19:53:07 +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