Chris Thrasher
b3a0ed815b
Clean up implementation of sf<T>Rect_intersects
2024-09-01 12:56:29 -06:00
Chris Thrasher
54d28325b9
Run clang-format
2024-09-01 11:32:18 -06:00
Chris Thrasher
42aec92642
Add format target for running clang-format
2024-09-01 11:32:18 -06:00
Chris Thrasher
86d52f4712
Use vectors for pairs of scalar parameters
2024-08-31 12:03:21 -06:00
Chris Thrasher
10685c7d0d
Stop leaving variables unused in release builds
...
In a Release build, macros like `CSFML_CHECK_RETURN` expand into
nothing more than a cast-to-void which is meant to silence compiler
warnings about unused variables.
By declaring a temporary inside the macro argument, we ensure that
debug builds behave the same as always but Release builds expand
these macros into truly no code thus ensuring these temporary
variables are never created in the first place so there is now
nothing that we have to cast to void.
2024-08-27 10:21:46 -06:00
Chris Thrasher
513a6c2fda
Add missing apt package dependency
2024-08-27 07:00:13 +01:00
Chris Thrasher
caabd98100
Add convenience functions for converting between SFML and CSFML types
2024-08-26 16:04:44 -06:00
Chris Thrasher
3316223629
Add tidy target for running clang-tidy
2024-08-25 14:18:36 -06:00
Chris Thrasher
fe8d8a972c
Fix typos in public documentation
...
Typos found with codespell tool
2024-08-25 12:09:04 -06:00
Chris Thrasher
55fe064af4
Remove unnecessary (void) parameters from C++ implementations
2024-08-25 12:07:01 -06:00
Chris Thrasher
e2e5ef1d31
Use .hpp as file extension for C++ headers
2024-08-25 10:11:32 -06:00
Chris Thrasher
c5158c77b4
Move CSFML source files to CSFML/ directory
...
This helps make it easier to distinguish SFML files from CSFML files.
This is especially important for CSFML private headers which are
often C++ code with .hpp file extensions. This change means SFML and
CSFML can use headers with the same name without conflict.
2024-08-24 14:05:06 -06:00
Chris Thrasher
458da959f5
Remove deprecated interfaces
2024-08-24 11:32:56 -06:00
Chris Thrasher
620fdbc530
Remove references to removed types
2024-08-24 08:28:50 -06:00
Chris Thrasher
3536aeafd6
Switch to #pragma once
2024-08-24 07:40:26 -06:00
Chris Thrasher
db4d5e4815
Reenable some MSVC warnings
2024-08-23 14:29:06 -06:00
Chris Thrasher
41a269faa9
Update Catch2
2024-08-23 14:14:25 -06:00
Chris Thrasher
379e26ac99
Delay test discovery to ensure all DLLs get copied first
2024-08-23 12:48:47 -06:00
Chris Thrasher
82ac0503b5
Revert "Temporarily lock SFML revision used in CI"
...
This reverts commit 36a6e7c5a6 .
2024-08-23 12:48:47 -06:00
Chris Thrasher
b778f44681
Update to latest SFML 3 API
2024-08-09 13:22:43 -06:00
Chris Thrasher
a9c35c8e85
Remove references to OpenAL
2024-06-27 19:35:10 +02:00
Guillaume D
3c6054ce4e
Fixed comment typo in Clipboard.h
2024-06-24 21:53:44 -06:00
Guillaume D
ba471094c5
Fixed doc comment in Cursor.h
2024-06-24 21:53:44 -06:00
Chris Thrasher
9b96c2a797
Add sfJoystick tests
...
These are just copied from the SFML sf::Joystick tests with minor
changes to adhere to the CSFML API.
2024-06-24 20:50:07 -06:00
Chris Thrasher
ed8babaf41
Update Catch2
2024-06-24 20:50:07 -06:00
Chris Thrasher
44380e7507
Fix API changes in SFML 3
2024-05-31 16:36:13 -06:00
Chris Thrasher
36a6e7c5a6
Temporarily lock SFML revision used in CI
...
The SFML 3 API is changing faster than I care to update in CSFML.
For now let's lock CSFML to a particular revision of SFML until
the SFML 3 API changes slow down and we can go back to tracking
the master branch.
2024-05-31 16:36:13 -06:00
Lukas Dürrenberger
d4cba2529e
Merging 2.6.x into master
2024-05-19 15:32:57 +02:00
Lukas Dürrenberger
315c207797
Merge branch '2.6.x' into feature/backmerge
2024-05-18 23:40:59 +02:00
Chris Thrasher
5fb7d4a0a1
Catch up with SFML 3 API changes
2024-05-18 23:35:57 +02:00
Lukas Dürrenberger
46ce1943b7
Remove unnecessary duplicated native libs
2024-05-18 23:26:01 +02:00
Lukas Dürrenberger
71c3fea199
Add build props for netstandard2.0
2024-05-18 23:26:01 +02:00
Lukas Dürrenberger
714e95a56e
Add missing window module
2024-05-18 23:26:01 +02:00
Lukas Dürrenberger
a9cdb1ad4d
Use v4 checkout action
2024-05-18 15:44:02 +02:00
Lukas Dürrenberger
7fd47811cb
Add GitHub Actions workflow for NuGet release
2024-05-18 15:44:02 +02:00
Lukas Dürrenberger
2ec9764ac4
Add options to select the modules to build
2024-05-18 15:44:02 +02:00
kimci86
8c02b89a93
Fix link to functions page on documentation mainpage
2024-05-09 09:44:20 +02:00
kimci86
3c0f1aebec
Update icons urls and color
2024-05-09 09:44:20 +02:00
kimci86
8e81e6223d
Configure doxygen STRIP_FROM_INC_PATH option
...
so that include directives are correct in the generated documentation.
2024-05-09 09:44:20 +02:00
Lukas Dürrenberger
933cb6d67a
Make the new doxygen clipboard feature work and look good
2024-05-09 09:44:20 +02:00
Lukas Dürrenberger
d31809042b
Fix search.js "Uncaught ReferenceError: Cookie is not defined"
2024-05-09 09:44:20 +02:00
Lukas Dürrenberger
30a5cd508a
Add CSFML version to the documentation
2024-05-09 09:44:20 +02:00
Lukas Dürrenberger
7c88140df2
Fix XHTML Doxygen docs inconsistencies
2024-05-09 09:44:20 +02:00
Lukas Dürrenberger
d43e93eb81
Fix outdated URLs
2024-05-09 09:44:20 +02:00
Lukas Dürrenberger
d1a8cfb861
Add search support in the doxygen docs
2024-05-09 09:44:20 +02:00
Lukas Dürrenberger
428bddade9
Fix missing function documentation
2024-05-09 09:44:20 +02:00
Lukas Dürrenberger
f8a6d27b27
Update doxygen input file for doxygen 1.10.0
2024-05-09 09:44:20 +02:00
Lukas Dürrenberger
df75efa78d
Fix configuration conflict in doxygen 1.10.0
2024-05-09 09:44:20 +02:00
Chris Thrasher
330b423ee9
Add unit tests
...
Yay tests!
2024-04-15 15:24:51 -06:00
Lukas Dürrenberger
36c234fd90
Merge branch '2.6.x' into master
2024-04-15 23:06:45 +02:00