00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef EGGPALETTIZE_H
00016 #define EGGPALETTIZE_H
00017
00018 #include "pandatoolbase.h"
00019
00020 #include "eggMultiFilter.h"
00021
00022
00023
00024
00025
00026
00027
00028 class EggPalettize : public EggMultiFilter {
00029 public:
00030 EggPalettize();
00031
00032 virtual bool handle_args(Args &args);
00033
00034 void describe_input_file();
00035
00036 void run();
00037
00038
00039
00040 bool _got_txa_filename;
00041 Filename _txa_filename;
00042 bool _got_txa_script;
00043 string _txa_script;
00044 bool _nodb;
00045 string _generated_image_pattern;
00046 bool _got_generated_image_pattern;
00047 string _map_dirname;
00048 bool _got_map_dirname;
00049 Filename _shadow_dirname;
00050 bool _got_shadow_dirname;
00051 Filename _rel_dirname;
00052 bool _got_rel_dirname;
00053 string _default_groupname;
00054 bool _got_default_groupname;
00055 string _default_groupdir;
00056 bool _got_default_groupdir;
00057
00058 private:
00059
00060
00061 bool _report_pi;
00062 bool _report_statistics;
00063 bool _all_textures;
00064 bool _optimal;
00065 bool _omitall;
00066 bool _redo_all;
00067 bool _redo_eggs;
00068 bool _dont_lock_txa;
00069
00070 bool _describe_input_file;
00071 bool _remove_eggs;
00072 Args _remove_egg_list;
00073 };
00074
00075 #endif