2022-09-19 05:24:42 +08:00
|
|
|
#include <SFML/Audio.hpp>
|
|
|
|
#include <SFML/Graphics.hpp>
|
|
|
|
#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
|
2022-12-28 02:14:15 +08:00
|
|
|
[[maybe_unused]] sf::InputSoundFile inputSoundFile;
|
|
|
|
[[maybe_unused]] sf::SoundBufferRecorder soundBufferRecorder;
|
|
|
|
[[maybe_unused]] sf::Music music;
|
|
|
|
[[maybe_unused]] sf::Sound sound;
|
2022-09-19 05:24:42 +08:00
|
|
|
|
|
|
|
// Graphics
|
2022-10-27 06:42:44 +08:00
|
|
|
[[maybe_unused]] sf::Color color;
|
|
|
|
[[maybe_unused]] sf::Font font;
|
|
|
|
[[maybe_unused]] sf::RenderWindow renderWindow;
|
|
|
|
[[maybe_unused]] sf::Sprite sprite;
|
|
|
|
[[maybe_unused]] sf::Vertex vertex;
|
2022-09-19 05:24:42 +08:00
|
|
|
|
|
|
|
// Network
|
2022-10-27 06:42:44 +08:00
|
|
|
[[maybe_unused]] sf::Ftp ftp;
|
|
|
|
[[maybe_unused]] sf::Http http;
|
|
|
|
[[maybe_unused]] sf::Packet packet;
|
|
|
|
[[maybe_unused]] sf::UdpSocket udpSocket;
|
2022-09-19 05:24:42 +08:00
|
|
|
|
|
|
|
// System
|
2022-10-27 06:42:44 +08:00
|
|
|
[[maybe_unused]] sf::Angle angle;
|
|
|
|
[[maybe_unused]] sf::FileInputStream fileInputStream;
|
|
|
|
[[maybe_unused]] sf::String string;
|
|
|
|
[[maybe_unused]] sf::Time time;
|
2022-09-19 05:24:42 +08:00
|
|
|
|
|
|
|
// Window
|
2022-10-27 06:42:44 +08:00
|
|
|
[[maybe_unused]] sf::Context context;
|
|
|
|
[[maybe_unused]] sf::VideoMode videoMode;
|
|
|
|
[[maybe_unused]] sf::Window window;
|
2022-09-19 05:24:42 +08:00
|
|
|
}
|