Files
firestorm/Gameleap/code/mw4/Libraries/3dsmax2/include/IMPEXP.H
T
Cyd 2b8ca921cb Initial full mirror of c:\VWE (source + assets + toolchain + outputs) via Git LFS
Complete disaster-recovery snapshot: engine/game source, game data assets,
VC6 toolchain + DX SDKs, build outputs, deployed game, and _UNUSED archive.
Large binaries in Git LFS; text preserved byte-for-byte (core.autocrlf=false,
no eol attributes). See RECOVERY.md for the one-clone rebuild procedure.
2026-06-24 21:28:16 -05:00

69 lines
2.8 KiB
C++

/**********************************************************************
*<
FILE: impexp.h
DESCRIPTION: Includes for importing and exporting geometry files
CREATED BY: Tom Hudson
HISTORY: Created 26 December 1994
*> Copyright (c) 1994, All Rights Reserved.
**********************************************************************/
#ifndef _IMPEXP_H_
#define _IMPEXP_H_
// The following work on the specified file or bring up the browser if null
BOOL ImportFile(const TCHAR *buf = NULL, BOOL suppressPrompts=FALSE);
BOOL ExportFile(const TCHAR *buf = NULL, BOOL suppressPrompts=FALSE);
class ImpInterface;
class ExpInterface;
class Interface;
// Returned by DoImport, DoExport
#define IMPEXP_FAIL 0
#define IMPEXP_SUCCESS 1
#define IMPEXP_CANCEL 2
// The scene import/export classes. Right now, these are very similar, but this may change as things develop
class SceneImport {
public:
SceneImport() {};
virtual ~SceneImport() {};
virtual int ExtCount() = 0; // Number of extemsions supported
virtual const TCHAR * Ext(int n) = 0; // Extension #n (i.e. "3DS")
virtual const TCHAR * LongDesc() = 0; // Long ASCII description (i.e. "Autodesk 3D Studio File")
virtual const TCHAR * ShortDesc() = 0; // Short ASCII description (i.e. "3D Studio")
virtual const TCHAR * AuthorName() = 0; // ASCII Author name
virtual const TCHAR * CopyrightMessage() = 0; // ASCII Copyright message
virtual const TCHAR * OtherMessage1() = 0; // Other message #1
virtual const TCHAR * OtherMessage2() = 0; // Other message #2
virtual unsigned int Version() = 0; // Version number * 100 (i.e. v3.01 = 301)
virtual void ShowAbout(HWND hWnd) = 0; // Show DLL's "About..." box
virtual int DoImport(const TCHAR *name,ImpInterface *ii,Interface *i, BOOL suppressPrompts=FALSE) = 0; // Import file
};
class SceneExport {
public:
SceneExport() {};
virtual ~SceneExport() {};
virtual int ExtCount() = 0; // Number of extemsions supported
virtual const TCHAR * Ext(int n) = 0; // Extension #n (i.e. "3DS")
virtual const TCHAR * LongDesc() = 0; // Long ASCII description (i.e. "Autodesk 3D Studio File")
virtual const TCHAR * ShortDesc() = 0; // Short ASCII description (i.e. "3D Studio")
virtual const TCHAR * AuthorName() = 0; // ASCII Author name
virtual const TCHAR * CopyrightMessage() = 0; // ASCII Copyright message
virtual const TCHAR * OtherMessage1() = 0; // Other message #1
virtual const TCHAR * OtherMessage2() = 0; // Other message #2
virtual unsigned int Version() = 0; // Version number * 100 (i.e. v3.01 = 301)
virtual void ShowAbout(HWND hWnd) = 0; // Show DLL's "About..." box
virtual int DoExport(const TCHAR *name,ExpInterface *ei,Interface *i, BOOL suppressPrompts=FALSE) = 0; // Export file
};
#endif // _IMPEXP_H_