Commit Graph

59 Commits

Author SHA1 Message Date
LaurentGom
d7bd00afc0 FS#25 - Change sf::PostFx to a more general purpose pixel shader class (sf::Shader)
Updated the PostFx sample, renamed to Shader
Renamed all the static X::CanUseX() functions to X::IsAvailable() to make the API more consistent
Moved .def files from /build/VC200X to /src in CSFML
Minors fixes in CSFML

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1258 4e206d99-4929-0410-ac5d-dfc041789085
2009-11-03 09:04:40 +00:00
LaurentGom
63e07cec84 Fixed a typo in CSFML
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1257 4e206d99-4929-0410-ac5d-dfc041789085
2009-11-01 19:39:56 +00:00
LaurentGom
87b2d5a0d0 Added Close() function to TCP and UDP sockets in CSFML
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1256 4e206d99-4929-0410-ac5d-dfc041789085
2009-10-31 19:23:19 +00:00
LaurentGom
688a8f15da FS#131 - Add mouse position to the sf::Event::MouseWheelMoved event
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1249 4e206d99-4929-0410-ac5d-dfc041789085
2009-10-27 15:56:16 +00:00
LaurentGom
a68ff5713b FS#65 - Add a blocking WaitEvent function
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1247 4e206d99-4929-0410-ac5d-dfc041789085
2009-10-27 11:50:11 +00:00
LaurentGom
31b72b6385 Fixed sfView_GetRotation missing in CSFML (and thus causing a crash in SFML.Net)
Updated Visual C++ 2005 export files for CSFML

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1244 4e206d99-4929-0410-ac5d-dfc041789085
2009-10-21 07:37:56 +00:00
LaurentGom
e9c042d060 Added RenderImage::Display() to CSFML and SFML.Net
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1243 4e206d99-4929-0410-ac5d-dfc041789085
2009-10-18 08:03:58 +00:00
LaurentGom
7f4de9033c Updated CSFML and SFML.Net in the sfml2 branch
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1233 4e206d99-4929-0410-ac5d-dfc041789085
2009-10-12 10:24:49 +00:00
LaurentGom
fc22927874 Synchronized with trunk
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1232 4e206d99-4929-0410-ac5d-dfc041789085
2009-10-08 07:15:26 +00:00
LaurentGom
49b97bb09a Fixed "lib" directory not created before building libraries, in SFML and CSFML Linux makefiles
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1231 4e206d99-4929-0410-ac5d-dfc041789085
2009-10-08 07:08:34 +00:00
LaurentGom
58db9f25b1 Added detection of FreeBSD in CSFML's config.h
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1229 4e206d99-4929-0410-ac5d-dfc041789085
2009-10-03 18:36:19 +00:00
LaurentGom
b7f7ac7f1a Changed the default install directory to /usr/local in Linux makefiles
Fixed absolute symbolic links to relative ones in Linux makefiles

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1224 4e206d99-4929-0410-ac5d-dfc041789085
2009-09-28 10:07:00 +00:00
LaurentGom
a5e20f23ca Synchronized with trunk
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1222 4e206d99-4929-0410-ac5d-dfc041789085
2009-09-24 08:33:34 +00:00
LaurentGom
565172fc75 Added automatic batching to improve performances
Moved the ConvertCoords function from RenderWindow to RenderTarget

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1221 4e206d99-4929-0410-ac5d-dfc041789085
2009-09-24 07:50:08 +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
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
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
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
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
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
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
ceylo
a455bf678c Updated to match changes made in SFML 1.5 Xcode project
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1130 4e206d99-4929-0410-ac5d-dfc041789085
2009-06-01 20:56:54 +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
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
4137072b0c Fixed OpenGL.h using wrong macros in CSFML
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1111 4e206d99-4929-0410-ac5d-dfc041789085
2009-05-28 15:48:43 +00:00
laurentgom
3e23e46a64 Fixed OpenGL.h using wrong macros in CSFML
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1110 4e206d99-4929-0410-ac5d-dfc041789085
2009-05-28 15:48:26 +00:00
laurentgom
f2fe1cc4ca Updated copyrights
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1108 4e206d99-4929-0410-ac5d-dfc041789085
2009-05-28 15:32:20 +00:00
laurentgom
a3d306bbdd Fixed OpenGL.hpp
Added missing OpenGL.h to Window.h in CSFML

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1107 4e206d99-4929-0410-ac5d-dfc041789085
2009-05-28 15:23:49 +00:00
laurentgom
2817b3e891 Fixed Shape.h missing in Graphics.h in CSFML
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1106 4e206d99-4929-0410-ac5d-dfc041789085
2009-05-28 15:12:14 +00:00
laurentgom
b4638c8da2 Fixed OpenGL.hpp not including Config.hpp
Added OpenGL.h to CSFML
Fixed Shape.h missing in Graphics.h in CSFML

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1105 4e206d99-4929-0410-ac5d-dfc041789085
2009-05-28 15:12:04 +00:00
ceylo
a5f48534e3 Set Release build style as default.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1103 4e206d99-4929-0410-ac5d-dfc041789085
2009-05-28 14:16:45 +00:00
ceylo
3a81c0cfab Initial import
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1101 4e206d99-4929-0410-ac5d-dfc041789085
2009-05-28 14:02:48 +00:00
ceylo
8227445af9 Added CSFML_EXPORTS macro.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1099 4e206d99-4929-0410-ac5d-dfc041789085
2009-05-25 21:36:53 +00:00
ceylo
51ad887785 Added CSFML_EXPORTS macro.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1098 4e206d99-4929-0410-ac5d-dfc041789085
2009-05-25 21:34:34 +00:00
ceylo
98c846e91a Initial import
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1097 4e206d99-4929-0410-ac5d-dfc041789085
2009-05-25 19:08:14 +00:00
ceylo
48337a81d9 Imported framework stuff.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1096 4e206d99-4929-0410-ac5d-dfc041789085
2009-05-25 19:01:02 +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
122730fc35 FS#97 - Added csfml-main to CSFML
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1084 4e206d99-4929-0410-ac5d-dfc041789085
2009-05-05 11:22:14 +00:00
ceylo
afd95360b7 Fixed install path. Added support for custom OpenAL framework.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1078 4e206d99-4929-0410-ac5d-dfc041789085
2009-04-28 18:42:44 +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
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
e2cb404ab2 Synchronized project files
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1067 4e206d99-4929-0410-ac5d-dfc041789085
2009-03-28 19:11:58 +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
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
ceylo
15ba8f9b3c Initial import of C binding.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1055 4e206d99-4929-0410-ac5d-dfc041789085
2009-03-14 14:15:04 +00:00