14 #ifndef FLTEXTERNALREFERENCE_H 15 #define FLTEXTERNALREFERENCE_H 32 virtual void output(std::ostream &out)
const;
35 F_color_palette_override = 0x80000000,
36 F_material_palette_override = 0x40000000,
37 F_texture_palette_override = 0x20000000,
38 F_line_style_palette_override = 0x10000000,
39 F_sound_palette_override = 0x08000000,
40 F_light_palette_override = 0x04000000
43 std::string _orig_filename;
57 return get_class_type();
59 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
63 static void init_type() {
66 FltBead::get_class_type());
This class writes a sequence of FltRecords to an ostream, handling opcode and size counts properly.
This class turns an istream into a sequence of FltRecords by reading a sequence of Datagrams and extr...
virtual void apply_converted_filenames()
Walks the hierarchy at this record and below and copies the _converted_filename record into the _orig...
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void set_ref_filename(const Filename &filename)
Changes the name of the referenced file.
A base class for any of a broad family of flt records that represent particular beads in the hierarch...
virtual void output(std::ostream &out) const
Writes a quick one-line description of the record, but not its children.
The name of a file, such as a texture file or an Egg file.
An external reference to another flt file (possibly to a specific bead within the flt file).
Filename get_ref_filename() const
Returns the name of the referenced file.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
TypeHandle is the identifier used to differentiate C++ class types.