Panda3D
Loading...
Searching...
No Matches
eggPalettize.h
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 eggPalettize.h
10 * @author drose
11 * @date 2000-11-28
12 */
13
14#ifndef EGGPALETTIZE_H
15#define EGGPALETTIZE_H
16
17#include "pandatoolbase.h"
18
19#include "eggMultiFilter.h"
20
21/**
22 * This is the program wrapper for egg-palettize, but it mainly serves to read
23 * in all the command-line parameters and then invoke the Palettizer.
24 */
26public:
28
29 virtual bool handle_args(Args &args);
30
31 void describe_input_file();
32
33 void run();
34
35 // The following parameter values specifically relate to textures and
36 // palettes. These values are copied to the Palettizer.
37 bool _got_txa_filename;
38 Filename _txa_filename;
39 bool _got_txa_script;
40 std::string _txa_script;
41 bool _nodb;
42 std::string _generated_image_pattern;
43 bool _got_generated_image_pattern;
44 std::string _map_dirname;
45 bool _got_map_dirname;
46 Filename _shadow_dirname;
47 bool _got_shadow_dirname;
48 Filename _rel_dirname;
49 bool _got_rel_dirname;
50 std::string _default_groupname;
51 bool _got_default_groupname;
52 std::string _default_groupdir;
53 bool _got_default_groupdir;
54
55private:
56 // The following values control behavior specific to this session. They're
57 // not saved for future sessions.
58 bool _report_pi;
59 bool _report_statistics;
60 bool _all_textures;
61 bool _optimal;
62 bool _omitall;
63 bool _redo_all;
64 bool _redo_eggs;
65
66 bool _describe_input_file;
67 bool _remove_eggs;
68 Args _remove_egg_list;
69};
70
71#endif
This is a base class for a program that reads in a number of egg files, operates on them,...
This is the program wrapper for egg-palettize, but it mainly serves to read in all the command-line p...
virtual bool handle_args(Args &args)
Does something with the additional arguments on the command line (after all the -options have been pa...
The name of a file, such as a texture file or an Egg file.
Definition filename.h:44
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.