Commit Graph

2914 Commits

Author SHA1 Message Date
LaurentGom
a6b9dbfd39 Upgraded external libraries (libpng 1.4.1, zlib 1.2.4, openal-soft 1.12.854) on Windows
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1496 4e206d99-4929-0410-ac5d-dfc041789085
2010-04-07 07:57:32 +00:00
LaurentGom
14d0b8a483 Fixed a possible bug in the calculation of sf::SoundStream playing offset
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1495 4e206d99-4929-0410-ac5d-dfc041789085
2010-04-06 20:48:37 +00:00
LaurentGom
007db7d39a Changed the .ogg and .wav files used by the sound sample (7.5 Mo -> 300 Ko)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1494 4e206d99-4929-0410-ac5d-dfc041789085
2010-04-06 14:44:37 +00:00
laurentgom
47d4fd0452 Applied the last modification to the sfml-graphics Linux makefile
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1492 4e206d99-4929-0410-ac5d-dfc041789085
2010-04-05 19:13:11 +00:00
LaurentGom
dbd767376b The external libs used by sfml-graphics are now linked instead of being integrated to the source code
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1491 4e206d99-4929-0410-ac5d-dfc041789085
2010-04-05 19:04:49 +00:00
LaurentGom
41f09975ab Packets handling in UdpSocket is now more robust
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1490 4e206d99-4929-0410-ac5d-dfc041789085
2010-04-05 14:06:37 +00:00
LaurentGom
507f467390 Added TcpListener::GetLocalPort()
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1480 4e206d99-4929-0410-ac5d-dfc041789085
2010-03-29 17:02:10 +00:00
LaurentGom
87f712e0c6 Added code in sf::Font to handle bitmap glyphs rendered in monochrome mode
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1479 4e206d99-4929-0410-ac5d-dfc041789085
2010-03-26 19:45:06 +00:00
LaurentGom
09a0d11668 Removed the useless makefiles
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1478 4e206d99-4929-0410-ac5d-dfc041789085
2010-03-23 16:13:07 +00:00
laurentgom
ca5489a5d6 Modified the Linux build system so that makefiles are now outside the source tree
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1477 4e206d99-4929-0410-ac5d-dfc041789085
2010-03-23 15:55:07 +00:00
laurentgom
fd8fa4e2f8 Fixed errors caused by the last commit in the network module, and fixed minor warnings in the graphics module, on Linux
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1476 4e206d99-4929-0410-ac5d-dfc041789085
2010-03-23 11:15:39 +00:00
LaurentGom
9280771665 FS#86 - Rewrite the sockets API
Updated the API documentation of the whole network module
The system headers are no longer included by the sfml-network public headers

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1475 4e206d99-4929-0410-ac5d-dfc041789085
2010-03-23 09:39:43 +00:00
LaurentGom
a09ee0f9e3 Fixed bug in JPEG saving (due to the last modification)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1474 4e206d99-4929-0410-ac5d-dfc041789085
2010-03-19 18:51:45 +00:00
LaurentGom
6b23d15a14 Changed the internal storage of pixels in sf::Image (vector<Color> --> vector<Uint8>)
Changed the Glyph structure to allow using sprites to display glyphs

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1473 4e206d99-4929-0410-ac5d-dfc041789085
2010-03-19 16:06:18 +00:00
trass3r
dcdf39bf74 * D-ified property functions and used SFMLClass in:
- Window
 - RenderTargets
 - Image
 - Drawable
* fixed Image.copy -> copyImage

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1461 4e206d99-4929-0410-ac5d-dfc041789085
2010-03-16 02:04:52 +00:00
trass3r
337448d3cb 2nd part
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1460 4e206d99-4929-0410-ac5d-dfc041789085
2010-03-15 23:52:54 +00:00
trass3r
cfedeee112 * introduced SFMLClass type for all C pointers
* getNativePointer -> nativePointer property

