use precomp hdrs
This commit is contained in:
parent
11cdb8a6be
commit
8fb0e507e2
|
|
@ -1,6 +1,6 @@
|
|||
#define OTHER_LIBS interrogatedb:c dconfig:c dtoolconfig:m \
|
||||
dtoolutil:c dtoolbase:c dtool:m
|
||||
|
||||
|
||||
#begin lib_target
|
||||
#define TARGET cull
|
||||
#define LOCAL_LIBS \
|
||||
|
|
@ -34,6 +34,8 @@
|
|||
geomBinUnsorted.h
|
||||
|
||||
#define IGATESCAN all
|
||||
|
||||
#define PRECOMPILED_HEADER cull_headers.h
|
||||
|
||||
#end lib_target
|
||||
|
||||
|
|
|
|||
|
|
@ -16,19 +16,8 @@
|
|||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include "config_cull.h"
|
||||
#include "cullTraverser.h"
|
||||
#include "geomBin.h"
|
||||
#include "geomBinUnsorted.h"
|
||||
#include "geomBinBackToFront.h"
|
||||
#include "geomBinGroup.h"
|
||||
#include "geomBinNormal.h"
|
||||
#include "geomBinTransition.h"
|
||||
#include "geomBinAttribute.h"
|
||||
#include "geomBinFixed.h"
|
||||
#include "directRenderTransition.h"
|
||||
|
||||
#include <dconfig.h>
|
||||
#include "cull_headers.h"
|
||||
#pragma hdrstop
|
||||
|
||||
ConfigureDef(config_cull);
|
||||
NotifyCategoryDef(cull, "");
|
||||
|
|
|
|||
|
|
@ -16,12 +16,8 @@
|
|||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include "cullState.h"
|
||||
#include "config_cull.h"
|
||||
|
||||
#include <indent.h>
|
||||
#include <graphicsStateGuardian.h>
|
||||
#include <allAttributesWrapper.h>
|
||||
#include "cull_headers.h"
|
||||
#pragma hdrstop
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
// Function: CullState::check_currency
|
||||
|
|
|
|||
|
|
@ -16,11 +16,8 @@
|
|||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include "cullStateLookup.h"
|
||||
#include "cullState.h"
|
||||
#include "cullStateSubtree.h"
|
||||
|
||||
#include <indent.h>
|
||||
#include "cull_headers.h"
|
||||
#pragma hdrstop
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
// Function: CullStateLookup::Destructor
|
||||
|
|
|
|||
|
|
@ -16,8 +16,8 @@
|
|||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include "cullStateSubtree.h"
|
||||
#include "config_cull.h"
|
||||
#include "cull_headers.h"
|
||||
#pragma hdrstop
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
|
|
|||
|
|
@ -16,28 +16,8 @@
|
|||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include "cullTraverser.h"
|
||||
#include "geomBinTransition.h"
|
||||
#include "geomBinAttribute.h"
|
||||
#include "cullStateSubtree.h"
|
||||
#include "geomBinNormal.h"
|
||||
#include "geomBinFixed.h"
|
||||
#include "directRenderTransition.h"
|
||||
#include "config_cull.h"
|
||||
|
||||
#include <wrt.h>
|
||||
#include <frustumCullTraverser.h>
|
||||
#include <graphicsStateGuardian.h>
|
||||
#include <decalTransition.h>
|
||||
#include <pruneTransition.h>
|
||||
#include <transformTransition.h>
|
||||
#include <nodeTransitionWrapper.h>
|
||||
#include <switchNode.h>
|
||||
#include <indent.h>
|
||||
#include <config_sgraphutil.h> // for implicit_app_traversal
|
||||
#include <config_sgattrib.h> // for support_decals
|
||||
#include <string_utils.h>
|
||||
#include <pStatTimer.h>
|
||||
#include "cull_headers.h"
|
||||
#pragma hdrstop
|
||||
|
||||
TypeHandle CullTraverser::_type_handle;
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,59 @@
|
|||
// Filename: cull_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 <allAttributesWrapper.h>
|
||||
#include <config_sgattrib.h> // for support_decals
|
||||
#include <config_sgraphutil.h> // for implicit_app_traversal
|
||||
#include <dconfig.h>
|
||||
#include <decalTransition.h>
|
||||
#include <directRenderTraverser.h>
|
||||
#include <frustumCullTraverser.h>
|
||||
#include <geometricBoundingVolume.h>
|
||||
#include <graphicsStateGuardian.h>
|
||||
#include <graphicsStateGuardianBase.h>
|
||||
#include <indent.h>
|
||||
#include <nodeAttributes.h>
|
||||
#include <nodeTransitionWrapper.h>
|
||||
#include <pruneTransition.h>
|
||||
#include <pStatTimer.h>
|
||||
#include <string.h>
|
||||
#include <string_utils.h>
|
||||
#include <switchNode.h>
|
||||
#include <transformAttribute.h>
|
||||
#include <transformTransition.h>
|
||||
#include <transparencyAttribute.h>
|
||||
#include <transparencyTransition.h>
|
||||
#include <wrt.h>
|
||||
|
||||
#include "config_cull.h"
|
||||
#include "cullState.h"
|
||||
#include "cullStateLookup.h"
|
||||
#include "cullStateSubtree.h"
|
||||
#include "cullTraverser.h"
|
||||
#include "directRenderTransition.h"
|
||||
#include "geomBin.h"
|
||||
#include "geomBinAttribute.h"
|
||||
#include "geomBinBackToFront.h"
|
||||
#include "geomBinFixed.h"
|
||||
#include "geomBinGroup.h"
|
||||
#include "geomBinNormal.h"
|
||||
#include "geomBinTransition.h"
|
||||
#include "geomBinUnsorted.h"
|
||||
|
||||
#pragma hdrstop
|
||||
|
||||
|
|
@ -16,9 +16,8 @@
|
|||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include "directRenderTransition.h"
|
||||
|
||||
#include <indent.h>
|
||||
#include "cull_headers.h"
|
||||
#pragma hdrstop
|
||||
|
||||
TypeHandle DirectRenderTransition::_type_handle;
|
||||
|
||||
|
|
|
|||
|
|
@ -16,18 +16,8 @@
|
|||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include "geomBin.h"
|
||||
#include "cullTraverser.h"
|
||||
#include "config_cull.h"
|
||||
#include "geomBinNormal.h"
|
||||
#include "geomBinUnsorted.h"
|
||||
#include "geomBinFixed.h"
|
||||
#include "geomBinBackToFront.h"
|
||||
|
||||
#include <indent.h>
|
||||
#include <nodeAttributes.h>
|
||||
#include <graphicsStateGuardian.h>
|
||||
#include <string_utils.h>
|
||||
#include "cull_headers.h"
|
||||
#pragma hdrstop
|
||||
|
||||
TypeHandle GeomBin::_type_handle;
|
||||
|
||||
|
|
|
|||
|
|
@ -16,13 +16,8 @@
|
|||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include "geomBinAttribute.h"
|
||||
#include "geomBinTransition.h"
|
||||
|
||||
#include <graphicsStateGuardianBase.h>
|
||||
#include <indent.h>
|
||||
|
||||
#include <string.h>
|
||||
#include "cull_headers.h"
|
||||
#pragma hdrstop
|
||||
|
||||
TypeHandle GeomBinAttribute::_type_handle;
|
||||
|
||||
|
|
|
|||
|
|
@ -16,15 +16,8 @@
|
|||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include "geomBinBackToFront.h"
|
||||
#include "cullTraverser.h"
|
||||
|
||||
#include <nodeAttributes.h>
|
||||
#include <graphicsStateGuardian.h>
|
||||
#include <transformTransition.h>
|
||||
#include <transformAttribute.h>
|
||||
#include <geometricBoundingVolume.h>
|
||||
#include <pStatTimer.h>
|
||||
#include "cull_headers.h"
|
||||
#pragma hdrstop
|
||||
|
||||
TypeHandle GeomBinBackToFront::_type_handle;
|
||||
|
||||
|
|
|
|||
|
|
@ -16,16 +16,8 @@
|
|||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include "geomBinFixed.h"
|
||||
#include "cullTraverser.h"
|
||||
|
||||
#include <nodeAttributes.h>
|
||||
#include <graphicsStateGuardian.h>
|
||||
#include <transformTransition.h>
|
||||
#include <transformAttribute.h>
|
||||
#include <geometricBoundingVolume.h>
|
||||
#include <directRenderTraverser.h>
|
||||
#include <pStatTimer.h>
|
||||
#include "cull_headers.h"
|
||||
#pragma hdrstop
|
||||
|
||||
TypeHandle GeomBinFixed::_type_handle;
|
||||
|
||||
|
|
|
|||
|
|
@ -16,12 +16,8 @@
|
|||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include "geomBinGroup.h"
|
||||
#include "cullTraverser.h"
|
||||
|
||||
#include <indent.h>
|
||||
#include <nodeAttributes.h>
|
||||
#include <graphicsStateGuardian.h>
|
||||
#include "cull_headers.h"
|
||||
#pragma hdrstop
|
||||
|
||||
TypeHandle GeomBinGroup::_type_handle;
|
||||
|
||||
|
|
|
|||
|
|
@ -16,13 +16,8 @@
|
|||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include "geomBinNormal.h"
|
||||
#include "geomBinUnsorted.h"
|
||||
#include "geomBinBackToFront.h"
|
||||
|
||||
#include <transparencyTransition.h>
|
||||
#include <transparencyAttribute.h>
|
||||
#include <nodeAttributes.h>
|
||||
#include "cull_headers.h"
|
||||
#pragma hdrstop
|
||||
|
||||
TypeHandle GeomBinNormal::_type_handle;
|
||||
|
||||
|
|
|
|||
|
|
@ -16,12 +16,8 @@
|
|||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include "geomBinTransition.h"
|
||||
#include "geomBinAttribute.h"
|
||||
|
||||
#include <indent.h>
|
||||
|
||||
#include <string.h>
|
||||
#include "cull_headers.h"
|
||||
#pragma hdrstop
|
||||
|
||||
TypeHandle GeomBinTransition::_type_handle;
|
||||
|
||||
|
|
|
|||
|
|
@ -16,13 +16,8 @@
|
|||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include "geomBinUnsorted.h"
|
||||
#include "cullTraverser.h"
|
||||
|
||||
#include <indent.h>
|
||||
#include <nodeAttributes.h>
|
||||
#include <graphicsStateGuardian.h>
|
||||
#include <pStatTimer.h>
|
||||
#include "cull_headers.h"
|
||||
#pragma hdrstop
|
||||
|
||||
TypeHandle GeomBinUnsorted::_type_handle;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
#define OTHER_LIBS interrogatedb:c dconfig:c dtoolconfig:m \
|
||||
dtoolutil:c dtoolbase:c dtool:m
|
||||
|
||||
|
||||
#begin lib_target
|
||||
#define TARGET device
|
||||
#define LOCAL_LIBS \
|
||||
|
|
@ -35,6 +35,8 @@
|
|||
trackerData.I trackerData.h \
|
||||
trackerNode.I trackerNode.h
|
||||
|
||||
#define PRECOMPILED_HEADER device_headers.h
|
||||
|
||||
#define IGATESCAN all
|
||||
|
||||
#end lib_target
|
||||
|
|
|
|||
|
|
@ -16,8 +16,8 @@
|
|||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include "analogNode.h"
|
||||
#include "config_device.h"
|
||||
#include "device_headers.h"
|
||||
#pragma hdrstop
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
// Static variables
|
||||
|
|
|
|||
|
|
@ -16,10 +16,8 @@
|
|||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include "buttonNode.h"
|
||||
#include "config_device.h"
|
||||
|
||||
#include <buttonEventDataTransition.h>
|
||||
#include "device_headers.h"
|
||||
#pragma hdrstop
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
// Static variables
|
||||
|
|
|
|||
|
|
@ -16,9 +16,8 @@
|
|||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include "clientAnalogDevice.h"
|
||||
|
||||
#include <indent.h>
|
||||
#include "device_headers.h"
|
||||
#pragma hdrstop
|
||||
|
||||
TypeHandle ClientAnalogDevice::_type_handle;
|
||||
|
||||
|
|
|
|||
|
|
@ -16,8 +16,8 @@
|
|||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include "clientBase.h"
|
||||
#include "config_device.h"
|
||||
#include "device_headers.h"
|
||||
#pragma hdrstop
|
||||
|
||||
TypeHandle ClientBase::_type_handle;
|
||||
|
||||
|
|
|
|||
|
|
@ -16,9 +16,8 @@
|
|||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include "clientButtonDevice.h"
|
||||
|
||||
#include <indent.h>
|
||||
#include "device_headers.h"
|
||||
#pragma hdrstop
|
||||
|
||||
TypeHandle ClientButtonDevice::_type_handle;
|
||||
|
||||
|
|
|
|||
|
|
@ -16,10 +16,8 @@
|
|||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include "clientDevice.h"
|
||||
#include "clientBase.h"
|
||||
|
||||
#include <indent.h>
|
||||
#include "device_headers.h"
|
||||
#pragma hdrstop
|
||||
|
||||
TypeHandle ClientDevice::_type_handle;
|
||||
|
||||
|
|
|
|||
|
|
@ -16,9 +16,8 @@
|
|||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include "clientDialDevice.h"
|
||||
|
||||
#include <indent.h>
|
||||
#include "device_headers.h"
|
||||
#pragma hdrstop
|
||||
|
||||
TypeHandle ClientDialDevice::_type_handle;
|
||||
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@
|
|||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include "clientTrackerDevice.h"
|
||||
#include "device_headers.h"
|
||||
#pragma hdrstop
|
||||
|
||||
TypeHandle ClientTrackerDevice::_type_handle;
|
||||
|
|
|
|||
|
|
@ -16,20 +16,8 @@
|
|||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include "config_device.h"
|
||||
#include "analogNode.h"
|
||||
#include "buttonNode.h"
|
||||
#include "clientAnalogDevice.h"
|
||||
#include "clientBase.h"
|
||||
#include "clientButtonDevice.h"
|
||||
#include "clientDevice.h"
|
||||
#include "clientDialDevice.h"
|
||||
#include "clientTrackerDevice.h"
|
||||
#include "dialNode.h"
|
||||
#include "mouse.h"
|
||||
#include "trackerNode.h"
|
||||
|
||||
#include <dconfig.h>
|
||||
#include "device_headers.h"
|
||||
#pragma hdrstop
|
||||
|
||||
Configure(config_device);
|
||||
NotifyCategoryDef(device, "");
|
||||
|
|
|
|||
|
|
@ -0,0 +1,41 @@
|
|||
// Filename: device_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 <buttonEvent.h>
|
||||
#include <buttonEventDataTransition.h>
|
||||
#include <buttonHandle.h>
|
||||
#include <dconfig.h>
|
||||
#include <indent.h>
|
||||
#include <mouseData.h>
|
||||
|
||||
#include "analogNode.h"
|
||||
#include "buttonNode.h"
|
||||
#include "clientAnalogDevice.h"
|
||||
#include "clientBase.h"
|
||||
#include "clientButtonDevice.h"
|
||||
#include "clientDevice.h"
|
||||
#include "clientDialDevice.h"
|
||||
#include "clientTrackerDevice.h"
|
||||
#include "config_device.h"
|
||||
#include "dialNode.h"
|
||||
#include "mouse.h"
|
||||
#include "trackerData.h"
|
||||
#include "trackerNode.h"
|
||||
|
||||
#pragma hdrstop
|
||||
|
||||
|
|
@ -16,8 +16,8 @@
|
|||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include "dialNode.h"
|
||||
#include "config_device.h"
|
||||
#include "device_headers.h"
|
||||
#pragma hdrstop
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
// Static variables
|
||||
|
|
|
|||
|
|
@ -15,11 +15,8 @@
|
|||
// panda3d@yahoogroups.com .
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
#include "mouse.h"
|
||||
|
||||
#include <mouseData.h>
|
||||
#include <buttonHandle.h>
|
||||
#include <buttonEvent.h>
|
||||
#include "device_headers.h"
|
||||
#pragma hdrstop
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
// Static variables
|
||||
|
|
|
|||
|
|
@ -16,7 +16,8 @@
|
|||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include "trackerData.h"
|
||||
#include "device_headers.h"
|
||||
#pragma hdrstop
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
// Function: TrackerData::Copy Assignment Operator
|
||||
|
|
|
|||
|
|
@ -16,8 +16,8 @@
|
|||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include "trackerNode.h"
|
||||
#include "config_device.h"
|
||||
#include "device_headers.h"
|
||||
#pragma hdrstop
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
// Static variables
|
||||
|
|
|
|||
Loading…
Reference in New Issue