/****************************************************************************************** * Chili Direct3D Engine * * Copyright 2018 PlanetChili * * * * This file is part of Chili Direct3D Engine. * * * * Chili Direct3D Engine is free software: you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation, either version 3 of the License, or * * (at your option) any later version. * * * * The Chili Direct3D Engine is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * * along with The Chili Direct3D Engine. If not, see . * ******************************************************************************************/ #pragma once // target Windows 7 or later #define _WIN32_WINNT 0x0601 #include // The following #defines disable a bunch of unused windows stuff. If you // get weird errors when trying to do some windows stuff, try removing some // (or all) of these defines (it will increase build time though). #define WIN32_LEAN_AND_MEAN #define NOGDICAPMASKS #define NOSYSMETRICS #define NOMENUS #define NOICONS #define NOSYSCOMMANDS #define NORASTEROPS #define OEMRESOURCE #define NOATOM #define NOCLIPBOARD #define NOCOLOR #define NOCTLMGR #define NODRAWTEXT #define NOKERNEL #define NONLS #define NOMEMMGR #define NOMETAFILE #define NOMINMAX #define NOOPENFILE #define NOSCROLL #define NOSERVICE #define NOSOUND #define NOTEXTMETRIC #define NOWH #define NOCOMM #define NOKANJI #define NOHELP #define NOPROFILER #define NODEFERWINDOWPOS #define NOMCX #define NORPC #define NOPROXYSTUB #define NOIMAGE #define NOTAPE #define STRICT #include