binary1248
698f265277
(Re-)Introduce default constructors and load/open member functions for resource objects that can be reused.
2024-08-08 09:19:32 -06:00
vittorioromeo
52ce862a00
Remove default empty state of sf::Music
2024-06-08 20:54:10 +02:00
Chris Thrasher
add6422e6b
Remove default empty state of sf::SoundBuffer
2024-05-19 13:09:38 -06:00
kimci86
bdd348c142
Make Sound::Status a scoped enumeration
2024-04-28 16:36:57 +00:00
vittorioromeo
ee13dfbd3b
'SoundFileFactory' implementation overhaul
2024-02-05 17:11:23 +01:00
Chris Thrasher
c3f69e5d64
Remove leading newlines
2023-11-29 15:54:38 -07:00
Chris Thrasher
d131beb0fd
Fix misspellings
...
I used the Python tool codespell to find these
2023-05-21 14:37:46 -06:00
Shiv
ca5ca65004
Removed return EXIT_SUCCESS and cstdlib
2023-01-23 10:00:48 +01:00
Chris Thrasher
4f52793f7d
Run clang-format
2022-07-11 20:04:56 +02:00
Chris Thrasher
65fef85b30
Simplify how examples are built
...
CMake doesn't require absolute paths so we can safely remove
SRCROOT and let implicit relative pathing achieve the same result
with less work on our part.
2022-06-16 23:56:39 +02:00
Chris Thrasher
33a7c4d2a8
Clean up filesystem path usage in examples
2022-03-15 15:21:45 +01:00
Vittorio Romeo
b069f88127
Avoid overuse of 'std::endl'
2022-02-16 16:28:39 +00:00
Chris Thrasher
4586db91a9
Add SFML:: namespace to targets
...
This removes the sfml- prefixed targets from the export set. The sfml-
prefixed targets are still available within the build tree but not to
downstream users thus making this an API breaking change when compared
to the 2.x releases. To keep things consistent, usage of the sfml-
targets were replaced with their namespaced counterparts.
This has a number of benefits:
1. It's more idiomatic. Modern CMake libraries are expected to
have namespaced targets.
2. Namespaced targets are less likely to collide with user-defined
targets. No one will accidentally define a SFML:: target.
3. If a namespaced target is not found by CMake, configuration
will immediately stop.
2022-01-11 22:27:39 +01:00
lieff
e458f4651e
Add MP3 decoding support using 'minimp3'
...
Co-authored-by: Lukas Dürrenberger <eXpl0it3r@my-gate.net>
Co-authored-by: Vittorio Romeo <vittorio.romeo@outlook.com>
2021-12-08 08:19:08 +01:00
MrZeusTheCoder
20238e758e
Switch example resources to public domain ones.
2021-04-02 22:16:22 +02:00
Ceylo
ee08e18726
Modernize CMake files
2018-03-27 00:03:34 +02:00
Ceylo
ce7ced5488
Replace INSTALL_RESOURCES_DIR option of sfml_add_example() command with RESOURCES_DIR
2018-01-25 00:23:33 +01:00
Ceylo
777ec2c04d
Fix launch of Cocoa example due to missing MainMenu.nib in bundle app
2018-01-25 00:23:33 +01:00
binary1248
3ff1d251a8
Fixed issues reported by Coverity Scan static analysis (run using Linux build configuration).
2016-03-08 09:42:47 +01:00
binary1248
e80bf0ba92
Fix whitespace: Convert tabs to spaces and remove trailing whitespace.
2015-04-15 01:53:43 +02:00
Lukas Dürrenberger
20f213bfac
Added a FLAC file to the Sound example to cover all three supported formats.
2015-03-28 22:49:46 +01:00
Stefan Schindler
f24ca9a840
Source code changes.
...
* Changed newlines to \n.
* Removed whitespace before colons.
* Fixed several alignments.
2014-10-06 01:18:47 +02:00
Laurent Gomila
14ac411542
Changed the naming convention for public member variables/functions and free functions (using lowerCase instead of UpperCase)
2012-03-11 19:10:37 +01:00
Laurent Gomila
4116ad033c
Added the sf::Time class
2012-01-19 23:51:06 +01:00
Laurent Gomila
aaa21dfaf6
Corrected the name of some functions/variable
2011-12-25 23:42:43 +01:00
Laurent Gomila
5bae08a2d8
Implemented the new graphics API:
...
- Removed the internal classes sf::Renderer and sf::Matrix3
- Split sf::Drawable into sf::Drawable and sf::Transformable
- Added sf::Transform
- Added sf::Vertex
- Added sf::VertexArray
- Types of shapes are now handled with their own derived class
- Modified the Pong example
2011-12-01 23:24:58 +01:00
Martin Foot
13986b2a3b
Fix CMake variables to allow adding SFML as a dependency.
2011-08-07 14:33:42 +01:00
Laurent Gomila
e4c6c30e0b
Times in SFML are now Uint32 milliseconds instead of float seconds
...
Added the sf::Uint64 and sf::Int64 types
2011-05-19 08:19:42 +02:00
LaurentGom
a991fe8e4d
Added support for the CMake build system
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1550 4e206d99-4929-0410-ac5d-dfc041789085
2010-08-19 15:59:24 +00:00