Commit Graph

2512 Commits

Author SHA1 Message Date
LaurentGom
1852614e16 Made all Vector2 and Vector3 functions inline
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1220 4e206d99-4929-0410-ac5d-dfc041789085
2009-09-24 07:40:49 +00:00
ceylo
e3fe614f01 Fixed wrong link issue (mixing debug and release frameworks).
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1219 4e206d99-4929-0410-ac5d-dfc041789085
2009-09-20 19:53:07 +00:00
LaurentGom
ccddb8fffe Added missing -lX11 in sfml-graphics makefile for Linux
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1218 4e206d99-4929-0410-ac5d-dfc041789085
2009-09-15 14:42:05 +00:00
LaurentGom
43e745edb8 Added missing -lGL in sfml-graphics makefile for Linux
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1217 4e206d99-4929-0410-ac5d-dfc041789085
2009-09-15 14:19:14 +00:00
ceylo
c140de772d Added "switch back to desktop mode" feature when switching to another application while the SFML one is in fullscreen mode. Using more demanding screen choice : request the use of the primary screen when several monitors are available.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1216 4e206d99-4929-0410-ac5d-dfc041789085
2009-09-12 12:13:28 +00:00
LaurentGom
01181af3e0 Fixed sf::Color operators not exported
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1215 4e206d99-4929-0410-ac5d-dfc041789085
2009-09-08 10:41:31 +00:00
laurentgom
3be521a912 changed default install dir to /usr/local on Linux, fixed symbolic links to be relative, updated glxext.h for OpenGL3
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1214 4e206d99-4929-0410-ac5d-dfc041789085
2009-09-07 10:14:35 +00:00
ceylo
447a9ac7c3 Saved new path for Initializer.cpp moved to Unix/Initializer.cpp
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1213 4e206d99-4929-0410-ac5d-dfc041789085
2009-09-05 13:43:08 +00:00
ceylo
f446f3d973 Moved Initializer.cpp into Unix directory
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1212 4e206d99-4929-0410-ac5d-dfc041789085
2009-09-05 13:35:04 +00:00
ceylo
51c3d9784e Moved Initializer.cpp into Unix directory
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1211 4e206d99-4929-0410-ac5d-dfc041789085
2009-09-05 13:34:27 +00:00
LaurentGom
a6e353f11b Activated OpenGL 3 contexts on Linux
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1210 4e206d99-4929-0410-ac5d-dfc041789085
2009-08-28 20:17:10 +00:00
ceylo
9944cdcbba Updated sndfile to 1.0.20 (i386+ppc).
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1209 4e206d99-4929-0410-ac5d-dfc041789085
2009-08-28 19:53:34 +00:00
ceylo
ba3e7bd350 Little display fix.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1208 4e206d99-4929-0410-ac5d-dfc041789085
2009-08-28 19:52:15 +00:00
ceylo
7b37972deb Building tar.bz2 archives instead of DMG. Added verbose mode. Done some cleaning.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1207 4e206d99-4929-0410-ac5d-dfc041789085
2009-08-28 15:28:41 +00:00
ceylo
6a3e2079f5 Set default compiler to GCC 4.0 not to break support with the Mac OS X 10.4 SDK.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1206 4e206d99-4929-0410-ac5d-dfc041789085
2009-08-28 15:27:07 +00:00
LaurentGom
0093952872 FS#127 - Make image loading thread-safe
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1205 4e206d99-4929-0410-ac5d-dfc041789085
2009-08-18 07:31:15 +00:00
LaurentGom
fcdc5cdf82 Improved documentation of more classes in the system module
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1204 4e206d99-4929-0410-ac5d-dfc041789085
2009-08-17 10:55:11 +00:00
LaurentGom
351a43f696 Updated the documentation for some sfml-system classes
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1203 4e206d99-4929-0410-ac5d-dfc041789085
2009-08-14 20:00:42 +00:00
LaurentGom
ac0881f6a0 FS#126 - Add an optional parameter to Sprite::SetImage for automatic adjustment of the subrect
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1202 4e206d99-4929-0410-ac5d-dfc041789085
2009-08-14 09:27:00 +00:00
LaurentGom
7a8cc0c76a Synchronized with trunk
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1201 4e206d99-4929-0410-ac5d-dfc041789085
2009-08-14 08:02:57 +00:00
LaurentGom
3cfbc8409b Removed some privates files from the documentation
Added sf::Event::EventType::Count

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1200 4e206d99-4929-0410-ac5d-dfc041789085
2009-08-14 07:31:01 +00:00
ceylo
6be8b01a2d Added dist files.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1199 4e206d99-4929-0410-ac5d-dfc041789085
2009-08-06 23:56:07 +00:00
ceylo
d8742e9ba0 Added info files and documentation importation.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1198 4e206d99-4929-0410-ac5d-dfc041789085
2009-08-06 23:53:14 +00:00
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
b5a17a832f Unconnected joysticks are no longer updated (on Windows)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1195 4e206d99-4929-0410-ac5d-dfc041789085
2009-07-25 10:02:07 +00:00
ceylo
953c73c5a6 Fixed wrong install name.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1194 4e206d99-4929-0410-ac5d-dfc041789085
2009-07-24 14:30:25 +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
ceylo
2a5f018062 Added simple check for cheaters :-°
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1188 4e206d99-4929-0410-ac5d-dfc041789085
2009-07-22 23:59:57 +00:00
ceylo
d79ddb0fe1 Initial import of automatic package maker
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1187 4e206d99-4929-0410-ac5d-dfc041789085
2009-07-22 23:49:17 +00:00
ceylo
dceeb623d1 Added search path to let Xcode link the samples against the frameworks from trunk/lib.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1186 4e206d99-4929-0410-ac5d-dfc041789085
2009-07-22 21:34:26 +00:00
ceylo
ab9c78e66f Using frameworks from trunk/lib instead of /Library/Frameworks for linking.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1185 4e206d99-4929-0410-ac5d-dfc041789085
2009-07-22 16:27:11 +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
ceylo
e40eb2e64d Fixed issue with shared OpenGL context not being activated.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1183 4e206d99-4929-0410-ac5d-dfc041789085
2009-07-21 16:56:52 +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
a430319c43 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/trunk@1180 4e206d99-4929-0410-ac5d-dfc041789085
2009-07-17 08:01:57 +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
8e90f147e4 FS#113 - Copy Attenuation and MinDistance members in sf::Sound's copy constructor
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1175 4e206d99-4929-0410-ac5d-dfc041789085
2009-07-12 19:14:00 +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
ed0cf87e28 Fixed TCP connect with timeout returning success when the connection failed
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1173 4e206d99-4929-0410-ac5d-dfc041789085
2009-07-12 12:12:48 +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