Commit Graph

66 Commits

Author SHA1 Message Date
laurentgom
470963326e Fixed Linux makefile
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1144 4e206d99-4929-0410-ac5d-dfc041789085
2009-06-17 07:40:22 +00:00
laurentgom
ab580aa35b PostFx::SetTexture now takes a const sf::Image*
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1141 4e206d99-4929-0410-ac5d-dfc041789085
2009-06-14 11:00:48 +00:00
laurentgom
e6483d2165 Added initialization of GLEW in sf::Drawable (for glBlendFuncSeparate)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1140 4e206d99-4929-0410-ac5d-dfc041789085
2009-06-14 06:47:25 +00:00
laurentgom
b86c4627ab Added functions and overloads to sf::Rect
Slightly changed the sf::View interface


git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1138 4e206d99-4929-0410-ac5d-dfc041789085
2009-06-13 21:13:43 +00:00
laurentgom
92e79b8123 Fixed blending functions so that alpha is properly forwarded when rendered to a RenderImage
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1137 4e206d99-4929-0410-ac5d-dfc041789085
2009-06-13 19:09:02 +00:00
laurentgom
0704e242c0 Disabled smoothing on RenderImage's underlying images
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1136 4e206d99-4929-0410-ac5d-dfc041789085
2009-06-13 07:57:42 +00:00
laurentgom
2deb8bd021 Added RenderImage
Cleaned internal CSFML code
Synchronized with trunk

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1135 4e206d99-4929-0410-ac5d-dfc041789085
2009-06-11 15:49:36 +00:00
laurentgom
42c5800d4c FS#88 - Replace Set/GetCenter with Set/GetOrigin in sf::Drawable
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1121 4e206d99-4929-0410-ac5d-dfc041789085
2009-06-01 15:58:13 +00:00
laurentgom
f624f16350 Fixed windows' context not activated by default after their creation
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1119 4e206d99-4929-0410-ac5d-dfc041789085
2009-06-01 13:41:38 +00:00
laurentgom
d8dc34b199 Fixed Linux implementation of ContextGL and ThreadLocalImpl
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1117 4e206d99-4929-0410-ac5d-dfc041789085
2009-05-31 11:53:28 +00:00
laurentgom
23bf546b6a FS#84 - Rewrite the OpenGL context handling
FS#66 - Free the global rendering context
Added thread-local storage classes

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1116 4e206d99-4929-0410-ac5d-dfc041789085
2009-05-31 11:38:54 +00:00
laurentgom
520169fdc6 tagged version 1.5, trunk is now version 1.6
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1113 4e206d99-4929-0410-ac5d-dfc041789085
2009-05-28 16:05:07 +00:00
laurentgom
05259e95de Updated copyrights again
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1109 4e206d99-4929-0410-ac5d-dfc041789085
2009-05-28 15:41:18 +00:00
ceylo
6e09596e70 Added user notice about antialiasing issues.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1102 4e206d99-4929-0410-ac5d-dfc041789085
2009-05-28 14:10:28 +00:00
ceylo
cb511644db Fixed problem with fullscreen/windowed display mode. Added check for Cocoa window import.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1094 4e206d99-4929-0410-ac5d-dfc041789085
2009-05-21 15:07:33 +00:00
ceylo
40fd859590 Fixed crash with Cocoa window import.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1091 4e206d99-4929-0410-ac5d-dfc041789085
2009-05-17 12:10:16 +00:00
laurentgom
cb0f429167 FS#111 - Fixed joysticks sometimes not working at all on Vista
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1090 4e206d99-4929-0410-ac5d-dfc041789085
2009-05-13 18:12:33 +00:00
laurentgom
494c8e6d0f FS#110 - Fixed 1 pixel offset in Sprite::GetPixel when FlipX or FlipY is set
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1088 4e206d99-4929-0410-ac5d-dfc041789085
2009-05-08 09:58:07 +00:00
laurentgom
635f92d98d Synchronized with trunk
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1087 4e206d99-4929-0410-ac5d-dfc041789085
2009-05-06 20:06:14 +00:00
laurentgom
19de148351 Updated copyright
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1085 4e206d99-4929-0410-ac5d-dfc041789085
2009-05-06 18:37:14 +00:00
laurentgom
5c09eb64b4 Fixed a comment :)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1083 4e206d99-4929-0410-ac5d-dfc041789085
2009-05-04 12:47:49 +00:00
laurentgom
4d44a91ced FS#107 - Got rid of whatismyip.org as the default server for public IP retrieval
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1081 4e206d99-4929-0410-ac5d-dfc041789085
2009-05-04 07:17:04 +00:00
laurentgom
8a993dca06 FS#106 - Fixed undefined behaviour when rendering a sprite bound to an empty image
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1080 4e206d99-4929-0410-ac5d-dfc041789085
2009-05-04 07:05:13 +00:00
laurentgom
22c225c64f Added SetPlayingOffset to sf::SoundStream and sf::Music
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1076 4e206d99-4929-0410-ac5d-dfc041789085
2009-04-10 22:50:08 +00:00
laurentgom
137ef64f2a Upgraded to libsndfile 1.0.19
Removed stb_vorbis

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1071 4e206d99-4929-0410-ac5d-dfc041789085
2009-04-07 12:11:11 +00:00
laurentgom
392eb219f2 Completed implementation of OpenGL context on Linux
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1069 4e206d99-4929-0410-ac5d-dfc041789085
2009-03-28 20:39:38 +00:00
laurentgom
b194b9969a Synchronized with trunk
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1068 4e206d99-4929-0410-ac5d-dfc041789085
2009-03-28 19:24:12 +00:00
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
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