Browse Source

adjust precomp hdrs

cxgeorge 24 years ago
parent
commit
f811938cc8

+ 0 - 6
panda/src/char/char_headers.h

@@ -16,16 +16,10 @@
 //
 ////////////////////////////////////////////////////////////////////
 
-#include <clockObject.h>
-#include <animControl.h>
-#include <geomNode.h>
 #include <datagram.h>
 #include <datagramIterator.h>
 #include <bamReader.h>
 #include <bamWriter.h>
-#include <pStatTimer.h>
-#include <dconfig.h>
-#include <luse.h>
 #include <compose_matrix.h>
 #include <transformTransition.h>
 #include <ioPtaDatagramLinMath.h>

+ 24 - 0
panda/src/char/character.cxx

@@ -16,9 +16,33 @@
 //
 ////////////////////////////////////////////////////////////////////
 
+#ifdef WIN32_VC
 #include "char_headers.h"
+#endif
+
 #pragma hdrstop
 
+#ifndef WIN32_VC
+#include "character.h"
+#include "characterJoint.h"
+#include "computedVertices.h"
+#include "config_char.h"
+
+#include <geomNode.h>
+#include <datagram.h>
+#include <datagramIterator.h>
+#include <bamReader.h>
+#include <bamWriter.h>
+#include <pStatTimer.h>
+#endif
+
+#include <geomNode.h>
+#include <animControl.h>
+#include <clockObject.h>
+#include <pStatTimer.h>
+
+
+
 TypeHandle Character::_type_handle;
 
 #ifndef CPPPARSER

+ 15 - 0
panda/src/char/characterJoint.cxx

@@ -16,9 +16,24 @@
 //
 ////////////////////////////////////////////////////////////////////
 
+#ifdef WIN32_VC
 #include "char_headers.h"
+#endif
+
 #pragma hdrstop
 
+#ifndef WIN32_VC
+#include "characterJoint.h"
+#include "config_char.h"
+
+#include <compose_matrix.h>
+#include <transformTransition.h>
+#include <datagram.h>
+#include <datagramIterator.h>
+#include <bamReader.h>
+#include <bamWriter.h>
+#endif
+
 TypeHandle CharacterJoint::_type_handle;
 
 ////////////////////////////////////////////////////////////////////

+ 12 - 0
panda/src/char/characterJointBundle.cxx

@@ -16,9 +16,21 @@
 //
 ////////////////////////////////////////////////////////////////////
 
+#ifdef WIN32_VC
 #include "char_headers.h"
+#endif
+
 #pragma hdrstop
 
+#ifndef WIN32_VC
+#include "characterJointBundle.h"
+#include "character.h"
+#include <datagram.h>
+#include <datagramIterator.h>
+#include <bamReader.h>
+#include <bamWriter.h>
+#endif
+
 TypeHandle CharacterJointBundle::_type_handle;
 
 ////////////////////////////////////////////////////////////////////

+ 11 - 0
panda/src/char/characterSlider.cxx

@@ -16,9 +16,20 @@
 //
 ////////////////////////////////////////////////////////////////////
 
+#ifdef WIN32_VC
 #include "char_headers.h"
+#endif
+
 #pragma hdrstop
 
+#ifndef WIN32_VC
+#include "characterSlider.h"
+#include <datagram.h>
+#include <datagramIterator.h>
+#include <bamReader.h>
+#include <bamWriter.h>
+#endif
+
 TypeHandle CharacterSlider::_type_handle;
 
 ////////////////////////////////////////////////////////////////////

+ 12 - 1
panda/src/char/computedVertices.cxx

@@ -16,15 +16,26 @@
 //
 ////////////////////////////////////////////////////////////////////
 
+#ifdef WIN32_VC
 #include "char_headers.h"
+#endif
+
 #pragma hdrstop
 
-#include <algorithm>
+#ifndef WIN32_VC
+#include "computedVertices.h"
+#include "characterJoint.h"
+#include "character.h"
+#include "config_char.h"
+
 #include <datagram.h>
 #include <datagramIterator.h>
 #include <bamReader.h>
 #include <bamWriter.h>
 #include <ioPtaDatagramLinMath.h>
+#endif
+
+#include <algorithm>
 
 TypeHandle ComputedVertices::_type_handle;
 

+ 12 - 0
panda/src/char/computedVerticesMorph.cxx

@@ -16,9 +16,21 @@
 //
 ////////////////////////////////////////////////////////////////////
 
+#ifdef WIN32_VC
 #include "char_headers.h"
+#endif
+
 #pragma hdrstop
 
+#ifndef WIN32_VC
+#include "computedVerticesMorph.h"
+
+#include <datagram.h>
+#include <datagramIterator.h>
+#include <bamReader.h>
+#include <bamWriter.h>
+#endif
+
 ////////////////////////////////////////////////////////////////////
 //     Function: ComputedVerticesMorphValue2::write_datagram
 //       Access: Public

+ 16 - 0
panda/src/char/config_char.cxx

@@ -16,9 +16,25 @@
 //
 ////////////////////////////////////////////////////////////////////
 
+#ifdef WIN32_VC
 #include "char_headers.h"
+#endif
+
 #pragma hdrstop
 
+#ifndef WIN32_VC
+#include "config_char.h"
+#include "character.h"
+#include "characterJoint.h"
+#include "characterJointBundle.h"
+#include "characterSlider.h"
+#include "computedVertices.h"
+#include "dynamicVertices.h"
+#endif
+
+#include <dconfig.h>
+#include <lmatrix4.h>
+
 Configure(config_char);
 NotifyCategoryDef(char, "");
 

+ 14 - 0
panda/src/char/dynamicVertices.cxx

@@ -16,11 +16,25 @@
 //
 ////////////////////////////////////////////////////////////////////
 
+#ifdef WIN32_VC
 #include "char_headers.h"
+#endif
+
 #pragma hdrstop
 
+#ifndef WIN32_VC
+#include "dynamicVertices.h"
+#include "config_char.h"
+#include <bamReader.h>
+#include <bamWriter.h>
+#include <datagram.h>
+#include <datagramIterator.h>
+#include <ioPtaDatagramLinMath.h>
+#endif
+
 TypeHandle DynamicVertices::_type_handle;
 
+
 ////////////////////////////////////////////////////////////////////
 //     Function: DynamicVertices::Constructor
 //       Access: Public