Commit Graph

61 Commits

Author SHA1 Message Date
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
ae57e56a98 FS#70 - Add support for unicode strings in sf::Packet
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1287 4e206d99-4929-0410-ac5d-dfc041789085
2009-11-26 08:26:01 +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
877df21756 Removed STATIC and DEBUGBUILD options from makefiles, debug symbols are now generated by default and installed to a separate folder
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1279 4e206d99-4929-0410-ac5d-dfc041789085
2009-11-19 23:31:33 +00:00
LaurentGom
fb543957ee Fixed the "edge" effect in the Shader sample
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1275 4e206d99-4929-0410-ac5d-dfc041789085
2009-11-12 07:44:11 +00:00
LaurentGom
4c9f2e18cd Forgot source code with last commit :)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1274 4e206d99-4929-0410-ac5d-dfc041789085
2009-11-11 11:54:44 +00:00
LaurentGom
677e0343e2 Updated the shader sample (fixed "blur", added "edge")
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1273 4e206d99-4929-0410-ac5d-dfc041789085
2009-11-11 11:53:20 +00:00
laurentgom
7aabc3c3c1 Fixed the Shader sample on Linux
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1272 4e206d99-4929-0410-ac5d-dfc041789085
2009-11-11 09:55:11 +00:00
laurentgom
15c81ba493 fixed samples makefile on Linux
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1271 4e206d99-4929-0410-ac5d-dfc041789085
2009-11-11 09:50:27 +00:00
LaurentGom
9c8843e85c Fixed error in the "wave" effect of the shader sample
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1270 4e206d99-4929-0410-ac5d-dfc041789085
2009-11-11 07:45:59 +00:00
LaurentGom
5d778b2bc4 Improved the API documentation of sf::View
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1263 4e206d99-4929-0410-ac5d-dfc041789085
2009-11-04 16:04:18 +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
17190bd158 Various improvements on OpenGL contexts handling
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1245 4e206d99-4929-0410-ac5d-dfc041789085
2009-10-27 09:20:20 +00:00
LaurentGom
1f3d7b6d0c Updated documentation
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1239 4e206d99-4929-0410-ac5d-dfc041789085
2009-10-15 08:37:32 +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
eee9eee226 Fixed Window sample
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1230 4e206d99-4929-0410-ac5d-dfc041789085
2009-10-04 13:00:59 +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
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
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
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
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
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
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
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
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
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
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
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
b0857ce6e2 Added project files for samples for VC++ 2008
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1133 4e206d99-4929-0410-ac5d-dfc041789085
2009-06-03 17:14:51 +00:00
ceylo
a438145760 git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1132 4e206d99-4929-0410-ac5d-dfc041789085 2009-06-01 22:58:37 +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
5461ddcb52 Removed debug code in window sample
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1120 4e206d99-4929-0410-ac5d-dfc041789085
2009-06-01 13:42:52 +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
a28a3b82d3 Removed console from OpenGL sample in release mode
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1114 4e206d99-4929-0410-ac5d-dfc041789085
2009-05-28 16:44:35 +00:00
laurentgom
caf7f915d5 fixed X11 sample
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1092 4e206d99-4929-0410-ac5d-dfc041789085
2009-05-21 08:48:01 +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
0883940b2a FS#108 - Updated the Qt sample and tutorial to work with Qt 4.5
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1082 4e206d99-4929-0410-ac5d-dfc041789085
2009-05-04 07:41:39 +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
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
364b0ae9b1 git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1075 4e206d99-4929-0410-ac5d-dfc041789085 2009-04-10 14:13:15 +00:00
laurentgom
e9d7547593 git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1074 4e206d99-4929-0410-ac5d-dfc041789085 2009-04-10 14:12:54 +00:00
LaurentGom
93e3db2668 Fixed <cstdlib> not included in some samples
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1072 4e206d99-4929-0410-ac5d-dfc041789085
2009-04-09 09:24:26 +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