Browse Source

adjust precomp hdr list

cxgeorge 24 years ago
parent
commit
b3b030b2c5

+ 13 - 0
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 <indent.h>
+#include <datagram.h>
+#include <datagramIterator.h>
+#include <bamReader.h>
+#include <bamWriter.h>
+#endif
+
 TypeHandle AnimBundle::_type_handle;
 
 ////////////////////////////////////////////////////////////////////

+ 11 - 0
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 <datagram.h>
+#include <datagramIterator.h>
+#include <bamReader.h>
+#include <bamWriter.h>
+#endif
+
 TypeHandle AnimBundleNode::_type_handle;
 
 

+ 9 - 0
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 <compose_matrix.h>
+#endif
+
 // Tell GCC that we'll take care of the instantiation explicitly here.
 #ifdef __GNUC__
 #pragma implementation

+ 11 - 0
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 <datagram.h>
+#include <datagramIterator.h>
+#include <bamReader.h>
+#include <bamWriter.h>
+#endif
+
 TypeHandle AnimChannelBase::_type_handle;
 
 

+ 16 - 1
panda/src/chan/animChannelMatrixXfmTable.cxx

@@ -16,10 +16,25 @@
 //
 ////////////////////////////////////////////////////////////////////
 
+#ifdef WIN32_VC
 #include "chan_headers.h"
-#pragma hdrstop
+#endif
 
+#pragma hdrstop
 
+#ifndef WIN32_VC
+#include "animChannelMatrixXfmTable.h"
+#include "animBundle.h"
+#include "config_chan.h"
+
+#include <compose_matrix.h>
+#include <indent.h>
+#include <datagram.h>
+#include <datagramIterator.h>
+#include <bamReader.h>
+#include <bamWriter.h>
+#include <fftCompressor.h>
+#endif
 
 TypeHandle AnimChannelMatrixXfmTable::_type_handle;
 

+ 16 - 0
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 <indent.h>
+#include <datagram.h>
+#include <datagramIterator.h>
+#include <bamReader.h>
+#include <bamWriter.h>
+#include <fftCompressor.h>
+#endif
+
 TypeHandle AnimChannelScalarTable::_type_handle;
 
 ////////////////////////////////////////////////////////////////////

+ 14 - 0
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 <event.h>
+#include <throw_event.h>
+#endif
+
+
 TypeHandle AnimControl::_type_handle;
 
 ////////////////////////////////////////////////////////////////////

+ 6 - 0
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
 
 
 ////////////////////////////////////////////////////////////////////

+ 16 - 1
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 <indent.h>
+#include <datagram.h>
+#include <datagramIterator.h>
+#include <bamReader.h>
+#include <bamWriter.h>
+
+#endif
+
 #include <algorithm>
 
 TypeHandle AnimGroup::_type_handle;

+ 19 - 0
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 <renderRelation.h>
+#include <traverserVisitor.h>
+#include <dftraverser.h>
+#include <string_utils.h>
+#include <nullAttributeWrapper.h>
+#include <nullLevelState.h>
+#include <nullTransitionWrapper.h>
+#include "auto_bind.h"
+
 typedef set<AnimBundleNode *> AnimNodes;
 typedef map<string, AnimNodes> Anims;
 
@@ -26,6 +44,7 @@ typedef set<PartBundleNode *> PartNodes;
 typedef map<string, PartNodes> Parts;
 
 
+
 ////////////////////////////////////////////////////////////////////
 //       Class : CollectNodes
 // Description : This is a traverser visitor that locates bundle nodes

+ 0 - 10
panda/src/chan/chan_headers.h

@@ -21,19 +21,10 @@
 #include <compose_matrix.h>
 #include <datagram.h>
 #include <datagramIterator.h>
-#include <dconfig.h>
-#include <dftraverser.h>
 #include <event.h>
 #include <fftCompressor.h>
 #include <indent.h>
-#include <luse.h>
-#include <nullAttributeWrapper.h>
-#include <nullLevelState.h>
-#include <nullTransitionWrapper.h>
-#include <renderRelation.h>
-#include <string_utils.h>
 #include <throw_event.h>
-#include <traverserVisitor.h>
 
 #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"

+ 23 - 0
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 <luse.h>
+#include <dconfig.h>
+
 Configure(config_chan);
 NotifyCategoryDef(chan, "");
 

+ 11 - 0
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 <indent.h>
+#endif
+
 TypeHandle MovingPartBase::_type_handle;
 
 

+ 12 - 0
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 <compose_matrix.h>
+#include <datagram.h>
+#include <datagramIterator.h>
+#include <bamReader.h>
+#include <bamWriter.h>
+#endif
 
 // Tell GCC that we'll take care of the instantiation explicitly here.
 #ifdef __GNUC__

+ 11 - 0
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 <datagram.h>
+#include <datagramIterator.h>
+#include <bamReader.h>
+#include <bamWriter.h>
+#endif
+
 // Tell GCC that we'll take care of the instantiation explicitly here.
 #ifdef __GNUC__
 #pragma implementation

+ 16 - 0
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 <indent.h>
+#include <datagram.h>
+#include <datagramIterator.h>
+#include <bamReader.h>
+#include <bamWriter.h>
+#endif
+
 TypeHandle PartBundle::_type_handle;
 
 

+ 11 - 0
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 <datagram.h>
+#include <datagramIterator.h>
+#include <bamReader.h>
+#include <bamWriter.h>
+#endif
+
 TypeHandle PartBundleNode::_type_handle;
 
 

+ 15 - 1
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 <indent.h>
+#include <datagram.h>
+#include <datagramIterator.h>
+#include <bamReader.h>
+#include <bamWriter.h>
+#endif
+
 #include <algorithm>
 
 TypeHandle PartGroup::_type_handle;

+ 1 - 3
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 <vector_src.cxx>
 
-
 // Tell GCC that we'll take care of the instantiation explicitly here.
 #ifdef __GNUC__
 #pragma implementation