Commit Graph

598 Commits

Author SHA1 Message Date
LaurentGom
d327320b59 Changed sf::WindowHandle from void* to HWND on Windows
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1580 4e206d99-4929-0410-ac5d-dfc041789085
2010-10-13 16:38:39 +00:00
laurentgom
0354c306e3 Fixed memory leak in GlxContext when creating an OpenGL 3 context
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1579 4e206d99-4929-0410-ac5d-dfc041789085
2010-10-12 09:25:53 +00:00
LaurentGom
535b7bc839 Fixed a bug in sf::Err (the default output for SFML error messages), it was ignoring random characters
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1578 4e206d99-4929-0410-ac5d-dfc041789085
2010-10-11 17:58:18 +00:00
laurentgom
77078f53db Fixed a bug in the UTF-8 -> UTF-32 conversion when the input character type is signed
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1577 4e206d99-4929-0410-ac5d-dfc041789085
2010-10-11 08:37:21 +00:00
LaurentGom
274014e786 Fixed an error in the documentation of the Music::Play and Sound::Play functions
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1576 4e206d99-4929-0410-ac5d-dfc041789085
2010-10-06 21:10:25 +00:00
LaurentGom
d258439457 Removed useless directories in CSFML/doc
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1575 4e206d99-4929-0410-ac5d-dfc041789085
2010-10-05 21:36:30 +00:00
LaurentGom
c18bbb2685 Added CMake makefiles for CSFML
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1574 4e206d99-4929-0410-ac5d-dfc041789085
2010-10-05 21:34:34 +00:00
LaurentGom
dd63420b52 Modified FindSFML.cmake for a better handling of debug libraries
Fixed Macros.cmake (the last modification introduced a bug when generating nmake makefiles)

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1573 4e206d99-4929-0410-ac5d-dfc041789085
2010-10-05 21:19:30 +00:00
laurentgom
dac1ade7c4 Improved the CMake files so that paths with spaces are no longer a problem with Visual Studio projects
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1572 4e206d99-4929-0410-ac5d-dfc041789085
2010-10-05 14:31:37 +00:00
LaurentGom
076456aa91 Added a FindSFML.cmake file for CMake
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1571 4e206d99-4929-0410-ac5d-dfc041789085
2010-10-04 21:16:12 +00:00
LaurentGom
19cb364afe New try to fix the ATI & OpenGL contexts bug
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1570 4e206d99-4929-0410-ac5d-dfc041789085
2010-09-17 16:46:35 +00:00
LaurentGom
36f9cf6cc1 Minor fixes in API documentation
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1569 4e206d99-4929-0410-ac5d-dfc041789085
2010-09-14 21:51:39 +00:00
LaurentGom
5763e7b950 Removed CSFML .def files on Windows
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1568 4e206d99-4929-0410-ac5d-dfc041789085
2010-09-14 19:43:47 +00:00
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