remove unused parameter

This commit is contained in:
David Rose 2005-01-06 15:56:42 +00:00
parent 4bced0c109
commit 2d3f3a6519
8 changed files with 40 additions and 40 deletions

View File

@ -30,7 +30,7 @@ MaterialPool *MaterialPool::_global_ptr = (MaterialPool *)NULL;
// indicated output stream.
////////////////////////////////////////////////////////////////////
void MaterialPool::
write(ostream &out, unsigned int) {
write(ostream &out) {
get_ptr()->ns_list_contents(out);
}

View File

@ -51,7 +51,7 @@ PUBLISHED:
INLINE static const Material *get_material(const CPT(Material) &temp);
INLINE static int garbage_collect();
INLINE static void list_contents(ostream &out);
static void write(ostream &out, unsigned int indent=0);
static void write(ostream &out);
private:
INLINE MaterialPool();

View File

@ -26,6 +26,18 @@
TexturePool *TexturePool::_global_ptr = (TexturePool *)NULL;
////////////////////////////////////////////////////////////////////
// Function: TexturePool::write
// Access: Published, Static
// Description: Lists the contents of the texture pool to the
// indicated output stream.
// For debugging.
////////////////////////////////////////////////////////////////////
void TexturePool::
write(ostream &out) {
get_ptr()->ns_list_contents(out);
}
////////////////////////////////////////////////////////////////////
// Function: TexturePool::ns_has_texture
// Access: Private
@ -265,15 +277,3 @@ get_ptr() {
}
return _global_ptr;
}
////////////////////////////////////////////////////////////////////
// Function: TexturePool::write
// Access: Published, Static
// Description: Lists the contents of the texture pool to the
// indicated output stream.
// For debugging.
////////////////////////////////////////////////////////////////////
void TexturePool::
write(ostream &out, unsigned int) {
get_ptr()->ns_list_contents(out);
}

View File

@ -61,7 +61,7 @@ PUBLISHED:
INLINE static const string &get_fake_texture_image();
// static void output(ostream &out);
static void write(ostream &out, unsigned int indent=0);
static void write(ostream &out);
private:
INLINE TexturePool();

View File

@ -25,6 +25,18 @@ ModelPool *ModelPool::_global_ptr = (ModelPool *)NULL;
static Loader model_loader;
////////////////////////////////////////////////////////////////////
// Function: ModelPool::write
// Access: Published, Static
// Description: Lists the contents of the model pool to the
// indicated output stream.
// Helps with debugging.
////////////////////////////////////////////////////////////////////
void ModelPool::
write(ostream &out) {
get_ptr()->ns_list_contents(out);
}
////////////////////////////////////////////////////////////////////
// Function: ModelPool::ns_has_model
// Access: Private
@ -159,15 +171,3 @@ get_ptr() {
}
return _global_ptr;
}
////////////////////////////////////////////////////////////////////
// Function: ModelPool::write
// Access: Public, Static
// Description: Lists the contents of the model pool to the
// indicated output stream.
// Helps with debugging.
////////////////////////////////////////////////////////////////////
void ModelPool::
write(ostream &out, unsigned int) {
get_ptr()->ns_list_contents(out);
}

View File

@ -59,7 +59,7 @@ PUBLISHED:
INLINE static int garbage_collect();
INLINE static void list_contents(ostream &out);
static void write(ostream &out, unsigned int indent=0);
static void write(ostream &out);
private:
INLINE ModelPool();

View File

@ -29,6 +29,17 @@ FontPool *FontPool::_global_ptr = (FontPool *)NULL;
static Loader model_loader;
////////////////////////////////////////////////////////////////////
// Function: FontPool::write
// Access: Published, Static
// Description: Lists the contents of the font pool to the
// indicated output stream.
////////////////////////////////////////////////////////////////////
void FontPool::
write(ostream &out) {
get_ptr()->ns_list_contents(out);
}
////////////////////////////////////////////////////////////////////
// Function: FontPool::ns_has_font
// Access: Private
@ -243,14 +254,3 @@ get_ptr() {
}
return _global_ptr;
}
////////////////////////////////////////////////////////////////////
// Function: FontPool::write
// Access: Public, Static
// Description: Lists the contents of the font pool to the
// indicated output stream.
////////////////////////////////////////////////////////////////////
void FontPool::
write(ostream &out, unsigned int) {
get_ptr()->ns_list_contents(out);
}

View File

@ -49,7 +49,7 @@ PUBLISHED:
INLINE static int garbage_collect();
INLINE static void list_contents(ostream &out);
static void write(ostream &out, unsigned int indent=0);
static void write(ostream &out);
private:
INLINE FontPool();