Commit Graph

205 Commits

Author SHA1 Message Date
laurentgom
a94ed51702 ATI fix!
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1809 4e206d99-4929-0410-ac5d-dfc041789085
2011-03-21 07:08:26 +00:00
laurentgom
6cf2303484 Fixed typo in comment
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1808 4e206d99-4929-0410-ac5d-dfc041789085
2011-03-19 22:07:14 +00:00
laurentgom
f3d212f737 Merged some functions in sf::String
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1807 4e206d99-4929-0410-ac5d-dfc041789085
2011-03-19 19:49:16 +00:00
LaurentGom
58632672cb sf::Utf functions now use the global locale by default instead of the system's one
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1794 4e206d99-4929-0410-ac5d-dfc041789085
2011-02-09 16:44:43 +00:00
svenstaro
f5206544ce Lower case for mingw compatibility (native Windows doesn't care)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1790 4e206d99-4929-0410-ac5d-dfc041789085
2011-02-06 03:47:31 +00:00
LaurentGom
f4fa8b1fbc Renamed Window::UseVerticalSync to EnableVerticalSync
Renamed Shape::Get/SetOutlineWidth to Get/SetOutlineThickness

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1767 4e206d99-4929-0410-ac5d-dfc041789085
2011-01-02 22:23:12 +00:00
LaurentGom
87b207edc7 Reviewed all sf::Image functions to make the behaviour always well-defined and robust
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1764 4e206d99-4929-0410-ac5d-dfc041789085
2010-12-26 15:05:07 +00:00
laurentgom
d99ee43b67 Removed some documentation related to an unimplemented feature :)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1762 4e206d99-4929-0410-ac5d-dfc041789085
2010-12-22 14:48:52 +00:00
LaurentGom
74ebd1a50b Added conversions from/to latin-1 (ISO-5589-1) in sf::Utf classes
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1758 4e206d99-4929-0410-ac5d-dfc041789085
2010-12-20 18:00:12 +00:00
LaurentGom
166de04854 Added macros to define the SFML version in Config.hpp
Improved FindSFML.cmake to check the version

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1724 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-28 22:03:05 +00:00
LaurentGom
04075d6a4b Minor modifications to the Window::GetFrameTime() doc
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1690 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-21 09:33:45 +00:00
LaurentGom
7559f0669f Fixed errors (missing double-quotes) in VS 2010 project files generated by CMake, for static build
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1688 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-20 22:30:14 +00:00
LaurentGom
e73d274d86 New API for sf::Thread (more flexible)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1685 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-20 13:00:19 +00:00
LaurentGom
08393593e1 Fixed minor error in sf::Window::Window documentation, and removed a useless member
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1632 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-11 08:46:13 +00:00
LaurentGom
230f5e58ca Fixed texture cache not properly updated when a same sf::Image instance allocated a new OpenGL texture internally
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1631 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-09 21:55:24 +00:00
LaurentGom
1279cb208c Minor modifications to Config.hpp
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1615 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-05 14:09:29 +00:00
LaurentGom
6a6ff075e8 Removed the SFML_DYNAMIC symbol for dynamic builds, added SFML_STATIC for static builds
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1614 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-05 13:58:29 +00:00
LaurentGom
93d92ddb0d Increased the number of supported joysticks to 8
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1599 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-03 16:45:44 +00:00
LaurentGom
61dc7e0100 Added the TcpListener::Close function
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1585 4e206d99-4929-0410-ac5d-dfc041789085
2010-10-26 19:38:26 +00:00
LaurentGom
d327320b59 Changed sf::WindowHandle from void* to HWND on Windows
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1580 4e206d99-4929-0410-ac5d-dfc041789085
2010-10-13 16:38:39 +00:00
laurentgom
77078f53db Fixed a bug in the UTF-8 -> UTF-32 conversion when the input character type is signed
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1577 4e206d99-4929-0410-ac5d-dfc041789085
2010-10-11 08:37:21 +00:00
LaurentGom
274014e786 Fixed an error in the documentation of the Music::Play and Sound::Play functions
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1576 4e206d99-4929-0410-ac5d-dfc041789085
2010-10-06 21:10:25 +00:00
LaurentGom
36f9cf6cc1 Minor fixes in API documentation
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1569 4e206d99-4929-0410-ac5d-dfc041789085
2010-09-14 21:51:39 +00:00
LaurentGom
d35fc89512 Fixed a bug with threads and OpenGL context sharing
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1567 4e206d99-4929-0410-ac5d-dfc041789085
2010-09-14 18:59:30 +00:00
LaurentGom
6de9ea8a0f Workarounds used sf::Utf classes for broken MinGW locales, are not used when STLPort is detected
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1566 4e206d99-4929-0410-ac5d-dfc041789085
2010-09-08 18:52:39 +00:00
LaurentGom
fe484591f9 Changed the visibility of sf::Music's virtual functions from private to protected, so that one can derive and customize sf::Music easily
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1548 4e206d99-4929-0410-ac5d-dfc041789085
2010-08-11 08:46:52 +00:00
LaurentGom
ff2c4f2ee7 Replaced C standard headers (<xxx.h>) with their C++ version (<cxxx>)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1545 4e206d99-4929-0410-ac5d-dfc041789085
2010-08-02 20:36:27 +00:00
LaurentGom
ff367bdb57 Now using stb_image directly for loading image files, instead of SOIL (which is not maintained anymore)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1542 4e206d99-4929-0410-ac5d-dfc041789085
2010-07-31 14:06:30 +00:00
laurentgom
62e362ff6e Added a warning about position and color in the documentation of sf::Shape's Rectangle, Circle and Line static functions
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1540 4e206d99-4929-0410-ac5d-dfc041789085
2010-07-30 06:57:47 +00:00
LaurentGom
0444781a4b Improved tags for doxygen documentation (added relations between free functions and classes, grouped classes into modules)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1535 4e206d99-4929-0410-ac5d-dfc041789085
2010-07-22 21:45:58 +00:00
LaurentGom
dcbc7f29a4 Fixed a bug where the characters size was sometimes wrong in sf::Text
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1532 4e206d99-4929-0410-ac5d-dfc041789085
2010-07-18 15:59:59 +00:00
LaurentGom
ef8a2700fe FS#162 - Add a function to retrieve the system specific handle of a window
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1530 4e206d99-4929-0410-ac5d-dfc041789085
2010-07-15 21:13:55 +00:00
LaurentGom
7ff4cb5ca4 Some minor corrections in API documentation and parameters names
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1526 4e206d99-4929-0410-ac5d-dfc041789085
2010-06-11 22:08:49 +00:00
LaurentGom
280ce139d6 Some minor corrections in API documentation and parameters names
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1525 4e206d99-4929-0410-ac5d-dfc041789085
2010-06-11 21:52:51 +00:00
LaurentGom
1ee9965059 Finished to write the API documentation of the graphics classes
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1524 4e206d99-4929-0410-ac5d-dfc041789085
2010-06-11 21:38:56 +00:00
LaurentGom
d48c7ff18c Fixed a bug with Image.Copy in SFML.Net (was calling the wrong CSFML function)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1521 4e206d99-4929-0410-ac5d-dfc041789085
2010-05-21 19:13:50 +00:00
LaurentGom
aaf080368b Fixed header <iterator> missing in the voip sample
Minor additions to the API documentation of the drawable classes

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1520 4e206d99-4929-0410-ac5d-dfc041789085
2010-05-13 11:00:29 +00:00
LaurentGom
073e7864ef Updated the API documentation of the graphics module
sf::Image now uses GL_CLAMP_TO_EDGE instead of GL_CLAMP (removes black border when the image is smooth)

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1511 4e206d99-4929-0410-ac5d-dfc041789085
2010-04-20 11:10:34 +00:00
LaurentGom
1e6161c750 Updated the Matrix3 class and documentation (internal stuff)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1507 4e206d99-4929-0410-ac5d-dfc041789085
2010-04-10 11:29:44 +00:00
LaurentGom
a00a9c1cc2 Modified the overloads of sf::Shape::Rectangle according to the last modification
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1506 4e206d99-4929-0410-ac5d-dfc041789085
2010-04-10 09:35:15 +00:00
LaurentGom
082a928555 *important* sf::Rect now uses Width/Height instead of Right/Bottom
Removed Offset, GetSize and GetCenter functions from sf::Rect
Added a sf::Rect constructor taking two Vector2 parameters
Updated the API documentation of the sf::Rect class

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1503 4e206d99-4929-0410-ac5d-dfc041789085
2010-04-09 13:04:49 +00:00
LaurentGom
ae2ae15e12 FS#159 - Add sf::Window::SetTitle
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1502 4e206d99-4929-0410-ac5d-dfc041789085
2010-04-09 07:35:08 +00:00
LaurentGom
a512479a42 Renamed internal classes related to OpenGL contexts in the window module
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1501 4e206d99-4929-0410-ac5d-dfc041789085
2010-04-09 06:55:29 +00:00
LaurentGom
41f09975ab Packets handling in UdpSocket is now more robust
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1490 4e206d99-4929-0410-ac5d-dfc041789085
2010-04-05 14:06:37 +00:00
LaurentGom
507f467390 Added TcpListener::GetLocalPort()
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1480 4e206d99-4929-0410-ac5d-dfc041789085
2010-03-29 17:02:10 +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
691eea4c69 Removed IpAddress::IsValid(), added IpAddress::None
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1456 4e206d99-4929-0410-ac5d-dfc041789085
2010-03-13 09:50:24 +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
6e5b213bfb Renamed IPAddress.hpp to IpAddress.hpp
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1448 4e206d99-4929-0410-ac5d-dfc041789085
2010-03-11 14:31:39 +00:00
LaurentGom
72b49a3592 Made sf::IPAddress comparison operators non-member
Minor fix in sf::Clock API documentation

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1447 4e206d99-4929-0410-ac5d-dfc041789085
2010-03-11 14:27:57 +00:00
LaurentGom
ef216acc5f Minor changes to the documentation and some parameters names
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1444 4e206d99-4929-0410-ac5d-dfc041789085
2010-03-08 17:50:16 +00:00
LaurentGom
4e93cc92fa Synchronized with trunk
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1442 4e206d99-4929-0410-ac5d-dfc041789085
2010-03-05 11:05:30 +00:00
LaurentGom
786408c5bc Sockets can now handle properly the situation where the packet size is received in multiple chunks
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1433 4e206d99-4929-0410-ac5d-dfc041789085
2010-03-02 12:00:12 +00:00
LaurentGom
bb414773d1 Added Insert and Find functions to sf::String
Added implicit constructors to sf::String for converting from single characters (char, wchar_t and Uint32)

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1429 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-26 09:36:38 +00:00
LaurentGom
6f6481ef38 Fixed images and shaders sometimes not updated when they are modified while they are used
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1427 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-25 19:05:57 +00:00
LaurentGom
f30c2871fc FS#157 - Disable implicit conversion from sf::Image to sf::Sprite
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1425 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-24 17:23:32 +00:00
LaurentGom
76de05af61 FS#150 - SFML should use its own stream instead of std::cerr, for reporting errors
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1417 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-22 11:30:43 +00:00
LaurentGom
be7865e468 Fixed RenderTarget::ConvertCoords returning incorrect tiny numbers for very large views
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1415 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-21 22:36:45 +00:00
LaurentGom
0aaebddc7b Updated the API documentation of RenderTarget, RenderImage and RenderWindow
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1413 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-19 14:34:34 +00:00
LaurentGom
504804a06e Fixed RenderTarget::ConvertCoords returning wrong Y coordinates
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1410 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-17 17:17:20 +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
d89d721b96 Made sf::Input and events more consistent / synchronized
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1405 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-17 07:57:26 +00:00
LaurentGom
8a1a6bbfab Made sf::Resource thread-safe
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1404 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-12 08:09:54 +00:00
LaurentGom
239071c0fa Changed constructors of sf::Window and sf::RenderWindow taking a single parameter to be explicit (to avoid implicit conversions like ^sf::Window w = 0^)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1402 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-11 13:10:12 +00:00
LaurentGom
79c7bf8e02 Synchronized with trunk
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1399 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-10 14:42:53 +00:00
LaurentGom
21c6f97617 Removed all references to sf::RenderImage, which doesn't exist in SFML 1.x
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1398 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-10 13:54:38 +00:00
LaurentGom
b7b876eb26 Removed all the useless "sf::"
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1397 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-10 11:09:55 +00:00
LaurentGom
2840618c70 The projection matrix is now handled more efficiently in sf::Renderer
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1392 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-04 19:25:00 +00:00
LaurentGom
e2b5268504 New try for pixel-perfect rendering -- waiting for feedbacks
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1390 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-03 14:07:19 +00:00
LaurentGom
f96a3864bc Fixed wrong project name :D
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1386 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-30 11:37:53 +00:00
LaurentGom
57194f4d4b Synchronized with trunk
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1372 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-26 10:52:36 +00:00
LaurentGom
362f374732 FS#104 - Fix crash when destroying a SoundBuffer used by a Sound
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1370 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-26 09:49:03 +00:00
LaurentGom
4220795de4 Synchronized with trunk
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1369 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-21 10:13:44 +00:00
LaurentGom
6341b569db FS#139 - Fix tiny musics ignoring the "loop" flag
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1368 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-21 10:00:31 +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
40f13c7302 Removed all the remaining const_cast, and replaced them with mutable members (this is needed for optimized lazy calculations)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1353 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-13 13:55:20 +00:00
LaurentGom
273cba055c Added Style::Default for windows' style
Removed unused #includes from RenderWindow.cpp

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1345 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-11 12:46:44 +00:00
LaurentGom
7b83fbc544 Merged all the joystick fixes from trunk
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1343 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-11 09:04:59 +00:00
LaurentGom
327cfe4ec6 Fixed sf::RenderQueue not being exported
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1340 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-09 11:45:56 +00:00
LaurentGom
db72c6e47c Renamed Mouse::Count to Mouse::ButtonCount
Renamed Joy::Count to Joy::AxisCount
Added Joy::Count and Joy::ButtonCount

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1328 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-06 08:48:57 +00:00
LaurentGom
e2d0ffcdcf Fixed the number of supported joysticks in sf::Input
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1327 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-06 08:36:55 +00:00
LaurentGom
bd9a60fef2 Reverted last modifications in sf::Input (they were supposed to happen in trunk)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1326 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-06 08:32:26 +00:00
LaurentGom
b31495fa01 Fixed number of joysticks in sf::Input (was still 2)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1323 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-05 19:16:54 +00:00
LaurentGom
6d717f3c87 Modified sf::RenderTarget so that it handles views by value rather than by reference
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1315 4e206d99-4929-0410-ac5d-dfc041789085
2009-12-31 16:43:24 +00:00
LaurentGom
54e70a47f0 Fixed documentation of sf::NonCopyable
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1314 4e206d99-4929-0410-ac5d-dfc041789085
2009-12-30 10:22:07 +00:00
LaurentGom
e8f2136890 Removed an unused header in SFML/Network
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1313 4e206d99-4929-0410-ac5d-dfc041789085
2009-12-29 16:34:46 +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
fb7470cbc3 FS#133 - Add a function to make fast updates of an image's pixels from an external source
Removed sf::Image constructors that called CreateXxx or LoadXxx (there was no way to check errors)


