2022-09-19 05:24:42 +08:00
|
|
|
#include <SFML/Graphics.hpp>
|
2023-04-24 20:13:52 +08:00
|
|
|
|
|
|
|
#include <SFML/Audio.hpp>
|
|
|
|
|
2022-09-19 05:24:42 +08:00
|
|
|
#include <SFML/Network.hpp>
|
|
|
|
|
|
|
|
// Instantiate some types from each module to test for linker issues. This program is not meant be ran.
|
|
|
|
int main()
|
|
|
|
{
|
|
|
|
// Audio
|
2023-02-15 11:42:12 +08:00
|
|
|
[[maybe_unused]] const sf::SoundBufferRecorder soundBufferRecorder;
|
2022-09-19 05:24:42 +08:00
|
|
|
|
|
|
|
// Graphics
|
2023-02-15 11:42:12 +08:00
|
|
|
[[maybe_unused]] const sf::Color color;
|
2024-05-19 01:06:12 +08:00
|
|
|
[[maybe_unused]] const sf::IntRect rect;
|
2023-02-15 11:42:12 +08:00
|
|
|
[[maybe_unused]] const sf::RenderWindow renderWindow;
|
|
|
|
[[maybe_unused]] const sf::RectangleShape rectangleShape;
|
|
|
|
[[maybe_unused]] const sf::Vertex vertex;
|
2022-09-19 05:24:42 +08:00
|
|
|
|
|
|
|
// Network
|
2023-02-15 11:42:12 +08:00
|
|
|
[[maybe_unused]] const sf::Ftp ftp;
|
|
|
|
[[maybe_unused]] const sf::Http http;
|
|
|
|
[[maybe_unused]] const sf::Packet packet;
|
|
|
|
[[maybe_unused]] const sf::UdpSocket udpSocket;
|
2022-09-19 05:24:42 +08:00
|
|
|
|
|
|
|
// System
|
2024-06-10 11:02:54 +08:00
|
|
|
[[maybe_unused]] const sf::Angle angle;
|
|
|
|
[[maybe_unused]] const sf::String string;
|
|
|
|
[[maybe_unused]] const sf::Time time;
|
2022-09-19 05:24:42 +08:00
|
|
|
|
|
|
|
// Window
|
2023-02-15 11:42:12 +08:00
|
|
|
[[maybe_unused]] const sf::Context context;
|
|
|
|
[[maybe_unused]] const sf::VideoMode videoMode;
|
|
|
|
[[maybe_unused]] const sf::Window window;
|
2022-09-19 05:24:42 +08:00
|
|
|
}
|