Commit Graph

1865 Commits

Author SHA1 Message Date
LaurentGom
677e0343e2 Updated the shader sample (fixed "blur", added "edge")
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1273 4e206d99-4929-0410-ac5d-dfc041789085
2009-11-11 11:53:20 +00:00
laurentgom
7aabc3c3c1 Fixed the Shader sample on Linux
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1272 4e206d99-4929-0410-ac5d-dfc041789085
2009-11-11 09:55:11 +00:00
laurentgom
15c81ba493 fixed samples makefile on Linux
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1271 4e206d99-4929-0410-ac5d-dfc041789085
2009-11-11 09:50:27 +00:00
LaurentGom
9c8843e85c Fixed error in the "wave" effect of the shader sample
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1270 4e206d99-4929-0410-ac5d-dfc041789085
2009-11-11 07:45:59 +00:00
ceylo
45458cb82d Added sndfile for Intel 64 bits. Using subdir to prevent ld from linking against OpenAL.framework from the parent directory when compiling for x86_64 (which misses the x86_64 arch, only present in the OS OpenAL framework).
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1269 4e206d99-4929-0410-ac5d-dfc041789085
2009-11-07 15:39:55 +00:00
ceylo
c3f18addd6 Added project for building Intel 64 binaries. Window and Graphics packages not usable.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1268 4e206d99-4929-0410-ac5d-dfc041789085
2009-11-06 17:06:55 +00:00
ceylo
3177b7010d Added Intel 64 bits architecture.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1267 4e206d99-4929-0410-ac5d-dfc041789085
2009-11-06 16:57:21 +00:00
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