- IpAddress.isValid
+ IpAddress.None

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1459 4e206d99-4929-0410-ac5d-dfc041789085
2010-03-15 23:35:53 +00:00
trass3r
6b444d338e next step to D-ify the property functions
this time all Drawables

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1458 4e206d99-4929-0410-ac5d-dfc041789085
2010-03-13 22:44:26 +00:00
LaurentGom
ca7c1d1690 Applied the last IpAddress modifications to CSFML
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1457 4e206d99-4929-0410-ac5d-dfc041789085
2010-03-13 10:20:13 +00:00
LaurentGom
691eea4c69 Removed IpAddress::IsValid(), added IpAddress::None
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1456 4e206d99-4929-0410-ac5d-dfc041789085
2010-03-13 09:50:24 +00:00
trass3r
81fd4c5d1d sync with SFML: VideoMode.GetFullscreenModes
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1455 4e206d99-4929-0410-ac5d-dfc041789085
2010-03-13 02:42:45 +00:00
trass3r
1c72b919e7 first commit in a series to change property functions into D style
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1454 4e206d99-4929-0410-ac5d-dfc041789085
2010-03-13 01:56:39 +00:00
LaurentGom
809b09292f Merged VideoMode::GetMode and VideoMode::GetModesCount into a single new function VideoMode::GetFullscreenModes
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1453 4e206d99-4929-0410-ac5d-dfc041789085
2010-03-12 14:07:28 +00:00
LaurentGom
e924c9cf39 Improved the API documentation of sf::IpAddress
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1452 4e206d99-4929-0410-ac5d-dfc041789085
2010-03-12 09:35:17 +00:00
LaurentGom
b7eb09cb79 Renamed IPAddress.cpp to IpAddress.cpp in CSFML
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1451 4e206d99-4929-0410-ac5d-dfc041789085
2010-03-11 15:03:47 +00:00
LaurentGom
38e590ea52 Renamed IPAddress.h to IpAddress.h in CSFML
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1450 4e206d99-4929-0410-ac5d-dfc041789085
2010-03-11 15:03:38 +00:00
LaurentGom
9646bf54d8 Renamed IPAddress.cpp to IpAddress.cpp
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1449 4e206d99-4929-0410-ac5d-dfc041789085
2010-03-11 14:37:51 +00:00
LaurentGom
6e5b213bfb Renamed IPAddress.hpp to IpAddress.hpp
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1448 4e206d99-4929-0410-ac5d-dfc041789085
2010-03-11 14:31:39 +00:00
LaurentGom
72b49a3592 Made sf::IPAddress comparison operators non-member
Minor fix in sf::Clock API documentation

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1447 4e206d99-4929-0410-ac5d-dfc041789085
2010-03-11 14:27:57 +00:00
trass3r
64fb9a139a + toString for Color
* IDrawable.render now correctly takes an IRenderTarget

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1446 4e206d99-4929-0410-ac5d-dfc041789085
2010-03-09 18:58:41 +00:00
LaurentGom
ef216acc5f Minor changes to the documentation and some parameters names
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1444 4e206d99-4929-0410-ac5d-dfc041789085
2010-03-08 17:50:16 +00:00
LaurentGom
4e93cc92fa Synchronized with trunk
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1442 4e206d99-4929-0410-ac5d-dfc041789085
2010-03-05 11:05:30 +00:00
LaurentGom
b3ca862273 Fixed possible leak in sf::Thread implementation (thread handles could be lost if the same sf::Thread was launched again before finishing)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1441 4e206d99-4929-0410-ac5d-dfc041789085
2010-03-05 10:35:13 +00:00
trass3r
4a19225764 * simply replacing spaces with tabs in the example files
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1440 4e206d99-4929-0410-ac5d-dfc041789085
2010-03-04 02:23:27 +00:00
trass3r
8390807b08 + added OSX support with a patch from egladil
* fixed pong example to use stdlib instead of csfml-system

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1439 4e206d99-4929-0410-ac5d-dfc041789085
2010-03-04 02:21:18 +00:00
trass3r
d60a7be49a - removed csfml-system dependency!
use phobos functionality for that

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1438 4e206d99-4929-0410-ac5d-dfc041789085
2010-03-03 22:04:19 +00:00
trass3r
b4189fd660 sync with SFML
+ Image.updatePixels

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1437 4e206d99-4929-0410-ac5d-dfc041789085
2010-03-03 15:29:16 +00:00
LaurentGom
f9680f1818 Added Image::UpdatePixels to CSFML and SFML.Net
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1436 4e206d99-4929-0410-ac5d-dfc041789085
2010-03-03 11:41:23 +00:00
LaurentGom
dec1820537 Fixed issues with the fullscreen mode on Windows
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1435 4e206d99-4929-0410-ac5d-dfc041789085
2010-03-03 07:59:28 +00:00
trass3r
e394b6f35c * fixed DSFML Sound3D example
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1434 4e206d99-4929-0410-ac5d-dfc041789085
2010-03-02 13:45:46 +00:00
LaurentGom
786408c5bc Sockets can now handle properly the situation where the packet size is received in multiple chunks
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1433 4e206d99-4929-0410-ac5d-dfc041789085
2010-03-02 12:00:12 +00:00
LaurentGom
914db8bce0 Upgraded to the latest version of OpenAL Soft (1.11.753) on Windows
Fixed linker settings for Code::Blocks projects so that libgcc_s_dw2-1.dll is not required when compiling with gcc 4

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1432 4e206d99-4929-0410-ac5d-dfc041789085
2010-03-02 08:38:45 +00:00
LaurentGom
4a840d4f48 Fixed extra empty line at end of Http::Response body
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1431 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-28 22:51:50 +00:00
ceylo
0d0889fc2b Updated script to build 64 bits binaries.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1430 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-28 16:16:06 +00:00
LaurentGom
bb414773d1 Added Insert and Find functions to sf::String
Added implicit constructors to sf::String for converting from single characters (char, wchar_t and Uint32)

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1429 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-26 09:36:38 +00:00
LaurentGom
ba66558cec Forced alpha component in color buffer for 32 bits mode, on Windows
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1428 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-26 07:49:12 +00:00
LaurentGom
6f6481ef38 Fixed images and shaders sometimes not updated when they are modified while they are used
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1427 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-25 19:05:57 +00:00
LaurentGom
76a76a784f Minor modifications to shader and image activation
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1426 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-25 12:37:51 +00:00
LaurentGom
f30c2871fc FS#157 - Disable implicit conversion from sf::Image to sf::Sprite
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1425 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-24 17:23:32 +00:00
LaurentGom
39afb72c4e Fixed crashes in Ftp::Upload and Ftp::Download with empty files
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1424 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-24 16:17:17 +00:00