Stefan Schindler
ca21695521
Added getPosition() and getSize() to sf::Rect<T>.
2019-09-03 09:45:24 +02:00
binary1248
81a1da6a59
Revert "Added a VertexBuffer implementation to all Drawables that were rendered via VertexArrays."
...
This reverts commit 4dfad062e4
.
2019-09-01 18:20:13 +02:00
SGauvin
9c8cc19f96
Removed useless cast
...
Removed useless cast in SFML/System/Utf.inl at line 296.
This useless cast creates a warning when using -Wuseless-cast as an option in g++ and clang++.
Operations can't be made on types smaller than 4 bytes (32 bits), so types smaller than 4 bytes are converted to at least 4 bytes types, thus rendering the static_cast<Uint32> useless in this particular case.
2019-02-19 10:08:58 +01:00
binary1248
4dfad062e4
Added a VertexBuffer implementation to all Drawables that were rendered via VertexArrays.
2019-02-19 10:05:59 +01:00
EpicCoder
489482a630
Updated the copyright year to 2019
2019-01-08 08:53:33 +01:00
binary1248
ae337952a9
Allow creation of a window without an OpenGL context in order to support use cases where the user wants to render using other graphics APIs.
2019-01-05 23:22:08 +01:00
cosiek
077af21f37
allow for closing sound files
2018-12-03 19:27:53 +01:00
Lukas Dürrenberger
2be4e54d4a
Fixed example documentation to match the code
2018-11-25 17:23:25 +01:00
Lukas Dürrenberger
3f4bc3683b
Updated the changelog and version number for 2.5.1
2018-10-15 21:52:40 +02:00
binary1248
8554d210df
Ensure the proper default framebuffer is bound when activating a RenderWindow. Fixes #1471 .
2018-10-01 20:33:59 +02:00
Marco Antognini
aeca3dce41
Improved macOS implementation for Cursor
...
- remove Wait and SizeAll cursors as they don't look nice
(Wait is not spining and produces a broken rendering,
SizeAll is a simple white cursor.)
- fix memory management for NSCursor.
- ignore selector warnings.
2018-08-27 21:42:59 +02:00
Jonny Paton
0bcb2992a7
Implemented extra cursors on macOS
2018-08-27 21:42:59 +02:00
Lionel Aimerie (Pixium Digital)
2853b6b629
ANDROID flag fix to SFML_SYSTEM_ANDROID
2018-07-28 18:10:04 +02:00
binary1248
235abae134
Fixed the Unix clipboard implementation causing an abort due to internal data races in Xlib.
2018-07-02 22:39:54 +02:00
Lukas Dürrenberger
192eb968a4
Updated version number to SFML 2.5.0
2018-05-06 08:53:30 +02:00
Marco Antognini
de2d49e3af
Added doxygen documentation for Packet >> & << operators
2018-05-06 08:42:42 +02:00
Marco Antognini
b21039452e
Fixed a reference in the documentation of Shader
2018-05-06 08:42:42 +02:00
Marco Antognini
f2ccc64536
Fixed doxygen rendering of markdown table
2018-05-06 08:42:42 +02:00
binary1248
cd1387479e
Moved NvOptimusEnablement and AmdPowerXpressRequestHighPerformance out of sfml-main and into a macro the user can place in their own translation unit when they need it. Fixes #1192
2018-04-28 13:22:05 +02:00
binary1248
9bdd6d46dd
Fixed TcpListener and TcpSocket not behaving as documented when calling listen or connect while the underlying socket object already exists, also adjusted UdpSocket to be consistent with connect and listen behaviour when calling bind while the underlying socket object already exists. Fixes #1346
2018-04-14 10:16:17 +02:00
David Carlier
9da895da8b
further changes
2018-04-14 10:14:34 +02:00
David Carlier
4d0d331272
pushing upstream openbsd support from package.
2018-04-14 10:14:34 +02:00
Mario Liebisch
1e800d9551
Android: No longer keep an active input stream longer than needed.
2018-04-14 09:59:01 +02:00
binary1248
0adde249ec
Optimized RenderTexture performance when using the FBO implementation by removing unnecessary context switches and flushing.
2018-04-14 09:54:59 +02:00
irrmich
15d0f789c7
Add append/overwrite parameter to Ftp::upload.
2018-04-05 11:21:20 +02:00
binary1248
421e8bb812
Added support for creation of a stencil attachment and multisampling to sf::RenderTexture.
2018-03-26 23:48:05 +02:00
Marco Antognini
b0f3611ab9
Renamed a few key codes
...
Deprecated BackSlash, BackSpace, SemiColon, Dash and
introduced Backslash, Backspace, Semicolon, Hyphen in a
retrocompatible way.
2018-03-26 23:39:39 +02:00
Radek Dutkiewicz
deeb3a95f3
Fixed letter spacing being letter width dependent
2018-02-15 21:27:19 +01:00
Mario Liebisch
806813e937
Android: Removed custom toolchain file
...
This commit drops the previous custom CMake toolchain file for Android
in favor of CMake's new built-in toolchain for this (CMake >3.7.2).
This makes building SFML for Android a lot simpler and more straight
forward, working almost as smooth as other platforms.
To configure your build directory, all you have to do is defining just a
few variables the first time you invoke CMake.
**Required Variables**
* `CMAKE_SYSTEM_NAME` must be `Android`, so CMake knows we actually want
to cross-compile.
* `CMAKE_ANDROID_NDK` must point to the NDK's installation directory,
e.g. `/usr/android/ndk` or `c:/android/ndk`.
**Recommended Variables**
* `CMAKE_ANDROID_STL_TYPE` defines the STL implementation to be used.
You should use `c++_shared`, although others might work.
**Optional Variables**
* `CMAKE_SYSTEM_VERSION` can be set to pick a specific SDK version other
than the latest.
* `CMAKE_ANDROID_ARCH_ABI` defines the target architecture and ABI, for
example `armeabi` or `armeabi-v7a`.
Based on your system, you might want to enforce a specific generator to
prevent issues, e.g. using `MinGW Makefiles`.
2018-02-11 20:15:54 +01:00
Alexander Weinrauch
0da25a0b87
Added support for the newest NDK version
2018-02-11 20:15:54 +01:00
Maximilian Wagenbach
989367e345
Turned the header image in readme.md into a link.
...
Updated all links to use https (tested).
2018-02-10 17:12:54 +01:00
Maximilian Wagenbach
5d7843c58a
Updated the copyright year to 2018.
2018-02-10 14:51:46 +01:00
Sérgio Agostinho
6d4e870e32
Correct docstring for seek
2018-01-29 17:51:46 +01:00
Maximilian Wagenbach
65d26be74d
Changed the implementation from offsets to factors.
2018-01-25 01:52:19 +01:00
Maximilian Wagenbach
73892dfa12
Updated sf::Text documentation and OpenGL example.
2018-01-25 01:47:55 +01:00
Maximilian Wagenbach
812dea70d0
Implemented line spacing in sf::Text.
2018-01-25 01:47:54 +01:00
Maximilian Wagenbach
9e2f2eb27f
Implemented letter spacing in sf::Text.
2018-01-25 01:47:54 +01:00
jonathan.r.paton@googlemail.com
e31b925234
Added functionality to allow polymorphism with sf::SoundSource
2018-01-25 00:31:20 +01:00
binary1248
61cdcd47ca
Added sf::VertexBuffer class.
2018-01-25 00:26:38 +01:00
Maximilian Wagenbach
c24de5fcaf
Fix for broken text when the font is reloaded.
2018-01-17 00:48:38 +01:00
Marco Antognini
c352f5228b
Fixed typo in sf::Music documentation
2017-12-06 16:59:43 +01:00
marukrap
8a02dc0ad5
Change a character
...
from en-dash(u2013) to hypen-minus(u002d)
2017-12-06 16:58:20 +01:00
binary1248
898c2350f7
Add equality comparison to sf::Transform and avoid uploading 64 bytes of data every time we want to reset the OpenGL matrix back to identity.
2017-10-12 20:41:05 +02:00
Cobaltergeist
93a2e9502d
Added Loop Point support to sf::Music
2017-09-03 12:57:09 -07:00
Lukas Dürrenberger
ffd9c94381
Remove unused/leftover openForWriting function in InputSoundFile.
2017-08-06 00:29:59 +02:00
Ricardo Antonio Tejada
4bc3c6f8bf
Added Clipboard API
2017-08-02 15:21:11 +02:00
Jure Slak
745b446440
Fixed typo in Event description.
2017-07-28 00:28:12 +02:00
Marco Antognini
34ea68bd1d
Added X11 implementation
2017-07-10 17:13:17 +02:00
Marco Antognini
b0b1f13269
Added Win32 implementation
2017-07-10 17:13:17 +02:00
Marco Antognini
f65459d0e1
Rewrote Cursor with new API and OS X implementation
2017-07-10 17:13:17 +02:00