Commit Graph

179 Commits

Author SHA1 Message Date
laurentgom
357e89696b Added automatic support for OpenGL 3.0 contexts on Linux
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1197 4e206d99-4929-0410-ac5d-dfc041789085
2009-07-27 16:12:49 +00:00
LaurentGom
9229a27932 Fixed a comment :)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1196 4e206d99-4929-0410-ac5d-dfc041789085
2009-07-26 21:21:48 +00:00
laurentgom
ec385c64ca Removed the DisplayRef class in the Linux implementation
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1193 4e206d99-4929-0410-ac5d-dfc041789085
2009-07-24 14:13:50 +00:00
laurentgom
800638ed82 Each window now has its own X display, which solves potential multithreading issues (on Linux)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1192 4e206d99-4929-0410-ac5d-dfc041789085
2009-07-24 14:11:50 +00:00
laurentgom
d3125eecd7 Better handling of X display in OpenGL contexts, which solves some multithreading issues (on Linux)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1191 4e206d99-4929-0410-ac5d-dfc041789085
2009-07-24 13:41:28 +00:00
laurentgom
42a3027d7c The internal code of VideoMode now uses its own connection to the display instead of a global one (on Linux)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1190 4e206d99-4929-0410-ac5d-dfc041789085
2009-07-24 12:56:04 +00:00
LaurentGom
9fe4456e2c Removed Audio/AudioResource.cpp from Code::Blocks project file
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1189 4e206d99-4929-0410-ac5d-dfc041789085
2009-07-24 12:18:21 +00:00
LaurentGom
7a54cb78a3 Fixed syntax error in the Pong sample
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1184 4e206d99-4929-0410-ac5d-dfc041789085
2009-07-21 21:35:37 +00:00
LaurentGom
aa3769b3c6 Removed Audio/AudioResource.hpp from Code::Blocks project file
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1182 4e206d99-4929-0410-ac5d-dfc041789085
2009-07-17 10:31:28 +00:00
LaurentGom
16275d05e8 Changed naming convention for local variables
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1181 4e206d99-4929-0410-ac5d-dfc041789085
2009-07-17 08:11:03 +00:00
LaurentGom
34817446c0 Renamed WindowSettings to ContextSettings in SFML.Net
Removed the Window.Events property in SFML.Net
FS#124 - Fix KeyEvent.Alt/Control/Shift members not working, in SFML.Net

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1179 4e206d99-4929-0410-ac5d-dfc041789085
2009-07-17 07:57:28 +00:00
LaurentGom
07c0318493 Fixed compile errors
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1178 4e206d99-4929-0410-ac5d-dfc041789085
2009-07-17 06:43:27 +00:00
LaurentGom
9baa774216 Fixed bug in the Listener class in SFML.Net
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1177 4e206d99-4929-0410-ac5d-dfc041789085
2009-07-14 21:40:42 +00:00
LaurentGom
ac773e8161 FS#109 - Fix sf::Listener's target being actually a relative direction
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1176 4e206d99-4929-0410-ac5d-dfc041789085
2009-07-12 19:33:56 +00:00
LaurentGom
374af05d5f Replaces glColor4f with glColor4ub in internal code
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1174 4e206d99-4929-0410-ac5d-dfc041789085
2009-07-12 13:28:44 +00:00
LaurentGom
0f7cb43902 Got rid of glBlendFuncSeparate which caused problems on old hardware -- need to find a proper fix for incorrect alpha values when rendering to a RenderImage
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1172 4e206d99-4929-0410-ac5d-dfc041789085
2009-07-12 10:27:28 +00:00
LaurentGom
9c959777d3 Synchronized with trunk
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1171 4e206d99-4929-0410-ac5d-dfc041789085
2009-07-12 09:59:21 +00:00
LaurentGom
5972c22d89 Moved CSFML documentation build files from root to doc\build
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1170 4e206d99-4929-0410-ac5d-dfc041789085
2009-07-12 09:56:24 +00:00
laurentgom
5869b916ef P-Buffer implementation fixed and validated on Linux
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1169 4e206d99-4929-0410-ac5d-dfc041789085
2009-07-12 09:37:35 +00:00
laurentgom
1ce18ed1b9 Fixed compile errors on Linux
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1168 4e206d99-4929-0410-ac5d-dfc041789085
2009-07-12 08:07:30 +00:00
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
5c84825759 Improved comments for the Style parameter of windows.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1165 4e206d99-4929-0410-ac5d-dfc041789085
2009-07-10 16:54:44 +00:00
LaurentGom
461a82194d Moved documentation build files from root to doc\build
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1164 4e206d99-4929-0410-ac5d-dfc041789085
2009-07-10 15:06:10 +00:00
LaurentGom
94c45342cd Fixed Code::Blocks batch build
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1163 4e206d99-4929-0410-ac5d-dfc041789085
2009-07-10 14:17:39 +00:00
LaurentGom
48dad05e30 Added batch build for Visual C++ 2008
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1162 4e206d99-4929-0410-ac5d-dfc041789085
2009-07-10 14:13:34 +00:00
LaurentGom
ac21fc0bce Added a Windows batch build for Code::Blocks, which also properly builds static libs
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1161 4e206d99-4929-0410-ac5d-dfc041789085
2009-07-10 13:32:55 +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
remi-k
f1f5f7ba3d Updated sf.Image.GetTexCoords
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1159 4e206d99-4929-0410-ac5d-dfc041789085
2009-07-09 06:54:10 +00:00
remi-k
9bf53607d3 Fixed bug in sf.Window.GetSettings
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1158 4e206d99-4929-0410-ac5d-dfc041789085
2009-07-09 06:45:15 +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
4f6b3637d7 Improved VS2008 projects for SFML:
- Removed warnings
- Faster compiling on multi-core CPUs

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1154 4e206d99-4929-0410-ac5d-dfc041789085
2009-06-26 13:00:21 +00:00
LaurentGom
824aaca6dd Improved the VS2008 project files to enable faster compiling on multi-core CPUs
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1153 4e206d99-4929-0410-ac5d-dfc041789085
2009-06-26 12:30:40 +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
3e561b7d27 git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1150 4e206d99-4929-0410-ac5d-dfc041789085 2009-06-19 09:12:49 +00:00
LaurentGom
30efdbab36 Minor fix to the Qt sample
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1149 4e206d99-4929-0410-ac5d-dfc041789085
2009-06-19 07:32:36 +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
LaurentGom
1e8cb5827d Minor updates to VC2008 project files
Better preprocessor detection of FreeBSD OS
Improved the Qt sample

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1143 4e206d99-4929-0410-ac5d-dfc041789085
2009-06-16 20:17:56 +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
b602a3f8dc Fixed minor issue in Qt and wxWidgets samples.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1139 4e206d99-4929-0410-ac5d-dfc041789085
2009-06-13 22:16:08 +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