/* * DSFML - The Simple and Fast Multimedia Library for D * * Copyright (c) 2013 - 2018 Jeremy DeHaan (dehaan.jeremiah@gmail.com) * * This software is provided 'as-is', without any express or implied warranty. * In no event will the authors be held liable for any damages arising from the * use of this software. * * Permission is granted to anyone to use this software for any purpose, * including commercial applications, and to alter it and redistribute it * freely, subject to the following restrictions: * * 1. The origin of this software must not be misrepresented; you must not claim * that you wrote the original software. If you use this software in a product, * an acknowledgment in the product documentation would be appreciated but is * not required. * * 2. Altered source versions must be plainly marked as such, and must not be * misrepresented as being the original software. * * 3. This notice may not be removed or altered from any source distribution * * * DSFML is based on SFML (Copyright Laurent Gomila) */ /// A module containing configuration settings. module nudsfml.system.config; //Check to confirm compiler is at least v2.067 static if (__VERSION__ < 2067L) { static assert(0, "Please upgrade your compiler to v2.067 or later"); } /// DSFML version enum enum { /// DSFML's major version number. DSFML_VERSION_MAJOR = 2, /// DSFML's minor version number. DSFML_VERSION_MINOR = 5 } //destructor output for mixing in. enum destructorOutput =` version (DSFML_Noisy_Destructors) { import nudsfml.system.err; err.writeln("Destroying ", typeof(this).stringof); }`;