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 }
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
static void register_with_read_factory()
Registers the current object as something that can be read from a Bam file.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
static void register_with_read_factory()
Registers the current object as something that can be read from a Bam file.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
static void register_with_read_factory()
Registers the current object as something that can be read from a Bam file.
static void register_with_read_factory()
Registers the current object as something that can be read from a Bam file.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
static void register_with_read_factory()
Registers the current object as something that can be read from a Bam file.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
static void register_with_read_factory()
Registers the current object as something that can be read from a Bam file.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
static void register_with_read_factory()
Registers the current object as something that can be read from a Bam file.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
static void register_with_read_factory()
Registers the current object as something that can be read from a Bam file.
static void register_with_read_factory()
Registers the current object as something that can be read from a Bam file.
Definition: eggFile.cxx:697
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
static void register_with_read_factory()
Registers the current object as something that can be read from a Bam file.
static void register_with_read_factory()
Registers the current object as something that can be read from a Bam file.
static void register_with_read_factory()
Registers the current object as something that can be read from a Bam file.
static void register_with_read_factory()
Registers the current object as something that can be read from a Bam file.
Definition: palettizer.cxx:913
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void init_palettizer()
Initializes the library.