Browse Source

better #includes

David Rose 19 years ago
parent
commit
92452a393d

+ 2 - 3
pandatool/src/egg-mkfont/Sources.pp

@@ -12,13 +12,12 @@
 #begin bin_target
   #define TARGET egg-mkfont
   
-//  #define COMBINED_SOURCES $[TARGET]_composite1.cxx   
+  #define COMBINED_SOURCES $[TARGET]_composite1.cxx   
   
   #defer SOURCES \
     eggMakeFont.h \
     rangeDescription.h rangeDescription.I \
-    rangeIterator.h rangeIterator.I \
-    $[INCLUDED_SOURCES]
+    rangeIterator.h rangeIterator.I
 
   #define INCLUDED_SOURCES \
     eggMakeFont.cxx \

+ 3 - 0
pandatool/src/egg-mkfont/egg-mkfont_composite1.cxx

@@ -1,2 +1,5 @@
 
 #include "eggMakeFont.cxx"
+#include "rangeDescription.cxx"
+#include "rangeIterator.cxx"
+

+ 1 - 0
pandatool/src/eggcharbase/Sources.pp

@@ -28,6 +28,7 @@
      eggJointPointer.cxx eggJointNodePointer.cxx \
      eggMatrixTablePointer.cxx eggScalarTablePointer.cxx \
      eggSliderData.cxx \
+     eggSliderPointer.cxx \
      eggVertexPointer.cxx 
 
   #define INSTALL_HEADERS \

+ 1 - 0
pandatool/src/eggcharbase/eggComponentData.cxx

@@ -18,6 +18,7 @@
 
 #include "eggComponentData.h"
 #include "eggBackPointer.h"
+#include "nameUniquifier.h"
 
 #include "indent.h"
 

+ 1 - 1
pandatool/src/eggcharbase/eggMatrixTablePointer.cxx

@@ -17,8 +17,8 @@
 ////////////////////////////////////////////////////////////////////
 
 #include "eggMatrixTablePointer.h"
-
 #include "dcast.h"
+#include "eggSAnimData.h"
 #include "eggXfmAnimData.h"
 #include "eggXfmSAnim.h"
 

+ 1 - 1
pandatool/src/eggcharbase/eggSliderData.cxx

@@ -20,7 +20,7 @@
 #include "eggVertexPointer.h"
 #include "eggScalarTablePointer.h"
 #include "eggSliderPointer.h"
-
+#include "dcast.h"
 #include "eggPrimitive.h"
 #include "eggVertex.h"
 #include "eggSAnimData.h"

+ 1 - 1
pandatool/src/flt/Sources.pp

@@ -26,7 +26,7 @@
      fltTransformRotateAboutEdge.h fltTransformRotateAboutPoint.h  \
      fltTransformRotateScale.h fltTransformScale.h  \
      fltTransformTranslate.h fltUnsupportedRecord.h \
-     fltVectorRecord.cxx fltVectorRecord.h \
+     fltVectorRecord.h \
      fltVertex.I fltVertex.h fltVertexList.h 
     
  #define INCLUDED_SOURCES \

+ 1 - 0
pandatool/src/flt/fltGroup.cxx

@@ -19,6 +19,7 @@
 #include "fltGroup.h"
 #include "fltRecordReader.h"
 #include "fltRecordWriter.h"
+#include "fltHeader.h"
 
 TypeHandle FltGroup::_type_handle;
 

+ 1 - 0
pandatool/src/flt/fltRecord.cxx

@@ -33,6 +33,7 @@
 #include "fltInstanceRef.h"
 #include "fltUnsupportedRecord.h"
 #include "fltExternalReference.h"
+#include "fltVectorRecord.h"
 #include "config_flt.h"
 
 #include "dcast.h"

+ 1 - 0
pandatool/src/flt/flt_composite1.cxx

@@ -35,6 +35,7 @@
 #include "fltTransformScale.cxx"
 #include "fltTransformTranslate.cxx"
 #include "fltUnsupportedRecord.cxx"
+#include "fltVectorRecord.cxx"
 #include "fltVertex.cxx"
 #include "fltVertexList.cxx"
 

+ 1 - 0
pandatool/src/palettizer/paletteImage.cxx

@@ -30,6 +30,7 @@
 #include "datagramIterator.h"
 #include "bamReader.h"
 #include "bamWriter.h"
+#include "string_utils.h"
 
 #include <algorithm>
 

+ 1 - 1
pandatool/src/palettizer/textureImage.cxx

@@ -24,7 +24,7 @@
 #include "paletteImage.h"
 #include "texturePlacement.h"
 #include "filenameUnifier.h"
-
+#include "string_utils.h"
 #include "indent.h"
 #include "datagram.h"
 #include "datagramIterator.h"

+ 2 - 0
pandatool/src/palettizer/texturePosition.h

@@ -25,6 +25,8 @@
 #include "luse.h"
 #include "eggTexture.h"
 
+class FactoryParams;
+
 ////////////////////////////////////////////////////////////////////
 //       Class : TexturePosition
 // Description : This represents a particular position of a texture

+ 1 - 0
pandatool/src/palettizer/textureProperties.cxx

@@ -23,6 +23,7 @@
 #include "datagramIterator.h"
 #include "bamReader.h"
 #include "bamWriter.h"
+#include "string_utils.h"
 
 TypeHandle TextureProperties::_type_handle;