52 if ((top & 0xff00) == 0xff00) {
55 return ((
int)(top & 0xff) << 16) | bottom;
81 size_t colon = name.find(
':');
82 if (colon == string::npos) {
88 string device = name.substr(0, colon);
89 string path = name.substr(colon + 1);
91 nout <<
"Ignoring filename device " << device <<
"\n";
100make_new_chunk(
IffId id) {
101 if (
id ==
IffId(
"FORM")) {
104 }
else if (
id == IffId(
"LAYR")) {
107 }
else if (
id == IffId(
"PNTS")) {
108 return new LwoPoints;
110 }
else if (
id == IffId(
"VMAP")) {
111 return new LwoVertexMap;
113 }
else if (
id == IffId(
"VMAD")) {
114 return new LwoDiscontinuousVertexMap;
116 }
else if (
id == IffId(
"POLS")) {
117 return new LwoPolygons;
119 }
else if (
id == IffId(
"TAGS") ||
120 id == IffId(
"SRFS")) {
123 }
else if (
id == IffId(
"PTAG")) {
124 return new LwoPolygonTags;
126 }
else if (
id == IffId(
"CLIP")) {
129 }
else if (
id == IffId(
"SURF")) {
130 return new LwoSurface;
132 }
else if (
id == IffId(
"BBOX")) {
133 return new LwoBoundingBox;
136 return IffInputFile::make_new_chunk(
id);
The name of a file, such as a texture file or an Egg file.
The basic kind of record in an EA "IFF" file, which the LightWave object file is based on.
A four-byte chunk ID appearing in an "IFF" file.
TypeHandle is the identifier used to differentiate C++ class types.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.