use precomp hdrs

This commit is contained in:
cxgeorge 2001-06-04 21:06:51 +00:00
parent 606dcb8563
commit a7c2653a8a
16 changed files with 164 additions and 13 deletions

View File

@ -1,6 +1,6 @@
#define OTHER_LIBS interrogatedb:c dconfig:c dtoolconfig:m \
dtoolutil:c dtoolbase:c dtool:m
#begin lib_target
#define TARGET display
#define LOCAL_LIBS \
@ -39,6 +39,8 @@
savedFrameBuffer.I savedFrameBuffer.h textureContext.I \
textureContext.h
#define PRECOMPILED_HEADER display_headers.h
#define IGATESCAN all
#end lib_target

View File

@ -16,6 +16,13 @@
//
////////////////////////////////////////////////////////////////////
#if defined(WIN32_VC) && !defined(NO_PCH)
#include "display_headers.h"
#endif
#pragma hdrstop
#if !defined(WIN32_VC) || defined(NO_PCH)
#include "config_display.h"
#include "graphicsStateGuardian.h"
#include "savedFrameBuffer.h"
@ -26,6 +33,7 @@
#include "graphicsChannel.h"
#include "hardwareChannel.h"
#include "textureContext.h"
#endif
Configure(config_display);
NotifyCategoryDef(display, "");

View File

@ -16,12 +16,20 @@
//
////////////////////////////////////////////////////////////////////
#include "displayRegion.h"
#if defined(WIN32_VC) && !defined(NO_PCH)
#include "display_headers.h"
#endif
#pragma hdrstop
#if !defined(WIN32_VC) || defined(NO_PCH)
#include "graphicsLayer.h"
#include "graphicsChannel.h"
#include "graphicsWindow.h"
#include "config_display.h"
#endif
#include "displayRegion.h"
////////////////////////////////////////////////////////////////////
// Function: DisplayRegion::Constructor

View File

@ -0,0 +1,38 @@
// Filename: xxx_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 <keyboardButton.h>
#include <mouseButton.h>
#include "config_display.h"
#include "graphicsChannel.h"
#include "graphicsLayer.h"
#include "graphicsPipe.h"
#include "graphicsStateGuardian.h"
#include "graphicsWindow.h"
#include "hardwareChannel.h"
#include "interactiveGraphicsPipe.h"
#include "noninteractiveGraphicsPipe.h"
#include "savedFrameBuffer.h"
#include "textureContext.h"
#include <algorithm>
#include <map>
#pragma hdrstop

View File

@ -15,11 +15,19 @@
// panda3d@yahoogroups.com .
//
////////////////////////////////////////////////////////////////////
#if defined(WIN32_VC) && !defined(NO_PCH)
#include "display_headers.h"
#endif
#pragma hdrstop
#if !defined(WIN32_VC) || defined(NO_PCH)
#include "graphicsChannel.h"
#include "graphicsWindow.h"
#include "config_display.h"
#include <map>
#endif
////////////////////////////////////////////////////////////////////
// Static variables

View File

@ -15,14 +15,22 @@
// panda3d@yahoogroups.com .
//
////////////////////////////////////////////////////////////////////
#if defined(WIN32_VC) && !defined(NO_PCH)
#include "display_headers.h"
#endif
#pragma hdrstop
#if !defined(WIN32_VC) || defined(NO_PCH)
#include "graphicsLayer.h"
#include "graphicsChannel.h"
#include "graphicsWindow.h"
#include "config_display.h"
#include <notify.h>
#include <algorithm>
#endif
#include <notify.h>
////////////////////////////////////////////////////////////////////
// Static variables

View File

@ -15,14 +15,22 @@
// panda3d@yahoogroups.com .
//
////////////////////////////////////////////////////////////////////
#if defined(WIN32_VC) && !defined(NO_PCH)
#include "display_headers.h"
#endif
#pragma hdrstop
#if !defined(WIN32_VC) || defined(NO_PCH)
#include "graphicsPipe.h"
#include "config_display.h"
#include <algorithm>
#endif
#include <load_dso.h>
#include <filename.h>
#include <algorithm>
// Static variables
////////////////////////////////////////////////////////////////////
TypeHandle GraphicsPipe::_type_handle;

View File

