#include <txaFile.h>
Public Member Functions | |
TxaFile () | |
bool | read (Filename filename) |
bool | match_egg (EggFile *egg_file) const |
bool | match_texture (TextureImage *texture) const |
void | write (ostream &out) const |
Private Types | |
typedef pvector< TxaLine > | Lines |
Private Member Functions | |
bool | parse_group_line (const vector_string &words) |
bool | parse_palette_line (const vector_string &words) |
bool | parse_margin_line (const vector_string &words) |
bool | parse_coverage_line (const vector_string &words) |
bool | parse_imagetype_line (const vector_string &words) |
bool | parse_shadowtype_line (const vector_string &words) |
bool | parse_round_line (const vector_string &words) |
bool | parse_remap_line (const vector_string &words) |
bool | parse_remapchar_line (const vector_string &words) |
Private Attributes | |
Lines | _lines |
|
|
|
Definition at line 34 of file txaFile.cxx. |
|
Definition at line 135 of file txaFile.cxx. References _lines. Referenced by Palettizer::process_all(), and Palettizer::process_command_line_eggs(). |
|
Definition at line 156 of file txaFile.cxx. References _lines, and texture. Referenced by Palettizer::process_all(), Palettizer::process_command_line_eggs(), and PaletteGroup::update_unknown_textures(). |
|
Definition at line 305 of file txaFile.cxx. References Palettizer::_coverage_threshold, nout, pal, and string_to_double(). Referenced by read(). |
|
Definition at line 191 of file txaFile.cxx. References assert, Palettizer::get_palette_group(), PaletteGroup::group_with(), nout, pal, and PaletteGroup::set_dirname(). Referenced by read(). |
|
Definition at line 334 of file txaFile.cxx. References Palettizer::_alpha_type, Palettizer::_color_type, PNMFileTypeRegistry::get_ptr(), nout, pal, parse_image_type_request(), and PNMFileTypeRegistry::write_types(). Referenced by read(). |
|
Definition at line 277 of file txaFile.cxx. References Palettizer::_margin, nout, pal, and string_to_int(). Referenced by read(). |
|
Definition at line 247 of file txaFile.cxx. References Palettizer::_pal_x_size, Palettizer::_pal_y_size, nout, pal, and string_to_int(). Referenced by read(). |
|
Definition at line 426 of file txaFile.cxx. References Palettizer::_remap_char_uv, Palettizer::_remap_uv, nout, pal, Palettizer::RU_invalid, and Palettizer::string_remap(). Referenced by read(). |
|
|
|
Definition at line 384 of file txaFile.cxx. References Palettizer::_round_fuzz, Palettizer::_round_unit, Palettizer::_round_uvs, nout, pal, and string_to_double(). Referenced by read(). |
|
Definition at line 359 of file txaFile.cxx. References Palettizer::_shadow_alpha_type, Palettizer::_shadow_color_type, PNMFileTypeRegistry::get_ptr(), nout, pal, parse_image_type_request(), and PNMFileTypeRegistry::write_types(). Referenced by read(). |
|
Definition at line 44 of file txaFile.cxx. References _lines, extract_words(), nout, Filename::open_read(), TxaLine::parse(), parse_coverage_line(), parse_group_line(), parse_imagetype_line(), parse_margin_line(), parse_palette_line(), parse_remap_line(), parse_round_line(), parse_shadowtype_line(), Filename::set_text(), size_t, trim_left(), and vector_string. Referenced by Palettizer::read_txa_file(). |
|
Definition at line 175 of file txaFile.cxx. References _lines. |
|
Definition at line 60 of file txaFile.h. Referenced by match_egg(), match_texture(), read(), and write(). |