Commit Graph

1186 Commits

Author SHA1 Message Date
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
LaurentGom
f96a3864bc Fixed wrong project name :D
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1386 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-30 11:37:53 +00:00
LaurentGom
d07ffa8389 Added a batch-build script for SFML.Net
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1385 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-29 22:31:00 +00:00
LaurentGom
64aebf0b9f Fixed output paths in SFML.Net project files
Moved files related to the documentation into /doc

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1384 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-29 22:10:15 +00:00
ceylo
7cd315c38b Added missing ppc architecture.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1383 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-29 07:35:10 +00:00
ceylo
23f6b6f2af Initial import.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1381 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-29 00:22:23 +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
ec524788c9 Fixed object files path in Visual C++ projects
Added CSFML batch-build for all Windows compilers

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1377 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-28 09:51:39 +00:00
LaurentGom
f044d80f09 Fixed an error in the Code::Blocks batch-build
Improved the VC2008 batch-build
Added a VC2005 batch-build
Added a global batch-build script for all Windows compilers

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1376 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-27 16:02:45 +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
remi-k
eacc8e27cc Updated python trunk to SFML 1.6
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1373 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-26 18:09:03 +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
trass3r
0d3f9a9f1c + IRenderTarget interface
+ RenderTarget.SaveGLStates
+ RenderTarget.RestoreGLStates
- RenderTarget.Flush
* some bugfixes

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1367 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-20 21:46:32 +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
8ba9495c02 Improved the string format used in ToString() functions
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1361 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-17 10:03:46 +00:00
trass3r
8577dbd56d + alias Vector2ui
* fixed Sprite.setSubRect
* preliminarily fixed sleep function

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1360 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-14 22:24:49 +00:00
LaurentGom
e4165be2f9 Fixed the batch-build script for Code::Blocks
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1359 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-14 15:15:05 +00:00
LaurentGom
c9ed7507c1 Fixed the batch-build script for Code::Blocks
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1358 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-14 15:01:43 +00:00
LaurentGom
6324baa728 Fixed the batch-build script for Code::Blocks
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1357 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-14 14:57:20 +00:00
trass3r
879649fa08 * sample pong is compilable
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1356 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-13 22:31:17 +00:00
trass3r
3fa986f94e * view sample is compilable
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1355 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-13 21:49:59 +00:00
trass3r
bf539551b9 * changed SoundStream.onStart to onSeek
* made network package compilable in D2
+ Vector2.max function to return the bigger member

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1354 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-13 17:42:05 +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
trass3r
9f1354b2a9 * renamed SoundRecorder.canCapture to isAvailable
* some internal fixes/changes

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1352 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-12 19:56:38 +00:00
LaurentGom
8a848e3175 Fixed sfSoundRecorder_IsAvailable still named sfSoundRecorder_CanRecord
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1351 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-12 14:52:44 +00:00
LaurentGom
7b5d8c2815 Fixed sfInput functions not properly exported in CSFML
Added the default window style to CSFML and SFML.Net

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1350 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-12 14:01:57 +00:00
trass3r
1c3cdd5058 sync with sfml:
+ SoundStream.setPlayingOffset
* Listener.getTarget -> getDirection

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1349 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-11 21:48:15 +00:00
trass3r
06d91c6020 * created SoundSource base class
* Music, SoundStream and Sound inherit from SoundSource
* moved SoundStatus struct to SoundSource.d

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1348 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-11 21:15:23 +00:00
trass3r
77d248f79e + window Style.Default
+ windows error message for dll loading errors
* made identifiers in event match SFML's style


git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1347 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-11 19:28:34 +00:00
LaurentGom
6c44a1d33a Added the missing adjustToNewSize parameter of Sprite::SetImage in CSFML
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1346 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-11 14:46:08 +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