Browse Source

general: Consistently name all bam factory functions make_from_bam

See discussion in #1630
rdb 1 year ago
parent
commit
40b824bdcc
100 changed files with 173 additions and 185 deletions
  1. 2 2
      panda/src/chan/animBundle.cxx
  2. 1 1
      panda/src/chan/animBundle.h
  3. 2 2
      panda/src/chan/animChannelMatrixDynamic.cxx
  4. 1 1
      panda/src/chan/animChannelMatrixDynamic.h
  5. 2 2
      panda/src/chan/animChannelMatrixXfmTable.cxx
  6. 1 1
      panda/src/chan/animChannelMatrixXfmTable.h
  7. 2 2
      panda/src/chan/animChannelScalarDynamic.cxx
  8. 1 1
      panda/src/chan/animChannelScalarDynamic.h
  9. 3 3
      panda/src/chan/animChannelScalarTable.cxx
  10. 1 1
      panda/src/chan/animChannelScalarTable.h
  11. 3 3
      panda/src/chan/animGroup.cxx
  12. 1 1
      panda/src/chan/animGroup.h
  13. 3 3
      panda/src/chan/movingPartMatrix.cxx
  14. 1 1
      panda/src/chan/movingPartMatrix.h
  15. 3 3
      panda/src/chan/movingPartScalar.cxx
  16. 1 1
      panda/src/chan/movingPartScalar.h
  17. 1 1
      panda/src/chan/partBundle.cxx
  18. 3 3
      panda/src/chan/partGroup.cxx
  19. 1 1
      panda/src/chan/partGroup.h
  20. 3 3
      panda/src/char/characterJoint.cxx
  21. 1 1
      panda/src/char/characterJoint.h
  22. 4 6
      panda/src/char/characterJointBundle.cxx
  23. 1 1
      panda/src/char/characterJointBundle.h
  24. 4 6
      panda/src/char/characterSlider.cxx
  25. 1 1
      panda/src/char/characterSlider.h
  26. 2 2
      panda/src/collide/collisionBox.cxx
  27. 1 1
      panda/src/collide/collisionBox.h
  28. 3 4
      panda/src/collide/collisionFloorMesh.cxx
  29. 1 1
      panda/src/collide/collisionFloorMesh.h
  30. 2 2
      panda/src/collide/collisionHeightfield.cxx
  31. 1 1
      panda/src/collide/collisionHeightfield.h
  32. 2 2
      panda/src/collide/collisionInvSphere.cxx
  33. 1 1
      panda/src/collide/collisionInvSphere.h
  34. 4 6
      panda/src/collide/collisionPlane.cxx
  35. 1 1
      panda/src/collide/collisionPlane.h
  36. 3 3
      panda/src/collide/collisionPolygon.cxx
  37. 1 1
      panda/src/collide/collisionPolygon.h
  38. 2 2
      panda/src/collide/collisionSphere.cxx
  39. 1 1
      panda/src/collide/collisionSphere.h
  40. 2 2
      panda/src/gobj/material.cxx
  41. 1 1
      panda/src/gobj/material.h
  42. 3 3
      panda/src/gobj/textureStage.cxx
  43. 1 1
      panda/src/gobj/textureStage.h
  44. 2 2
      panda/src/parametrics/cubicCurveseg.cxx
  45. 1 1
      panda/src/parametrics/cubicCurveseg.h
  46. 2 2
      panda/src/parametrics/hermiteCurve.cxx
  47. 1 1
      panda/src/parametrics/hermiteCurve.h
  48. 2 2
      panda/src/parametrics/nurbsCurve.cxx
  49. 1 1
      panda/src/parametrics/nurbsCurve.h
  50. 0 4
      panda/src/pnmimage/pnmFileType.h
  51. 2 2
      panda/src/pnmimagetypes/pnmFileTypeBMP.cxx
  52. 1 1
      panda/src/pnmimagetypes/pnmFileTypeBMP.h
  53. 2 2
      panda/src/pnmimagetypes/pnmFileTypeEXR.cxx
  54. 1 1
      panda/src/pnmimagetypes/pnmFileTypeEXR.h
  55. 2 2
      panda/src/pnmimagetypes/pnmFileTypeIMG.cxx
  56. 1 1
      panda/src/pnmimagetypes/pnmFileTypeIMG.h
  57. 2 2
      panda/src/pnmimagetypes/pnmFileTypeJPG.cxx
  58. 1 1
      panda/src/pnmimagetypes/pnmFileTypeJPG.h
  59. 2 2
      panda/src/pnmimagetypes/pnmFileTypePNG.cxx
  60. 1 1
      panda/src/pnmimagetypes/pnmFileTypePNG.h
  61. 2 2
      panda/src/pnmimagetypes/pnmFileTypePNM.cxx
  62. 1 1
      panda/src/pnmimagetypes/pnmFileTypePNM.h
  63. 2 2
      panda/src/pnmimagetypes/pnmFileTypePfm.cxx
  64. 1 1
      panda/src/pnmimagetypes/pnmFileTypePfm.h
  65. 2 2
      panda/src/pnmimagetypes/pnmFileTypeSGI.cxx
  66. 1 1
      panda/src/pnmimagetypes/pnmFileTypeSGI.h
  67. 2 2
      panda/src/pnmimagetypes/pnmFileTypeSoftImage.cxx
  68. 1 1
      panda/src/pnmimagetypes/pnmFileTypeSoftImage.h
  69. 2 2
      panda/src/pnmimagetypes/pnmFileTypeStbImage.cxx
  70. 1 1
      panda/src/pnmimagetypes/pnmFileTypeStbImage.h
  71. 2 2
      panda/src/pnmimagetypes/pnmFileTypeTGA.cxx
  72. 1 1
      panda/src/pnmimagetypes/pnmFileTypeTGA.h
  73. 2 2
      panda/src/pnmimagetypes/pnmFileTypeTIFF.cxx
  74. 1 1
      panda/src/pnmimagetypes/pnmFileTypeTIFF.h
  75. 4 5
      panda/src/text/geomTextGlyph.cxx
  76. 1 1
      panda/src/text/geomTextGlyph.h
  77. 3 3
      pandatool/src/palettizer/destTextureImage.cxx
  78. 1 1
      pandatool/src/palettizer/destTextureImage.h
  79. 3 3
      pandatool/src/palettizer/eggFile.cxx
  80. 1 1
      pandatool/src/palettizer/eggFile.h
  81. 2 2
      pandatool/src/palettizer/paletteGroup.cxx
  82. 1 1
      pandatool/src/palettizer/paletteGroup.h
  83. 3 3
      pandatool/src/palettizer/paletteGroups.cxx
  84. 1 1
      pandatool/src/palettizer/paletteGroups.h
  85. 2 2
      pandatool/src/palettizer/paletteImage.cxx
  86. 1 1
      pandatool/src/palettizer/paletteImage.h
  87. 3 3
      pandatool/src/palettizer/palettePage.cxx
  88. 1 1
      pandatool/src/palettizer/palettePage.h
  89. 3 3
      pandatool/src/palettizer/palettizer.cxx
  90. 1 1
      pandatool/src/palettizer/palettizer.h
  91. 2 2
      pandatool/src/palettizer/sourceTextureImage.cxx
  92. 1 1
      pandatool/src/palettizer/sourceTextureImage.h
  93. 2 2
      pandatool/src/palettizer/textureImage.cxx
  94. 1 1
      pandatool/src/palettizer/textureImage.h
  95. 3 3
      pandatool/src/palettizer/texturePlacement.cxx
  96. 1 1
      pandatool/src/palettizer/texturePlacement.h
  97. 3 3
      pandatool/src/palettizer/texturePosition.cxx
  98. 1 1
      pandatool/src/palettizer/texturePosition.h
  99. 3 3
      pandatool/src/palettizer/textureProperties.cxx
  100. 1 1
      pandatool/src/palettizer/textureProperties.h

+ 2 - 2
panda/src/chan/animBundle.cxx