git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1307 4e206d99-4929-0410-ac5d-dfc041789085
2009-12-05 11:35:27 +00:00
LaurentGom
aff5c1a47c Renamed Image::GetValidTextureSize to Image::GetValidSize
Added Image::GetMaximumSize

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1306 4e206d99-4929-0410-ac5d-dfc041789085
2009-12-04 13:55:16 +00:00
LaurentGom
a8a3b423bf Fixed endless loop when creating an OpenGL 3.x context (bug introduced by the last modification)
Updated the API documentation of the graphics module

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1302 4e206d99-4929-0410-ac5d-dfc041789085
2009-12-03 16:47:56 +00:00
LaurentGom
4418469d97 Added SetSmooth / IsSmooth to sf::RenderImage
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1299 4e206d99-4929-0410-ac5d-dfc041789085
2009-12-03 08:29:35 +00:00
LaurentGom
10296333be Fixed minor warnings after the last commit
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1298 4e206d99-4929-0410-ac5d-dfc041789085
2009-12-02 20:50:21 +00:00
LaurentGom
6bd654b854 Fixed wrong type for OpenGL indices (std::size_t could be 64 bits on 64 bits platforms -- now using sf::Uint32)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1297 4e206d99-4929-0410-ac5d-dfc041789085
2009-12-02 20:45:53 +00:00
LaurentGom
642c4fecfa Fixed compile warnings in sfml-graphics
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1293 4e206d99-4929-0410-ac5d-dfc041789085
2009-11-27 08:21:41 +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
5669793e9e Updated the API documentation of Utf and String classes
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1288 4e206d99-4929-0410-ac5d-dfc041789085
2009-11-26 08:51:39 +00:00