15 #include "lwoInputFile.h" 16 #include "lwoBoundingBox.h" 18 #include "lwoDiscontinuousVertexMap.h" 19 #include "lwoHeader.h" 21 #include "lwoPoints.h" 22 #include "lwoPolygons.h" 23 #include "lwoPolygonTags.h" 25 #include "lwoSurface.h" 26 #include "lwoVertexMap.h" 57 if ((top & 0xff00) == 0xff00) {
61 return ((
int)(top & 0xff) << 16) | bottom;
92 size_t colon = name.find(
':');
93 if (colon == string::npos) {
99 string device = name.substr(0, colon);
100 string path = name.substr(colon + 1);
102 nout <<
"Ignoring filename device " << device <<
"\n";
113 make_new_chunk(
IffId id) {
114 if (
id ==
IffId(
"FORM")) {
117 }
else if (
id ==
IffId(
"LAYR")) {
120 }
else if (
id ==
IffId(
"PNTS")) {
123 }
else if (
id ==
IffId(
"VMAP")) {
126 }
else if (
id ==
IffId(
"VMAD")) {
129 }
else if (
id ==
IffId(
"POLS")) {
132 }
else if (
id ==
IffId(
"TAGS") ||
133 id ==
IffId(
"SRFS")) {
136 }
else if (
id ==
IffId(
"PTAG")) {
139 }
else if (
id ==
IffId(
"CLIP")) {
142 }
else if (
id ==
IffId(
"SURF")) {
145 }
else if (
id ==
IffId(
"BBOX")) {
149 return IffInputFile::make_new_chunk(
id);
This is the base class for all three-component vectors and points.
Describes the shading attributes of a surface.
A single image file, or a numbered sequence of images (e.g.
Stores the bounding box for the vertex data in a layer.
The basic kind of record in an EA "IFF" file, which the LightWave object file is based on...
The name of a file, such as a texture file or an Egg file.
Signals the start of a new layer.
A mapping of floating-point values per integer index.
An array of polygons that will be referenced by later chunks.
TypeHandle is the identifier used to differentiate C++ class types.
A four-byte chunk ID appearing in an "IFF" file.
A mapping of floating-point values per integer index.
An array of points that will be referenced by later chunks.