Commit Graph

1185 Commits

Author SHA1 Message Date
LaurentGom
d35fc89512 Fixed a bug with threads and OpenGL context sharing
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1567 4e206d99-4929-0410-ac5d-dfc041789085
2010-09-14 18:59:30 +00:00
LaurentGom
6de9ea8a0f Workarounds used sf::Utf classes for broken MinGW locales, are not used when STLPort is detected
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1566 4e206d99-4929-0410-ac5d-dfc041789085
2010-09-08 18:52:39 +00:00
LaurentGom
02688a4a3f [#165] Fixed Setfield("User-Agent", "xxx") ignored in sf::Http::Request
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1565 4e206d99-4929-0410-ac5d-dfc041789085
2010-09-08 08:34:05 +00:00
LaurentGom
973a7fa591 Fixed output filename of sfml-main which didn't contain the major version number (when compiling with CMake)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1564 4e206d99-4929-0410-ac5d-dfc041789085
2010-09-05 17:28:48 +00:00
LaurentGom
e2cfdff23e Reduced the sleep duration in sf::SoundStream to avoid stuttering with streams that send a little amount of samples in OnGetData
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1563 4e206d99-4929-0410-ac5d-dfc041789085
2010-09-05 09:14:11 +00:00
LaurentGom
316dcbd1f6 Fixed a memory leak in the Linux implementation of VideoMode::GetDesktopMode
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1562 4e206d99-4929-0410-ac5d-dfc041789085
2010-09-02 11:50:48 +00:00
LaurentGom
e4725e03dc Fixed compile errors for 64 bits targets in WindowImplWin32
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1561 4e206d99-4929-0410-ac5d-dfc041789085
2010-09-01 21:32:03 +00:00
LaurentGom
2d83514452 Renamed / moved / updated the SFML.Net examples (still in progress... having troubles with SVN)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1560 4e206d99-4929-0410-ac5d-dfc041789085
2010-09-01 21:17:24 +00:00
LaurentGom
002902319c Renamed / moved / updated the SFML.Net examples (still in progress... having troubles with SVN)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1559 4e206d99-4929-0410-ac5d-dfc041789085
2010-09-01 18:47:45 +00:00
LaurentGom
80b803fe93 Renamed / moved / updated the SFML.Net examples (2)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1558 4e206d99-4929-0410-ac5d-dfc041789085
2010-09-01 17:37:07 +00:00
LaurentGom
177c82a197 Renamed / moved / updated the SFML.Net examples
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1557 4e206d99-4929-0410-ac5d-dfc041789085
2010-09-01 17:34:14 +00:00
LaurentGom
186f679f85 Applied the new naming convention to the CSFML and SFML.Net binaries (sfml2-xxx)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1556 4e206d99-4929-0410-ac5d-dfc041789085
2010-08-29 08:48:53 +00:00
LaurentGom
8525a7cb92 Changed the output names of SFML libraries in projects/makefiles (sfml-xxx -> sfml2-xxx)
Fixed OpenAL include path in Linux makefiles

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1555 4e206d99-4929-0410-ac5d-dfc041789085
2010-08-27 21:37:50 +00:00
LaurentGom
3ba0e73719 Removed the examples/bin folder (not used anymore)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1554 4e206d99-4929-0410-ac5d-dfc041789085
2010-08-27 06:18:13 +00:00
Trass3r
9da487ac13 fixed 2 samples, thx AndrejM
sound3d sample compiles but sound stops after some time

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1553 4e206d99-4929-0410-ac5d-dfc041789085
2010-08-26 09:06:20 +00:00
Trass3r
64b4bd8472 fixed some bugs in SoundStream
property style functions for SoundStream and SoundSource
fixed pong and soundstream samples: thx AndrejM!

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1552 4e206d99-4929-0410-ac5d-dfc041789085
2010-08-25 20:37:00 +00:00
LaurentGom
dda69de7e9 gdi32 was missing from the dependencies of sfml-window in CMake files
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1551 4e206d99-4929-0410-ac5d-dfc041789085
2010-08-25 06:06:27 +00:00
LaurentGom
a991fe8e4d Added support for the CMake build system
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1550 4e206d99-4929-0410-ac5d-dfc041789085
2010-08-19 15:59:24 +00:00
LaurentGom
aa612ec63a Updated glext headers
OpenGL contexts >= 3.2 are now created with the compatibility profile, so that the functions used by SFML are available

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1549 4e206d99-4929-0410-ac5d-dfc041789085
2010-08-18 21:13:38 +00:00
LaurentGom
fe484591f9 Changed the visibility of sf::Music's virtual functions from private to protected, so that one can derive and customize sf::Music easily
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1548 4e206d99-4929-0410-ac5d-dfc041789085
2010-08-11 08:46:52 +00:00
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