Commit Graph

229 Commits

Author SHA1 Message Date
LaurentGom
1bf35973be Synchronized with trunk
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1167 4e206d99-4929-0410-ac5d-dfc041789085
2009-07-11 22:38:46 +00:00
LaurentGom
45b150648d Changed internal naming convention (local variables now start with a lower case character)
Removed the AudioResource class

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1166 4e206d99-4929-0410-ac5d-dfc041789085
2009-07-11 22:17:24 +00:00
LaurentGom
e3973714b2 FS#122 - Http::Response::GetField should be case insensitive
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1160 4e206d99-4929-0410-ac5d-dfc041789085
2009-07-10 12:01:51 +00:00
LaurentGom
06525907c1 FS#121 - Improve accuracy of rendering
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1157 4e206d99-4929-0410-ac5d-dfc041789085
2009-07-04 19:20:13 +00:00
LaurentGom
e2ddadb395 Fixed ending slash not added to a Http::Request URI when specified in the constructor
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1156 4e206d99-4929-0410-ac5d-dfc041789085
2009-07-04 16:44:36 +00:00
LaurentGom
7cc00085d8 Added viewport handling in sf::View
Upgraded SFML.Net project files to VS2008

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1155 4e206d99-4929-0410-ac5d-dfc041789085
2009-06-26 13:24:29 +00:00
LaurentGom
1bb96087ad FS#10 - Add rotation to sf::View
Slightly changed the public interface of sf::View

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1152 4e206d99-4929-0410-ac5d-dfc041789085
2009-06-21 21:23:30 +00:00
LaurentGom
5978d015eb Synchronized with trunk
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1151 4e206d99-4929-0410-ac5d-dfc041789085
2009-06-19 09:36:49 +00:00
LaurentGom
f04086c72b FS#118 - Add "Connection: close" by default for HTTP 1.1 requests
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1148 4e206d99-4929-0410-ac5d-dfc041789085
2009-06-18 16:13:42 +00:00
LaurentGom
e4042e8b4f FS#117 - Fix POST requests not working with sf::Http
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1147 4e206d99-4929-0410-ac5d-dfc041789085
2009-06-18 10:34:11 +00:00
laurentgom
9342dc77bb Added the Linux P-Buffer implementation (WIP)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1146 4e206d99-4929-0410-ac5d-dfc041789085
2009-06-17 08:49:20 +00:00
laurentgom
0ad6295ff4 Fixed the Linux makefile of the Qt sample
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1145 4e206d99-4929-0410-ac5d-dfc041789085
2009-06-17 07:55:46 +00:00
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
ceylo
4af909c207 Fixed issue with beep produced by Esc and functions keys.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1142 4e206d99-4929-0410-ac5d-dfc041789085
2009-06-14 14:36:11 +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
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