Commit Graph

69 Commits

Author SHA1 Message Date
LaurentGom
4472f81469 Updated CSFML to properly handle the new way of storing views in render targets
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1322 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-05 19:15:20 +00:00
LaurentGom
bc6beac402 FS#144 - Implement copy "constructors" in CSFML
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1320 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-05 17:52:56 +00:00
LaurentGom
c72312f9a4 Improved the quality of sf::Text::Bold and made it more efficient
Made sf::Text::Underlined style more robust

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1310 4e206d99-4929-0410-ac5d-dfc041789085
2009-12-14 21:26:30 +00:00
LaurentGom
3a34f81561 Complete rewrite of sf::Font to make it more flexible (no more fixed charset and size)
FS#125 - Fix tab character not working in sf::String

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1309 4e206d99-4929-0410-ac5d-dfc041789085
2009-12-13 15:49:30 +00:00
laurentgom
148626ed5b Applied to CSFML makefiles the same modifications as the SFML ones
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1301 4e206d99-4929-0410-ac5d-dfc041789085
2009-12-03 09:19:25 +00:00
LaurentGom
acfc296150 Removed sfFont_Create() from CSFML
Removed sfText_GetWidth() and sfFont_GetHeight() declarations from SFML.Net (these functions don't exist)

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1294 4e206d99-4929-0410-ac5d-dfc041789085
2009-11-29 10:06:34 +00:00
LaurentGom
d979ca254e Fixed linker errors in sfml-network and csfml-network
Made every read-only pointer "const" in CSFML

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1290 4e206d99-4929-0410-ac5d-dfc041789085
2009-11-26 20:09:57 +00:00
LaurentGom
78247bd386 FS#90 - Improve Unicode string classes
Added the sf::String class to replace (and enhance) sf::Unicode::Text
FS#138 - Rename sf::String to sf::Text


git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1286 4e206d99-4929-0410-ac5d-dfc041789085
2009-11-26 08:07:38 +00:00
LaurentGom
8e4c61dd19 Added the context version to ContextSettings
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1261 4e206d99-4929-0410-ac5d-dfc041789085
2009-11-03 15:13:11 +00:00
LaurentGom
683f82b118 Forgot to remove a CSFML debug project in last commit
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1259 4e206d99-4929-0410-ac5d-dfc041789085
2009-11-03 09:37:28 +00:00
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