Laurent Gomila
e46016a79d
Removed Window::GetMouseFocusWindow
2011-07-11 23:26:09 +02:00
Laurent Gomila
46843d84f7
Fixed typo in comments
2011-07-11 08:01:48 +02:00
Laurent Gomila
270f505570
Removed Window::GetCursorPosition/SetCursorPosition, added Mouse::GetPosition/SetPosition (two versions: one that handles desktop coordinates, one that handles window coordinates)
2011-07-08 07:56:14 +02:00
Laurent Gomila
15f6eca815
Updated CSFML and SFML.Net to the new input classes
2011-07-05 23:04:03 +02:00
Laurent Gomila
8621e45960
Implemented global inputs (sf::Keyboard, sf::Mouse, sf::Joystick) and removed the event-based sf::Input.
...
Window::WaitEvent now works with joystick events as well.
Added Event::JoystickConnected and Event::JoystickDisconnected.
Added Window::GetCursorPosition.
2011-07-04 08:21:40 +02:00
Laurent Gomila
48e30ea0e3
Made the behaviour of Thread::Wait consistent across implementations when called from its owner thread
2011-06-12 14:08:54 +02:00
Laurent Gomila
175cddee58
UdpSocket::Send(Packet) is now limited to UdpSocket::MaxDatagramSize, so that data is never split into multiple datagrams, which removes a lot of potential major problems
2011-06-11 11:28:43 +02:00
Laurent Gomila
79d5217c42
Minor fix in sf::Text
2011-06-09 08:37:25 +02:00
Laurent Gomila
df61292f65
Made sf::Mutex recursive on Unix, the behaviour is now consistent across platforms
2011-05-31 23:31:25 +02:00
Laurent Gomila
d938899f5c
Window::SetCursorPosition now triggers MouseMoved events
2011-05-30 18:56:49 +02:00
Laurent Gomila
94ab420dd3
Implemented the sf::Packet to bool conversion using the safe-bool idiom
2011-05-25 20:45:16 +02:00
Laurent Gomila
1526d09701
Changed Packet::operator bool() to Packet::operator void*(), to avoid inappropriate implicit conversions
2011-05-24 22:10:13 +02:00
Laurent Gomila
1a59b9291e
Minor fix in documentation
2011-05-23 07:38:49 +02:00
Laurent Gomila
e4c6c30e0b
Times in SFML are now Uint32 milliseconds instead of float seconds
...
Added the sf::Uint64 and sf::Int64 types
2011-05-19 08:19:42 +02:00
Laurent Gomila
a4f6e915a0
Removed the sf::Randomizer class from the system module
2011-05-10 08:16:22 +02:00
Laurent Gomila
2f9a47b463
Minor fixes in documentation related to joysticks
2011-05-06 14:03:15 +02:00
Laurent Gomila
ede01df778
Added the sf::Event::KeyEvent::System member (implements feature #8 )
2011-04-26 21:58:03 +02:00
Laurent Gomila
eac841ec71
Added explicit conversions between different types of sf::Vector2, sf::Vector3 and sf::Rect (implements feature #31 )
2011-04-26 19:20:24 +02:00
Laurent Gomila
df6874273a
Renamed Window::GetEvent to PollEvent
2011-04-11 18:20:21 +02:00
Laurent Gomila
b8ddbb6dcc
Updated documentation of Image::SetSmooth
2011-04-08 17:49:48 +02:00
Laurent Gomila
f6bbbb6e6d
Inversed rotation angle in drawables, to make it match the Y axis pointing down in SFML (fixes issue #3 )
2011-04-06 08:13:55 +02:00
Laurent Gomila
92f70b32e9
Replaced the P-Buffer implementation of RenderImage with a generic "in-memory context" one
2011-04-04 08:20:03 +02:00
Laurent Gomila
3acacc8049
Updated sf::Context main description
2011-04-01 21:52:52 +02:00
laurentgom
f632253adc
Fixed compile error ('NULL' not defined) with gcc 4.6 in System/Resource.hpp
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1812 4e206d99-4929-0410-ac5d-dfc041789085
2011-03-21 10:27:29 +00:00
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