00001 // Filename: config_egg_palettize.cxx 00002 // Created by: drose (01Dec00) 00003 // 00004 //////////////////////////////////////////////////////////////////// 00005 // 00006 // PANDA 3D SOFTWARE 00007 // Copyright (c) 2001, Disney Enterprises, Inc. All rights reserved 00008 // 00009 // All use of this software is subject to the terms of the Panda 3d 00010 // Software license. You should have received a copy of this license 00011 // along with this source code; you will also find a current copy of 00012 // the license at http://www.panda3d.org/license.txt . 00013 // 00014 // To contact the maintainers of this program write to 00015 // panda3d@yahoogroups.com . 00016 // 00017 //////////////////////////////////////////////////////////////////// 00018 00019 #include "config_egg_palettize.h" 00020 #include "palettizer.h" 00021 #include "eggFile.h" 00022 #include "paletteGroup.h" 00023 #include "paletteGroups.h" 00024 #include "textureReference.h" 00025 #include "textureProperties.h" 00026 #include "imageFile.h" 00027 #include "sourceTextureImage.h" 00028 #include "destTextureImage.h" 00029 #include "textureImage.h" 00030 #include "paletteImage.h" 00031 #include "texturePlacement.h" 00032 #include "texturePosition.h" 00033 #include "palettePage.h" 00034 00035 #include <dconfig.h> 00036 00037 Configure(config_egg_palettize); 00038 00039 ConfigureFn(config_egg_palettize) { 00040 Palettizer::init_type(); 00041 EggFile::init_type(); 00042 PaletteGroup::init_type(); 00043 PaletteGroups::init_type(); 00044 TextureReference::init_type(); 00045 TextureProperties::init_type(); 00046 ImageFile::init_type(); 00047 SourceTextureImage::init_type(); 00048 DestTextureImage::init_type(); 00049 TextureImage::init_type(); 00050 PaletteImage::init_type(); 00051 TexturePlacement::init_type(); 00052 TexturePosition::init_type(); 00053 PalettePage::init_type(); 00054 00055 // Registration of writable object's creation functions with 00056 // BamReader's factory 00057 Palettizer::register_with_read_factory(); 00058 EggFile::register_with_read_factory(); 00059 PaletteGroup::register_with_read_factory(); 00060 PaletteGroups::register_with_read_factory(); 00061 TextureReference::register_with_read_factory(); 00062 TextureProperties::register_with_read_factory(); 00063 SourceTextureImage::register_with_read_factory(); 00064 DestTextureImage::register_with_read_factory(); 00065 TextureImage::register_with_read_factory(); 00066 PaletteImage::register_with_read_factory(); 00067 TexturePlacement::register_with_read_factory(); 00068 TexturePosition::register_with_read_factory(); 00069 PalettePage::register_with_read_factory(); 00070 }