Commit Graph
292 Commits
Author SHA1 Message Date
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 cc8c7fc4de Implement directional arrow resize cursors
https://github.com/SFML/SFML/pull/1688
2023-07-04 14:46:53 -06:00
Chris Thrasher 7e2f6d4af8 Document MP3 support 2023-07-04 14:46:44 -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 6476e9442e Add pkg-config files, optionally installed by CMake on Linux builds
The modules provided are:

  - csfml-system
  - csfml-graphics
  - csfml-window
  - csfml-audio
  - csfml-network
  - csfml-all (depends on all the above modules)

They are installed to the standard location for pkg-config files on Linux.

This is adapted from SFML own pkg-config files.
2023-06-27 12:59:34 +02: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
Shane Whitmire 7cbcd8f9fa Update ci.yml to indicate we are on 2.6.0 2023-06-26 21:20:24 +02:00
Lukas Dürrenberger d270e9a513 Update CSFML version to 2.5.2 2.5.2 2023-06-09 19:48:52 +02:00
Lukas Dürrenberger fe8145e750 Update NuGet tooling
- Add officially supported RID for Linux and macOS
- Ensure reproducible builds with fixed image versions
- Add additional dependencies
- Add dirty workaround (for now) for macOS builds
2023-06-09 19:48:52 +02:00
Chris Thrasher 39d7c47f04 Ensure public header path gets propagated to downstream targets 2023-04-19 07:57:03 +02:00
Chris Thrasher be2714672b Require at least SFML 2.5.0 2023-02-21 00:00:23 +01:00
Chris Thrasher ccc159b3d9 Remove unused SFML_MSVC_VERSION variable 2023-02-21 00:00:23 +01:00
Chris Thrasher 3a88df2c38 Match SFML 2.6.0's CMake version requirement 2023-02-21 00:00:23 +01:00
Chris Thrasher fbf4b000ef Use built-in project version variables 2023-02-21 00:00:23 +01:00
Chris Thrasher 356eeb3ae6 Use SFML's .gitignore file 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
Noé Lopez 4c3997e7a2 Add missing parenthese in readme 2023-01-03 18:30:34 +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
Lukas Dürrenberger 1402537900 Update SFML GitHub URL in build scripts 2022-10-27 21:54:06 +02:00
Lukas Dürrenberger aa13651a03 Update CI pipeline options 2022-10-27 21:54:06 +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
Lukas Dürrenberger 1d05e82f25 Use Markdown for the readme and license files 2021-07-13 09:00:43 +02:00
Lukas Dürrenberger c5a37aed84 Add build scripts for macOS and Windows 2021-07-11 22:37:39 +02:00
Lukas Dürrenberger f84ff413a1 Update CSFML version to 2.5.1
- Add macOS build script
- Update existing nuget build script
2.5.1
2021-07-11 16:54:41 +02:00
Davipb 76671cf453 Change 'net' TFM to 'netframework' 2021-05-12 00:55:16 +02:00
Davipb ea8048376f Add icon on package 2021-03-01 15:19:41 +01:00
Davipb 063923308f Add build error for AnyCPU on .NET Framework 2021-03-01 15:19:41 +01:00
Lukas Dürrenberger 99cea94aaf Add GitHub actions for Windows, Linux and macOS 2021-02-19 20:48:44 +01: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
crumblingstatue cdc9bc6a21 Fix incorrect sfRenderTexture_createWithSettings header signature 2019-07-17 16:05:43 +02:00
Laurent Gomila 282621e499 Merge pull request #139 from DJMaster/patch-1
Update RenderTexture.h
2019-03-23 18:35:41 +01:00
DJMaster 1c75ff0546 Update RenderTexture.h
CSFML_GRAPHICS_API is missing
2019-03-23 18:22:42 +01:00
Davipb d6f3ec2f34 Fix $OutDir vestiges 2019-01-23 22:59:18 +01:00
Davipb b189a4e168 Fix Windows script for non-existing runtimes folder 2019-01-23 22:59:18 +01:00