@ -16,16 +16,22 @@
//
////////////////////////////////////////////////////////////////////
#if defined(WIN32_VC) && !defined(NO_PCH)
#include "display_headers.h"
#endif
#pragma hdrstop
#if !defined(WIN32_VC) || defined(NO_PCH)
#include "graphicsStateGuardian.h"
#include "renderBuffer.h"
#include "config_display.h"
#include "textureContext.h"
#include <algorithm>
#endif
#include <clockObject.h>
#include <geomNode.h>
#include <algorithm>
#include "renderBuffer.h"
#ifndef CPPPARSER
PStatCollector GraphicsStateGuardian::_total_texusage_pcollector("Texture usage");

View File

@ -15,6 +15,13 @@
// panda3d@yahoogroups.com .
//
////////////////////////////////////////////////////////////////////
#if defined(WIN32_VC) && !defined(NO_PCH)
#include "display_headers.h"
#endif
#pragma hdrstop
#if !defined(WIN32_VC) || defined(NO_PCH)
#include "graphicsWindow.h"
#include "graphicsPipe.h"
#include "config_display.h"
@ -23,6 +30,7 @@
#include <keyboardButton.h>
#include <map>
#endif
////////////////////////////////////////////////////////////////////
// Static variables

View File

@ -16,9 +16,17 @@
//
////////////////////////////////////////////////////////////////////
#if defined(WIN32_VC) && !defined(NO_PCH)
#include "display_headers.h"
#endif
#pragma hdrstop
#if !defined(WIN32_VC) || defined(NO_PCH)
#include "graphicsWindowInputDevice.h"
#include <mouseButton.h>
#include <keyboardButton.h>
#endif
#define EXPCL EXPCL_PANDA
#define EXPTP EXPTP_PANDA

View File

@ -15,8 +15,16 @@
// panda3d@yahoogroups.com .
//
////////////////////////////////////////////////////////////////////
#if defined(WIN32_VC) && !defined(NO_PCH)
#include "display_headers.h"
#endif
#pragma hdrstop
#if !defined(WIN32_VC) || defined(NO_PCH)
#include "hardwareChannel.h"
#include "config_display.h"
#endif
////////////////////////////////////////////////////////////////////
// Static variables

View File

@ -16,8 +16,16 @@
//
////////////////////////////////////////////////////////////////////
#if defined(WIN32_VC) && !defined(NO_PCH)
#include "display_headers.h"
#endif
#pragma hdrstop
#if !defined(WIN32_VC) || defined(NO_PCH)
#include "interactiveGraphicsPipe.h"
#include "config_display.h"
#endif
////////////////////////////////////////////////////////////////////
// Static variables

View File

@ -16,8 +16,16 @@
//
////////////////////////////////////////////////////////////////////
#if defined(WIN32_VC) && !defined(NO_PCH)
#include "display_headers.h"
#endif
#pragma hdrstop
#if !defined(WIN32_VC) || defined(NO_PCH)
#include "noninteractiveGraphicsPipe.h"
#include "config_display.h"
#endif
////////////////////////////////////////////////////////////////////
// Static variables

View File

@ -16,8 +16,17 @@
//
////////////////////////////////////////////////////////////////////
#include "pipeSpec.h"
#if defined(WIN32_VC) && !defined(NO_PCH)
#include "display_headers.h"
#endif
#pragma hdrstop
#if !defined(WIN32_VC) || defined(NO_PCH)
#include "config_display.h"
#endif
#include "pipeSpec.h"
PipeSpecifier::PipeSpecifier(void)
: _machine(pipe_spec_machine),

View File

@ -16,6 +16,14 @@
//
////////////////////////////////////////////////////////////////////
#if defined(WIN32_VC) && !defined(NO_PCH)
#include "display_headers.h"
#endif
#pragma hdrstop
#if !defined(WIN32_VC) || defined(NO_PCH)
#include "savedFrameBuffer.h"
#endif
TypeHandle SavedFrameBuffer::_type_handle;

View File

@ -16,10 +16,18 @@
//
////////////////////////////////////////////////////////////////////
#include "textureContext.h"
#if defined(WIN32_VC) && !defined(NO_PCH)
#include "display_headers.h"
#endif
#pragma hdrstop
#if !defined(WIN32_VC) || defined(NO_PCH)
#include "textureContext.h"
#endif
#include <texture.h>
#include <pixelBuffer.h>
#include <texture.h>
TypeHandle TextureContext::_type_handle;