Laurent Gomila
c33fa1d290
Added SetPointsCount in sf::CircleShape
2011-12-10 15:22:21 +01:00
Laurent Gomila
048abbf46f
Renamed GetOutlinePoint/GetOutlinePointsCount to GetPoint/GetPointsCount in sf::Shape, and made them public
2011-12-10 14:58:18 +01:00
Laurent Gomila
e6956d8e4d
Removed the sf::StarShape class
2011-12-10 14:51:03 +01:00
Laurent Gomila
c9b87ec8a9
Added support for vertex shaders in sf::Shader
...
Rewrote the Shader example
2011-12-10 13:02:38 +01:00
Laurent Gomila
bc64da0469
Fixed bug in Music::SetPlayingOffset (didn't work above a given timestamp)
2011-12-09 20:56:48 +01:00
Laurent Gomila
4d0a6a299a
Fixed typo
2011-12-06 18:08:37 +01:00
Laurent Gomila
528961c967
Fixed bug in sf::Shape
2011-12-04 20:59:26 +01:00
Laurent Gomila
6381d10d40
Made one-arg constructors explicit in shapes classes
2011-12-04 20:43:28 +01:00
Laurent Gomila
0548b226ef
sf::Shape now outputs less warnings about the number of points
2011-12-04 11:25:20 +01:00
Laurent Gomila
7deec641ac
Fixed compile error caused by previous commit
2011-12-04 11:22:46 +01:00
Laurent Gomila
44cc9bad84
Added constructors with parameters for shapes, and default-constructed shapes are now always empty
2011-12-04 10:53:14 +01:00
Laurent Gomila
6034b80ddf
sf::ConvexShape was not updated when SetPointsCount or SetPoint was called
2011-12-03 14:24:26 +01:00
Laurent Gomila
eeff685255
Merge branch 'master' into drawables
...
Conflicts:
include/SFML/Graphics/Sprite.hpp
include/SFML/Graphics/Text.hpp
src/SFML/Graphics/Sprite.cpp
2011-12-02 20:58:14 +01:00
Laurent Gomila
5bae08a2d8
Implemented the new graphics API:
...
- Removed the internal classes sf::Renderer and sf::Matrix3
- Split sf::Drawable into sf::Drawable and sf::Transformable
- Added sf::Transform
- Added sf::Vertex
- Added sf::VertexArray
- Types of shapes are now handled with their own derived class
- Modified the Pong example
2011-12-01 23:24:58 +01:00
Thomas Knepper
6f44f12faf
Explicit use signed char for included font data to enable cross-compile for an arm-based system
...
From ISO/IEC 9899:1999, 6.2.5.15 (p. 49):
The implementation shall define char to have the same range,
representation, and behavior as either signed char or unsigned char.
Signed-off-by: Thomas Knepper <thknepper@gmx.de>
2011-11-29 21:57:53 +01:00
Laurent Gomila
09854baccf
Fixed compile error on Unix systems (caused by the latest commit)
2011-11-21 07:55:52 +01:00
Laurent Gomila
ac16c8562f
Merge branch 'master' of github.com:LaurentGomila/SFML
2011-11-20 13:50:42 +01:00
Laurent Gomila
a5d40de8a2
Replaced unsigned long with Uint32 in the public API (avoids size problems with bindings)
2011-11-20 13:50:11 +01:00
Marco Antognini
a9f0ba7943
Remove unused file
2011-11-09 20:13:48 +01:00
Laurent Gomila
017ef652f9
Removed the Resource and ResourcePtr classes
2011-11-05 15:50:44 +01:00
Laurent Gomila
46b2c096c4
Added extra underscores to gcc 4 specific attributes (visibility, constructor)
2011-11-04 08:01:56 +01:00
Laurent Gomila
5b6c824773
Fixed error in subrect adjustment in Texture::LoadFromImage
2011-10-07 08:03:24 +02:00
Laurent Gomila
9f7573c395
Fixed signed/unsigned comparison
2011-10-03 22:10:48 +02:00
Laurent Gomila
35bdbf6e2e
Merge branch 'master' of github.com:LaurentGomila/SFML
2011-09-30 13:44:12 +02:00
Laurent Gomila
d58d6e51bc
Added explicit include directories for OpenGL and X11 in CMake files
2011-09-30 13:43:52 +02:00
Marco Antognini
0fd992d56e
fix OS X alert related to key event ( close #98 )
2011-09-24 13:34:58 +02:00
Laurent Gomila
2856090573
Fixed error when calling Shader::LoadFromFile multiple times on the same instance
2011-09-18 22:46:11 +02:00
Marco Antognini
91d56172b0
Improved SFML integration with Cocoa
2011-09-18 10:43:21 +02:00
Laurent Gomila
78a625de22
CMake configuration is now stopped if the Xrandr library (Linux) is not found
2011-09-10 18:36:12 +02:00
Laurent Gomila
dad362bf69
Fixed Listener::GetGlobalVolume returning wrong values
2011-09-08 08:16:37 +02:00
Marco Antognini
ecaafa9a18
Fixed sf::Window::Create on OS X ( Closes #86 )
2011-09-05 18:54:27 +02:00
Marco Antognini
b834787946
Removed dummy.cpp
2011-09-05 18:53:20 +02:00
Marco Antognini
6c0535db45
Fixed OSX/ShowMouseCursor
2011-09-05 18:53:20 +02:00
Marco Antognini
32563cdc6f
Improved SFML integration with Cocoa
2011-09-05 18:53:20 +02:00
Laurent Gomila
d6a40cf062
Fixed IpAddress::GetLocalAddress() (was incorrectly returning 127.0.0.1)
2011-09-04 14:46:36 +02:00
Laurent Gomila
c51e22cb52
Fixed sf::Mouse::IsButtonPressed and sf::Keyboard::IsKeyPressed incorrectly returning true on Windows
2011-09-02 23:03:46 +02:00
Laurent Gomila
7f390367f1
OpenGL.hpp now includes windows.h only with VC++
2011-09-02 19:26:49 +02:00
Marco Antognini
7d919f4344
Fixed frameworks compilation
2011-08-21 20:15:55 +02:00
Laurent Gomila
e5d635350e
Fixed sf::Music::GetDuration()
2011-08-19 18:44:46 +02:00
Laurent Gomila
1e2aca6e49
Fixed sf::Texture copy constructor
2011-08-19 18:28:21 +02:00
Laurent Gomila
9cda5d0474
Fixed Texture::LoadFromXxx functions not working when loading a sub-rectangle of the image
2011-08-16 08:11:36 +02:00
Laurent Gomila
541509d2a7
sf::Texture's function don't preserve the current texture binding anymore (was used to keep mixing SFML and OpenGL safe, but the potential performance loss was too high -- glGet* may trigger a glFlush)
2011-08-12 15:40:32 +02:00
Marco Antognini
b7c788dbf9
Fixed fullscreen exit
2011-08-10 10:42:37 +02:00
Marco Antognini
6b98053101
Improved OSX/Cmake and dylibs' execution path
2011-08-08 23:41:30 +02:00
Laurent Gomila
7f11d16f3b
Fixed SoundStream::GetPlayingOffset looping after a few seconds
2011-08-08 20:49:57 +02:00
Laurent Gomila
d5ced60dec
Fixed font's textures not smoothed
2011-08-07 19:33:26 +02:00
Laurent Gomila
9e76f583b9
Fixed a warning in sfml-window (on Windows)
2011-08-07 19:21:59 +02:00
Martin Foot
13986b2a3b
Fix CMake variables to allow adding SFML as a dependency.
2011-08-07 14:33:42 +01:00
Laurent Gomila
3bba2fab98
Merge branch 'master' of github.com:LaurentGomila/SFML
2011-08-03 20:10:28 +02:00
Laurent Gomila
f5294d5342
Added Image::FlipHorizontally and Image::FlipVertically
2011-07-29 22:04:59 +02:00
Marco Antognini
732b789e2e
Improved OSX/Joysticks performance
2011-07-28 18:01:41 +02:00
Marco Antognini
fe3ef8c34c
Minor comment update via GitHub
2011-07-25 02:57:41 -07:00
Marco Antognini
acfdc5b8f2
Minor Antialiasing update for Mac OS X
2011-07-23 13:41:57 +02:00
Laurent Gomila
e509f01180
Split sf::Image into sf::Image and sf::Texture (implements issue #18 )
2011-07-22 22:31:27 +02:00
Laurent Gomila
d337a98321
Fixed a minor bug in Font::LoadFromStream
2011-07-21 20:37:46 +02:00
Laurent Gomila
853c2349ed
Merge branch 'master' of github.com:LaurentGomila/SFML
2011-07-20 08:04:12 +02:00
Laurent Gomila
3d4bb1f568
Renamed InputStream::GetPosition to InputStream::Tell (more consistent naming)
2011-07-20 08:03:40 +02:00
Marco Antognini
ae489fa5d0
Prevent Mac OS from sending a sound/visual alert when command is pressed with another key
2011-07-19 15:06:52 +02:00
Laurent Gomila
aada9ca545
Fixed missing <cstring> include in font.cpp
2011-07-17 18:32:14 +02:00
Laurent Gomila
dfe7cba373
Merge branch 'master' of github.com:LaurentGomila/SFML
2011-07-17 12:22:08 +02:00
Laurent Gomila
c5276ff30a
Added a new InputStream interface, and LoadFromStream functions to resource classes
2011-07-17 12:21:47 +02:00
Laurent Gomila
73665bd50a
Fixed error in Mouse::Set/GetPosition when the given window was already closed
2011-07-17 11:26:28 +02:00
Marco Antognini
c3e64230cb
OSX/Mouse::GetPosition(relativeTo) no longer complains when the window is closed
2011-07-14 09:59:20 +02:00
Marco Antognini
535733f5c7
Implemented OSX/Joysticks and fixed some tabulations
2011-07-13 22:16:34 +02:00
Laurent Gomila
61adc51d09
Fixed rectangle bug in Image::CopyScreen
2011-07-11 23:42:32 +02:00
Laurent Gomila
e46016a79d
Removed Window::GetMouseFocusWindow
2011-07-11 23:26:09 +02:00
Laurent Gomila
d772d3669a
Upgraded to version 1.31 of stb_image
2011-07-11 08:06:07 +02:00
Marco Antognini
88c5e350bf
Merge branch 'keepup'
...
Conflicts:
bindings/c/src/SFML/System/Mutex.cpp
bindings/c/src/SFML/Window/Context.cpp
src/SFML/Window/CMakeLists.txt
src/SFML/Window/InputImpl.hpp
src/SFML/Window/Mouse.cpp
src/SFML/Window/OSX/InputImpl.cpp
src/SFML/Window/OSX/InputImpl.hpp
src/SFML/Window/OSX/JoystickImpl.cpp
src/SFML/Window/OSX/JoystickImpl.hpp
src/SFML/Window/OSX/SFApplication.h
src/SFML/Window/OSX/SFOpenGLView.mm
src/SFML/Window/Win32/Joystick.hpp
src/SFML/Window/Win32/JoystickImpl.hpp
2011-07-10 06:11:47 +02:00
Marco Antognini
d33ecd17ad
Implemented OSX/InputImpl::IsMouseButtonPressed
2011-07-10 05:58:05 +02:00
Marco Antognini
5fbf147cc0
Added support for several connected keyboards in HIDInputManager
2011-07-10 05:58:05 +02:00
Marco Antognini
b5008ba01b
Commented out some sf::Err useless reports
2011-07-10 05:58:05 +02:00
Marco Antognini
d80808b61d
Implemented OSX/InputImpl::IsKeyPressed
2011-07-10 05:58:05 +02:00
Marco Antognini
2f443ea08a
Implemented all four OSX/InputImpl::Get/SetMousePosition
2011-07-10 05:58:05 +02:00
Marco Antognini
0f102c6d6e
Removed unnecessary -cursorPosition messages
2011-07-10 05:58:04 +02:00
Marco Antognini
cd1918b93d
Improved consistency in SFWindowController and added security check in SFOpenGLView
2011-07-10 05:57:52 +02:00
Laurent Gomila
ea1bde7a61
Fixed error in Linux/InputImpl
2011-07-08 15:23:22 +02:00
Laurent Gomila
c9b539a617
Fixed the Linux implementation of the new Mouse functions
2011-07-08 15:23:22 +02:00
Laurent Gomila
6fd80e2598
Removed Window::GetCursorPosition/SetCursorPosition, added Mouse::GetPosition/SetPosition (two versions: one that handles desktop coordinates, one that handles window coordinates)
2011-07-08 15:23:22 +02:00
Marco Antognini
26d4c533ee
Fixed a minor warning and a compile error and improved consistency in comments
2011-07-08 15:23:06 +02:00
Marco Antognini
a55ae4b758
Implemented OSX/InputImpl::GetMousePosition()
2011-07-08 15:22:54 +02:00
Marco Antognini
a609a7114e
Implemented WindowImplCocoa::GetCursorPosition()
2011-07-08 15:22:32 +02:00
Marco Antognini
99341c31db
Vital fix, now it compiles but some implementation is missing
2011-07-08 15:16:23 +02:00
Laurent Gomila
7d2fa550c0
Updated CSFML and SFML.Net to the new input classes
2011-07-08 15:16:22 +02:00
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
2d705fee04
Fixed a minor warning and a compile error
2011-07-06 07:49:06 +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
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
202e41c80c
minor compiler warnings fixed
2011-07-03 17:21:05 +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
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
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
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
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
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
7498b5bc27
Added initialization of the shared context (fixes issue #43 )
2011-05-13 20:48:50 +02:00
Laurent Gomila
e952f945a0
Updates MinGW external libraries to match their headers (fixes issue #42 )
2011-05-13 19:21:44 +02:00
Laurent Gomila
a4f6e915a0
Removed the sf::Randomizer class from the system module
2011-05-10 08:16:22 +02:00
Marco Antognini
816a36ea0d
Add OS X implementation of joysticks
2011-05-08 12:44:02 +02:00
Laurent Gomila
49c0208b2e
The version returned by Window::GetSettings() is now the actual version of the context
2011-05-04 22:35:15 +02:00
Marco Antognini
6eac4256f3
Fixed issue 9 (update opengl version of a context on OS X)
2011-04-27 22:44:55 +02:00
Marco Antognini
becf51572f
updated OS X port to support sf::Event::KeyEvent::System.
2011-04-27 13:53:59 +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
ade8cb8771
Restored smoothing on fonts
2011-04-26 18:56:56 +02:00
Marco Antognini
71469f1815
Update SFContext according to the new contexts system
2011-04-16 20:13:03 +02:00
Marco Antognini
9e2e349043
Minor comment update
2011-04-16 20:11:51 +02:00
Marco Antognini
690d4a3eff
Improved process setup code design
2011-04-16 20:10:47 +02:00
Laurent Gomila
ad79328a70
Fixed recursive mutex lock in GlContext::Cleanup()
2011-04-15 18:14:35 +02:00
Laurent Gomila
fd0d18f12e
Fixed the crash that happened when destroying then creating again a render target
2011-04-13 23:16:20 +02:00
Laurent Gomila
df6874273a
Renamed Window::GetEvent to PollEvent
2011-04-11 18:20:21 +02:00
Laurent Gomila
cb1f938582
sf::Image is now *not* smooth by default (fixes issue #19 )
2011-04-06 08:22:56 +02:00
Laurent Gomila
e7958987e9
Fixed potential endless recursion when creating the first GL context
2011-04-06 08:18:59 +02:00
Laurent Gomila
ba8a36990f
Fixed a minor issue in the GlxContext constructor that was added recently
2011-04-06 07:35:06 +02:00
Laurent Gomila
10ebd94ee7
Merge branch 'master' of github.com:LaurentGomila/SFML
2011-04-04 08:22:27 +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
Marco Antognini
816cc6f637
Fix compilation issues with 10.5
2011-03-31 19:09:10 +02:00
Laurent Gomila
da9844b6c4
Fixed 64-bits warning in WindowImplWin32
2011-03-28 23:25:10 +02:00
Marco Antognini
9c07503350
Add support for external window handling (NSView + NSWindow) (bis)
2011-03-28 14:53:28 +02:00
Marco Antognini
284bd09709
Add support for external window handling (NSView + NSWindow)
...
Minor improvement of SFContext.
2011-03-28 14:39:14 +02:00
Laurent Gomila
4e3feba25b
Added external dependencies and modified build files to enable 64 bits builds on Windows (VC++ only for now)
2011-03-26 23:57:10 +01:00
laurentgom
149a724dea
Fixed typo in error message
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1815 4e206d99-4929-0410-ac5d-dfc041789085
2011-03-24 14:13:24 +00:00
laurentgom
58546a52df
Removed warnings in the Linux implementation of RenderImageImplPBuffer
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1811 4e206d99-4929-0410-ac5d-dfc041789085
2011-03-21 09:12:09 +00:00
laurentgom
ccc2a050ed
Fixed compile error in GlContext.cpp
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1810 4e206d99-4929-0410-ac5d-dfc041789085
2011-03-21 08:45:46 +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
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
mantognini
73370dc178
Forbid window creating and event fetching from worker thread as it's an OS X limitation.
...
Fix context not activated when created (now shader and renderimage works without having to creat a window or a context explicitly).
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1800 4e206d99-4929-0410-ac5d-dfc041789085
2011-02-19 14:22:39 +00:00
mantognini
8675cb364c
Fixed Mouse In/Out event and the internal state of SFOpenGLView when the window is resized
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1796 4e206d99-4929-0410-ac5d-dfc041789085
2011-02-11 15:41:55 +00:00
mantognini
f85a1794bc
Improved TextEntered event.
...
Improved KeyPressed/Released event.
Add support for 'modifier' keys (System, Alt, Control, Shift).
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1795 4e206d99-4929-0410-ac5d-dfc041789085
2011-02-11 00:17:19 +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
mantognini
b26215ef96
OSX, Apply a better fix to compute screen height
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1793 4e206d99-4929-0410-ac5d-dfc041789085
2011-02-09 13:10:43 +00:00
mantognini
f664148e27
Fix GetFullscreenModes : no more returns only desktop mode.
...
Fix fullscreen window by setting up a desktop-wide window and resizing the context's backbuffer.
Fix mouse coordinate for fullscreen window.
Fix window sending 5 event when resized.
Better fix for TextEntered event – no more relies on documentation but on current implementation of the system.
Update some obj-classes structures. (Mostly improved the code structure.)
Update © date and some comments.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1792 4e206d99-4929-0410-ac5d-dfc041789085
2011-02-09 11:50:25 +00:00
LaurentGom
8affa29f54
Changed the returned OpenGL context version from 2.9 to 2.0, if creating a context >= 3.0 failed
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1791 4e206d99-4929-0410-ac5d-dfc041789085
2011-02-08 17:23:05 +00:00
mantognini
e9a201af21
OSX, fixed arrow keys creating TextEntred event.
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1789 4e206d99-4929-0410-ac5d-dfc041789085
2011-02-05 14:15:31 +00:00
LaurentGom
c48792e933
Made the context creation code more flexible, to allow 4.x contexts
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1788 4e206d99-4929-0410-ac5d-dfc041789085
2011-02-04 22:22:54 +00:00
mantognini
cf779be180
OSX, fix random crash with sf::Window::Create
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1777 4e206d99-4929-0410-ac5d-dfc041789085
2011-01-23 23:42:48 +00:00
mantognini
206aebd46a
OSX, forget to remove NSLog..
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1775 4e206d99-4929-0410-ac5d-dfc041789085
2011-01-22 09:13:42 +00:00
mantognini
8d9de8396b
OSX, fixed sf::Window::SetPosition for 10.4 and 10.5 (theoretically)
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1774 4e206d99-4929-0410-ac5d-dfc041789085
2011-01-22 08:57:32 +00:00
mantognini
0cf57db9c2
OSX, fixed sf::Window::SetPosition
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1773 4e206d99-4929-0410-ac5d-dfc041789085
2011-01-21 22:41:22 +00:00
mantognini
0a7b98dd0b
OSX, fixed tabulation
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1772 4e206d99-4929-0410-ac5d-dfc041789085
2011-01-20 21:52:27 +00:00
mantognini
f9c4740894
OSX, fixed mouse pos in event.
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1771 4e206d99-4929-0410-ac5d-dfc041789085
2011-01-20 13:04:25 +00:00
mantognini
bef6b3bbf6
OSX, RenderImageFBO should work now.
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1770 4e206d99-4929-0410-ac5d-dfc041789085
2011-01-19 17:49:01 +00:00
LaurentGom
f8955189fa
Fixed render-images flipped when copied to another sf::Image
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1768 4e206d99-4929-0410-ac5d-dfc041789085
2011-01-03 22:32:39 +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
3cf2281988
Fixed invalid iterator access in sf::Image (introduced in last modification)
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1766 4e206d99-4929-0410-ac5d-dfc041789085
2010-12-30 19:14:59 +00:00
LaurentGom
030600ac07
Minor improvement in sf::Err's default streambuf
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1765 4e206d99-4929-0410-ac5d-dfc041789085
2010-12-27 22:06:01 +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
mantognini
44d859860a
fix mouse Y pos (OSX)
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1761 4e206d99-4929-0410-ac5d-dfc041789085
2010-12-21 12:15:12 +00:00
LaurentGom
e9cccf0e6f
Fixed Window::WaitEvent sometimes returning (false) when no event occurred
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1760 4e206d99-4929-0410-ac5d-dfc041789085
2010-12-20 22:08:28 +00:00
mantognini
256e30bd27
Fixed text event on OS X not linked with EnableKeyRepeat
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1759 4e206d99-4929-0410-ac5d-dfc041789085
2010-12-20 21:54:22 +00:00
LaurentGom
23d0ee8550
Minor modification in sf::Renderer
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1757 4e206d99-4929-0410-ac5d-dfc041789085
2010-12-19 17:17:30 +00:00
LaurentGom
7687a84f2c
Fixed the sndfile.h issue on Mac OS X
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1755 4e206d99-4929-0410-ac5d-dfc041789085
2010-12-13 21:01:49 +00:00
LaurentGom
bb7d79d857
Fixed missing include path for extlibs on Mac OS X
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1754 4e206d99-4929-0410-ac5d-dfc041789085
2010-12-11 10:54:18 +00:00
LaurentGom
7696438a4a
Minor modifications to CMake files
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1753 4e206d99-4929-0410-ac5d-dfc041789085
2010-12-10 20:44:20 +00:00
mantognini
a1eade38f4
-update old USE_OS_X_VERSION_10_* macros
...
-fix setCursorPositionToX:Y:
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1752 4e206d99-4929-0410-ac5d-dfc041789085
2010-12-10 14:50:29 +00:00
mantognini
f2be71b1ea
remove a warning from video mode impl
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1743 4e206d99-4929-0410-ac5d-dfc041789085
2010-12-04 16:03:44 +00:00
mantognini
93cc2e4472
add (non-tested) impl of PBuffer
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1742 4e206d99-4929-0410-ac5d-dfc041789085
2010-12-03 22:49:13 +00:00
mantognini
fd02b2d3af
fix event mouse move
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1741 4e206d99-4929-0410-ac5d-dfc041789085
2010-12-03 22:29:41 +00:00
LaurentGom
6ce458939e
Minor fix that makes sf::SoundStream less crazy when the internal AL source couldn't be created
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1732 4e206d99-4929-0410-ac5d-dfc041789085
2010-12-02 22:26:35 +00:00
mantognini
0ed20bf130
fix SFContext::MakeCurrent
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1731 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-30 23:00:45 +00:00
mantognini
e2ff29ecda
fix event with fullscreen mode
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1730 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-30 22:55:23 +00:00
mantognini
13f062220b
update licence header
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1719 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-26 08:09:38 +00:00
mantognini
90a61a6048
update cmake for better doxygen search
...
remove duplicated headers - update cmake accordingly
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1716 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-25 22:06:17 +00:00
mantognini
4a1a2a6b5f
add licence header
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1715 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-25 20:54:29 +00:00
mantognini
de8712fa5f
This is a big commit for os x port!
...
> remove old OSX version
> add new sources (Window and Graphics modules)
> add extlibs static binaries/headers/frameworks
> update cmake for OSX
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1711 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-25 16:45:03 +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
7ebf2f1bbb
Added the install rule for sfml-main in CMake files
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1684 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-20 08:25:08 +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
95eda37e47
Fixed crash when saving PNG images with gcc
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1628 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-08 22:22:17 +00:00
LaurentGom
6e682af51a
Finished to adjust the libraries names in SFML, CSFML and SFML.Net
...
Removed support for old projects/makefiles (only CMake makefiles can be used now)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1612 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-04 22:49:49 +00:00
LaurentGom
9f0d6882ba
Fixed a bug in sf::Shader with textures
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1611 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-04 21:51:27 +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
16d986c762
Binding two sockets to the same port on the same computer now triggers an error
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1584 4e206d99-4929-0410-ac5d-dfc041789085
2010-10-17 21:20:36 +00:00
LaurentGom
2cd966f566
Fixed a bug in sf::UdpSocket::Receive(sf::Packet&) with non-blocking sockets (incorrect packets were sometimes returned)
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1583 4e206d99-4929-0410-ac5d-dfc041789085
2010-10-16 08:47:27 +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
0354c306e3
Fixed memory leak in GlxContext when creating an OpenGL 3 context
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1579 4e206d99-4929-0410-ac5d-dfc041789085
2010-10-12 09:25:53 +00:00
LaurentGom
535b7bc839
Fixed a bug in sf::Err (the default output for SFML error messages), it was ignoring random characters
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1578 4e206d99-4929-0410-ac5d-dfc041789085
2010-10-11 17:58:18 +00:00
LaurentGom
19cb364afe
New try to fix the ATI & OpenGL contexts bug
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1570 4e206d99-4929-0410-ac5d-dfc041789085
2010-09-17 16:46:35 +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
02688a4a3f
[ #165 ] Fixed Setfield("User-Agent", "xxx") ignored in sf::Http::Request
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1565 4e206d99-4929-0410-ac5d-dfc041789085
2010-09-08 08:34:05 +00:00
LaurentGom
973a7fa591
Fixed output filename of sfml-main which didn't contain the major version number (when compiling with CMake)
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1564 4e206d99-4929-0410-ac5d-dfc041789085
2010-09-05 17:28:48 +00:00
LaurentGom
e2cfdff23e
Reduced the sleep duration in sf::SoundStream to avoid stuttering with streams that send a little amount of samples in OnGetData
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1563 4e206d99-4929-0410-ac5d-dfc041789085
2010-09-05 09:14:11 +00:00
LaurentGom
316dcbd1f6
Fixed a memory leak in the Linux implementation of VideoMode::GetDesktopMode
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1562 4e206d99-4929-0410-ac5d-dfc041789085
2010-09-02 11:50:48 +00:00