Commit Graph

88 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
laurentgom
ebdee32601 Fixed Window::SetSize not resizing to the requested size, on Windows
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1016 4e206d99-4929-0410-ac5d-dfc041789085
2009-02-14 11:13:33 +00:00
laurentgom
2228419caf Updated copyright year
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1015 4e206d99-4929-0410-ac5d-dfc041789085
2009-02-12 17:48:35 +00:00
laurentgom
73c041cbcf Added an option in Image::Copy to take into account the source transparency
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1012 4e206d99-4929-0410-ac5d-dfc041789085
2009-02-10 18:27:42 +00:00
laurentgom
fc3766e290 Updated version number in makefiles
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1011 4e206d99-4929-0410-ac5d-dfc041789085
2009-02-06 16:27:53 +00:00
laurentgom
08fea61154 Added a test to ensure the parameter of sf::Sleep is not negative (can have bad consequences)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1006 4e206d99-4929-0410-ac5d-dfc041789085
2009-02-05 16:22:33 +00:00
laurentgom
c3687b4018 Moved joystick initialization to happen *after* the construction of windows, to fix a deadlock happening on Windows at DLL loading
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1003 4e206d99-4929-0410-ac5d-dfc041789085
2009-01-30 14:12:56 +00:00
laurentgom
2f524481c1 Added the trunk/branches/tags directories at repository root, and moved previous root into trunk/
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1002 4e206d99-4929-0410-ac5d-dfc041789085
2009-01-28 16:18:34 +00:00