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
binary1248
e2420dfe76
Removed support for GLU.
2015-03-23 16:16:06 +01:00
binary1248
c30a3da8d5
Moved platform OpenGL loading code into their respective context implementations.
2015-03-23 16:10:30 +01:00
binary1248
3e397bff4b
Replaced GLEW with (a highly customized) loader generated by glLoadGen, restructured GLExtensions.hpp for easier extension bookkeeping, make use of GLEXT definitions in Shader.cpp and Texture.cpp as well, replaced GL_MAX_TEXTURE_COORDS with GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS, implemented flags for requesting a debug or core/compatibility profile context, changed the default context version from 2.0 to 2.1.
2015-03-23 16:10:28 +01:00
binary1248
e17cc520d6
Implemented support for horizontal mouse wheel scrolling as well as high-precision scrolling on Windows and OS X.
2015-03-16 10:35:34 +01:00
Oleh Prypin
01d5d1b463
Replaced non-ASCII symbols with equivalents
2015-03-10 02:04:02 +02:00
Marco Antognini
aa9a6dec89
Fixed a few typos/style issues
2015-03-09 10:47:20 +01:00
Marco Antognini
0c2f306c17
Updated copyright year and Laurent's email address
2015-03-04 09:36:25 +01:00
Mario Liebisch
3424467896
Android: Restored old file reading behavior for audio stuff
2015-03-04 09:36:21 +01:00
Marco Antognini
1d24b52220
Silenced some warnings
2015-03-04 09:33:09 +01:00