Commit Graph

3567 Commits

Author SHA1 Message Date
laurentgom
19ae448f13 Added Linux implementation of OpenGL context (work in progress)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1066 4e206d99-4929-0410-ac5d-dfc041789085
2009-03-28 18:04:18 +00:00
laurentgom
9c370e38da Separated OpenGL contexts from Window implementations
Added support for OpenGL 3.0
Replaced WindowSettings with ContextSettings
Synchronized with trunk

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1065 4e206d99-4929-0410-ac5d-dfc041789085
2009-03-28 16:22:58 +00:00
remi-k
12af32c083 Update sound and sound stream classes
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1064 4e206d99-4929-0410-ac5d-dfc041789085
2009-03-27 19:42:22 +00:00
ceylo
27c7d487a0 Fixed cast.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1063 4e206d99-4929-0410-ac5d-dfc041789085
2009-03-23 12:44:55 +00:00
ceylo
a51d20bfab Updated copyright year.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1062 4e206d99-4929-0410-ac5d-dfc041789085
2009-03-23 12:44:30 +00:00
ceylo
b7ead65a60 Fixed composed character problem. Fixed casts. Changed window observer.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1061 4e206d99-4929-0410-ac5d-dfc041789085
2009-03-23 12:43:38 +00:00
ceylo
6b6375abf9 Fix close event being sent when deleting the window.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1060 4e206d99-4929-0410-ac5d-dfc041789085
2009-03-22 23:19:48 +00:00
laurentgom
40b4bda26b Fixed Listener's functions being private in SFML.Net
Added a function to set a sound's position relative to the listener

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1059 4e206d99-4929-0410-ac5d-dfc041789085
2009-03-22 18:36:03 +00:00
laurentgom
631bcc8c5f Fixed Event::Closed event (was broken after the fix to EnableKeyRepeat)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1058 4e206d99-4929-0410-ac5d-dfc041789085
2009-03-21 17:38:53 +00:00
ceylo
bf3da11d26 Changed run loop mode to fully support Cocoa objects import.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1057 4e206d99-4929-0410-ac5d-dfc041789085
2009-03-18 17:58:12 +00:00
remi-k
d4e7e7724f Split __init__ into __init__ and __new__, code clean up
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1056 4e206d99-4929-0410-ac5d-dfc041789085
2009-03-14 22:28:16 +00:00
ceylo
15ba8f9b3c Initial import of C binding.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1055 4e206d99-4929-0410-ac5d-dfc041789085
2009-03-14 14:15:04 +00:00
ceylo
9a1f458334 Added GLKit, Initializer. Removed WindowController. Updated linking for libsndfile (now using dynamic linking).
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1054 4e206d99-4929-0410-ac5d-dfc041789085
2009-03-14 14:07:34 +00:00
ceylo
7a2cb409fe Replacing libsndfile.a with sndfile.framework for dynamic linking.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1053 4e206d99-4929-0410-ac5d-dfc041789085
2009-03-14 14:06:32 +00:00
ceylo
4ccfd57c5b Updated e-mail.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1052 4e206d99-4929-0410-ac5d-dfc041789085
2009-03-14 13:59:31 +00:00
ceylo
3a09a275f7 Removed WindowController. Added GLKit. No more statically linking against libsndfile, using dynamic linking with sndfile.framework. Added Initializer.cpp. Reordered build style list (avoids building single architecture binary as first choice).
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1051 4e206d99-4929-0410-ac5d-dfc041789085
2009-03-14 13:58:13 +00:00
ceylo
1fbf7046e0 Initial import of sndfile framework (dynamic library)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1050 4e206d99-4929-0410-ac5d-dfc041789085
2009-03-14 13:54:54 +00:00
ceylo
e42882d2ca Switching to Cocoa implementation way. Updated copyright year. Removed WindowController. Added Cocoa window import support.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1049 4e206d99-4929-0410-ac5d-dfc041789085
2009-03-14 13:49:54 +00:00
ceylo
a5120cd681 Switching to Cocoa way implementation.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1048 4e206d99-4929-0410-ac5d-dfc041789085
2009-03-14 13:48:16 +00:00
laurentgom
507fea97d9 git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1047 4e206d99-4929-0410-ac5d-dfc041789085 2009-03-12 21:10:52 +00:00
laurentgom
f00e0ef635 git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1046 4e206d99-4929-0410-ac5d-dfc041789085 2009-03-12 21:02:40 +00:00
laurentgom
3b1abf635e Implemented proper video mode depth detection on Linux
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1045 4e206d99-4929-0410-ac5d-dfc041789085
2009-03-12 21:01:50 +00:00
laurentgom
b2c751d0b2 Updated stb_vorbis to fix memory leaks
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1044 4e206d99-4929-0410-ac5d-dfc041789085
2009-03-12 19:19:32 +00:00
remi-k
26fd1b89e4 Bug fix (make shure a font object isn't destroyed as long as the string
is using it) and code clean up in sf.String


