17 #include "lwoInputFile.h" 19 #include "config_lwo.h" 30 add_runline(
"[opts] input.lwo");
32 set_program_brief(
"describe the contents of a Lightwave object file");
33 set_program_description
34 (
"This program simply reads a Lightwave object file and dumps its " 35 "contents to standard output. It's mainly useful for debugging " 36 "problems with lwo2egg.");
48 nout <<
"Unable to open " << _input_filename <<
"\n";
54 nout <<
"Unable to read file.\n";
57 chunk->write(cout, 0);
58 chunk = in.get_chunk();
71 nout <<
"You must specify the Lightwave object file to read on the command line.\n";
74 if (args.size() != 1) {
75 nout <<
"You may specify only one Lightwave object file to read on the command line.\n";
79 _input_filename = args[0];
86 main(
int argc,
char *argv[]) {
virtual void parse_command_line(int argc, char **argv)
Dispatches on each of the options on the command line, and passes the remaining parameters to handle_...
The basic kind of record in an EA "IFF" file, which the LightWave object file is based on...
A program to read a Lightwave file and report its structure and contents.