Main Page Modules Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages

# msDexiExporter.hpp

Go to the documentation of this file.

    00001 #ifndef MSDEXIEXPORTER_HPP
    00002 #define MSDEXIEXPORTER_HPP
    00003
    00004
    00005
    00006 #include "msLib/msPlugIn.h"
    00007
    00008 const int MAX_FILENAME_LEN = 1024;
    00009 typedef struct HINSTANCE__* HINSTANCE;
    00010
    00011 struct msModel;
    00012 class cDexiPlugin : public cMsPlugIn
    00013 {
    00014     static const char* const sMenuTitle;
    00015     static const char* const sLongTitle;
    00016
    00017 public:
    00018     cDexiPlugin ();
    00019     virtual ~cDexiPlugin ();
    00020
    00021 public:
    00022     int             GetType ();
    00023     const char *    GetTitle ();
    00024     int             Execute (msModel* pModel);
    00025 };
    00026
    00027 struct DexiOptions
    00028 {
    00029     char FileName[MAX_FILENAME_LEN];
    00030     char AnimName[MAX_FILENAME_LEN];
    00031     enum Target_t
    00032     {
    00033         Target_Unknown,
    00034         Target_Actor,
    00035         Target_DWorld,
    00036     } Target;
    00037     bool ExportAnimation;
    00038     bool AnimationOnly;
    00039     bool OverwriteAnim;
    00040 };
    00041
    00042 bool DoDexiOptionDialog(HINSTANCE instance, DexiOptions* optionsData);
    00043
    00044
    00045 #endif // MSDEXIEXPORTER_HPP