From f21b2c2e814809e7bb321a80bed16d1e9661957b Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sat, 7 Sep 2002 20:23:36 +0000 Subject: [PATCH] Add DX headers to PCH for now, until we can get them out of the base includes. --- stepmania/src/StdAfx.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/stepmania/src/StdAfx.h b/stepmania/src/StdAfx.h index 020ae78b9a..490bd42cd1 100644 --- a/stepmania/src/StdAfx.h +++ b/stepmania/src/StdAfx.h @@ -20,10 +20,24 @@ #if defined(_MSC_VER) && (_MSC_VER > 1100) #pragma warning (disable : 4786) // turn off broken debugger warning +/* "unreferenced formal parameter"; we *want* that in many cases */ +#pragma warning (disable : 4100) +/* "case 'aaa' is not a valid value for switch of enum 'bbb' + * Actually, this is a valid warning, but we do it all over the + * place, eg. with ScreenMessages. Those should be fixed, but later. XXX */ +#pragma warning (disable : 4063) #endif #include // MFC core and standard components +#include +#include + +#ifndef DIRECTINPUT_VERSION +#define DIRECTINPUT_VERSION 0x0800 +#endif +#include + #include "STDCarray.h" /* Don't include our own headers here, since they tend to change