Commit Graph

2615 Commits

Author SHA1 Message Date
LaurentGom
ce4a18f1d6 More fixes to the code example of the CSFML API documentation
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1547 4e206d99-4929-0410-ac5d-dfc041789085
2010-08-09 18:42:33 +00:00
LaurentGom
41d26459ac Fixed the code example of the CSFML API documentation
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1546 4e206d99-4929-0410-ac5d-dfc041789085
2010-08-09 15:56:42 +00:00
LaurentGom
ff2c4f2ee7 Replaced C standard headers (<xxx.h>) with their C++ version (<cxxx>)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1545 4e206d99-4929-0410-ac5d-dfc041789085
2010-08-02 20:36:27 +00:00
LaurentGom
41b29f45f8 Updated stb_image (the latest version includes my patches)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1544 4e206d99-4929-0410-ac5d-dfc041789085
2010-08-01 19:26:35 +00:00
LaurentGom
8bde578f90 Fixed warnings in stb_image
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1543 4e206d99-4929-0410-ac5d-dfc041789085
2010-08-01 09:14:49 +00:00
LaurentGom
ff367bdb57 Now using stb_image directly for loading image files, instead of SOIL (which is not maintained anymore)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1542 4e206d99-4929-0410-ac5d-dfc041789085
2010-07-31 14:06:30 +00:00
LaurentGom
42173d6d04 Minor fix to the doxygen file
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1541 4e206d99-4929-0410-ac5d-dfc041789085
2010-07-31 11:50:11 +00:00
laurentgom
62e362ff6e Added a warning about position and color in the documentation of sf::Shape's Rectangle, Circle and Line static functions
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1540 4e206d99-4929-0410-ac5d-dfc041789085
2010-07-30 06:57:47 +00:00
Trass3r
ebbbb4fb32 fixed a misspelling in IDrawable
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1539 4e206d99-4929-0410-ac5d-dfc041789085
2010-07-24 13:36:39 +00:00
LaurentGom
68cdbd31cc FS#160 - Windows size should not be reset to 0 when it is minimized
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1538 4e206d99-4929-0410-ac5d-dfc041789085
2010-07-24 10:58:25 +00:00
Trass3r
42615a30d9 * replaced the vector classes with a generic one
* fixed wrong member protection in Rect
+ override for DrawableImpl methods

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1537 4e206d99-4929-0410-ac5d-dfc041789085
2010-07-24 00:30:30 +00:00
Trass3r
7500786896 sync with sfml: + Window.windowHandle()
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1536 4e206d99-4929-0410-ac5d-dfc041789085
2010-07-23 20:37:46 +00:00
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