Commit Graph

2683 Commits

Author SHA1 Message Date
Laurent Gomila
3cd3e88e0e Fixed CMakeLists.txt in src/SFML/Window 2011-07-08 15:16:22 +02:00
Marco Antognini
1066caa771 Fix annoying sound alert when escape is pressed on OS X 2011-07-08 15:16:22 +02:00
Laurent Gomila
c850d3b111 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-08 15:16:22 +02:00
Laurent Gomila
ac43d278aa Fixed error in Linux/InputImpl 2011-07-08 08:17:17 +02:00
Laurent Gomila
4fe9a3843a Fixed the Linux implementation of the new Mouse functions 2011-07-08 08:15:36 +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
9441bd6e8c Removed the D and Python bindings 2011-07-06 23:10:53 +02:00
Laurent Gomila
bdbfe2b0b5 Removed the C binding (moved to its own repository) 2011-07-06 22:42:56 +02:00
Laurent Gomila
a198d1e0fa Removed the .Net binding (moved to its own repository) 2011-07-06 22:34:01 +02:00
Laurent Gomila
f85accc99f Updated the Visual Basic example of SFML.Net 2011-07-06 22:13:27 +02:00
Laurent Gomila
2d705fee04 Fixed a minor warning and a compile error 2011-07-06 07:49:06 +02:00
Laurent Gomila
e120bd82fe Merge branch 'master' of github.com:LaurentGomila/SFML 2011-07-05 23:05:15 +02:00
Laurent Gomila
15f6eca815 Updated CSFML and SFML.Net to the new input classes 2011-07-05 23:04:03 +02:00
Marco Antognini
d5690ae8bc Fixed sndfile load error on OS X 10.5 (Issue #70)
New version of sndfile.framework
2011-07-05 13:52:25 +02:00
Laurent Gomila
566699f912 Fixed CMakeLists.txt in src/SFML/Window 2011-07-04 19:43:36 +02:00
Laurent Gomila
39780549ea Merge branch 'master' of github.com:LaurentGomila/SFML 2011-07-04 13:27:29 +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
Marco Antognini
edf82be16b Fix autorelease problem (issue #62) 2011-07-03 22:41:06 +02:00
Marco Antognini
efd97597bf Fix annoying sound alert when escape is pressed on OS X 2011-07-03 22:41:06 +02:00
Marco Antognini
de70f691e1 Improved cmake for OS X 10.5 2011-07-03 18:45:51 +02:00
Marco Antognini
202e41c80c minor compiler warnings fixed 2011-07-03 17:21:05 +02:00
Marco Antognini
807ffcd7f2 Fixed Issue #66
Remove broken include
2011-07-01 11:55:35 +02:00
Marco Antognini
f9435eb881 Fixed SetCursorPosition in fullscreen mode and DRYed some code
SetCursorPosition is now working properly in fullscreen mode.
Some redundant code has been removed and refactored.
2011-06-24 00:10:04 +02:00
Marco Antognini
95a81c6075 Fixed universal build on OS X. 2011-06-20 10:21:27 +02:00
Laurent Gomila
5469eaa8c0 Added an assert in Thread::Wait() if the thread tries to wait for itself 2011-06-14 17:49:33 +02:00
Laurent Gomila
d497401e3a Reverted changes in the Win32/ThreadImpl (didn't compile on MinGW and Windows < Vista) 2011-06-14 08:09:32 +02:00
Laurent Gomila
e065b95db6 Fixed links in the documentation main page 2011-06-13 18:07:01 +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
b0ebca9d29 Minor fix in UdpSocket::Send(Packet) 2011-06-12 13:14:50 +02:00
Laurent Gomila
0dc5003969 Fixed warning in GlxContext constructor 2011-06-11 18:51:43 +02:00
Laurent Gomila
75e07d63d3 Fixed error in FindSFML.cmake when parsing SFML 1.x Config.hpp for version number 2011-06-11 12:04:52 +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
f0ed4ba446 Removed forgotten debug stuff from the "shader" example 2011-05-31 23:12:52 +02:00
Laurent Gomila
d938899f5c Window::SetCursorPosition now triggers MouseMoved events 2011-05-30 18:56:49 +02:00
Marco Antognini
0449e74dc3 Add Xcode 4 templates (issue #13) 2011-05-29 17:25:04 +02:00
Laurent Gomila
67c498dde3 Changed the STATIC_STD_LIBS CMake option to FALSE by default (matches the default compilers' settings) 2011-05-28 14:28:22 +02:00
Laurent Gomila
7bf0bdf161 Updated sfPacket_CanRead in CSFML 2011-05-26 07:47:58 +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
43d4d0bb28 Fixed last commit 2011-05-25 07:38:18 +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
Marco Antognini
c1ce16f4d6 Improved SetCursorPosition on Mac (fixes issue #46) 2011-05-18 21:49:45 +02:00
Laurent Gomila
6383f0c800 Minor change in shared library naming on Linux 2011-05-16 08:00:30 +02:00
Laurent Gomila
04ae896457 Added the STATIC_STD_LIBS option to CSFML makefiles 2011-05-16 07:57:41 +02:00
Laurent Gomila
effc31327b Changed the FORCE_STATIC_VCRT to STATIC_STD_LIBS, made it available for MinGW/gcc and set it to TRUE by default 2011-05-16 00:00:00 +02:00
Marco Antognini
0e826d8dec Fixed shader examples 2011-05-15 13:37:29 +02:00
Laurent Gomila
0f2fb0e2f6 Fixed static build with MinGW/gcc (was broken after the previous update of external libraries) 2011-05-15 11:07:17 +02:00