Commit Graph

229 Commits

Author SHA1 Message Date
LaurentGom
0aaebddc7b Updated the API documentation of RenderTarget, RenderImage and RenderWindow
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1413 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-19 14:34:34 +00:00
LaurentGom
504804a06e Fixed RenderTarget::ConvertCoords returning wrong Y coordinates
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1410 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-17 17:17:20 +00:00
LaurentGom
47d019098c Changed the parameter of LoadFromMemory functions to be a const void* instead of a const char*
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1409 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-17 14:43:09 +00:00
LaurentGom
b60fda48d9 Renamed Shape::GetNbPoints to Shape::GetPointsCount (consistent with the other similar functions)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1408 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-17 12:05:02 +00:00
LaurentGom
aa2199bbb3 Fixed a Win32 constant missing after upgrading to gcc 4.4 headers
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1407 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-17 11:35:37 +00:00
LaurentGom
26bbe358ed Synchronized with trunk
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1406 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-17 10:50:16 +00:00
LaurentGom
d89d721b96 Made sf::Input and events more consistent / synchronized
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1405 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-17 07:57:26 +00:00
LaurentGom
cdc1346612 FS#152 - Fix crash with the default font at global exit on Windows
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1401 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-11 08:31:52 +00:00
LaurentGom
3621cb10f7 Fixed bugs with the LShift and RShift keys
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1400 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-10 23:35:01 +00:00
LaurentGom
79c7bf8e02 Synchronized with trunk
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1399 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-10 14:42:53 +00:00
LaurentGom
b7b876eb26 Removed all the useless "sf::"
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1397 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-10 11:09:55 +00:00
LaurentGom
f0e231eabf Fixed wrong sf::Event::Resized notification when switching from fullscreen to windowed mode
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1396 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-10 11:01:38 +00:00
LaurentGom
7878edc824 Minor code refactoring
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1395 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-07 21:22:10 +00:00
ceylo
37c9dd8ac4 Oops. Dropped debug message.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1394 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-05 19:31:43 +00:00
ceylo
d4a5384da1 Added "hack" to allow window import with Qt.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1393 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-05 19:26:20 +00:00
LaurentGom
2840618c70 The projection matrix is now handled more efficiently in sf::Renderer
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1392 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-04 19:25:00 +00:00
LaurentGom
e79415209f Made audio capture work in Mac OS X 10.5 / 10.6
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1391 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-04 10:51:22 +00:00
LaurentGom
e2b5268504 New try for pixel-perfect rendering -- waiting for feedbacks
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1390 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-03 14:07:19 +00:00
LaurentGom
9fe66bdc5e Forget to fix the Linux implementation in previous commit :)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1389 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-02 08:48:35 +00:00
LaurentGom
51fc817e8b Fixed a texture cache problem in the P-Buffer implementation of sf::RenderImage
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1388 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-02 08:47:24 +00:00
LaurentGom
ec2fe136f9 Fixed sound streams sometimes being stuck after looping once
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1387 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-02 07:49:27 +00:00
ceylo
d3a53570d7 Fixed small compilation error.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1380 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-29 00:17:21 +00:00
LaurentGom
f644f6220d Fixed compile error in Joystick.hpp on FreeBSD
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1378 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-28 18:36:13 +00:00
LaurentGom
35f6fa2060 Fixed wrong paths for headers in VC2008 project files
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1374 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-27 13:43:28 +00:00
LaurentGom
57194f4d4b Synchronized with trunk
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1372 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-26 10:52:36 +00:00
LaurentGom
3247f441f8 Made the assignment operator in sf::Sound work with the last modification
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1371 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-26 10:31:09 +00:00
LaurentGom
362f374732 FS#104 - Fix crash when destroying a SoundBuffer used by a Sound
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1370 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-26 09:49:03 +00:00
LaurentGom
4220795de4 Synchronized with trunk
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1369 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-21 10:13:44 +00:00
LaurentGom
6341b569db FS#139 - Fix tiny musics ignoring the "loop" flag
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1368 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-21 10:00:31 +00:00
LaurentGom
5a0feadb8f Made the management of the "current shader" more consistent
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1366 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-20 15:43:40 +00:00
LaurentGom
4eed417158 Fixed a bug about shaders in the new Renderer class
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1365 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-20 12:53:15 +00:00
LaurentGom
b6b423bd8f Fixed possible crash in sf::Font
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1364 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-19 22:19:29 +00:00
LaurentGom
2e40f341ba Some minor modifications in RenderImage implementation
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1363 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-19 22:07:31 +00:00
LaurentGom
c237305f9b Removed all the automatic batching stuff and replaced it with a more straight-forward implementation using a state cache for optimizing performances
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1362 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-19 20:39:32 +00:00
LaurentGom
40f13c7302 Removed all the remaining const_cast, and replaced them with mutable members (this is needed for optimized lazy calculations)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1353 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-13 13:55:20 +00:00
LaurentGom
273cba055c Added Style::Default for windows' style
Removed unused #includes from RenderWindow.cpp

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1345 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-11 12:46:44 +00:00
LaurentGom
7ad6c64358 Fixed current view not being updated when window is resized (bug introduced with the latest modifications on view handling)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1344 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-11 09:33:55 +00:00
LaurentGom
7b83fbc544 Merged all the joystick fixes from trunk
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1343 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-11 09:04:59 +00:00
LaurentGom
b2b0cb2144 Fixed memory leak in sf::Font (reference counter was never initialized)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1342 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-10 15:52:08 +00:00
LaurentGom
8df50b9774 Fixed wrong joystick POV values in the Linux implementation
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1341 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-09 17:24:51 +00:00
LaurentGom
489ee2b17b Fixed POV handling on Linux
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1339 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-09 09:13:06 +00:00
LaurentGom
44c943e651 FS#146 - Fix current OpenGL matrix mode not properly saved when PreserveOpenGLStates is activated
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1338 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-08 17:21:03 +00:00
LaurentGom
b9a2d3a8f4 Fixed joystick axes mapping (to be tested)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1332 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-06 14:28:20 +00:00
LaurentGom
cbee33e764 Fixed POV value initialized to 0 instead of -1 in sf::Input
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1331 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-06 14:19:37 +00:00
LaurentGom
5eaec85d87 Added a special value of -1 for centered joystick POV position
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1329 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-06 08:51:25 +00:00
LaurentGom
db72c6e47c Renamed Mouse::Count to Mouse::ButtonCount
Renamed Joy::Count to Joy::AxisCount
Added Joy::Count and Joy::ButtonCount

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1328 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-06 08:48:57 +00:00
LaurentGom
e2d0ffcdcf Fixed the number of supported joysticks in sf::Input
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1327 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-06 08:36:55 +00:00
LaurentGom
bd9a60fef2 Reverted last modifications in sf::Input (they were supposed to happen in trunk)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1326 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-06 08:32:26 +00:00
LaurentGom
9bda3a4ef2 git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1325 4e206d99-4929-0410-ac5d-dfc041789085 2010-01-06 07:16:22 +00:00
LaurentGom
5c68de5e80 Forgot something in last commit :)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1324 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-05 19:18:20 +00:00