Commit Graph

87 Commits

Author SHA1 Message Date
LaurentGom
af22a15df3 Fixed the linker warning about conflicting libraries in Visual C++ projects
Fixed a minor warning in UdpSocket.cpp


git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1497 4e206d99-4929-0410-ac5d-dfc041789085
2010-04-07 10:03:09 +00:00
LaurentGom
9280771665 FS#86 - Rewrite the sockets API
Updated the API documentation of the whole network module
The system headers are no longer included by the sfml-network public headers

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1475 4e206d99-4929-0410-ac5d-dfc041789085
2010-03-23 09:39:43 +00:00
LaurentGom
6b23d15a14 Changed the internal storage of pixels in sf::Image (vector<Color> --> vector<Uint8>)
Changed the Glyph structure to allow using sprites to display glyphs

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1473 4e206d99-4929-0410-ac5d-dfc041789085
2010-03-19 16:06:18 +00:00
LaurentGom
ca7c1d1690 Applied the last IpAddress modifications to CSFML
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1457 4e206d99-4929-0410-ac5d-dfc041789085
2010-03-13 10:20:13 +00:00
LaurentGom
809b09292f Merged VideoMode::GetMode and VideoMode::GetModesCount into a single new function VideoMode::GetFullscreenModes
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1453 4e206d99-4929-0410-ac5d-dfc041789085
2010-03-12 14:07:28 +00:00
LaurentGom
e924c9cf39 Improved the API documentation of sf::IpAddress
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1452 4e206d99-4929-0410-ac5d-dfc041789085
2010-03-12 09:35:17 +00:00
LaurentGom
b7eb09cb79 Renamed IPAddress.cpp to IpAddress.cpp in CSFML
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1451 4e206d99-4929-0410-ac5d-dfc041789085
2010-03-11 15:03:47 +00:00
LaurentGom
38e590ea52 Renamed IPAddress.h to IpAddress.h in CSFML
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1450 4e206d99-4929-0410-ac5d-dfc041789085
2010-03-11 15:03:38 +00:00
LaurentGom
f9680f1818 Added Image::UpdatePixels to CSFML and SFML.Net
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1436 4e206d99-4929-0410-ac5d-dfc041789085
2010-03-03 11:41:23 +00:00
LaurentGom
914db8bce0 Upgraded to the latest version of OpenAL Soft (1.11.753) on Windows
Fixed linker settings for Code::Blocks projects so that libgcc_s_dw2-1.dll is not required when compiling with gcc 4

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1432 4e206d99-4929-0410-ac5d-dfc041789085
2010-03-02 08:38:45 +00:00
LaurentGom
47d019098c Changed the parameter of LoadFromMemory functions to be a const void* instead of a const char*
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1409 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-17 14:43:09 +00:00
LaurentGom
b60fda48d9 Renamed Shape::GetNbPoints to Shape::GetPointsCount (consistent with the other similar functions)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1408 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-17 12:05:02 +00:00
LaurentGom
ec524788c9 Fixed object files path in Visual C++ projects
Added CSFML batch-build for all Windows compilers

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1377 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-28 09:51:39 +00:00
LaurentGom
c237305f9b Removed all the automatic batching stuff and replaced it with a more straight-forward implementation using a state cache for optimizing performances
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1362 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-19 20:39:32 +00:00
LaurentGom
8a848e3175 Fixed sfSoundRecorder_IsAvailable still named sfSoundRecorder_CanRecord
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1351 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-12 14:52:44 +00:00
LaurentGom
7b5d8c2815 Fixed sfInput functions not properly exported in CSFML
Added the default window style to CSFML and SFML.Net

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1350 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-12 14:01:57 +00:00
LaurentGom
6c44a1d33a Added the missing adjustToNewSize parameter of Sprite::SetImage in CSFML
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1346 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-11 14:46:08 +00:00
LaurentGom
0baf8e9b46 Added 3 missing functions in csfml-graphics-d.def export file
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1336 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-07 21:51:51 +00:00
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