git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1043 4e206d99-4929-0410-ac5d-dfc041789085
2009-03-08 09:56:25 +00:00
laurentgom
06b5299c2b Added a high-level check to disallow having two fullscreen windows at the same time
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1042 4e206d99-4929-0410-ac5d-dfc041789085
2009-03-06 18:11:10 +00:00
remi-k
2c7c76a668 Fixed python3 compatibility
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1041 4e206d99-4929-0410-ac5d-dfc041789085
2009-03-06 17:21:37 +00:00
remi-k
bcbb754da9 Fixed a bug with custom drawables
Fixed wrong default color in sf.Shape


git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1040 4e206d99-4929-0410-ac5d-dfc041789085
2009-03-06 15:23:07 +00:00
laurentgom
0adb1c35e0 Fixed Window::EnableKeyRepeat on Linux
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1039 4e206d99-4929-0410-ac5d-dfc041789085
2009-03-04 18:42:11 +00:00
laurentgom
2ec074b12a Fixed Window::EnableKeyRepeat on Linux
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1039 4e206d99-4929-0410-ac5d-dfc041789085
2009-03-04 18:42:11 +00:00
laurentgom
f9e24c6ec5 Fixed compile errors in sfml-system on Linux
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1038 4e206d99-4929-0410-ac5d-dfc041789085
2009-03-02 22:39:07 +00:00
remi-k
870d049bc8 Bug fixed in sf.String
Code clean up


git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1037 4e206d99-4929-0410-ac5d-dfc041789085
2009-03-02 19:00:41 +00:00
laurentgom
e28a89f902 Fixed OpenAL error when stopping sound streams
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1036 4e206d99-4929-0410-ac5d-dfc041789085
2009-03-02 17:15:55 +00:00
ceylo
66681bc1ae Dropped some assert() calls preventing some functions from being called.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1035 4e206d99-4929-0410-ac5d-dfc041789085
2009-03-01 23:29:04 +00:00
laurentgom
6f6014b5dd Removed useless include from SoundStream.cpp
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1034 4e206d99-4929-0410-ac5d-dfc041789085
2009-03-01 16:27:59 +00:00
laurentgom
f842ee3518 Fixed multi-threading issues with sf::Music
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1033 4e206d99-4929-0410-ac5d-dfc041789085
2009-03-01 11:03:56 +00:00
laurentgom
125daf062f Fixed Thread implementation not destroyed after Wait() or Terminate()
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1032 4e206d99-4929-0410-ac5d-dfc041789085
2009-03-01 10:56:38 +00:00
laurentgom
3664d275cb Fixed warnings in Unicode.inl
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1031 4e206d99-4929-0410-ac5d-dfc041789085
2009-02-28 21:20:01 +00:00
ceylo
3553b83806 Using assertions instead of cerr logging.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1030 4e206d99-4929-0410-ac5d-dfc041789085
2009-02-28 21:00:59 +00:00
laurentgom
34ce4c00f5 Fixed Initializer.cpp to use the proper naming conventions :)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1029 4e206d99-4929-0410-ac5d-dfc041789085
2009-02-28 20:47:48 +00:00
ceylo
9919e57bbd Fixed namespace.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1028 4e206d99-4929-0410-ac5d-dfc041789085
2009-02-28 20:41:00 +00:00
ceylo
5c74cc0800 Added working directory initializer.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1027 4e206d99-4929-0410-ac5d-dfc041789085
2009-02-28 20:38:35 +00:00
laurentgom
c68876a858 Blend::Add now uses source alpha
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1026 4e206d99-4929-0410-ac5d-dfc041789085
2009-02-28 19:11:01 +00:00
remi-k
7e7489b34a Removed RenderTarget
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1025 4e206d99-4929-0410-ac5d-dfc041789085
2009-02-27 23:50:02 +00:00
remi-k
39f4805a98 * PySFML now compiles and runs with python3 (and still compiles and runs
with python 2.5)
* Improved support for unicode
* Fixed a mysterious bug with the opengl sample
* Code clean up


git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1024 4e206d99-4929-0410-ac5d-dfc041789085
2009-02-27 17:57:39 +00:00
laurentgom
9a7fcc04be Removed dependencies to OS-specific headers in sfml-system
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1023 4e206d99-4929-0410-ac5d-dfc041789085
2009-02-27 15:03:20 +00:00
remi-k
af3dd7c630 More code clean-up and python3 compliance
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1022 4e206d99-4929-0410-ac5d-dfc041789085
2009-02-26 12:36:06 +00:00
remi-k
79bf5c6252 * Began supporting python3
* Code clean-up


git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1021 4e206d99-4929-0410-ac5d-dfc041789085
2009-02-25 10:40:38 +00:00
remi-k
60ebaa84d1 * Implemented sf.RenderTarget;
* Made sf.RenderWindow inherit from sf.RenderTarget and sf.Window


git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1020 4e206d99-4929-0410-ac5d-dfc041789085
2009-02-23 19:01:41 +00:00
remi-k
49c7769273 worm.py sample rewritten;
Minor fix in sf.SoundStream;
Updated sf.Image.


git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1019 4e206d99-4929-0410-ac5d-dfc041789085
2009-02-22 14:57:18 +00:00
laurentgom
e580c8cd63 sf::SoundStream (and sf::Music) is now able to loop seamlessly
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1018 4e206d99-4929-0410-ac5d-dfc041789085
2009-02-20 21:38:59 +00:00