Files
firestorm/Gameleap/code/mw4/Libraries/3dsmax4/Include/iMSZip.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

35 lines
1.1 KiB
C++

/*
* iMSZip.h - Public interface to MAXScript Zip Package Manager
*
* Copyright © Autodesk, Inc, 2000. John Wainwright.
*
*/
#ifndef _H_IMSZIP
#define _H_IMSZIP
class IMSZipMgr;
#define MSZIP_MGR_INTERFACE Interface_ID(0x26492c82, 0x10fc5210)
inline IMSZipMgr* GetMSZipMgr() { return (IMSZipMgr*)GetCOREInterface(MSZIP_MGR_INTERFACE); }
// class IMSZipMgr
// MAXScript Zip Package manager interface
class IMSZipMgr : public FPStaticInterface
{
public:
// function IDs
enum { fileInPackage,
unloadPackage,
};
virtual BOOL FileInPackage(TCHAR* file_name, TSTR& extract_dir)=0; // unload & run zip package, return extract-to directory
virtual BOOL UnloadPackage(TCHAR* file_name, TSTR& extract_dir,
TSTR& dropFile, MacroEntry*& dropScript)=0; // just unload the package, ignore any drop or run commands,
// return extract-to directory and any primary drop file
// if the primary dopFile is a .ds, compile it in context of
// package and return MAcroEntry* for it in 'dropScript'
};
#endif