Dka8
b16d29b4ae
UdpSocket.hpp typo in comment for void unbind()
...
Function void unbind();
The suggested text by @binary1248
Added "If the socket is not bound to a port, this function has no effect."
2016-08-24 14:05:24 +02:00
Marco Antognini
8df8493515
Fixed PrimitiveType documentation
2016-08-07 18:37:18 +02:00
Marco Antognini
a43be42999
Bump version to 2.4.0
2016-08-06 19:00:02 +02:00
Marco Antognini
ac50bf8648
Update copyright dates
...
For futur references:
List and inspect © to be updated
$ egrep '2007-[0-9]{4}' -r examples/ tools/ src/ include/ license.txt
Update all ©
$ egrep --null -l '2007-[0-9]{4}' -r examples/ tools/ src/ include/ license.txt | xargs -0 -P4 sed -i '' -E 's/^(.*)2007-[0-9]{4}(.*)$/\12007-2016\2/'
2016-08-05 16:20:39 +02:00
Mario Liebisch
757094a25b
Fixed current Android compilation issues
...
* Updated the Android toolchain file to support NDKs up to the latest release (r12b; based on https://github.com/gongminmin/android-cmake ).
* Fixed missing sRGB extension defines - also SFML once again compiles for older target API levels not having the sRGB extensions (fixes #1079 , supersedes #1085 ).
* Changed SFML's default STL runtime to `stlport_shared`, since `c++_shared` is no longer supported.
2016-07-21 10:42:45 +02:00
Mario Liebisch
f7dcc10a70
Added ability to grab the cursor (w/ Windows impl.)
...
* When grabbed, the mouse cursor may not be moved outside a window's client frame.
* Fullscreen windows always grab the mouse cursor.
* The effect is only active while the SFML window is the active
foreground window.
* Right now this is only implemented for Windows.
Signed-off-by: Marco Antognini <antognini.marco@gmail.com>
2016-07-18 01:18:42 +02:00
Marco Antognini
193e54773d
Fixed some typos
2016-06-14 23:12:43 +02:00
verrazano
afb8254b6d
Changed primitive types to be grammatically correct.
2016-06-05 22:58:27 +02:00
binary1248
c15172e3fd
Fixed FTP directory listing blocking forever if both expected responses are read from the command socket in a single call. ( #1025 )
2016-06-04 22:55:57 +02:00
Maximilian Wagenbach
f49c156a31
Implemented stereo audio recording.
2016-05-08 23:29:25 +02:00
binary1248
259811d59c
Implemented support for explicit mipmap generation in sf::Texture and sf::RenderTexture. ( #123 )
2016-05-04 20:01:22 +02:00
Mario Liebisch
9f6f02f988
Android: Added sf::getNativeActivity()
to retrieve a handle to the current activity
...
This is only implemented for Android builds and requires the user to include the sub-header specifically. Other platforms will trigger a compiler error, if they try to include this header file.
2016-04-22 15:53:14 +02:00
Marco Antognini
9d70da3aaa
Fixed and silenced a few warnings
2016-04-14 12:26:40 +02:00
Maximilian Wagenbach
1ee6d1dbc6
Make sure the recording thread in sf::SoundRecorder is stopped before sf::SoundBufferRecorder is destroyed.
...
Fixes a "pure virtual method called" crash.
Also updated the documentation and the VoIP example.
2016-04-10 22:51:37 +02:00
binary1248
e00d160224
Add support for sRGB capable framebuffers. ( #175 )
2016-03-10 10:08:17 +01:00
Marco Antognini
c4956857fa
Added missing <iterator> include in String.hpp
...
This include is required for std::back_inserter.
2016-03-09 08:24:22 +01:00
Stefan Schindler
b61502b69a
Exporting some Glsl utility functions due to linking issues. ( #1044 )
2016-03-01 08:16:57 +01:00
Maximilian Wagenbach
c78c8106da
Fixed seeking in multi channel FLAC files.
...
Updated seek() documentation.
2016-02-22 23:43:34 +01:00
binary1248
043fb83cd8
Rewrite RenderWindow::capture to make use of a single texture transfer instead of transferring each row of the framebuffer individually.
2016-02-19 17:30:22 +01:00
Mrowqa
1763861b26
Added support for geometry shaders
2016-02-18 20:20:43 +01:00
Zachariah Brown
957cabb816
Added support for outlined text
2015-12-31 10:41:59 +01:00
Krozark
7ff9478061
add a new BlendMode::Equation : ReverseSubtract
2015-12-03 00:28:32 +01:00
Marco Antognini
0df97b4813
Updated platform-specific handle documentation
2015-11-06 18:24:42 +01:00
Marco Antognini
127bc77497
Fixed encoding of UTF-16
...
As per http://en.sfml-dev.org/forums/index.php?topic=19223.0
2015-11-02 00:21:01 +01:00
Jan Haller
9c5c750e60
Added new methods to set uniforms in sf::Shader
...
Implements a new design for the shader uniform API.
* Added Shader::setUniform() and Shader::setUniformArray() overloads for the following types:
-> scalars: float, int, bool
-> vectors: 2D, 3D, 4D
-> matrices: 3x3, 4x4
-> arrays of basic types
-> samplers (sf::Texture)
-> conversions for SFML types (sf::Transform, sf::Color)
* Added sf::Glsl namespace with GLSL-equivalent types
* Deprecated Shader::setParameter() overloads
Other related changes:
* Refactored sf::Shader internals to avoid code duplication
* Improved documentation
* Added SFML_DEPRECATED macro to Doxyfile
* Defined _SCL_SECURE_NO_WARNINGS to disable std::copy() warnings on MSVC
2015-10-21 10:29:07 +02:00
Jan Haller
fcb05fb975
Added SFML_DEPRECATED macro for cross-platform class/function deprecation
2015-10-19 17:39:38 +02:00
bumbar1
3a12fc6505
Added optional argument on which address to bind (socket).
2015-10-10 16:46:33 +02:00
Alec Iverson
ecede1119a
Fixed small typo in setActive \brief
2015-09-30 08:17:18 +02:00
Renaud Durlin
aa4f0681db
Fix typo in comment
2015-09-30 08:15:26 +02:00
Marco Antognini
2d1fab374f
Added SoundSource::operator= and called it from Sound::operator=
...
Signed-off-by: Jan Haller <bromeon@gmail.com>
2015-09-27 18:54:42 +02:00
binary1248
2752bbcfb0
Added methods to get the currently active context, query whether an OpenGL extension is available and query the actual OpenGL version of a context, made context switches during initialization of texture and shader static values unnecessary, fixed code style in loaders.
2015-09-21 20:29:55 +02:00
Maximilian Wagenbach
b7d7ac44f3
Added support for 24-bit .wav files.
2015-09-20 23:10:14 +02:00
Marco Antognini
1b2c50a0d8
Fixed documentation for MemoryInputStream and FileInputStream
2015-09-13 11:57:04 +02:00
Lukas Dürrenberger
01d72438de
Increased version to 2.3.2 and add changes to changelog.
2015-08-24 18:01:06 +02:00
Lukas Dürrenberger
506ec95fde
Fixed a typo of the example in the font header.
2015-08-24 13:10:18 +02:00
Matthew Szekely
f6020c5f8e
Fixed RenderTexture::clear() not always working on certain hardware
2015-08-04 10:08:18 +02:00
Lukas Dürrenberger
b735777c4a
Increased version to 2.3.1.
2015-06-27 13:40:35 +02:00
Jan Haller
6de027f198
Clarified lifetime requirements of underlying resources for Music and Font
2015-06-04 21:06:54 +02:00
Jan Haller
6cec972338
Removed unnecessary sf:: prefixes
2015-05-20 17:30:23 +02:00
Juhani Numminen
1b1d92d6bb
Fix function name in short example snippet in RenderStates.hpp
2015-05-20 16:37:32 +02:00
Lukas Dürrenberger
80214d1cb9
Increased version to 2.3, updated the changelog and license and added Mario to the readme.txt.
2015-05-03 21:53:53 +02:00
Jan Haller
947427cb8d
Clarified semantics of Shape::getGlobalBounds(), improved related documentation
2015-05-03 14:51:44 +02:00
Jan Haller
e0174545e6
Fixed Color::toInteger() not being const-qualified
2015-04-28 21:44:31 +02:00
binary1248
17570c324e
Bumped back the sfml-graphics OpenGL version requirement to 1.1. Everything beyond 1.1 functionality is optional, with warnings emitted when necessary.
2015-04-15 02:56:31 +02:00
binary1248
e80bf0ba92
Fix whitespace: Convert tabs to spaces and remove trailing whitespace.
2015-04-15 01:53:43 +02:00
Marco Antognini
075d7b3b50
Made FileInputStream non copyable
2015-04-15 01:32:26 +02:00
Jan Haller
22c9674389
Combined separate horizontal/vertical mouse wheel event types
...
Instead of separate Event::MouseWheel{Vertical,Horizontal}Moved events, a single Event::MouseWheelScrolled event is used for all wheel-related events.
The new Mouse::Wheel enum is used to differentiate between mouse wheels.
2015-04-07 00:24:52 +02:00
Lukas Dürrenberger
3d0ab05e7b
Added missing includes in the general headers.
2015-04-02 18:52:27 +02:00
Lukas Dürrenberger
0b221921ed
Switched to the stdio FILE* API for handling streams to provide the expected behavior to Vorbis.
2015-04-01 13:19:47 +02:00
binary1248
c17486857f
Implemented methods to retrieve the OpenGL handles from sf::Texture and sf::Shader.
2015-03-23 16:16:07 +01:00