Commit Graph

2903 Commits

Author SHA1 Message Date
LaurentGom
0444781a4b Improved tags for doxygen documentation (added relations between free functions and classes, grouped classes into modules)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1535 4e206d99-4929-0410-ac5d-dfc041789085
2010-07-22 21:45:58 +00:00
LaurentGom
37ea224621 Fixed a bug in Image::GetTexCoords (introduced in the few last revisions)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1534 4e206d99-4929-0410-ac5d-dfc041789085
2010-07-19 21:26:29 +00:00
LaurentGom
c941db07a0 Removed temporary debug stuff from previous fix :)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1533 4e206d99-4929-0410-ac5d-dfc041789085
2010-07-18 20:43:07 +00:00
LaurentGom
dcbc7f29a4 Fixed a bug where the characters size was sometimes wrong in sf::Text
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1532 4e206d99-4929-0410-ac5d-dfc041789085
2010-07-18 15:59:59 +00:00
svenstaro
1f906c0643 PySFML 1.6 and 2.0: Fixed SetSmooth and implemented IsSmooth
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1531 4e206d99-4929-0410-ac5d-dfc041789085
2010-07-18 15:15:00 +00:00
LaurentGom
ef8a2700fe FS#162 - Add a function to retrieve the system specific handle of a window
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1530 4e206d99-4929-0410-ac5d-dfc041789085
2010-07-15 21:13:55 +00:00
LaurentGom
028c4d5a96 Fixed wrong texture coordinates when displaying a part of a render-image with a sprite
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1529 4e206d99-4929-0410-ac5d-dfc041789085
2010-07-15 20:03:53 +00:00
LaurentGom
c87c0d7d25 FS#161 - Added a Image(uint, uint, byte[]) constructor in the Image class (in SFML.Net)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1528 4e206d99-4929-0410-ac5d-dfc041789085
2010-07-01 18:23:14 +00:00
LaurentGom
0a437d6e48 Fixed mouse position in sf::Input not properly updated after a call to Window::SetCursorPosition
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1527 4e206d99-4929-0410-ac5d-dfc041789085
2010-06-25 10:35:55 +00:00
LaurentGom
7ff4cb5ca4 Some minor corrections in API documentation and parameters names
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1526 4e206d99-4929-0410-ac5d-dfc041789085
2010-06-11 22:08:49 +00:00
LaurentGom
280ce139d6 Some minor corrections in API documentation and parameters names
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1525 4e206d99-4929-0410-ac5d-dfc041789085
2010-06-11 21:52:51 +00:00
LaurentGom
1ee9965059 Finished to write the API documentation of the graphics classes
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1524 4e206d99-4929-0410-ac5d-dfc041789085
2010-06-11 21:38:56 +00:00
LaurentGom
1d4bc3d200 Added StructLayout(LayoutKind.Sequential) to the struct contained in SFML.Event, in SFML.Net
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1523 4e206d99-4929-0410-ac5d-dfc041789085
2010-05-26 17:05:37 +00:00
LaurentGom
52f8da466c Fixed negative mouse coordinates being returned as unsigned integers on Windows
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1522 4e206d99-4929-0410-ac5d-dfc041789085
2010-05-25 17:44:12 +00:00
LaurentGom
d48c7ff18c Fixed a bug with Image.Copy in SFML.Net (was calling the wrong CSFML function)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1521 4e206d99-4929-0410-ac5d-dfc041789085
2010-05-21 19:13:50 +00:00
LaurentGom
aaf080368b Fixed header <iterator> missing in the voip sample
Minor additions to the API documentation of the drawable classes

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1520 4e206d99-4929-0410-ac5d-dfc041789085
2010-05-13 11:00:29 +00:00
LaurentGom
aade008582 Minor fix (changed long to LONG_PTR) in WindowImplWin32::GlobalOnEvent
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1519 4e206d99-4929-0410-ac5d-dfc041789085
2010-05-09 18:06:50 +00:00
LaurentGom
1d9feb6e01 Added (void) to parameterless function prototypes in CSFML
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1518 4e206d99-4929-0410-ac5d-dfc041789085
2010-05-02 15:44:07 +00:00
LaurentGom
a48f71ee8e Added explicitly the calling convention for calls to the CSFML DLLs, to make SFML.Net compatible with .Net 4.0
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1517 4e206d99-4929-0410-ac5d-dfc041789085
2010-04-24 12:52:20 +00:00
trass3r
7a415eea45 + DSFML <-> OpenGL example
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1516 4e206d99-4929-0410-ac5d-dfc041789085
2010-04-20 22:09:28 +00:00
trass3r
b4ff671e6e * Vector2 now uses the new operator overloading
* sync: Rect changes to width/height style

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1515 4e206d99-4929-0410-ac5d-dfc041789085
2010-04-20 20:50:15 +00:00
trass3r
eada18b7e5 partial sync with network module changes
* SocketTCP/UDP -> TcpSocket
* Ftp.makeDirectory -> createDirectory
* some SocketSelector fixes
+ unfinished TcpListener

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1514 4e206d99-4929-0410-ac5d-dfc041789085
2010-04-20 19:51:48 +00:00
trass3r
1464a35711 * using property style in Input
* sync with changes to Glyph class
* renamed network files (sync)

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1513 4e206d99-4929-0410-ac5d-dfc041789085
2010-04-20 17:35:30 +00:00
laurentgom
49983415cd Fixed a minor warning in Font.cpp in CSFML
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1512 4e206d99-4929-0410-ac5d-dfc041789085
2010-04-20 14:38:47 +00:00
LaurentGom
073e7864ef Updated the API documentation of the graphics module
sf::Image now uses GL_CLAMP_TO_EDGE instead of GL_CLAMP (removes black border when the image is smooth)

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1511 4e206d99-4929-0410-ac5d-dfc041789085
2010-04-20 11:10:34 +00:00
LaurentGom
7d68f59a5a Fixed bug in View::Reset
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1510 4e206d99-4929-0410-ac5d-dfc041789085
2010-04-19 10:37:53 +00:00
LaurentGom
fd483a9bf2 Replaced cheeseburger.tff with a free font
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1509 4e206d99-4929-0410-ac5d-dfc041789085
2010-04-10 12:18:09 +00:00
LaurentGom
4c2899876e Fixed bug with texture coordinates in RenderImage after the sf::Rect modification
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1508 4e206d99-4929-0410-ac5d-dfc041789085
2010-04-10 12:05:53 +00:00
LaurentGom
1e6161c750 Updated the Matrix3 class and documentation (internal stuff)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1507 4e206d99-4929-0410-ac5d-dfc041789085
2010-04-10 11:29:44 +00:00
LaurentGom
a00a9c1cc2 Modified the overloads of sf::Shape::Rectangle according to the last modification
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1506 4e206d99-4929-0410-ac5d-dfc041789085
2010-04-10 09:35:15 +00:00
LaurentGom
136af3d1fe Fixed wrong macro in RenderImageImplPBuffer.h
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1505 4e206d99-4929-0410-ac5d-dfc041789085
2010-04-09 17:36:03 +00:00
LaurentGom
fb91bf4c6d Applied the sf::Rect modifications in CSFML and SFML.Net
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1504 4e206d99-4929-0410-ac5d-dfc041789085
2010-04-09 17:05:21 +00:00
LaurentGom
082a928555 *important* sf::Rect now uses Width/Height instead of Right/Bottom
Removed Offset, GetSize and GetCenter functions from sf::Rect
Added a sf::Rect constructor taking two Vector2 parameters
Updated the API documentation of the sf::Rect class

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1503 4e206d99-4929-0410-ac5d-dfc041789085
2010-04-09 13:04:49 +00:00
LaurentGom
ae2ae15e12 FS#159 - Add sf::Window::SetTitle
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1502 4e206d99-4929-0410-ac5d-dfc041789085
2010-04-09 07:35:08 +00:00
LaurentGom
a512479a42 Renamed internal classes related to OpenGL contexts in the window module
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1501 4e206d99-4929-0410-ac5d-dfc041789085
2010-04-09 06:55:29 +00:00
LaurentGom
51ff7296ad Forgot to delete some files in last commit :)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1500 4e206d99-4929-0410-ac5d-dfc041789085
2010-04-08 16:28:05 +00:00
LaurentGom
3a17e35cac Created DLL build configurations for samples in Code::Blocks and Visual C++ project files
Removed unused stuff from extlibs headers
Removed source files from generated API documentation
Removed the qt and wxwidgets samples
Fixed minor warnings in Packet.cpp

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1499 4e206d99-4929-0410-ac5d-dfc041789085
2010-04-08 16:18:38 +00:00
laurentgom
c0b84d3469 Moved CSFML Linux makefiles outside the source tree
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1498 4e206d99-4929-0410-ac5d-dfc041789085
2010-04-07 10:34:35 +00:00
LaurentGom
af22a15df3 Fixed the linker warning about conflicting libraries in Visual C++ projects
Fixed a minor warning in UdpSocket.cpp


git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1497 4e206d99-4929-0410-ac5d-dfc041789085
2010-04-07 10:03:09 +00:00
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