diff --git a/panda/src/wdxdisplay/Sources.pp b/panda/src/wdxdisplay/Sources.pp index 5d65359816..d36219567d 100644 --- a/panda/src/wdxdisplay/Sources.pp +++ b/panda/src/wdxdisplay/Sources.pp @@ -9,14 +9,16 @@ #define LOCAL_LIBS \ dxgsg + #define COMBINED_SOURCES $[TARGET]_composite1.cxx + #define SOURCES \ - config_wdxdisplay.cxx config_wdxdisplay.h wdxGraphicsPipe.cxx \ - wdxGraphicsPipe.h wdxGraphicsWindow.cxx wdxGraphicsWindow.h - + config_wdxdisplay.h wdxGraphicsPipe.h wdxGraphicsWindow.cxx wdxGraphicsWindow.h + + #define INCLUDED_SOURCES \ + config_wdxdisplay.cxx wdxGraphicsPipe.cxx + #define INSTALL_HEADERS \ config_wdxdisplay.h wdxGraphicsPipe.h wdxGraphicsWindow.h -// #define PRECOMPILED_HEADER wdxdisplay_headers.h - #end lib_target diff --git a/panda/src/wdxdisplay/config_wdxdisplay.cxx b/panda/src/wdxdisplay/config_wdxdisplay.cxx index b66c3e7f16..f2d65d572f 100644 --- a/panda/src/wdxdisplay/config_wdxdisplay.cxx +++ b/panda/src/wdxdisplay/config_wdxdisplay.cxx @@ -16,8 +16,11 @@ // //////////////////////////////////////////////////////////////////// -#include "wdxdisplay_headers.h" -#pragma hdrstop +#include "config_wdxdisplay.h" +#include "wdxGraphicsPipe.h" +#include "wdxGraphicsWindow.h" + +#include Configure(config_wdxdisplay); NotifyCategoryDef(wdxdisplay, "display"); diff --git a/panda/src/wdxdisplay/wdxGraphicsPipe.cxx b/panda/src/wdxdisplay/wdxGraphicsPipe.cxx index f4496acd70..0506a4f923 100644 --- a/panda/src/wdxdisplay/wdxGraphicsPipe.cxx +++ b/panda/src/wdxdisplay/wdxGraphicsPipe.cxx @@ -16,8 +16,11 @@ // //////////////////////////////////////////////////////////////////// -#include "wdxdisplay_headers.h" -#pragma hdrstop +#include "wdxGraphicsPipe.h" +#include "config_wdxdisplay.h" +#include +#include +#include //////////////////////////////////////////////////////////////////// // Static variables diff --git a/panda/src/wdxdisplay/wdxGraphicsWindow.cxx b/panda/src/wdxdisplay/wdxGraphicsWindow.cxx index 8ca1a0405e..0f353a614e 100644 --- a/panda/src/wdxdisplay/wdxGraphicsWindow.cxx +++ b/panda/src/wdxdisplay/wdxGraphicsWindow.cxx @@ -16,8 +16,24 @@ // //////////////////////////////////////////////////////////////////// -#include "wdxdisplay_headers.h" -#pragma hdrstop +#include +#include +#include +#include "wdxGraphicsWindow.h" +#include "wdxGraphicsPipe.h" +#include "dxGraphicsStateGuardian.h" +#include "config_wdxdisplay.h" + +#include +#include + +#ifdef DO_PSTATS +#include +#endif + +#define D3D_OVERLOADS +//#define INITGUID dont need this if linking w/dxguid.lib +#include //////////////////////////////////////////////////////////////////// // Static variables diff --git a/panda/src/wdxdisplay/wdxdisplay_composite1.cxx b/panda/src/wdxdisplay/wdxdisplay_composite1.cxx new file mode 100644 index 0000000000..3dda3e88ff --- /dev/null +++ b/panda/src/wdxdisplay/wdxdisplay_composite1.cxx @@ -0,0 +1,4 @@ + +#include "config_wdxdisplay.cxx" +#include "wdxGraphicsPipe.cxx" + diff --git a/panda/src/wdxdisplay/wdxdisplay_headers.h b/panda/src/wdxdisplay/wdxdisplay_headers.h deleted file mode 100644 index ed3f3552d7..0000000000 --- a/panda/src/wdxdisplay/wdxdisplay_headers.h +++ /dev/null @@ -1,41 +0,0 @@ -// Filename: wdxdisplay-headers.h -// Created by: georges 30May01 -// -//////////////////////////////////////////////////////////////////// -// -// PANDA 3D SOFTWARE -// Copyright (c) 2001, Disney Enterprises, Inc. All rights reserved -// -// All use of this software is subject to the terms of the Panda 3d -// Software license. You should have received a copy of this license -// along with this source code; you will also find a current copy of -// the license at http://www.panda3d.org/license.txt . -// -// To contact the maintainers of this program write to -// panda3d@yahoogroups.com . -// -//////////////////////////////////////////////////////////////////// - - -#include -#include -#include - -#include -#include -#include -#ifdef DO_PSTATS -#include -#endif - -//#define INITGUID dont need this if linking w/dxguid.lib - -#include "dxGraphicsStateGuardian.h" -#include "wdxGraphicsWindow.h" -#include "wdxGraphicsPipe.h" -#include "config_wdxdisplay.h" - -#include - -#pragma hdrstop -