00001 // Filename: xFileToEgg.h 00002 // Created by: drose (21Jun01) 00003 // 00004 //////////////////////////////////////////////////////////////////// 00005 // 00006 // PANDA 3D SOFTWARE 00007 // Copyright (c) Carnegie Mellon University. All rights reserved. 00008 // 00009 // All use of this software is subject to the terms of the revised BSD 00010 // license. You should have received a copy of this license along 00011 // with this source code in a file named "LICENSE." 00012 // 00013 //////////////////////////////////////////////////////////////////// 00014 00015 #ifndef XFILETOEGG_H 00016 #define XFILETOEGG_H 00017 00018 #include "pandatoolbase.h" 00019 #include "somethingToEgg.h" 00020 #include "xFileToEggConverter.h" 00021 00022 #include "dSearchPath.h" 00023 00024 //////////////////////////////////////////////////////////////////// 00025 // Class : XFileToEgg 00026 // Description : A program to read a DirectX "x" file and generate an 00027 // egg file. 00028 //////////////////////////////////////////////////////////////////// 00029 class XFileToEgg : public SomethingToEgg { 00030 public: 00031 XFileToEgg(); 00032 00033 void run(); 00034 00035 public: 00036 bool _make_char; 00037 string _char_name; 00038 double _frame_rate; 00039 bool _keep_model; 00040 bool _keep_animation; 00041 }; 00042 00043 #endif 00044