Chris Thrasher
fb9fb941b4
Add missing sfSoundBufferRecorder functions inherited from sf::SoundRecorder
...
Backport of 34febc214f
2024-09-03 16:49:38 -06:00
Lukas Dürrenberger
17f42be80c
Update copyright year to 2024
2024-05-19 23:14:45 +02:00
Lukas Dürrenberger
714e95a56e
Add missing window module
2024-05-18 23:26:01 +02:00
Lukas Dürrenberger
2ec9764ac4
Add options to select the modules to build
2024-05-18 15:44:02 +02:00
Miron Alexandru
e0589c302b
Implement missing functions
2024-03-09 20:29:30 -07:00
Bruno Van de Velde
0f4b9a4383
Added sfFont_hasGlyph
2024-02-19 16:20:12 +01:00
Manuel and kimci86
b7826c5f9a
Add count parameter to sfVulkan_getGraphicsRequiredInstanceExtensions
...
Based on `sfSoundRecorder_getAvailableDevices()`
Fixes #227
Co-authored-by: kimci86 <kimci86@hotmail.fr >
2024-02-14 12:07:24 -07:00
Chris Thrasher
b1d02ce571
Use sf::err() for error logging
2023-12-29 12:32:02 -06:00
Chris Thrasher
9a355d784b
Remove trailing whitespace
2023-12-21 14:39:18 -06:00
Chris Thrasher
4f540b9cbb
Replace tabs with spaces
2023-12-21 14:39:18 -06:00
Chris Thrasher
e92cc49459
Fix MSVC warning
2023-12-20 17:22:04 -06:00
Chris Thrasher
e2401417ef
Add API for sf::WindowBase
2023-11-19 13:23:39 +01:00
kimci86 and Chris Thrasher
725811baa9
Implement sf::Image::saveToMemory
...
https://github.com/SFML/SFML/pull/1669
Co-authored-by: Chris Thrasher <chrisjthrasher@gmail.com >
2023-09-09 23:36:24 +02:00
kimci86
39dd578d45
Add sfBuffer structure to wrap a vector of bytes
2023-09-09 23:36:24 +02:00
Chris Thrasher
b63eddd4cd
Fix potential string truncation error
2023-07-08 11:01:11 -06:00
Chris Thrasher
d536b3d2cc
Use SFML 2.6's set of compiler warnings
...
Some minor tweaks were made to remove Android-specific workarounds
that CSFML doesn't need and removing a few warnings that are not
feasible to fix at the moment.
2023-07-08 11:01:11 -06:00
Chris Thrasher
920ff4d072
Implement isSrgb()
...
https://github.com/SFML/SFML/pull/1757
2023-07-07 00:33:01 -06:00
Chris Thrasher
1d56c6ed0f
Implement scancodes
...
https://github.com/SFML/SFML/pull/1235
2023-07-07 00:32:18 -06:00
Chris Thrasher
2a20bc7209
Implement sf::Vulkan functions
...
https://github.com/SFML/SFML/pull/1557
2023-07-06 15:57:23 -06:00
Shane Whitmire
df0040791e
Implement fetching bold kerning
...
C doesn't have function overloading, so I had to resort to function name
signature changes to resemble overloading. I think this is an ok way to
do this
2023-07-04 14:49:45 -06:00
Chris Thrasher
4c15108233
Implement sf::Rect<T>::getPosition() and sf::Rect<T>::getSize()
2023-07-04 13:09:46 -06:00
Chris Thrasher
1667644e3d
Implement min and max blend modes
...
https://github.com/SFML/SFML/pull/1756
2023-07-03 15:55:02 -06:00
Corentin Noël
a05be24b48
Require SFML 2.6
...
It is technically already the case since commits e606b52c39
and 7d2ebaf265
2023-06-27 12:38:59 +02:00
Shane Whitmire
7d2ebaf265
PR 1641 Added method to get the current read position of sf::Packet
2023-06-26 21:20:24 +02:00
Shane Whitmire
e606b52c39
PR 1690 Add font enable / disable smoothing
...
Also added a check for whether the font is smoothing
2023-06-26 21:20:24 +02:00
Chris Thrasher
be2714672b
Require at least SFML 2.5.0
2023-02-21 00:00:23 +01:00
Lukas Dürrenberger
a2418218a6
Update copyright year
2023-02-18 11:13:43 +01:00
Noé Lopez
ac4f02c4ac
Add function for default RenderState ( #178 )
2023-02-18 10:56:48 +01:00
Noé Lopez
371d2ca1e7
Fix matrix comparison in sfTransform_equal
2023-02-18 10:51:19 +01:00
EnokViking
e40235ffb0
Add functions for creating sRGB enabled textures from file, memory, etc. ( #177 )
...
* Add functions for creating sRGB enabled textures from file / memory / stream / image
* Remove unused functions
* Remove redundant sfTexture_createFromFile declaration
2022-12-25 22:47:16 +01:00
Luhrel
8d14b53047
Implements sfContext_getFunction
2022-10-27 22:11:25 +02:00
Luhrel
47cf45ad54
Rename _drawVertexBufferWithIndex to _drawVertexBufferRange & Implements sfRender[Window/Texture]_drawVertexBufferWithIndex
2022-10-27 22:11:25 +02:00
Luhrel
30dbf80507
Implements sfTextureCoordinateType with sfTexture_bind
2022-10-27 22:11:25 +02:00
Luhrel
c27917ebf9
Implements sfContext_isExtensionAvailable
2022-10-27 22:11:25 +02:00
Luhrel
0c79d19b48
Added missing statement with sfShader_createFromX
...
We can now call sfShader_createFromFile/Memory/Stream with only a
geometry file/memory/stream.
2022-10-27 22:11:25 +02:00
brightprogrammer
980a165dc9
Use CMAKE_SOURCE_DIR instead of PROJECT_SOURCE_DIR
...
Change minimum CMake version
2022-03-17 08:58:01 +01:00
crumblingstatue
317f58fa31
Make sure CallbackStream doesn't get destroyed before the Music
...
Music's destructor call's stop(), which in turn calls onSeek.
For CSFML, this requires the CallbackStream to stay alive until that point.
In C++, destructors for fields are called in reverse declaration order.
We swap the order of the fields, putting the Music after the
CallbackStream, so it gets destroyed before it.
2021-08-02 23:54:39 +02:00
Jairard@Windows
ffb5763206
Fix compilation and add check in sfTexture_updateFromTexture
2019-11-22 13:26:00 +01:00
asumface
0f8209fade
Remove stray semicolon
2019-11-22 12:53:20 +01:00
DemoXin
7627ef1c5d
Implement sfTexture_updateFromTexture
...
Method was declared, but not implemented. Also corrects an EntryPointNotFound exception in SFML.NET
2019-07-17 17:51:29 +02:00
Zachariah Brown
bff4a69a73
Fixed an issue where it was impossible to link against static SFML libs on non Windows platforms
2018-10-06 20:46:13 +02:00
spacechase0
eb4a9cfe1d
Update copyright year
2018-06-05 14:05:52 -04:00
spacechase0
7ef69e3b1c
Update for 2.5.0
2018-06-05 14:05:52 -04:00
Mika Attila
b4163081ba
Add missing const qualifiers to sfFont methods
2017-03-11 11:42:07 +01:00
Mika Attila
55be7dbfd6
Add setVirtualKeyboardVisible
2016-11-09 18:47:33 +01:00
Mika Attila
6dca26ed3c
Inline the functions in ContextSettingsInternal
...
This solves a visibility problem when linking dynamically against
csfml-graphics.
2016-10-31 16:01:34 +01:00
Mika Attila
aed28415ed
Add sRgbCapable field to sfContextSettings
2016-10-31 14:05:21 +01:00
Mika Attila
2e47e5dbda
Deduplicate code for sfContextSettings ( #116 )
...
Deduplicate code for sfContextSettings
2016-10-31 13:32:34 +01:00
Mika Attila
57eda5f923
Add missing sfContext_getSettings
2016-10-25 15:28:22 +02:00
Mika Attila
52c7de16f0
Have sfContext_setActive return sfBool instead of void
...
Return the result of sf::Context::setActive instead of discarding it.
2016-10-25 13:50:09 +02:00