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
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
327cfe4ec6
Fixed sf::RenderQueue not being exported
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1340 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-09 11:45:56 +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
trass3r
8293de5c50
* Fixed regression bug with DllLoader
...
+ added missing Font functions
* using alias template parameter for DrawableImpl now
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1337 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-07 22:00:45 +00:00
LaurentGom
0baf8e9b46
Added 3 missing functions in csfml-graphics-d.def export file
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1336 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-07 21:51:51 +00:00
trass3r
be3741de5b
+ RenderImage
...
+ RenderWindow.flush()
+ View.reset()
+ Window.waitEvent()
* moved TextStyle to module text
* Sprite was strangefully missing base constructor call
* changed Rect to be a struct instead of a class
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1335 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-07 18:07:22 +00:00
trass3r
2f2fc5d4fa
replaced all crappy spaces with proper tabs
...
kept this in its own changeset so it doesn't interfere with real changes
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1334 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-06 20:37:29 +00:00
trass3r
8431753ba3
initial commit of DSFML2
...
some basic things work, much still has to be done
- made as few changes as possible to make it compile under D2
- removed system.thread, use standard threads
- lots of other changes
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1333 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-06 20:25:45 +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
dd255a916d
FS#145 - Implement copy constructors and ToString functions in SFML.Net
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1330 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-06 12:37:29 +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