Panda3D
config_palettizer.cxx
Go to the documentation of this file.
1 /**
2  * PANDA 3D SOFTWARE
3  * Copyright (c) Carnegie Mellon University. All rights reserved.
4  *
5  * All use of this software is subject to the terms of the revised BSD
6  * license. You should have received a copy of this license along
7  * with this source code in a file named "LICENSE."
8  *
9  * @file config_palettizer.cxx
10  * @author drose
11  * @date 2003-09-12
12  */
13 
14 #include "config_palettizer.h"
15 #include "palettizer.h"
16 #include "eggFile.h"
17 #include "paletteGroup.h"
18 #include "paletteGroups.h"
19 #include "textureReference.h"
20 #include "textureProperties.h"
21 #include "imageFile.h"
22 #include "sourceTextureImage.h"
23 #include "destTextureImage.h"
24 #include "textureImage.h"
25 #include "paletteImage.h"
26 #include "texturePlacement.h"
27 #include "texturePosition.h"
28 #include "palettePage.h"
29 
30 #include "dconfig.h"
31 
32 Configure(config_palettizer);
33 
34 ConfigureFn(config_palettizer) {
36 }
37 
38 /**
39  * Initializes the library. This must be called at least once before any of
40  * the functions or classes in this library can be used. Normally it will be
41  * called by the static initializers and need not be called explicitly, but
42  * special cases exist.
43  */
44 void
46  static bool initialized = false;
47  if (initialized) {
48  return;
49  }
50  initialized = true;
51 
52  Palettizer::init_type();
53  EggFile::init_type();
54  PaletteGroup::init_type();
55  PaletteGroups::init_type();
56  TextureReference::init_type();
57  TextureProperties::init_type();
58  ImageFile::init_type();
59  SourceTextureImage::init_type();
60  DestTextureImage::init_type();
61  TextureImage::init_type();
62  PaletteImage::init_type();
63  TexturePlacement::init_type();
64  TexturePosition::init_type();
65  PalettePage::init_type();
66 
67  // Registration of writable object's creation functions with BamReader's
68  // factory
82 }
destTextureImage.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
palettePage.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
TextureReference::register_with_read_factory
static void register_with_read_factory()
Registers the current object as something that can be read from a Bam file.
Definition: textureReference.cxx:792
TexturePosition::register_with_read_factory
static void register_with_read_factory()
Registers the current object as something that can be read from a Bam file.
Definition: texturePosition.cxx:76
Palettizer::register_with_read_factory
static void register_with_read_factory()
Registers the current object as something that can be read from a Bam file.
Definition: palettizer.cxx:913
imageFile.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PaletteGroups::register_with_read_factory
static void register_with_read_factory()
Registers the current object as something that can be read from a Bam file.
Definition: paletteGroups.cxx:281
texturePlacement.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
textureProperties.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
textureImage.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PalettePage::register_with_read_factory
static void register_with_read_factory()
Registers the current object as something that can be read from a Bam file.
Definition: palettePage.cxx:215
paletteGroups.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
paletteImage.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
texturePosition.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
TexturePlacement::register_with_read_factory
static void register_with_read_factory()
Registers the current object as something that can be read from a Bam file.
Definition: texturePlacement.cxx:988
palettizer.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
textureReference.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
SourceTextureImage::register_with_read_factory
static void register_with_read_factory()
Registers the current object as something that can be read from a Bam file.
Definition: sourceTextureImage.cxx:150
init_palettizer
void init_palettizer()
Initializes the library.
Definition: config_palettizer.cxx:45
TextureProperties::register_with_read_factory
static void register_with_read_factory()
Registers the current object as something that can be read from a Bam file.
Definition: textureProperties.cxx:751
sourceTextureImage.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
dconfig.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PaletteGroup::register_with_read_factory
static void register_with_read_factory()
Registers the current object as something that can be read from a Bam file.
Definition: paletteGroup.cxx:561
config_palettizer.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
TextureImage::register_with_read_factory
static void register_with_read_factory()
Registers the current object as something that can be read from a Bam file.
Definition: textureImage.cxx:1235
DestTextureImage::register_with_read_factory
static void register_with_read_factory()
Registers the current object as something that can be read from a Bam file.
Definition: destTextureImage.cxx:124
eggFile.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PaletteImage::register_with_read_factory
static void register_with_read_factory()
Registers the current object as something that can be read from a Bam file.
Definition: paletteImage.cxx:972
paletteGroup.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
EggFile::register_with_read_factory
static void register_with_read_factory()
Registers the current object as something that can be read from a Bam file.
Definition: eggFile.cxx:697