Skip to content

Commit f4bcd90

Browse files
committed
yep
1 parent a452819 commit f4bcd90

File tree

167 files changed

+27715
-945
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

167 files changed

+27715
-945
lines changed

.editorconfig

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
root = true
2+
3+
[*]
4+
indent_style = tab
5+
indent_size = 4

.gitattributes

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Auto detect text files and perform LF normalization
2+
* text=auto

.gitignore

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Binaries
2+
**/bin/
3+
4+
# Visual Studio files and folder
5+
.vs/
6+
**.sln
7+
**.vcxproj
8+
**.vcxproj.filters
9+
**.vcxproj.user

Images/pathfinding.gif

-3.48 MB
Binary file not shown.

LICENSE

-21
This file was deleted.

README.md

-18
This file was deleted.

UML Diagrams/PO.drawio

+790
Large diffs are not rendered by default.

build.bat

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
xcopy /y "libs\pdb" "Project\bin\debug\*"
2+
.\vendor\premake5.exe vs2022

include/SFML/Audio.hpp

+54
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
////////////////////////////////////////////////////////////
2+
//
3+
// SFML - Simple and Fast Multimedia Library
4+
// Copyright (C) 2007-2024 Laurent Gomila ([email protected])
5+
//
6+
// This software is provided 'as-is', without any express or implied warranty.
7+
// In no event will the authors be held liable for any damages arising from the use of this software.
8+
//
9+
// Permission is granted to anyone to use this software for any purpose,
10+
// including commercial applications, and to alter it and redistribute it freely,
11+
// subject to the following restrictions:
12+
//
13+
// 1. The origin of this software must not be misrepresented;
14+
// you must not claim that you wrote the original software.
15+
// If you use this software in a product, an acknowledgment
16+
// in the product documentation would be appreciated but is not required.
17+
//
18+
// 2. Altered source versions must be plainly marked as such,
19+
// and must not be misrepresented as being the original software.
20+
//
21+
// 3. This notice may not be removed or altered from any source distribution.
22+
//
23+
////////////////////////////////////////////////////////////
24+
25+
#pragma once
26+
27+
////////////////////////////////////////////////////////////
28+
// Headers
29+
////////////////////////////////////////////////////////////
30+
31+
#include <SFML/Audio/InputSoundFile.hpp>
32+
#include <SFML/Audio/Listener.hpp>
33+
#include <SFML/Audio/Music.hpp>
34+
#include <SFML/Audio/OutputSoundFile.hpp>
35+
#include <SFML/Audio/Sound.hpp>
36+
#include <SFML/Audio/SoundBuffer.hpp>
37+
#include <SFML/Audio/SoundBufferRecorder.hpp>
38+
#include <SFML/Audio/SoundFileFactory.hpp>
39+
#include <SFML/Audio/SoundFileReader.hpp>
40+
#include <SFML/Audio/SoundFileWriter.hpp>
41+
#include <SFML/Audio/SoundRecorder.hpp>
42+
#include <SFML/Audio/SoundSource.hpp>
43+
#include <SFML/Audio/SoundStream.hpp>
44+
45+
#include <SFML/System.hpp>
46+
47+
48+
////////////////////////////////////////////////////////////
49+
/// \defgroup audio Audio module
50+
///
51+
/// Sounds, streaming (musics or custom sources), recording,
52+
/// spatialization.
53+
///
54+
////////////////////////////////////////////////////////////

include/SFML/Audio/AlResource.hpp

+66
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
////////////////////////////////////////////////////////////
2+
//
3+
// SFML - Simple and Fast Multimedia Library
4+
// Copyright (C) 2007-2024 Laurent Gomila ([email protected])
5+
//
6+
// This software is provided 'as-is', without any express or implied warranty.
7+
// In no event will the authors be held liable for any damages arising from the use of this software.
8+
//
9+
// Permission is granted to anyone to use this software for any purpose,
10+
// including commercial applications, and to alter it and redistribute it freely,
11+
// subject to the following restrictions:
12+
//
13+
// 1. The origin of this software must not be misrepresented;
14+
// you must not claim that you wrote the original software.
15+
// If you use this software in a product, an acknowledgment
16+
// in the product documentation would be appreciated but is not required.
17+
//
18+
// 2. Altered source versions must be plainly marked as such,
19+
// and must not be misrepresented as being the original software.
20+
//
21+
// 3. This notice may not be removed or altered from any source distribution.
22+
//
23+
////////////////////////////////////////////////////////////
24+
25+
#pragma once
26+
27+
////////////////////////////////////////////////////////////
28+
// Headers
29+
////////////////////////////////////////////////////////////
30+
#include <SFML/Audio/Export.hpp>
31+
32+
33+
namespace sf
34+
{
35+
////////////////////////////////////////////////////////////
36+
/// \brief Base class for classes that require an OpenAL context
37+
///
38+
////////////////////////////////////////////////////////////
39+
class SFML_AUDIO_API AlResource
40+
{
41+
protected:
42+
////////////////////////////////////////////////////////////
43+
/// \brief Default constructor
44+
///
45+
////////////////////////////////////////////////////////////
46+
AlResource();
47+
48+
////////////////////////////////////////////////////////////
49+
/// \brief Destructor
50+
///
51+
////////////////////////////////////////////////////////////
52+
~AlResource();
53+
};
54+
55+
} // namespace sf
56+
57+
58+
////////////////////////////////////////////////////////////
59+
/// \class sf::AlResource
60+
/// \ingroup audio
61+
///
62+
/// This class is for internal use only, it must be the base
63+
/// of every class that requires a valid OpenAL context in
64+
/// order to work.
65+
///
66+
////////////////////////////////////////////////////////////

include/SFML/Audio/Export.hpp

+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
////////////////////////////////////////////////////////////
2+
//
3+
// SFML - Simple and Fast Multimedia Library
4+
// Copyright (C) 2007-2024 Laurent Gomila ([email protected])
5+
//
6+
// This software is provided 'as-is', without any express or implied warranty.
7+
// In no event will the authors be held liable for any damages arising from the use of this software.
8+
//
9+
// Permission is granted to anyone to use this software for any purpose,
10+
// including commercial applications, and to alter it and redistribute it freely,
11+
// subject to the following restrictions:
12+
//
13+
// 1. The origin of this software must not be misrepresented;
14+
// you must not claim that you wrote the original software.
15+
// If you use this software in a product, an acknowledgment
16+
// in the product documentation would be appreciated but is not required.
17+
//
18+
// 2. Altered source versions must be plainly marked as such,
19+
// and must not be misrepresented as being the original software.
20+
//
21+
// 3. This notice may not be removed or altered from any source distribution.
22+
//
23+
////////////////////////////////////////////////////////////
24+
25+
#pragma once
26+
27+
////////////////////////////////////////////////////////////
28+
// Headers
29+
////////////////////////////////////////////////////////////
30+
#include <SFML/Config.hpp>
31+
32+
33+
////////////////////////////////////////////////////////////
34+
// Define portable import / export macros
35+
////////////////////////////////////////////////////////////
36+
#if defined(SFML_AUDIO_EXPORTS)
37+
38+
#define SFML_AUDIO_API SFML_API_EXPORT
39+
40+
#else
41+
42+
#define SFML_AUDIO_API SFML_API_IMPORT
43+
44+
#endif

0 commit comments

Comments
 (0)