From b3b030b2c5c92f8d92f533c31a806d82129e88cc Mon Sep 17 00:00:00 2001 From: cxgeorge <> Date: Sat, 2 Jun 2001 02:17:30 +0000 Subject: [PATCH] adjust precomp hdr list --- panda/src/chan/animBundle.cxx | 13 +++++++++++ panda/src/chan/animBundleNode.cxx | 11 ++++++++++ panda/src/chan/animChannel.cxx | 9 ++++++++ panda/src/chan/animChannelBase.cxx | 11 ++++++++++ panda/src/chan/animChannelMatrixXfmTable.cxx | 15 +++++++++++++ panda/src/chan/animChannelScalarTable.cxx | 16 ++++++++++++++ panda/src/chan/animControl.cxx | 14 ++++++++++++ panda/src/chan/animControlCollection.cxx | 6 +++++ panda/src/chan/animGroup.cxx | 17 ++++++++++++++- panda/src/chan/auto_bind.cxx | 19 ++++++++++++++++ panda/src/chan/chan_headers.h | 10 --------- panda/src/chan/config_chan.cxx | 23 ++++++++++++++++++++ panda/src/chan/movingPartBase.cxx | 11 ++++++++++ panda/src/chan/movingPartMatrix.cxx | 12 ++++++++++ panda/src/chan/movingPartScalar.cxx | 11 ++++++++++ panda/src/chan/partBundle.cxx | 16 ++++++++++++++ panda/src/chan/partBundleNode.cxx | 11 ++++++++++ panda/src/chan/partGroup.cxx | 16 +++++++++++++- panda/src/chan/vector_PartGroupStar.cxx | 4 +--- 19 files changed, 230 insertions(+), 15 deletions(-) diff --git a/panda/src/chan/animBundle.cxx b/panda/src/chan/animBundle.cxx index ef73b10eb4..cf0e9227eb 100644 --- a/panda/src/chan/animBundle.cxx +++ b/panda/src/chan/animBundle.cxx @@ -16,9 +16,22 @@ // //////////////////////////////////////////////////////////////////// +#ifdef WIN32_VC #include "chan_headers.h" +#endif + #pragma hdrstop +#ifndef WIN32_VC +#include "animBundle.h" + +#include +#include +#include +#include +#include +#endif + TypeHandle AnimBundle::_type_handle; //////////////////////////////////////////////////////////////////// diff --git a/panda/src/chan/animBundleNode.cxx b/panda/src/chan/animBundleNode.cxx index 4ea6e6341c..66f11bed63 100644 --- a/panda/src/chan/animBundleNode.cxx +++ b/panda/src/chan/animBundleNode.cxx @@ -16,9 +16,20 @@ // //////////////////////////////////////////////////////////////////// +#ifdef WIN32_VC #include "chan_headers.h" +#endif + #pragma hdrstop +#ifndef WIN32_VC +#include "animBundleNode.h" +#include +#include +#include +#include +#endif + TypeHandle AnimBundleNode::_type_handle; diff --git a/panda/src/chan/animChannel.cxx b/panda/src/chan/animChannel.cxx index 147a98071b..0592716589 100644 --- a/panda/src/chan/animChannel.cxx +++ b/panda/src/chan/animChannel.cxx @@ -16,9 +16,18 @@ // //////////////////////////////////////////////////////////////////// +#ifdef WIN32_VC #include "chan_headers.h" +#endif + #pragma hdrstop +#ifndef WIN32_VC +#include "animChannel.h" + +#include +#endif + // Tell GCC that we'll take care of the instantiation explicitly here. #ifdef __GNUC__ #pragma implementation diff --git a/panda/src/chan/animChannelBase.cxx b/panda/src/chan/animChannelBase.cxx index 20214be841..a00146346f 100644 --- a/panda/src/chan/animChannelBase.cxx +++ b/panda/src/chan/animChannelBase.cxx @@ -16,9 +16,20 @@ // //////////////////////////////////////////////////////////////////// +#ifdef WIN32_VC #include "chan_headers.h" +#endif + #pragma hdrstop +#ifndef WIN32_VC +#include "animChannelBase.h" +#include +#include +#include +#include +#endif + TypeHandle AnimChannelBase::_type_handle; diff --git a/panda/src/chan/animChannelMatrixXfmTable.cxx b/panda/src/chan/animChannelMatrixXfmTable.cxx index 2f3bd3a1f2..a67dead513 100644 --- a/panda/src/chan/animChannelMatrixXfmTable.cxx +++ b/panda/src/chan/animChannelMatrixXfmTable.cxx @@ -16,10 +16,25 @@ // //////////////////////////////////////////////////////////////////// +#ifdef WIN32_VC #include "chan_headers.h" +#endif + #pragma hdrstop +#ifndef WIN32_VC +#include "animChannelMatrixXfmTable.h" +#include "animBundle.h" +#include "config_chan.h" +#include +#include +#include +#include +#include +#include +#include +#endif TypeHandle AnimChannelMatrixXfmTable::_type_handle; diff --git a/panda/src/chan/animChannelScalarTable.cxx b/panda/src/chan/animChannelScalarTable.cxx index c7a27a5715..b866275f9f 100644 --- a/panda/src/chan/animChannelScalarTable.cxx +++ b/panda/src/chan/animChannelScalarTable.cxx @@ -16,9 +16,25 @@ // //////////////////////////////////////////////////////////////////// +#ifdef WIN32_VC #include "chan_headers.h" +#endif + #pragma hdrstop +#ifndef WIN32_VC +#include "animChannelScalarTable.h" +#include "animBundle.h" +#include "config_chan.h" + +#include +#include +#include +#include +#include +#include +#endif + TypeHandle AnimChannelScalarTable::_type_handle; //////////////////////////////////////////////////////////////////// diff --git a/panda/src/chan/animControl.cxx b/panda/src/chan/animControl.cxx index dd5a6d2864..fabfad0a85 100644 --- a/panda/src/chan/animControl.cxx +++ b/panda/src/chan/animControl.cxx @@ -16,9 +16,23 @@ // //////////////////////////////////////////////////////////////////// +#ifdef WIN32_VC #include "chan_headers.h" +#endif + #pragma hdrstop +#ifndef WIN32_VC +#include "animControl.h" +#include "animChannelBase.h" +#include "partBundle.h" +#include "config_chan.h" + +#include +#include +#endif + + TypeHandle AnimControl::_type_handle; //////////////////////////////////////////////////////////////////// diff --git a/panda/src/chan/animControlCollection.cxx b/panda/src/chan/animControlCollection.cxx index 19860a718b..ceee71b06f 100644 --- a/panda/src/chan/animControlCollection.cxx +++ b/panda/src/chan/animControlCollection.cxx @@ -16,9 +16,15 @@ // //////////////////////////////////////////////////////////////////// +#ifdef WIN32_VC #include "chan_headers.h" +#endif + #pragma hdrstop +#ifndef WIN32_VC +#include "animControlCollection.h" +#endif //////////////////////////////////////////////////////////////////// diff --git a/panda/src/chan/animGroup.cxx b/panda/src/chan/animGroup.cxx index 67faaf64cf..99be8b481f 100644 --- a/panda/src/chan/animGroup.cxx +++ b/panda/src/chan/animGroup.cxx @@ -16,10 +16,25 @@ // //////////////////////////////////////////////////////////////////// +#ifdef WIN32_VC #include "chan_headers.h" +#endif + #pragma hdrstop -// not precompiled because it causes xtra warnings +#ifndef WIN32_VC +#include "animGroup.h" +#include "animBundle.h" +#include "config_chan.h" + +#include +#include +#include +#include +#include + +#endif + #include TypeHandle AnimGroup::_type_handle; diff --git a/panda/src/chan/auto_bind.cxx b/panda/src/chan/auto_bind.cxx index ce3c4154c7..78189ab6a7 100644 --- a/panda/src/chan/auto_bind.cxx +++ b/panda/src/chan/auto_bind.cxx @@ -16,9 +16,27 @@ // //////////////////////////////////////////////////////////////////// +#ifdef WIN32_VC #include "chan_headers.h" +#endif + #pragma hdrstop +#ifndef WIN32_VC +#include "animBundleNode.h" +#include "partBundleNode.h" +#include "config_chan.h" +#endif + +#include +#include +#include +#include +#include +#include +#include +#include "auto_bind.h" + typedef set AnimNodes; typedef map Anims; @@ -26,6 +44,7 @@ typedef set PartNodes; typedef map Parts; + //////////////////////////////////////////////////////////////////// // Class : CollectNodes // Description : This is a traverser visitor that locates bundle nodes diff --git a/panda/src/chan/chan_headers.h b/panda/src/chan/chan_headers.h index de14e70931..3cd950244b 100644 --- a/panda/src/chan/chan_headers.h +++ b/panda/src/chan/chan_headers.h @@ -21,19 +21,10 @@ #include #include #include -#include -#include #include #include #include -#include -#include -#include -#include -#include -#include #include -#include #include "animBundle.h" #include "animBundleNode.h" @@ -44,7 +35,6 @@ #include "animControl.h" #include "animControlCollection.h" #include "animGroup.h" -#include "auto_bind.h" #include "config_chan.h" #include "movingPartBase.h" #include "movingPartMatrix.h" diff --git a/panda/src/chan/config_chan.cxx b/panda/src/chan/config_chan.cxx index be5de1baf4..c3c7b79e08 100644 --- a/panda/src/chan/config_chan.cxx +++ b/panda/src/chan/config_chan.cxx @@ -16,9 +16,32 @@ // //////////////////////////////////////////////////////////////////// +#ifdef WIN32_VC #include "chan_headers.h" +#endif + #pragma hdrstop +#ifndef WIN32_VC +#include "config_chan.h" +#include "animBundle.h" +#include "animBundleNode.h" +#include "animChannelBase.h" +#include "animChannelMatrixXfmTable.h" +#include "animChannelScalarTable.h" +#include "animControl.h" +#include "animGroup.h" +#include "movingPartBase.h" +#include "movingPartMatrix.h" +#include "movingPartScalar.h" +#include "partBundle.h" +#include "partBundleNode.h" +#include "partGroup.h" +#endif + +#include +#include + Configure(config_chan); NotifyCategoryDef(chan, ""); diff --git a/panda/src/chan/movingPartBase.cxx b/panda/src/chan/movingPartBase.cxx index 45242a617b..c21d0d9396 100644 --- a/panda/src/chan/movingPartBase.cxx +++ b/panda/src/chan/movingPartBase.cxx @@ -16,9 +16,20 @@ // //////////////////////////////////////////////////////////////////// +#ifdef WIN32_VC #include "chan_headers.h" +#endif + #pragma hdrstop +#ifndef WIN32_VC +#include "movingPartBase.h" +#include "animControl.h" +#include "animChannelBase.h" + +#include +#endif + TypeHandle MovingPartBase::_type_handle; diff --git a/panda/src/chan/movingPartMatrix.cxx b/panda/src/chan/movingPartMatrix.cxx index a4280b769e..b3adbc0e0f 100644 --- a/panda/src/chan/movingPartMatrix.cxx +++ b/panda/src/chan/movingPartMatrix.cxx @@ -16,9 +16,21 @@ // //////////////////////////////////////////////////////////////////// +#ifdef WIN32_VC #include "chan_headers.h" +#endif + #pragma hdrstop +#ifndef WIN32_VC +#include "movingPartMatrix.h" + +#include +#include +#include +#include +#include +#endif // Tell GCC that we'll take care of the instantiation explicitly here. #ifdef __GNUC__ diff --git a/panda/src/chan/movingPartScalar.cxx b/panda/src/chan/movingPartScalar.cxx index ff579c6b45..a65167fd18 100644 --- a/panda/src/chan/movingPartScalar.cxx +++ b/panda/src/chan/movingPartScalar.cxx @@ -16,9 +16,20 @@ // //////////////////////////////////////////////////////////////////// +#ifdef WIN32_VC #include "chan_headers.h" +#endif + #pragma hdrstop +#ifndef WIN32_VC +#include "movingPartScalar.h" +#include +#include +#include +#include +#endif + // Tell GCC that we'll take care of the instantiation explicitly here. #ifdef __GNUC__ #pragma implementation diff --git a/panda/src/chan/partBundle.cxx b/panda/src/chan/partBundle.cxx index dfbe40f114..aaac62deaa 100644 --- a/panda/src/chan/partBundle.cxx +++ b/panda/src/chan/partBundle.cxx @@ -16,9 +16,25 @@ // //////////////////////////////////////////////////////////////////// +#ifdef WIN32_VC #include "chan_headers.h" +#endif + #pragma hdrstop +#ifndef WIN32_VC +#include "partBundle.h" +#include "animBundle.h" +#include "animControl.h" +#include "config_chan.h" + +#include +#include +#include +#include +#include +#endif + TypeHandle PartBundle::_type_handle; diff --git a/panda/src/chan/partBundleNode.cxx b/panda/src/chan/partBundleNode.cxx index 1197fad272..aba32108c4 100644 --- a/panda/src/chan/partBundleNode.cxx +++ b/panda/src/chan/partBundleNode.cxx @@ -16,9 +16,20 @@ // //////////////////////////////////////////////////////////////////// +#ifdef WIN32_VC #include "chan_headers.h" +#endif + #pragma hdrstop +#ifndef WIN32_VC +#include "partBundleNode.h" +#include +#include +#include +#include +#endif + TypeHandle PartBundleNode::_type_handle; diff --git a/panda/src/chan/partGroup.cxx b/panda/src/chan/partGroup.cxx index 115be1368f..c0087fdead 100644 --- a/panda/src/chan/partGroup.cxx +++ b/panda/src/chan/partGroup.cxx @@ -16,10 +16,24 @@ // //////////////////////////////////////////////////////////////////// +#ifdef WIN32_VC #include "chan_headers.h" +#endif + #pragma hdrstop -// not precompiled because it causes xtra warnings +#ifndef WIN32_VC +#include "partGroup.h" +#include "animGroup.h" +#include "config_chan.h" + +#include +#include +#include +#include +#include +#endif + #include TypeHandle PartGroup::_type_handle; diff --git a/panda/src/chan/vector_PartGroupStar.cxx b/panda/src/chan/vector_PartGroupStar.cxx index 7747265c01..41ae946837 100644 --- a/panda/src/chan/vector_PartGroupStar.cxx +++ b/panda/src/chan/vector_PartGroupStar.cxx @@ -16,8 +16,7 @@ // //////////////////////////////////////////////////////////////////// -#include "chan_headers.h" -#pragma hdrstop +#include "vector_PartGroupStar.h" #define EXPCL EXPCL_PANDA #define EXPTP EXPTP_PANDA @@ -26,7 +25,6 @@ #include - // Tell GCC that we'll take care of the instantiation explicitly here. #ifdef __GNUC__ #pragma implementation