15 #ifndef FLTEXTERNALREFERENCE_H
16 #define FLTEXTERNALREFERENCE_H
18 #include "pandatoolbase.h"
34 virtual void output(ostream &out)
const;
37 F_color_palette_override = 0x80000000,
38 F_material_palette_override = 0x40000000,
39 F_texture_palette_override = 0x20000000,
40 F_line_style_palette_override = 0x10000000,
41 F_sound_palette_override = 0x08000000,
42 F_light_palette_override = 0x04000000
45 string _orig_filename;
59 return get_class_type();
61 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
65 static void init_type() {
67 register_type(_type_handle,
"FltExternalReference",
68 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 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...
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.
virtual void output(ostream &out) const
Writes a quick one-line description of the record, but not its children.
TypeHandle is the identifier used to differentiate C++ class types.