@@ -93,7 +93,7 @@ fillin(DatagramIterator &scan, BamReader *manager) {
  * Factory method to generate a AnimBundle object
  * Factory method to generate a AnimBundle object
  */
  */
 TypedWritable *AnimBundle::
 TypedWritable *AnimBundle::
-make_AnimBundle(const FactoryParams &params) {
+make_from_bam(const FactoryParams &params) {
   AnimBundle *me = new AnimBundle;
   AnimBundle *me = new AnimBundle;
   DatagramIterator scan;
   DatagramIterator scan;
   BamReader *manager;
   BamReader *manager;
@@ -108,5 +108,5 @@ make_AnimBundle(const FactoryParams &params) {
  */
  */
 void AnimBundle::
 void AnimBundle::
 register_with_read_factory() {
 register_with_read_factory() {
-  BamReader::get_factory()->register_factory(get_class_type(), make_AnimBundle);
+  BamReader::get_factory()->register_factory(get_class_type(), make_from_bam);
 }
 }

+ 1 - 1
panda/src/chan/animBundle.h

@@ -56,7 +56,7 @@ public:
   static void register_with_read_factory();
   static void register_with_read_factory();
   virtual void write_datagram(BamWriter* manager, Datagram &me);
   virtual void write_datagram(BamWriter* manager, Datagram &me);
 
 
-  static TypedWritable *make_AnimBundle(const FactoryParams &params);
+  static TypedWritable *make_from_bam(const FactoryParams &params);
 
 
 protected:
 protected:
   void fillin(DatagramIterator& scan, BamReader* manager);
   void fillin(DatagramIterator& scan, BamReader* manager);

+ 2 - 2
panda/src/chan/animChannelMatrixDynamic.cxx

@@ -246,7 +246,7 @@ fillin(DatagramIterator &scan, BamReader *manager) {
  * Factory method to generate an AnimChannelMatrixDynamic object.
  * Factory method to generate an AnimChannelMatrixDynamic object.
  */
  */
 TypedWritable *AnimChannelMatrixDynamic::
 TypedWritable *AnimChannelMatrixDynamic::
-make_AnimChannelMatrixDynamic(const FactoryParams &params) {
+make_from_bam(const FactoryParams &params) {
   AnimChannelMatrixDynamic *me = new AnimChannelMatrixDynamic;
   AnimChannelMatrixDynamic *me = new AnimChannelMatrixDynamic;
   DatagramIterator scan;
   DatagramIterator scan;
   BamReader *manager;
   BamReader *manager;
@@ -261,5 +261,5 @@ make_AnimChannelMatrixDynamic(const FactoryParams &params) {
  */
  */
 void AnimChannelMatrixDynamic::
 void AnimChannelMatrixDynamic::
 register_with_read_factory() {
 register_with_read_factory() {
-  BamReader::get_factory()->register_factory(get_class_type(), make_AnimChannelMatrixDynamic);
+  BamReader::get_factory()->register_factory(get_class_type(), make_from_bam);
 }
 }

+ 1 - 1
panda/src/chan/animChannelMatrixDynamic.h

@@ -78,7 +78,7 @@ public:
   virtual int complete_pointers(TypedWritable **plist, BamReader *manager);
   virtual int complete_pointers(TypedWritable **plist, BamReader *manager);
   void fillin(DatagramIterator &scan, BamReader *manager);
   void fillin(DatagramIterator &scan, BamReader *manager);
 
 
-  static TypedWritable *make_AnimChannelMatrixDynamic(const FactoryParams &params);
+  static TypedWritable *make_from_bam(const FactoryParams &params);
 
 
 public:
 public:
   virtual TypeHandle get_type() const {
   virtual TypeHandle get_type() const {

+ 2 - 2
panda/src/chan/animChannelMatrixXfmTable.cxx

@@ -511,7 +511,7 @@ fillin(DatagramIterator &scan, BamReader *manager) {
  * Factory method to generate an AnimChannelMatrixXfmTable object.
  * Factory method to generate an AnimChannelMatrixXfmTable object.
  */
  */
 TypedWritable *AnimChannelMatrixXfmTable::
 TypedWritable *AnimChannelMatrixXfmTable::
-make_AnimChannelMatrixXfmTable(const FactoryParams &params) {
+make_from_bam(const FactoryParams &params) {
   AnimChannelMatrixXfmTable *me = new AnimChannelMatrixXfmTable;
   AnimChannelMatrixXfmTable *me = new AnimChannelMatrixXfmTable;
   DatagramIterator scan;
   DatagramIterator scan;
   BamReader *manager;
   BamReader *manager;
@@ -526,5 +526,5 @@ make_AnimChannelMatrixXfmTable(const FactoryParams &params) {
  */
  */
 void AnimChannelMatrixXfmTable::
 void AnimChannelMatrixXfmTable::
 register_with_read_factory() {
 register_with_read_factory() {
-  BamReader::get_factory()->register_factory(get_class_type(), make_AnimChannelMatrixXfmTable);
+  BamReader::get_factory()->register_factory(get_class_type(), make_from_bam);
 }
 }

+ 1 - 1
panda/src/chan/animChannelMatrixXfmTable.h

@@ -77,7 +77,7 @@ public:
   static void register_with_read_factory();
   static void register_with_read_factory();
   virtual void write_datagram(BamWriter* manager, Datagram &me);
   virtual void write_datagram(BamWriter* manager, Datagram &me);
 
 
-  static TypedWritable *make_AnimChannelMatrixXfmTable(const FactoryParams &params);
+  static TypedWritable *make_from_bam(const FactoryParams &params);
 
 
 protected:
 protected:
   void fillin(DatagramIterator& scan, BamReader* manager);
   void fillin(DatagramIterator& scan, BamReader* manager);

+ 2 - 2
panda/src/chan/animChannelScalarDynamic.cxx

@@ -174,7 +174,7 @@ fillin(DatagramIterator &scan, BamReader *manager) {
  * Factory method to generate a AnimChannelScalarDynamic object
  * Factory method to generate a AnimChannelScalarDynamic object
  */
  */
 TypedWritable *AnimChannelScalarDynamic::
 TypedWritable *AnimChannelScalarDynamic::
-make_AnimChannelScalarDynamic(const FactoryParams &params) {
+make_from_bam(const FactoryParams &params) {
   AnimChannelScalarDynamic *me = new AnimChannelScalarDynamic;
   AnimChannelScalarDynamic *me = new AnimChannelScalarDynamic;
   DatagramIterator scan;
   DatagramIterator scan;
   BamReader *manager;
   BamReader *manager;
@@ -189,5 +189,5 @@ make_AnimChannelScalarDynamic(const FactoryParams &params) {
  */
  */
 void AnimChannelScalarDynamic::
 void AnimChannelScalarDynamic::
 register_with_read_factory() {
 register_with_read_factory() {
-  BamReader::get_factory()->register_factory(get_class_type(), make_AnimChannelScalarDynamic);
+  BamReader::get_factory()->register_factory(get_class_type(), make_from_bam);
 }
 }

+ 1 - 1
panda/src/chan/animChannelScalarDynamic.h

@@ -72,7 +72,7 @@ public:
   virtual int complete_pointers(TypedWritable **plist, BamReader *manager);
   virtual int complete_pointers(TypedWritable **plist, BamReader *manager);
   void fillin(DatagramIterator &scan, BamReader *manager);
   void fillin(DatagramIterator &scan, BamReader *manager);
 
 
-  static TypedWritable *make_AnimChannelScalarDynamic(const FactoryParams &params);
+  static TypedWritable *make_from_bam(const FactoryParams &params);
 
 
 public:
 public:
   virtual TypeHandle get_type() const {
   virtual TypeHandle get_type() const {

+ 3 - 3
panda/src/chan/animChannelScalarTable.cxx

@@ -324,8 +324,8 @@ fillin(DatagramIterator& scan, BamReader* manager) {
 /**
 /**
  * Factory method to generate a AnimChannelScalarTable object
  * Factory method to generate a AnimChannelScalarTable object
  */
  */
-TypedWritable* AnimChannelScalarTable::
-make_AnimChannelScalarTable(const FactoryParams &params) {
+TypedWritable *AnimChannelScalarTable::
+make_from_bam(const FactoryParams &params) {
   AnimChannelScalarTable *me = new AnimChannelScalarTable;
   AnimChannelScalarTable *me = new AnimChannelScalarTable;
   DatagramIterator scan;
   DatagramIterator scan;
   BamReader *manager;
   BamReader *manager;
@@ -340,5 +340,5 @@ make_AnimChannelScalarTable(const FactoryParams &params) {
  */
  */
 void AnimChannelScalarTable::
 void AnimChannelScalarTable::
 register_with_read_factory() {
 register_with_read_factory() {
-  BamReader::get_factory()->register_factory(get_class_type(), make_AnimChannelScalarTable);
+  BamReader::get_factory()->register_factory(get_class_type(), make_from_bam);
 }
 }

+ 1 - 1
panda/src/chan/animChannelScalarTable.h

@@ -60,7 +60,7 @@ public:
   static void register_with_read_factory();
   static void register_with_read_factory();
   virtual void write_datagram(BamWriter* manager, Datagram &me);
   virtual void write_datagram(BamWriter* manager, Datagram &me);
 
 
-  static TypedWritable *make_AnimChannelScalarTable(const FactoryParams &params);
+  static TypedWritable *make_from_bam(const FactoryParams &params);
 
 
 protected:
 protected:
   void fillin(DatagramIterator& scan, BamReader* manager);
   void fillin(DatagramIterator& scan, BamReader* manager);

+ 3 - 3
panda/src/chan/animGroup.cxx

@@ -290,8 +290,8 @@ complete_pointers(TypedWritable **p_list, BamReader *) {
 /**
 /**
  * Factory method to generate a AnimGroup object
  * Factory method to generate a AnimGroup object
  */
  */
-TypedWritable* AnimGroup::
-make_AnimGroup(const FactoryParams &params) {
+TypedWritable *AnimGroup::
+make_from_bam(const FactoryParams &params) {
   AnimGroup *me = new AnimGroup;
   AnimGroup *me = new AnimGroup;
   DatagramIterator scan;
   DatagramIterator scan;
   BamReader *manager;
   BamReader *manager;
@@ -306,5 +306,5 @@ make_AnimGroup(const FactoryParams &params) {
  */
  */
 void AnimGroup::
 void AnimGroup::
 register_with_read_factory() {
 register_with_read_factory() {
-  BamReader::get_factory()->register_factory(get_class_type(), make_AnimGroup);
+  BamReader::get_factory()->register_factory(get_class_type(), make_from_bam);
 }
 }

+ 1 - 1
panda/src/chan/animGroup.h

@@ -74,7 +74,7 @@ public:
   virtual int complete_pointers(TypedWritable **p_list,
   virtual int complete_pointers(TypedWritable **p_list,
                                 BamReader *manager);
                                 BamReader *manager);
 
 
-  static TypedWritable *make_AnimGroup(const FactoryParams &params);
+  static TypedWritable *make_from_bam(const FactoryParams &params);
 
 
 protected:
 protected:
   void fillin(DatagramIterator& scan, BamReader* manager);
   void fillin(DatagramIterator& scan, BamReader* manager);

+ 3 - 3
panda/src/chan/movingPartMatrix.cxx

@@ -387,8 +387,8 @@ apply_control(PandaNode *node) {
 /**
 /**
  * Factory method to generate a MovingPartMatrix object
  * Factory method to generate a MovingPartMatrix object
  */
  */
-TypedWritable* MovingPartMatrix::
-make_MovingPartMatrix(const FactoryParams &params) {
+TypedWritable *MovingPartMatrix::
+make_from_bam(const FactoryParams &params) {
   MovingPartMatrix *me = new MovingPartMatrix;
   MovingPartMatrix *me = new MovingPartMatrix;
   DatagramIterator scan;
   DatagramIterator scan;
   BamReader *manager;
   BamReader *manager;
@@ -403,5 +403,5 @@ make_MovingPartMatrix(const FactoryParams &params) {
  */
  */
 void MovingPartMatrix::
 void MovingPartMatrix::
 register_with_read_factory() {
 register_with_read_factory() {
-  BamReader::get_factory()->register_factory(get_class_type(), make_MovingPartMatrix);
+  BamReader::get_factory()->register_factory(get_class_type(), make_from_bam);
 }
 }

+ 1 - 1
panda/src/chan/movingPartMatrix.h

@@ -47,7 +47,7 @@ protected:
 public:
 public:
   static void register_with_read_factory();
   static void register_with_read_factory();
 
 
-  static TypedWritable *make_MovingPartMatrix(const FactoryParams &params);
+  static TypedWritable *make_from_bam(const FactoryParams &params);
 
 
 public:
 public:
   virtual TypeHandle get_type() const {
   virtual TypeHandle get_type() const {

+ 3 - 3
panda/src/chan/movingPartScalar.cxx

@@ -133,8 +133,8 @@ apply_control(PandaNode *node) {
 /**
 /**
  * Factory method to generate a MovingPartScalar object
  * Factory method to generate a MovingPartScalar object
  */
  */
-TypedWritable* MovingPartScalar::
-make_MovingPartScalar(const FactoryParams &params) {
+TypedWritable *MovingPartScalar::
+make_from_bam(const FactoryParams &params) {
   MovingPartScalar *me = new MovingPartScalar;
   MovingPartScalar *me = new MovingPartScalar;
   DatagramIterator scan;
   DatagramIterator scan;
   BamReader *manager;
   BamReader *manager;
@@ -149,5 +149,5 @@ make_MovingPartScalar(const FactoryParams &params) {
  */
  */
 void MovingPartScalar::
 void MovingPartScalar::
 register_with_read_factory() {
 register_with_read_factory() {
-  BamReader::get_factory()->register_factory(get_class_type(), make_MovingPartScalar);
+  BamReader::get_factory()->register_factory(get_class_type(), make_from_bam);
 }
 }

+ 1 - 1
panda/src/chan/movingPartScalar.h

@@ -45,7 +45,7 @@ protected:
 public:
 public:
   static void register_with_read_factory();
   static void register_with_read_factory();
 
 
-  static TypedWritable *make_MovingPartScalar(const FactoryParams &params);
+  static TypedWritable *make_from_bam(const FactoryParams &params);
 
 
 public:
 public:
   virtual TypeHandle get_type() const {
   virtual TypeHandle get_type() const {

+ 1 - 1
panda/src/chan/partBundle.cxx

@@ -772,7 +772,7 @@ complete_pointers(TypedWritable **p_list, BamReader *manager) {
 /**
 /**
  * Factory method to generate a PartBundle object
  * Factory method to generate a PartBundle object
  */
  */
-TypedWritable* PartBundle::
+TypedWritable *PartBundle::
 make_from_bam(const FactoryParams &params) {
 make_from_bam(const FactoryParams &params) {
   PartBundle *me = new PartBundle;
   PartBundle *me = new PartBundle;
   DatagramIterator scan;
   DatagramIterator scan;

+ 3 - 3
panda/src/chan/partGroup.cxx

@@ -677,8 +677,8 @@ complete_pointers(TypedWritable **p_list, BamReader *manager) {
 /**
 /**
  * Factory method to generate a PartGroup object
  * Factory method to generate a PartGroup object
  */
  */
-TypedWritable* PartGroup::
-make_PartGroup(const FactoryParams &params) {
+TypedWritable *PartGroup::
+make_from_bam(const FactoryParams &params) {
   PartGroup *me = new PartGroup;
   PartGroup *me = new PartGroup;
   DatagramIterator scan;
   DatagramIterator scan;
   BamReader *manager;
   BamReader *manager;
@@ -693,5 +693,5 @@ make_PartGroup(const FactoryParams &params) {
  */
  */
 void PartGroup::
 void PartGroup::
 register_with_read_factory() {
 register_with_read_factory() {
-  BamReader::get_factory()->register_factory(get_class_type(), make_PartGroup);
+  BamReader::get_factory()->register_factory(get_class_type(), make_from_bam);
 }
 }

+ 1 - 1
panda/src/chan/partGroup.h

@@ -121,7 +121,7 @@ public:
   virtual int complete_pointers(TypedWritable **p_list,
   virtual int complete_pointers(TypedWritable **p_list,
                                 BamReader *manager);
                                 BamReader *manager);
 
 
-  static TypedWritable *make_PartGroup(const FactoryParams &params);
+  static TypedWritable *make_from_bam(const FactoryParams &params);
 
 
 protected:
 protected:
   void fillin(DatagramIterator& scan, BamReader* manager);
   void fillin(DatagramIterator& scan, BamReader* manager);

+ 3 - 3
panda/src/char/characterJoint.cxx

@@ -534,8 +534,8 @@ complete_pointers(TypedWritable **p_list, BamReader* manager) {
 /**
 /**
  * Factory method to generate a CharacterJoint object
  * Factory method to generate a CharacterJoint object
  */
  */
-TypedWritable* CharacterJoint::
-make_CharacterJoint(const FactoryParams &params) {
+TypedWritable *CharacterJoint::
+make_from_bam(const FactoryParams &params) {
   CharacterJoint *me = new CharacterJoint;
   CharacterJoint *me = new CharacterJoint;
   DatagramIterator scan;
   DatagramIterator scan;
   BamReader *manager;
   BamReader *manager;
@@ -550,5 +550,5 @@ make_CharacterJoint(const FactoryParams &params) {
  */
  */
 void CharacterJoint::
 void CharacterJoint::
 register_with_read_factory() {
 register_with_read_factory() {
-  BamReader::get_factory()->register_factory(get_class_type(), make_CharacterJoint);
+  BamReader::get_factory()->register_factory(get_class_type(), make_from_bam);
 }
 }

+ 1 - 1
panda/src/char/characterJoint.h

@@ -91,7 +91,7 @@ public:
   virtual int complete_pointers(TypedWritable **p_list,
   virtual int complete_pointers(TypedWritable **p_list,
                                 BamReader *manager);
                                 BamReader *manager);
 
 
-  static TypedWritable *make_CharacterJoint(const FactoryParams &params);
+  static TypedWritable *make_from_bam(const FactoryParams &params);
 
 
 protected:
 protected:
   void fillin(DatagramIterator& scan, BamReader* manager);
   void fillin(DatagramIterator& scan, BamReader* manager);

+ 4 - 6
panda/src/char/characterJointBundle.cxx

@@ -97,9 +97,8 @@ r_set_character(PartGroup *group, Character *character) {
 /**
 /**
  * Factory method to generate a CharacterJointBundle object
  * Factory method to generate a CharacterJointBundle object
  */
  */
-TypedWritable* CharacterJointBundle::
-make_CharacterJointBundle(const FactoryParams &params)
-{
+TypedWritable *CharacterJointBundle::
+make_from_bam(const FactoryParams &params) {
   CharacterJointBundle *me = new CharacterJointBundle;
   CharacterJointBundle *me = new CharacterJointBundle;
   DatagramIterator scan;
   DatagramIterator scan;
   BamReader *manager;
   BamReader *manager;
@@ -114,7 +113,6 @@ make_CharacterJointBundle(const FactoryParams &params)
  * Factory method to generate a CharacterJointBundle object
  * Factory method to generate a CharacterJointBundle object
  */
  */
 void CharacterJointBundle::
 void CharacterJointBundle::
-register_with_read_factory()
-{
-  BamReader::get_factory()->register_factory(get_class_type(), make_CharacterJointBundle);
+register_with_read_factory() {
+  BamReader::get_factory()->register_factory(get_class_type(), make_from_bam);
 }
 }

+ 1 - 1
panda/src/char/characterJointBundle.h

@@ -47,7 +47,7 @@ private:
 public:
 public:
   static void register_with_read_factory();
   static void register_with_read_factory();
 
 
-  static TypedWritable *make_CharacterJointBundle(const FactoryParams &params);
+  static TypedWritable *make_from_bam(const FactoryParams &params);
 
 
 public:
 public:
   virtual TypeHandle get_type() const {
   virtual TypeHandle get_type() const {

+ 4 - 6
panda/src/char/characterSlider.cxx

@@ -85,9 +85,8 @@ update_internals(PartBundle *, PartGroup *, bool, bool, Thread *current_thread)
 /**
 /**
  * Factory method to generate a CharacterSlider object
  * Factory method to generate a CharacterSlider object
  */
  */
-TypedWritable* CharacterSlider::
-make_CharacterSlider(const FactoryParams &params)
-{
+TypedWritable *CharacterSlider::
+make_from_bam(const FactoryParams &params) {
   CharacterSlider *me = new CharacterSlider;
   CharacterSlider *me = new CharacterSlider;
   DatagramIterator scan;
   DatagramIterator scan;
   BamReader *manager;
   BamReader *manager;
@@ -101,7 +100,6 @@ make_CharacterSlider(const FactoryParams &params)
  * Factory method to generate a CharacterSlider object
  * Factory method to generate a CharacterSlider object
  */
  */
 void CharacterSlider::
 void CharacterSlider::
-register_with_read_factory()
-{
-  BamReader::get_factory()->register_factory(get_class_type(), make_CharacterSlider);
+register_with_read_factory() {
+  BamReader::get_factory()->register_factory(get_class_type(), make_from_bam);
 }
 }

+ 1 - 1
panda/src/char/characterSlider.h

@@ -49,7 +49,7 @@ private:
 public:
 public:
   static void register_with_read_factory();
   static void register_with_read_factory();
 
 
-  static TypedWritable *make_CharacterSlider(const FactoryParams &params);
+  static TypedWritable *make_from_bam(const FactoryParams &params);
 
 
 public:
 public:
   virtual TypeHandle get_type() const {
   virtual TypeHandle get_type() const {

+ 2 - 2
panda/src/collide/collisionBox.cxx

@@ -1414,7 +1414,7 @@ compute_vectors(Points &points) {
  */
  */
 void CollisionBox::
 void CollisionBox::
 register_with_read_factory() {
 register_with_read_factory() {
-  BamReader::get_factory()->register_factory(get_class_type(), make_CollisionBox);
+  BamReader::get_factory()->register_factory(get_class_type(), make_from_bam);
 }
 }
 
 
 /**
 /**
@@ -1457,7 +1457,7 @@ write_datagram(BamWriter *manager, Datagram &me) {
  * Factory method to generate a CollisionBox object
  * Factory method to generate a CollisionBox object
  */
  */
 TypedWritable *CollisionBox::
 TypedWritable *CollisionBox::
-make_CollisionBox(const FactoryParams &params) {
+make_from_bam(const FactoryParams &params) {
   CollisionBox *me = new CollisionBox;
   CollisionBox *me = new CollisionBox;
   DatagramIterator scan;
   DatagramIterator scan;
   BamReader *manager;
   BamReader *manager;

+ 1 - 1
panda/src/collide/collisionBox.h

@@ -155,7 +155,7 @@ public:
   virtual void write_datagram(BamWriter *manager, Datagram &me);
   virtual void write_datagram(BamWriter *manager, Datagram &me);
 
 
 protected:
 protected:
-  static TypedWritable *make_CollisionBox(const FactoryParams &params);
+  static TypedWritable *make_from_bam(const FactoryParams &params);
   void fillin(DatagramIterator &scan, BamReader *manager);
   void fillin(DatagramIterator &scan, BamReader *manager);
 
 
 public:
 public:

+ 3 - 4
panda/src/collide/collisionFloorMesh.cxx

@@ -386,8 +386,8 @@ fillin(DatagramIterator& scan, BamReader* manager)
 /**
 /**
  * Factory method to generate a CollisionPolygon object
  * Factory method to generate a CollisionPolygon object
  */
  */
-TypedWritable* CollisionFloorMesh::
-make_CollisionFloorMesh(const FactoryParams &params) {
+TypedWritable *CollisionFloorMesh::
+make_from_bam(const FactoryParams &params) {
   CollisionFloorMesh *me = new CollisionFloorMesh;
   CollisionFloorMesh *me = new CollisionFloorMesh;
   DatagramIterator scan;
   DatagramIterator scan;
   BamReader *manager;
   BamReader *manager;
@@ -402,10 +402,9 @@ make_CollisionFloorMesh(const FactoryParams &params) {
  */
  */
 void CollisionFloorMesh::
 void CollisionFloorMesh::
 register_with_read_factory() {
 register_with_read_factory() {
-  BamReader::get_factory()->register_factory(get_class_type(), make_CollisionFloorMesh);
+  BamReader::get_factory()->register_factory(get_class_type(), make_from_bam);
 }
 }
 
 
-
 /**
 /**
  *
  *
  */
  */

+ 1 - 1
panda/src/collide/collisionFloorMesh.h

@@ -101,7 +101,7 @@ public:
   static void register_with_read_factory();
   static void register_with_read_factory();
   virtual void write_datagram(BamWriter* manager, Datagram &me);
   virtual void write_datagram(BamWriter* manager, Datagram &me);
 
 
-  static TypedWritable *make_CollisionFloorMesh(const FactoryParams &params);
+  static TypedWritable *make_from_bam(const FactoryParams &params);
   static TypeHandle get_class_type() {
   static TypeHandle get_class_type() {
     return _type_handle;
     return _type_handle;
   }
   }

+ 2 - 2
panda/src/collide/collisionHeightfield.cxx

@@ -799,7 +799,7 @@ get_test_pcollector() {
 }
 }
 
 
 TypedWritable *CollisionHeightfield::
 TypedWritable *CollisionHeightfield::
-make_CollisionHeightfield(const FactoryParams &params) {
+make_from_bam(const FactoryParams &params) {
   CollisionHeightfield *me = new CollisionHeightfield;
   CollisionHeightfield *me = new CollisionHeightfield;
   DatagramIterator scan;
   DatagramIterator scan;
   BamReader *manager;
   BamReader *manager;
@@ -815,5 +815,5 @@ fillin(DatagramIterator &scan, BamReader *manager) {
 
 
 void CollisionHeightfield::
 void CollisionHeightfield::
 register_with_read_factory() {
 register_with_read_factory() {
-  BamReader::get_factory()->register_factory(get_class_type(), make_CollisionHeightfield);
+  BamReader::get_factory()->register_factory(get_class_type(), make_from_bam);
 }
 }

+ 1 - 1
panda/src/collide/collisionHeightfield.h

@@ -151,7 +151,7 @@ private:
   static PStatCollector _test_pcollector;
   static PStatCollector _test_pcollector;
 
 
 protected:
 protected:
-  static TypedWritable *make_CollisionHeightfield(const FactoryParams &params);
+  static TypedWritable *make_from_bam(const FactoryParams &params);
   void fillin(DatagramIterator &scan, BamReader *manager);
   void fillin(DatagramIterator &scan, BamReader *manager);
 
 
 public:
 public:

+ 2 - 2
panda/src/collide/collisionInvSphere.cxx

@@ -562,7 +562,7 @@ fill_viz_geom() {
  */
  */
 void CollisionInvSphere::
 void CollisionInvSphere::
 register_with_read_factory() {
 register_with_read_factory() {
-  BamReader::get_factory()->register_factory(get_class_type(), make_CollisionInvSphere);
+  BamReader::get_factory()->register_factory(get_class_type(), make_from_bam);
 }
 }
 
 
 /**
 /**
@@ -578,7 +578,7 @@ write_datagram(BamWriter *manager, Datagram &me) {
  * Factory method to generate a CollisionInvSphere object
  * Factory method to generate a CollisionInvSphere object
  */
  */
 TypedWritable *CollisionInvSphere::
 TypedWritable *CollisionInvSphere::
-make_CollisionInvSphere(const FactoryParams &params) {
+make_from_bam(const FactoryParams &params) {
   CollisionInvSphere *me = new CollisionInvSphere;
   CollisionInvSphere *me = new CollisionInvSphere;
   DatagramIterator scan;
   DatagramIterator scan;
   BamReader *manager;
   BamReader *manager;

+ 1 - 1
panda/src/collide/collisionInvSphere.h

@@ -78,7 +78,7 @@ public:
   virtual void write_datagram(BamWriter *manager, Datagram &me);
   virtual void write_datagram(BamWriter *manager, Datagram &me);
 
 
 protected:
 protected:
-  static TypedWritable *make_CollisionInvSphere(const FactoryParams &params);
+  static TypedWritable *make_from_bam(const FactoryParams &params);
   void fillin(DatagramIterator &scan, BamReader *manager);
   void fillin(DatagramIterator &scan, BamReader *manager);
 
 
 public:
 public:

+ 4 - 6
panda/src/collide/collisionPlane.cxx

@@ -596,9 +596,8 @@ fillin(DatagramIterator& scan, BamReader* manager)
 /**
 /**
  * Factory method to generate a CollisionPlane object
  * Factory method to generate a CollisionPlane object
  */
  */
-TypedWritable* CollisionPlane::
-make_CollisionPlane(const FactoryParams &params)
-{
+TypedWritable *CollisionPlane::
+make_from_bam(const FactoryParams &params) {
   CollisionPlane *me = new CollisionPlane;
   CollisionPlane *me = new CollisionPlane;
   DatagramIterator scan;
   DatagramIterator scan;
   BamReader *manager;
   BamReader *manager;
@@ -612,7 +611,6 @@ make_CollisionPlane(const FactoryParams &params)
  * Factory method to generate a CollisionPlane object
  * Factory method to generate a CollisionPlane object
  */
  */
 void CollisionPlane::
 void CollisionPlane::
-register_with_read_factory()
-{
-  BamReader::get_factory()->register_factory(get_class_type(), make_CollisionPlane);
+register_with_read_factory() {
+  BamReader::get_factory()->register_factory(get_class_type(), make_from_bam);
 }
 }

+ 1 - 1
panda/src/collide/collisionPlane.h

@@ -90,7 +90,7 @@ public:
   static void register_with_read_factory();
   static void register_with_read_factory();
   virtual void write_datagram(BamWriter* manager, Datagram &me);
   virtual void write_datagram(BamWriter* manager, Datagram &me);
 
 
-  static TypedWritable *make_CollisionPlane(const FactoryParams &params);
+  static TypedWritable *make_from_bam(const FactoryParams &params);
 
 
 protected:
 protected:
   void fillin(DatagramIterator& scan, BamReader* manager);
   void fillin(DatagramIterator& scan, BamReader* manager);

+ 3 - 3
panda/src/collide/collisionPolygon.cxx

@@ -1877,8 +1877,8 @@ fillin(DatagramIterator &scan, BamReader *manager) {
 /**
 /**
  * Factory method to generate a CollisionPolygon object
  * Factory method to generate a CollisionPolygon object
  */
  */
-TypedWritable* CollisionPolygon::
-make_CollisionPolygon(const FactoryParams &params) {
+TypedWritable *CollisionPolygon::
+make_from_bam(const FactoryParams &params) {
   CollisionPolygon *me = new CollisionPolygon;
   CollisionPolygon *me = new CollisionPolygon;
   DatagramIterator scan;
   DatagramIterator scan;
   BamReader *manager;
   BamReader *manager;
@@ -1893,5 +1893,5 @@ make_CollisionPolygon(const FactoryParams &params) {
  */
  */
 void CollisionPolygon::
 void CollisionPolygon::
 register_with_read_factory() {
 register_with_read_factory() {
-  BamReader::get_factory()->register_factory(get_class_type(), make_CollisionPolygon);
+  BamReader::get_factory()->register_factory(get_class_type(), make_from_bam);
 }
 }

+ 1 - 1
panda/src/collide/collisionPolygon.h

@@ -154,7 +154,7 @@ public:
   static void register_with_read_factory();
   static void register_with_read_factory();
   virtual void write_datagram(BamWriter* manager, Datagram &me);
   virtual void write_datagram(BamWriter* manager, Datagram &me);
 
 
-  static TypedWritable *make_CollisionPolygon(const FactoryParams &params);
+  static TypedWritable *make_from_bam(const FactoryParams &params);
 
 
 protected:
 protected:
   void fillin(DatagramIterator& scan, BamReader* manager);
   void fillin(DatagramIterator& scan, BamReader* manager);

+ 2 - 2
panda/src/collide/collisionSphere.cxx

@@ -771,7 +771,7 @@ compute_point(PN_stdfloat latitude, PN_stdfloat longitude) const {
  */
  */
 void CollisionSphere::
 void CollisionSphere::
 register_with_read_factory() {
 register_with_read_factory() {
-  BamReader::get_factory()->register_factory(get_class_type(), make_CollisionSphere);
+  BamReader::get_factory()->register_factory(get_class_type(), make_from_bam);
 }
 }
 
 
 /**
 /**
@@ -789,7 +789,7 @@ write_datagram(BamWriter *manager, Datagram &me) {
  * Factory method to generate a CollisionSphere object
  * Factory method to generate a CollisionSphere object
  */
  */
 TypedWritable *CollisionSphere::
 TypedWritable *CollisionSphere::
-make_CollisionSphere(const FactoryParams &params) {
+make_from_bam(const FactoryParams &params) {
   CollisionSphere *me = new CollisionSphere;
   CollisionSphere *me = new CollisionSphere;
   DatagramIterator scan;
   DatagramIterator scan;
   BamReader *manager;
   BamReader *manager;

+ 1 - 1
panda/src/collide/collisionSphere.h

@@ -101,7 +101,7 @@ public:
   virtual void write_datagram(BamWriter *manager, Datagram &me);
   virtual void write_datagram(BamWriter *manager, Datagram &me);
 
 
 protected:
 protected:
-  static TypedWritable *make_CollisionSphere(const FactoryParams &params);
+  static TypedWritable *make_from_bam(const FactoryParams &params);
   void fillin(DatagramIterator &scan, BamReader *manager);
   void fillin(DatagramIterator &scan, BamReader *manager);
 
 
 public:
 public:

+ 2 - 2
panda/src/gobj/material.cxx

@@ -457,7 +457,7 @@ write(std::ostream &out, int indent_level) const {
  */
  */
 void Material::
 void Material::
 register_with_read_factory() {
 register_with_read_factory() {
-  BamReader::get_factory()->register_factory(get_class_type(), make_Material);
+  BamReader::get_factory()->register_factory(get_class_type(), make_from_bam);
 }
 }
 
 
 /**
 /**
@@ -503,7 +503,7 @@ write_datagram(BamWriter *manager, Datagram &me) {
  * Factory method to generate a Material object
  * Factory method to generate a Material object
  */
  */
 TypedWritable *Material::
 TypedWritable *Material::
-make_Material(const FactoryParams &params) {
+make_from_bam(const FactoryParams &params) {
   Material *me = new Material;
   Material *me = new Material;
   DatagramIterator scan;
   DatagramIterator scan;
   BamReader *manager;
   BamReader *manager;

+ 1 - 1
panda/src/gobj/material.h

@@ -170,7 +170,7 @@ public:
   virtual void write_datagram(BamWriter *manager, Datagram &me);
   virtual void write_datagram(BamWriter *manager, Datagram &me);
 
 
 protected:
 protected:
-  static TypedWritable *make_Material(const FactoryParams &params);
+  static TypedWritable *make_from_bam(const FactoryParams &params);
   void fillin(DatagramIterator &scan, BamReader *manager);
   void fillin(DatagramIterator &scan, BamReader *manager);
 
 
 public:
 public:

+ 3 - 3
panda/src/gobj/textureStage.cxx

@@ -346,14 +346,14 @@ operand_valid_for_alpha(TextureStage::CombineOperand co) {
  */
  */
 void TextureStage::
 void TextureStage::
 register_with_read_factory() {
 register_with_read_factory() {
-  BamReader::get_factory()->register_factory(get_class_type(), make_TextureStage);
+  BamReader::get_factory()->register_factory(get_class_type(), make_from_bam);
 }
 }
 
 
 /**
 /**
  * Factory method to generate a TextureStage object
  * Factory method to generate a TextureStage object
  */
  */
-TypedWritable* TextureStage::
-make_TextureStage(const FactoryParams &params) {
+TypedWritable *TextureStage::
+make_from_bam(const FactoryParams &params) {
   DatagramIterator scan;
   DatagramIterator scan;
   BamReader *manager;
   BamReader *manager;
 
 

+ 1 - 1
panda/src/gobj/textureStage.h

@@ -262,7 +262,7 @@ public:
   virtual void write_datagram(BamWriter *manager, Datagram &me);
   virtual void write_datagram(BamWriter *manager, Datagram &me);
   virtual int complete_pointers(TypedWritable **plist, BamReader *manager);
   virtual int complete_pointers(TypedWritable **plist, BamReader *manager);
 
 
-  static TypedWritable *make_TextureStage(const FactoryParams &params);
+  static TypedWritable *make_from_bam(const FactoryParams &params);
 
 
 protected:
 protected:
   void fillin(DatagramIterator& scan, BamReader* manager);
   void fillin(DatagramIterator& scan, BamReader* manager);

+ 2 - 2
panda/src/parametrics/cubicCurveseg.cxx

@@ -516,14 +516,14 @@ compute_seg(int rtype0, PN_stdfloat t0, const LVecBase4 &v0,
  */
  */
 void CubicCurveseg::
 void CubicCurveseg::
 register_with_read_factory() {
 register_with_read_factory() {
-  BamReader::get_factory()->register_factory(get_class_type(), make_CubicCurveseg);
+  BamReader::get_factory()->register_factory(get_class_type(), make_from_bam);
 }
 }
 
 
 /**
 /**
  * Factory method to generate an object of this type.
  * Factory method to generate an object of this type.
  */
  */
 TypedWritable *CubicCurveseg::
 TypedWritable *CubicCurveseg::
-make_CubicCurveseg(const FactoryParams &params) {
+make_from_bam(const FactoryParams &params) {
   CubicCurveseg *me = new CubicCurveseg;
   CubicCurveseg *me = new CubicCurveseg;
   DatagramIterator scan;
   DatagramIterator scan;
   BamReader *manager;
   BamReader *manager;

+ 1 - 1
panda/src/parametrics/cubicCurveseg.h

@@ -112,7 +112,7 @@ public:
   static void register_with_read_factory();
   static void register_with_read_factory();
 
 
 protected:
 protected:
-  static TypedWritable *make_CubicCurveseg(const FactoryParams &params);
+  static TypedWritable *make_from_bam(const FactoryParams &params);
   virtual void write_datagram(BamWriter *manager, Datagram &me);
   virtual void write_datagram(BamWriter *manager, Datagram &me);
   void fillin(DatagramIterator &scan, BamReader *manager);
   void fillin(DatagramIterator &scan, BamReader *manager);
 
 

+ 2 - 2
panda/src/parametrics/hermiteCurve.cxx

@@ -817,14 +817,14 @@ recompute_basis() {
  */
  */
 void HermiteCurve::
 void HermiteCurve::
 register_with_read_factory() {
 register_with_read_factory() {
-  BamReader::get_factory()->register_factory(get_class_type(), make_HermiteCurve);
+  BamReader::get_factory()->register_factory(get_class_type(), make_from_bam);
 }
 }
 
 
 /**
 /**
  * Factory method to generate an object of this type.
  * Factory method to generate an object of this type.
  */
  */
 TypedWritable *HermiteCurve::
 TypedWritable *HermiteCurve::
-make_HermiteCurve(const FactoryParams &params) {
+make_from_bam(const FactoryParams &params) {
   HermiteCurve *me = new HermiteCurve;
   HermiteCurve *me = new HermiteCurve;
   DatagramIterator scan;
   DatagramIterator scan;
   BamReader *manager;
   BamReader *manager;

+ 1 - 1
panda/src/parametrics/hermiteCurve.h

@@ -154,7 +154,7 @@ public:
   static void register_with_read_factory();
   static void register_with_read_factory();
 
 
 protected:
 protected:
-  static TypedWritable *make_HermiteCurve(const FactoryParams &params);
+  static TypedWritable *make_from_bam(const FactoryParams &params);
   virtual void write_datagram(BamWriter *manager, Datagram &me);
   virtual void write_datagram(BamWriter *manager, Datagram &me);
   void fillin(DatagramIterator &scan, BamReader *manager);
   void fillin(DatagramIterator &scan, BamReader *manager);
 
 

+ 2 - 2
panda/src/parametrics/nurbsCurve.cxx

@@ -485,14 +485,14 @@ find_cv(PN_stdfloat t) {
  */
  */
 void NurbsCurve::
 void NurbsCurve::
 register_with_read_factory() {
 register_with_read_factory() {
-  BamReader::get_factory()->register_factory(get_class_type(), make_NurbsCurve);
+  BamReader::get_factory()->register_factory(get_class_type(), make_from_bam);
 }
 }
 
 
 /**
 /**
  * Factory method to generate an object of this type.
  * Factory method to generate an object of this type.
  */
  */
 TypedWritable *NurbsCurve::
 TypedWritable *NurbsCurve::
-make_NurbsCurve(const FactoryParams &params) {
+make_from_bam(const FactoryParams &params) {
   NurbsCurve *me = new NurbsCurve;
   NurbsCurve *me = new NurbsCurve;
   DatagramIterator scan;
   DatagramIterator scan;
   BamReader *manager;
   BamReader *manager;

+ 1 - 1
panda/src/parametrics/nurbsCurve.h

@@ -111,7 +111,7 @@ public:
   static void register_with_read_factory();
   static void register_with_read_factory();
 
 
 protected:
 protected:
-  static TypedWritable *make_NurbsCurve(const FactoryParams &params);
+  static TypedWritable *make_from_bam(const FactoryParams &params);
   virtual void write_datagram(BamWriter *manager, Datagram &me);
   virtual void write_datagram(BamWriter *manager, Datagram &me);
   void fillin(DatagramIterator &scan, BamReader *manager);
   void fillin(DatagramIterator &scan, BamReader *manager);
 
 

+ 0 - 4
panda/src/pnmimage/pnmFileType.h

@@ -58,12 +58,8 @@ public:
 
 
   // The TypedWritable interface follows.
   // The TypedWritable interface follows.
 public:
 public:
-  static void register_with_read_factory();
   virtual void write_datagram(BamWriter *writer, Datagram &datagram);
   virtual void write_datagram(BamWriter *writer, Datagram &datagram);
 
 
-protected:
-  static TypedWritable *make_PNMFileType(const FactoryParams &params);
-
 public:
 public:
   static TypeHandle get_class_type() {
   static TypeHandle get_class_type() {
     return _type_handle;
     return _type_handle;

+ 2 - 2
panda/src/pnmimagetypes/pnmFileTypeBMP.cxx

@@ -119,7 +119,7 @@ make_writer(std::ostream *file, bool owns_file) {
 void PNMFileTypeBMP::
 void PNMFileTypeBMP::
 register_with_read_factory() {
 register_with_read_factory() {
   BamReader::get_factory()->
   BamReader::get_factory()->
-    register_factory(get_class_type(), make_PNMFileTypeBMP);
+    register_factory(get_class_type(), make_from_bam);
 }
 }
 
 
 /**
 /**
@@ -131,7 +131,7 @@ register_with_read_factory() {
  * we just pull the object from the registry.
  * we just pull the object from the registry.
  */
  */
 TypedWritable *PNMFileTypeBMP::
 TypedWritable *PNMFileTypeBMP::
-make_PNMFileTypeBMP(const FactoryParams &params) {
+make_from_bam(const FactoryParams &params) {
   return PNMFileTypeRegistry::get_global_ptr()->get_type_by_handle(get_class_type());
   return PNMFileTypeRegistry::get_global_ptr()->get_type_by_handle(get_class_type());
 }
 }
 
 

+ 1 - 1
panda/src/pnmimagetypes/pnmFileTypeBMP.h

@@ -78,7 +78,7 @@ public:
   static void register_with_read_factory();
   static void register_with_read_factory();
 
 
 protected:
 protected:
-  static TypedWritable *make_PNMFileTypeBMP(const FactoryParams &params);
+  static TypedWritable *make_from_bam(const FactoryParams &params);
 
 
 public:
 public:
   static TypeHandle get_class_type() {
   static TypeHandle get_class_type() {

+ 2 - 2
panda/src/pnmimagetypes/pnmFileTypeEXR.cxx

@@ -482,7 +482,7 @@ write_data(xel *array, xelval *alpha) {
 void PNMFileTypeEXR::
 void PNMFileTypeEXR::
 register_with_read_factory() {
 register_with_read_factory() {
   BamReader::get_factory()->
   BamReader::get_factory()->
-    register_factory(get_class_type(), make_PNMFileTypeEXR);
+    register_factory(get_class_type(), make_from_bam);
 }
 }
 
 
 /**
 /**
@@ -494,7 +494,7 @@ register_with_read_factory() {
  * we just pull the object from the registry.
  * we just pull the object from the registry.
  */
  */
 TypedWritable *PNMFileTypeEXR::
 TypedWritable *PNMFileTypeEXR::
-make_PNMFileTypeEXR(const FactoryParams &params) {
+make_from_bam(const FactoryParams &params) {
   return PNMFileTypeRegistry::get_global_ptr()->get_type_by_handle(get_class_type());
   return PNMFileTypeRegistry::get_global_ptr()->get_type_by_handle(get_class_type());
 }
 }
 
 

+ 1 - 1
panda/src/pnmimagetypes/pnmFileTypeEXR.h

@@ -88,7 +88,7 @@ public:
   static void register_with_read_factory();
   static void register_with_read_factory();
 
 
 protected:
 protected:
-  static TypedWritable *make_PNMFileTypeEXR(const FactoryParams &params);
+  static TypedWritable *make_from_bam(const FactoryParams &params);
 
 
 public:
 public:
   static TypeHandle get_class_type() {
   static TypeHandle get_class_type() {

+ 2 - 2
panda/src/pnmimagetypes/pnmFileTypeIMG.cxx

@@ -315,7 +315,7 @@ write_row(xel *row_data, xelval *) {
 void PNMFileTypeIMG::
 void PNMFileTypeIMG::
 register_with_read_factory() {
 register_with_read_factory() {
   BamReader::get_factory()->
   BamReader::get_factory()->
-    register_factory(get_class_type(), make_PNMFileTypeIMG);
+    register_factory(get_class_type(), make_from_bam);
 }
 }
 
 
 /**
 /**
@@ -327,7 +327,7 @@ register_with_read_factory() {
  * we just pull the object from the registry.
  * we just pull the object from the registry.
  */
  */
 TypedWritable *PNMFileTypeIMG::
 TypedWritable *PNMFileTypeIMG::
-make_PNMFileTypeIMG(const FactoryParams &params) {
+make_from_bam(const FactoryParams &params) {
   return PNMFileTypeRegistry::get_global_ptr()->get_type_by_handle(get_class_type());
   return PNMFileTypeRegistry::get_global_ptr()->get_type_by_handle(get_class_type());
 }
 }
 
 

+ 1 - 1
panda/src/pnmimagetypes/pnmFileTypeIMG.h

@@ -63,7 +63,7 @@ public:
   static void register_with_read_factory();
   static void register_with_read_factory();
 
 
 protected:
 protected:
-  static TypedWritable *make_PNMFileTypeIMG(const FactoryParams &params);
+  static TypedWritable *make_from_bam(const FactoryParams &params);
 
 
 public:
 public:
   static TypeHandle get_class_type() {
   static TypeHandle get_class_type() {

+ 2 - 2
panda/src/pnmimagetypes/pnmFileTypeJPG.cxx

@@ -120,7 +120,7 @@ make_writer(std::ostream *file, bool owns_file) {
 void PNMFileTypeJPG::
 void PNMFileTypeJPG::
 register_with_read_factory() {
 register_with_read_factory() {
   BamReader::get_factory()->
   BamReader::get_factory()->
-    register_factory(get_class_type(), make_PNMFileTypeJPG);
+    register_factory(get_class_type(), make_from_bam);
 }
 }
 
 
 /**
 /**
@@ -132,7 +132,7 @@ register_with_read_factory() {
  * we just pull the object from the registry.
  * we just pull the object from the registry.
  */
  */
 TypedWritable *PNMFileTypeJPG::
 TypedWritable *PNMFileTypeJPG::
-make_PNMFileTypeJPG(const FactoryParams &params) {
+make_from_bam(const FactoryParams &params) {
   return PNMFileTypeRegistry::get_global_ptr()->get_type_by_handle(get_class_type());
   return PNMFileTypeRegistry::get_global_ptr()->get_type_by_handle(get_class_type());
 }
 }
 
 

+ 1 - 1
panda/src/pnmimagetypes/pnmFileTypeJPG.h

@@ -105,7 +105,7 @@ public:
   static void register_with_read_factory();
   static void register_with_read_factory();
 
 
 protected:
 protected:
-  static TypedWritable *make_PNMFileTypeJPG(const FactoryParams &params);
+  static TypedWritable *make_from_bam(const FactoryParams &params);
 
 
 public:
 public:
   static TypeHandle get_class_type() {
   static TypeHandle get_class_type() {

+ 2 - 2
panda/src/pnmimagetypes/pnmFileTypePNG.cxx

@@ -141,7 +141,7 @@ make_writer(ostream *file, bool owns_file) {
 void PNMFileTypePNG::
 void PNMFileTypePNG::
 register_with_read_factory() {
 register_with_read_factory() {
   BamReader::get_factory()->
   BamReader::get_factory()->
-    register_factory(get_class_type(), make_PNMFileTypePNG);
+    register_factory(get_class_type(), make_from_bam);
 }
 }
 
 
 /**
 /**
@@ -153,7 +153,7 @@ register_with_read_factory() {
  * we just pull the object from the registry.
  * we just pull the object from the registry.
  */
  */
 TypedWritable *PNMFileTypePNG::
 TypedWritable *PNMFileTypePNG::
-make_PNMFileTypePNG(const FactoryParams &params) {
+make_from_bam(const FactoryParams &params) {
   return PNMFileTypeRegistry::get_global_ptr()->get_type_by_handle(get_class_type());
   return PNMFileTypeRegistry::get_global_ptr()->get_type_by_handle(get_class_type());
 }
 }
 
 

+ 1 - 1
panda/src/pnmimagetypes/pnmFileTypePNG.h

@@ -101,7 +101,7 @@ public:
   static void register_with_read_factory();
   static void register_with_read_factory();
 
 
 protected:
 protected:
-  static TypedWritable *make_PNMFileTypePNG(const FactoryParams &params);
+  static TypedWritable *make_from_bam(const FactoryParams &params);
 
 
 public:
 public:
   static TypeHandle get_class_type() {
   static TypeHandle get_class_type() {

+ 2 - 2
panda/src/pnmimagetypes/pnmFileTypePNM.cxx

@@ -1219,7 +1219,7 @@ write_row(xel *row_data, xelval *) {
 void PNMFileTypePNM::
 void PNMFileTypePNM::
 register_with_read_factory() {
 register_with_read_factory() {
   BamReader::get_factory()->
   BamReader::get_factory()->
-    register_factory(get_class_type(), make_PNMFileTypePNM);
+    register_factory(get_class_type(), make_from_bam);
 }
 }
 
 
 /**
 /**
@@ -1231,7 +1231,7 @@ register_with_read_factory() {
  * we just pull the object from the registry.
  * we just pull the object from the registry.
  */
  */
 TypedWritable *PNMFileTypePNM::
 TypedWritable *PNMFileTypePNM::
-make_PNMFileTypePNM(const FactoryParams &params) {
+make_from_bam(const FactoryParams &params) {
   return PNMFileTypeRegistry::get_global_ptr()->get_type_by_handle(get_class_type());
   return PNMFileTypeRegistry::get_global_ptr()->get_type_by_handle(get_class_type());
 }
 }
 
 

+ 1 - 1
panda/src/pnmimagetypes/pnmFileTypePNM.h

@@ -72,7 +72,7 @@ public:
   static void register_with_read_factory();
   static void register_with_read_factory();
 
 
 protected:
 protected:
-  static TypedWritable *make_PNMFileTypePNM(const FactoryParams &params);
+  static TypedWritable *make_from_bam(const FactoryParams &params);
 
 
 public:
 public:
   static TypeHandle get_class_type() {
   static TypeHandle get_class_type() {

+ 2 - 2
panda/src/pnmimagetypes/pnmFileTypePfm.cxx

@@ -316,7 +316,7 @@ write_pfm(const PfmFile &pfm) {
 void PNMFileTypePfm::
 void PNMFileTypePfm::
 register_with_read_factory() {
 register_with_read_factory() {
   BamReader::get_factory()->
   BamReader::get_factory()->
-    register_factory(get_class_type(), make_PNMFileTypePfm);
+    register_factory(get_class_type(), make_from_bam);
 }
 }
 
 
 /**
 /**
@@ -328,6 +328,6 @@ register_with_read_factory() {
  * we just pull the object from the registry.
  * we just pull the object from the registry.
  */
  */
 TypedWritable *PNMFileTypePfm::
 TypedWritable *PNMFileTypePfm::
-make_PNMFileTypePfm(const FactoryParams &params) {
+make_from_bam(const FactoryParams &params) {
   return PNMFileTypeRegistry::get_global_ptr()->get_type_by_handle(get_class_type());
   return PNMFileTypeRegistry::get_global_ptr()->get_type_by_handle(get_class_type());
 }
 }

+ 1 - 1
panda/src/pnmimagetypes/pnmFileTypePfm.h

@@ -69,7 +69,7 @@ public:
   static void register_with_read_factory();
   static void register_with_read_factory();
 
 
 protected:
 protected:
-  static TypedWritable *make_PNMFileTypePfm(const FactoryParams &params);
+  static TypedWritable *make_from_bam(const FactoryParams &params);
 
 
 public:
 public:
   static TypeHandle get_class_type() {
   static TypeHandle get_class_type() {

+ 2 - 2
panda/src/pnmimagetypes/pnmFileTypeSGI.cxx

@@ -123,7 +123,7 @@ make_writer(std::ostream *file, bool owns_file) {
 void PNMFileTypeSGI::
 void PNMFileTypeSGI::
 register_with_read_factory() {
 register_with_read_factory() {
   BamReader::get_factory()->
   BamReader::get_factory()->
-    register_factory(get_class_type(), make_PNMFileTypeSGI);
+    register_factory(get_class_type(), make_from_bam);
 }
 }
 
 
 /**
 /**
@@ -135,7 +135,7 @@ register_with_read_factory() {
  * we just pull the object from the registry.
  * we just pull the object from the registry.
  */
  */
 TypedWritable *PNMFileTypeSGI::
 TypedWritable *PNMFileTypeSGI::
-make_PNMFileTypeSGI(const FactoryParams &params) {
+make_from_bam(const FactoryParams &params) {
   return PNMFileTypeRegistry::get_global_ptr()->get_type_by_handle(get_class_type());
   return PNMFileTypeRegistry::get_global_ptr()->get_type_by_handle(get_class_type());
 }
 }
 
 

+ 1 - 1
panda/src/pnmimagetypes/pnmFileTypeSGI.h

@@ -111,7 +111,7 @@ public:
   static void register_with_read_factory();
   static void register_with_read_factory();
 
 
 protected:
 protected:
-  static TypedWritable *make_PNMFileTypeSGI(const FactoryParams &params);
+  static TypedWritable *make_from_bam(const FactoryParams &params);
 
 
 public:
 public:
   static TypeHandle get_class_type() {
   static TypeHandle get_class_type() {

+ 2 - 2
panda/src/pnmimagetypes/pnmFileTypeSoftImage.cxx

@@ -725,7 +725,7 @@ write_row(xel *row_data, xelval *alpha_data) {
 void PNMFileTypeSoftImage::
 void PNMFileTypeSoftImage::
 register_with_read_factory() {
 register_with_read_factory() {
   BamReader::get_factory()->
   BamReader::get_factory()->
-    register_factory(get_class_type(), make_PNMFileTypeSoftImage);
+    register_factory(get_class_type(), make_from_bam);
 }
 }
 
 
 /**
 /**
@@ -737,7 +737,7 @@ register_with_read_factory() {
  * we just pull the object from the registry.
  * we just pull the object from the registry.
  */
  */
 TypedWritable *PNMFileTypeSoftImage::
 TypedWritable *PNMFileTypeSoftImage::
-make_PNMFileTypeSoftImage(const FactoryParams &params) {
+make_from_bam(const FactoryParams &params) {
   return PNMFileTypeRegistry::get_global_ptr()->get_type_by_handle(get_class_type());
   return PNMFileTypeRegistry::get_global_ptr()->get_type_by_handle(get_class_type());
 }
 }
 
 

+ 1 - 1
panda/src/pnmimagetypes/pnmFileTypeSoftImage.h

@@ -70,7 +70,7 @@ public:
   static void register_with_read_factory();
   static void register_with_read_factory();
 
 
 protected:
 protected:
-  static TypedWritable *make_PNMFileTypeSoftImage(const FactoryParams &params);
+  static TypedWritable *make_from_bam(const FactoryParams &params);
 
 
 public:
 public:
   static TypeHandle get_class_type() {
   static TypeHandle get_class_type() {

+ 2 - 2
panda/src/pnmimagetypes/pnmFileTypeStbImage.cxx

@@ -587,7 +587,7 @@ read_data(xel *array, xelval *alpha) {
 void PNMFileTypeStbImage::
 void PNMFileTypeStbImage::
 register_with_read_factory() {
 register_with_read_factory() {
   BamReader::get_factory()->
   BamReader::get_factory()->
-    register_factory(get_class_type(), make_PNMFileTypeStbImage);
+    register_factory(get_class_type(), make_from_bam);
 }
 }
 
 
 /**
 /**
@@ -599,7 +599,7 @@ register_with_read_factory() {
  * we just pull the object from the registry.
  * we just pull the object from the registry.
  */
  */
 TypedWritable *PNMFileTypeStbImage::
 TypedWritable *PNMFileTypeStbImage::
-make_PNMFileTypeStbImage(const FactoryParams &params) {
+make_from_bam(const FactoryParams &params) {
   return PNMFileTypeRegistry::get_global_ptr()->get_type_by_handle(get_class_type());
   return PNMFileTypeRegistry::get_global_ptr()->get_type_by_handle(get_class_type());
 }
 }
 
 

+ 1 - 1
panda/src/pnmimagetypes/pnmFileTypeStbImage.h

@@ -46,7 +46,7 @@ public:
   static void register_with_read_factory();
   static void register_with_read_factory();
 
 
 protected:
 protected:
-  static TypedWritable *make_PNMFileTypeStbImage(const FactoryParams &params);
+  static TypedWritable *make_from_bam(const FactoryParams &params);
 
 
 public:
 public:
   static TypeHandle get_class_type() {
   static TypeHandle get_class_type() {

+ 2 - 2
panda/src/pnmimagetypes/pnmFileTypeTGA.cxx

@@ -557,7 +557,7 @@ write_data(xel *array, xelval *) {
 void PNMFileTypeTGA::
 void PNMFileTypeTGA::
 register_with_read_factory() {
 register_with_read_factory() {
   BamReader::get_factory()->
   BamReader::get_factory()->
-    register_factory(get_class_type(), make_PNMFileTypeTGA);
+    register_factory(get_class_type(), make_from_bam);
 }
 }
 
 
 /**
 /**
@@ -569,7 +569,7 @@ register_with_read_factory() {
  * we just pull the object from the registry.
  * we just pull the object from the registry.
  */
  */
 TypedWritable *PNMFileTypeTGA::
 TypedWritable *PNMFileTypeTGA::
-make_PNMFileTypeTGA(const FactoryParams &params) {
+make_from_bam(const FactoryParams &params) {
   return PNMFileTypeRegistry::get_global_ptr()->get_type_by_handle(get_class_type());
   return PNMFileTypeRegistry::get_global_ptr()->get_type_by_handle(get_class_type());
 }
 }
 
 

+ 1 - 1
panda/src/pnmimagetypes/pnmFileTypeTGA.h

@@ -100,7 +100,7 @@ public:
   static void register_with_read_factory();
   static void register_with_read_factory();
 
 
 protected:
 protected:
-  static TypedWritable *make_PNMFileTypeTGA(const FactoryParams &params);
+  static TypedWritable *make_from_bam(const FactoryParams &params);
 
 
 public:
 public:
   static TypeHandle get_class_type() {
   static TypeHandle get_class_type() {

+ 2 - 2
panda/src/pnmimagetypes/pnmFileTypeTIFF.cxx

@@ -1249,7 +1249,7 @@ tiff_error(const char *module, const char *format, va_list ap) {
 void PNMFileTypeTIFF::
 void PNMFileTypeTIFF::
 register_with_read_factory() {
 register_with_read_factory() {
   BamReader::get_factory()->
   BamReader::get_factory()->
-    register_factory(get_class_type(), make_PNMFileTypeTIFF);
+    register_factory(get_class_type(), make_from_bam);
 }
 }
 
 
 /**
 /**
@@ -1261,7 +1261,7 @@ register_with_read_factory() {
  * we just pull the object from the registry.
  * we just pull the object from the registry.
  */
  */
 TypedWritable *PNMFileTypeTIFF::
 TypedWritable *PNMFileTypeTIFF::
-make_PNMFileTypeTIFF(const FactoryParams &params) {
+make_from_bam(const FactoryParams &params) {
   return PNMFileTypeRegistry::get_global_ptr()->get_type_by_handle(get_class_type());
   return PNMFileTypeRegistry::get_global_ptr()->get_type_by_handle(get_class_type());
 }
 }
 
 

+ 1 - 1
panda/src/pnmimagetypes/pnmFileTypeTIFF.h

@@ -97,7 +97,7 @@ public:
   static void register_with_read_factory();
   static void register_with_read_factory();
 
 
 protected:
 protected:
-  static TypedWritable *make_PNMFileTypeTIFF(const FactoryParams &params);
+  static TypedWritable *make_from_bam(const FactoryParams &params);
 
 
 public:
 public:
   static TypeHandle get_class_type() {
   static TypeHandle get_class_type() {

+ 4 - 5
panda/src/text/geomTextGlyph.cxx

@@ -175,16 +175,15 @@ add_glyph(const TextGlyph *glyph) {
  */
  */
 void GeomTextGlyph::
 void GeomTextGlyph::
 register_with_read_factory() {
 register_with_read_factory() {
-  BamReader::get_factory()->register_factory(get_class_type(), make_GeomTextGlyph);
+  BamReader::get_factory()->register_factory(get_class_type(), make_from_bam);
 }
 }
 
 
 /**
 /**
  * Factory method to generate a GeomTextGlyph object
  * Factory method to generate a GeomTextGlyph object
  */
  */
-TypedWritable* GeomTextGlyph::
-make_GeomTextGlyph(const FactoryParams &params) {
-  GeomTextGlyph *me = new GeomTextGlyph(nullptr,
-                                        nullptr);
+TypedWritable *GeomTextGlyph::
+make_from_bam(const FactoryParams &params) {
+  GeomTextGlyph *me = new GeomTextGlyph(nullptr, nullptr);
   DatagramIterator scan;
   DatagramIterator scan;
   BamReader *manager;
   BamReader *manager;
 
 

+ 1 - 1
panda/src/text/geomTextGlyph.h

@@ -52,7 +52,7 @@ private:
 
 
 public:
 public:
   static void register_with_read_factory();
   static void register_with_read_factory();
-  static TypedWritable *make_GeomTextGlyph(const FactoryParams &params);
+  static TypedWritable *make_from_bam(const FactoryParams &params);
 
 
 PUBLISHED:
 PUBLISHED:
   static TypeHandle get_class_type() {
   static TypeHandle get_class_type() {

+ 3 - 3
pandatool/src/palettizer/destTextureImage.cxx

@@ -123,7 +123,7 @@ to_power_2(int value) {
 void DestTextureImage::
 void DestTextureImage::
 register_with_read_factory() {
 register_with_read_factory() {
   BamReader::get_factory()->
   BamReader::get_factory()->
-    register_factory(get_class_type(), make_DestTextureImage);
+    register_factory(get_class_type(), make_from_bam);
 }
 }
 
 
 /**
 /**
@@ -140,8 +140,8 @@ write_datagram(BamWriter *writer, Datagram &datagram) {
  * encountered in a Bam file; it should allocate and return a new object with
  * encountered in a Bam file; it should allocate and return a new object with
  * all the data read.
  * all the data read.
  */
  */
-TypedWritable* DestTextureImage::
-make_DestTextureImage(const FactoryParams &params) {
+TypedWritable *DestTextureImage::
+make_from_bam(const FactoryParams &params) {
   DestTextureImage *me = new DestTextureImage;
   DestTextureImage *me = new DestTextureImage;
   DatagramIterator scan;
   DatagramIterator scan;
   BamReader *manager;
   BamReader *manager;

+ 1 - 1
pandatool/src/palettizer/destTextureImage.h

@@ -45,7 +45,7 @@ public:
   virtual void write_datagram(BamWriter *writer, Datagram &datagram);
   virtual void write_datagram(BamWriter *writer, Datagram &datagram);
 
 
 protected:
 protected:
-  static TypedWritable *make_DestTextureImage(const FactoryParams &params);
+  static TypedWritable *make_from_bam(const FactoryParams &params);
   void fillin(DatagramIterator &scan, BamReader *manager);
   void fillin(DatagramIterator &scan, BamReader *manager);
 
 
 public:
 public:

+ 3 - 3
pandatool/src/palettizer/eggFile.cxx

@@ -696,7 +696,7 @@ rescan_textures() {
 void EggFile::
 void EggFile::
 register_with_read_factory() {
 register_with_read_factory() {
   BamReader::get_factory()->
   BamReader::get_factory()->
-    register_factory(get_class_type(), make_EggFile);
+    register_factory(get_class_type(), make_from_bam);
 }
 }
 
 
 /**
 /**
@@ -764,8 +764,8 @@ complete_pointers(TypedWritable **p_list, BamReader *manager) {
  * encountered in a Bam file; it should allocate and return a new object with
  * encountered in a Bam file; it should allocate and return a new object with
  * all the data read.
  * all the data read.
  */
  */
-TypedWritable* EggFile::
-make_EggFile(const FactoryParams &params) {
+TypedWritable *EggFile::
+make_from_bam(const FactoryParams &params) {
   EggFile *me = new EggFile();
   EggFile *me = new EggFile();
   DatagramIterator scan;
   DatagramIterator scan;
   BamReader *manager;
   BamReader *manager;

+ 1 - 1
pandatool/src/palettizer/eggFile.h

@@ -107,7 +107,7 @@ public:
                                 BamReader *manager);
                                 BamReader *manager);
 
 
 protected:
 protected:
-  static TypedWritable *make_EggFile(const FactoryParams &params);
+  static TypedWritable *make_from_bam(const FactoryParams &params);
   void fillin(DatagramIterator &scan, BamReader *manager);
   void fillin(DatagramIterator &scan, BamReader *manager);
 
 
 private:
 private:

+ 2 - 2
pandatool/src/palettizer/paletteGroup.cxx

@@ -560,7 +560,7 @@ update_images(bool redo_all) {
 void PaletteGroup::
 void PaletteGroup::
 register_with_read_factory() {
 register_with_read_factory() {
   BamReader::get_factory()->
   BamReader::get_factory()->
-    register_factory(get_class_type(), make_PaletteGroup);
+    register_factory(get_class_type(), make_from_bam);
 }
 }
 
 
 /**
 /**
@@ -654,7 +654,7 @@ finalize(BamReader *) {
  * all the data read.
  * all the data read.
  */
  */
 TypedWritable *PaletteGroup::
 TypedWritable *PaletteGroup::
-make_PaletteGroup(const FactoryParams &params) {
+make_from_bam(const FactoryParams &params) {
   PaletteGroup *me = new PaletteGroup;
   PaletteGroup *me = new PaletteGroup;
   DatagramIterator scan;
   DatagramIterator scan;
   BamReader *manager;
   BamReader *manager;

+ 1 - 1
pandatool/src/palettizer/paletteGroup.h

@@ -115,7 +115,7 @@ public:
   virtual void finalize(BamReader *manager);
   virtual void finalize(BamReader *manager);
 
 
 protected:
 protected:
-  static TypedWritable *make_PaletteGroup(const FactoryParams &params);
+  static TypedWritable *make_from_bam(const FactoryParams &params);
   void fillin(DatagramIterator &scan, BamReader *manager);
   void fillin(DatagramIterator &scan, BamReader *manager);
 
 
 private:
 private:

+ 3 - 3
pandatool/src/palettizer/paletteGroups.cxx

@@ -280,7 +280,7 @@ r_make_complete(PaletteGroups::Groups &result, PaletteGroup *group) {
 void PaletteGroups::
 void PaletteGroups::
 register_with_read_factory() {
 register_with_read_factory() {
   BamReader::get_factory()->
   BamReader::get_factory()->
-    register_factory(get_class_type(), make_PaletteGroups);
+    register_factory(get_class_type(), make_from_bam);
 }
 }
 
 
 /**
 /**
@@ -320,8 +320,8 @@ complete_pointers(TypedWritable **p_list, BamReader *manager) {
  * encountered in a Bam file; it should allocate and return a new object with
  * encountered in a Bam file; it should allocate and return a new object with
  * all the data read.
  * all the data read.
  */
  */
-TypedWritable* PaletteGroups::
-make_PaletteGroups(const FactoryParams &params) {
+TypedWritable *PaletteGroups::
+make_from_bam(const FactoryParams &params) {
   PaletteGroups *me = new PaletteGroups;
   PaletteGroups *me = new PaletteGroups;
   DatagramIterator scan;
   DatagramIterator scan;
   BamReader *manager;
   BamReader *manager;

+ 1 - 1
pandatool/src/palettizer/paletteGroups.h

@@ -76,7 +76,7 @@ public:
                                 BamReader *manager);
                                 BamReader *manager);
 
 
 protected:
 protected:
-  static TypedWritable *make_PaletteGroups(const FactoryParams &params);
+  static TypedWritable *make_from_bam(const FactoryParams &params);
 
 
 public:
 public:
   void fillin(DatagramIterator &scan, BamReader *manager);
   void fillin(DatagramIterator &scan, BamReader *manager);

+ 2 - 2
pandatool/src/palettizer/paletteImage.cxx

@@ -969,7 +969,7 @@ remove_image() {
 void PaletteImage::
 void PaletteImage::
 register_with_read_factory() {
 register_with_read_factory() {
   BamReader::get_factory()->
   BamReader::get_factory()->
-    register_factory(get_class_type(), make_PaletteImage);
+    register_factory(get_class_type(), make_from_bam);
 }
 }
 
 
 /**
 /**
@@ -1037,7 +1037,7 @@ complete_pointers(TypedWritable **p_list, BamReader *manager) {
  * all the data read.
  * all the data read.
  */
  */
 TypedWritable *PaletteImage::
 TypedWritable *PaletteImage::
-make_PaletteImage(const FactoryParams &params) {
+make_from_bam(const FactoryParams &params) {
   PaletteImage *me = new PaletteImage;
   PaletteImage *me = new PaletteImage;
   DatagramIterator scan;
   DatagramIterator scan;
   BamReader *manager;
   BamReader *manager;

+ 1 - 1
pandatool/src/palettizer/paletteImage.h

@@ -117,7 +117,7 @@ public:
                                 BamReader *manager);
                                 BamReader *manager);
 
 
 protected:
 protected:
-  static TypedWritable *make_PaletteImage(const FactoryParams &params);
+  static TypedWritable *make_from_bam(const FactoryParams &params);
   void fillin(DatagramIterator &scan, BamReader *manager);
   void fillin(DatagramIterator &scan, BamReader *manager);
 
 
 private:
 private:

+ 3 - 3
pandatool/src/palettizer/palettePage.cxx

@@ -214,7 +214,7 @@ update_images(bool redo_all) {
 void PalettePage::
 void PalettePage::
 register_with_read_factory() {
 register_with_read_factory() {
   BamReader::get_factory()->
   BamReader::get_factory()->
-    register_factory(get_class_type(), make_PalettePage);
+    register_factory(get_class_type(), make_from_bam);
 }
 }
 
 
 /**
 /**
@@ -271,8 +271,8 @@ complete_pointers(TypedWritable **p_list, BamReader *manager) {
  * encountered in a Bam file; it should allocate and return a new object with
  * encountered in a Bam file; it should allocate and return a new object with
  * all the data read.
  * all the data read.
  */
  */
-TypedWritable* PalettePage::
-make_PalettePage(const FactoryParams &params) {
+TypedWritable *PalettePage::
+make_from_bam(const FactoryParams &params) {
   PalettePage *me = new PalettePage;
   PalettePage *me = new PalettePage;
   DatagramIterator scan;
   DatagramIterator scan;
   BamReader *manager;
   BamReader *manager;

+ 1 - 1
pandatool/src/palettizer/palettePage.h

@@ -69,7 +69,7 @@ public:
                                 BamReader *manager);
                                 BamReader *manager);
 
 
 protected:
 protected:
-  static TypedWritable *make_PalettePage(const FactoryParams &params);
+  static TypedWritable *make_from_bam(const FactoryParams &params);
   void fillin(DatagramIterator &scan, BamReader *manager);
   void fillin(DatagramIterator &scan, BamReader *manager);
 
 
 private:
 private:

+ 3 - 3
pandatool/src/palettizer/palettizer.cxx

@@ -913,7 +913,7 @@ compute_statistics(std::ostream &out, int indent_level,
 void Palettizer::
 void Palettizer::
 register_with_read_factory() {
 register_with_read_factory() {
   BamReader::get_factory()->
   BamReader::get_factory()->
-    register_factory(get_class_type(), make_Palettizer);
+    register_factory(get_class_type(), make_from_bam);
 }
 }
 
 
 /**
 /**
@@ -1099,8 +1099,8 @@ finalize(BamReader *manager) {
  * encountered in a Bam file; it should allocate and return a new object with
  * encountered in a Bam file; it should allocate and return a new object with
  * all the data read.
  * all the data read.
  */
  */
-TypedWritable* Palettizer::
-make_Palettizer(const FactoryParams &params) {
+TypedWritable *Palettizer::
+make_from_bam(const FactoryParams &params) {
   Palettizer *me = new Palettizer;
   Palettizer *me = new Palettizer;
   DatagramIterator scan;
   DatagramIterator scan;
   BamReader *manager;
   BamReader *manager;

+ 1 - 1
pandatool/src/palettizer/palettizer.h

@@ -152,7 +152,7 @@ public:
   virtual void finalize(BamReader *manager);
   virtual void finalize(BamReader *manager);
 
 
 protected:
 protected:
-  static TypedWritable *make_Palettizer(const FactoryParams &params);
+  static TypedWritable *make_from_bam(const FactoryParams &params);
   void fillin(DatagramIterator &scan, BamReader *manager);
   void fillin(DatagramIterator &scan, BamReader *manager);
 
 
 private:
 private:

+ 2 - 2
pandatool/src/palettizer/sourceTextureImage.cxx

@@ -149,7 +149,7 @@ set_header(const PNMImageHeader &header) {
 void SourceTextureImage::
 void SourceTextureImage::
 register_with_read_factory() {
 register_with_read_factory() {
   BamReader::get_factory()->
   BamReader::get_factory()->
-    register_factory(get_class_type(), make_SourceTextureImage);
+    register_factory(get_class_type(), make_from_bam);
 }
 }
 
 
 /**
 /**
@@ -188,7 +188,7 @@ complete_pointers(TypedWritable **p_list, BamReader *manager) {
  * all the data read.
  * all the data read.
  */
  */
 TypedWritable *SourceTextureImage::
 TypedWritable *SourceTextureImage::
-make_SourceTextureImage(const FactoryParams &params) {
+make_from_bam(const FactoryParams &params) {
   SourceTextureImage *me = new SourceTextureImage;
   SourceTextureImage *me = new SourceTextureImage;
   DatagramIterator scan;
   DatagramIterator scan;
   BamReader *manager;
   BamReader *manager;

+ 1 - 1
pandatool/src/palettizer/sourceTextureImage.h

@@ -56,7 +56,7 @@ public:
                                 BamReader *manager);
                                 BamReader *manager);
 
 
 protected:
 protected:
-  static TypedWritable *make_SourceTextureImage(const FactoryParams &params);
+  static TypedWritable *make_from_bam(const FactoryParams &params);
   void fillin(DatagramIterator &scan, BamReader *manager);
   void fillin(DatagramIterator &scan, BamReader *manager);
 
 
 public:
 public:

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

@@ -1236,7 +1236,7 @@ get_source_key(const Filename &filename, const Filename &alpha_filename,
 void TextureImage::
 void TextureImage::
 register_with_read_factory() {
 register_with_read_factory() {
   BamReader::get_factory()->
   BamReader::get_factory()->
-    register_factory(get_class_type(), make_TextureImage);
+    register_factory(get_class_type(), make_from_bam);
 }
 }
 
 
 /**
 /**
@@ -1346,7 +1346,7 @@ complete_pointers(TypedWritable **p_list, BamReader *manager) {
  * all the data read.
  * all the data read.
  */
  */
 TypedWritable *TextureImage::
 TypedWritable *TextureImage::
-make_TextureImage(const FactoryParams &params) {
+make_from_bam(const FactoryParams &params) {
   TextureImage *me = new TextureImage;
   TextureImage *me = new TextureImage;
   DatagramIterator scan;
   DatagramIterator scan;
   BamReader *manager;
   BamReader *manager;

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

@@ -161,7 +161,7 @@ public:
                                 BamReader *manager);
                                 BamReader *manager);
 
 
 protected:
 protected:
-  static TypedWritable *make_TextureImage(const FactoryParams &params);
+  static TypedWritable *make_from_bam(const FactoryParams &params);
   void fillin(DatagramIterator &scan, BamReader *manager);
   void fillin(DatagramIterator &scan, BamReader *manager);
 
 
 private:
 private:

+ 3 - 3
pandatool/src/palettizer/texturePlacement.cxx

@@ -987,7 +987,7 @@ compute_size_from_uvs(const LTexCoordd &min_uv, const LTexCoordd &max_uv) {
 void TexturePlacement::
 void TexturePlacement::
 register_with_read_factory() {
 register_with_read_factory() {
   BamReader::get_factory()->
   BamReader::get_factory()->
-    register_factory(get_class_type(), make_TexturePlacement);
+    register_factory(get_class_type(), make_from_bam);
 }
 }
 
 
 /**
 /**
@@ -1077,8 +1077,8 @@ complete_pointers(TypedWritable **p_list, BamReader *manager) {
  * encountered in a Bam file; it should allocate and return a new object with
  * encountered in a Bam file; it should allocate and return a new object with
  * all the data read.
  * all the data read.
  */
  */
-TypedWritable* TexturePlacement::
-make_TexturePlacement(const FactoryParams &params) {
+TypedWritable *TexturePlacement::
+make_from_bam(const FactoryParams &params) {
   TexturePlacement *me = new TexturePlacement;
   TexturePlacement *me = new TexturePlacement;
   DatagramIterator scan;
   DatagramIterator scan;
   BamReader *manager;
   BamReader *manager;

+ 1 - 1
pandatool/src/palettizer/texturePlacement.h

@@ -120,7 +120,7 @@ public:
                                 BamReader *manager);
                                 BamReader *manager);
 
 
 protected:
 protected:
-  static TypedWritable *make_TexturePlacement(const FactoryParams &params);
+  static TypedWritable *make_from_bam(const FactoryParams &params);
   void fillin(DatagramIterator &scan, BamReader *manager);
   void fillin(DatagramIterator &scan, BamReader *manager);
 
 
 private:
 private:

+ 3 - 3
pandatool/src/palettizer/texturePosition.cxx

@@ -75,7 +75,7 @@ operator = (const TexturePosition &copy) {
 void TexturePosition::
 void TexturePosition::
 register_with_read_factory() {
 register_with_read_factory() {
   BamReader::get_factory()->
   BamReader::get_factory()->
-    register_factory(get_class_type(), make_TexturePosition);
+    register_factory(get_class_type(), make_from_bam);
 }
 }
 
 
 /**
 /**
@@ -103,8 +103,8 @@ write_datagram(BamWriter *writer, Datagram &datagram) {
  * encountered in a Bam file; it should allocate and return a new object with
  * encountered in a Bam file; it should allocate and return a new object with
  * all the data read.
  * all the data read.
  */
  */
-TypedWritable* TexturePosition::
-make_TexturePosition(const FactoryParams &params) {
+TypedWritable *TexturePosition::
+make_from_bam(const FactoryParams &params) {
   TexturePosition *me = new TexturePosition;
   TexturePosition *me = new TexturePosition;
   DatagramIterator scan;
   DatagramIterator scan;
   BamReader *manager;
   BamReader *manager;

+ 1 - 1
pandatool/src/palettizer/texturePosition.h

@@ -50,7 +50,7 @@ public:
   virtual void write_datagram(BamWriter *writer, Datagram &datagram);
   virtual void write_datagram(BamWriter *writer, Datagram &datagram);
 
 
 protected:
 protected:
-  static TypedWritable *make_TexturePosition(const FactoryParams &params);
+  static TypedWritable *make_from_bam(const FactoryParams &params);
 
 
 public:
 public:
   void fillin(DatagramIterator &scan, BamReader *manager);
   void fillin(DatagramIterator &scan, BamReader *manager);

+ 3 - 3
pandatool/src/palettizer/textureProperties.cxx

@@ -834,7 +834,7 @@ union_quality_level(EggTexture::QualityLevel a, EggTexture::QualityLevel b) {
 void TextureProperties::
 void TextureProperties::
 register_with_read_factory() {
 register_with_read_factory() {
   BamReader::get_factory()->
   BamReader::get_factory()->
-    register_factory(get_class_type(), make_TextureProperties);
+    register_factory(get_class_type(), make_from_bam);
 }
 }
 
 
 /**
 /**
@@ -888,8 +888,8 @@ complete_pointers(TypedWritable **p_list, BamReader *manager) {
  * encountered in a Bam file; it should allocate and return a new object with
  * encountered in a Bam file; it should allocate and return a new object with
  * all the data read.
  * all the data read.
  */
  */
-TypedWritable* TextureProperties::
-make_TextureProperties(const FactoryParams &params) {
+TypedWritable *TextureProperties::
+make_from_bam(const FactoryParams &params) {
   TextureProperties *me = new TextureProperties;
   TextureProperties *me = new TextureProperties;
   DatagramIterator scan;
   DatagramIterator scan;
   BamReader *manager;
   BamReader *manager;

+ 1 - 1
pandatool/src/palettizer/textureProperties.h

@@ -92,7 +92,7 @@ public:
                                 BamReader *manager);
                                 BamReader *manager);
 
 
 protected:
 protected:
-  static TypedWritable *make_TextureProperties(const FactoryParams &params);
+  static TypedWritable *make_from_bam(const FactoryParams &params);
 
 
 public:
 public:
   void fillin(DatagramIterator &scan, BamReader *manager);
   void fillin(DatagramIterator &scan, BamReader *manager);

Some files were not shown because too many files changed in this diff