34 bool read(std::istream &in,
const std::string &filename);
39 void write(std::ostream &out)
const;
42 static int get_line_or_semicolon(std::istream &in, std::string &line);
44 bool parse_group_line(
const vector_string &words);
45 bool parse_palette_line(
const vector_string &words);
46 bool parse_margin_line(
const vector_string &words);
47 bool parse_background_line(
const vector_string &words);
48 bool parse_coverage_line(
const vector_string &words);
49 bool parse_powertwo_line(
const vector_string &words);
50 bool parse_imagetype_line(
const vector_string &words);
51 bool parse_shadowtype_line(
const vector_string &words);
52 bool parse_round_line(
const vector_string &words);
53 bool parse_remap_line(
const vector_string &words);
54 bool parse_cutout_line(
const vector_string &words);
55 bool parse_textureswap_line(
const vector_string &words);
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
bool match_egg(EggFile *egg_file) const
Searches for a matching line in the .txa file for the given egg file and applies its specifications.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
bool read(std::istream &in, const std::string &filename)
Reads the indicated stream, and returns true if successful, or false if there is an error.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This represents a single source texture that is referenced by one or more egg files.
void write(std::ostream &out) const
Outputs a representation of the lines that were read in to the indicated output stream.
This represents a single egg file known to the palettizer.
This represents the .txa file (usually textures.txa) that contains the user instructions for resizing...
bool match_texture(TextureImage *texture) const
Searches for a matching line in the .txa file for the given texture and applies its specifications.