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

60 lines
1.8 KiB
C++

//-----------------------------------------------------------------------------
// -------------------
// File ....: Client.h
// -------------------
// Author...: Gus J Grubba
// Date ....: November 1995
// O.S. ....: Windows NT 3.51
//
// History .: Nov, 18 1995 - Created
//
// 3D Studio Max Network Rendering
//
// Client
//
//-----------------------------------------------------------------------------
#ifndef _CLIENTINCLUDE_
#define _CLIENTINCLUDE_
#ifndef NETCEXPORT
#define NETCEXPORT __declspec( dllimport )
#endif
#include "Max.h"
#include <maxnet_archive.h>
#include <maxnet_job.h>
//-----------------------------------------------------------------------------
//-- Interface Class
class ClientInterface {
public:
virtual HINSTANCE HostInst () = 0;
virtual HWND HostWnd () = 0;
virtual TCHAR* GetDir (int i) = 0;
virtual TCHAR* GetAppDir () = 0;
virtual TCHAR* GetMaxFileName () = 0;
virtual bool SaveMaxFile (TCHAR *file, TCHAR *archivename, bool archive, DWORD *filesize)=0;
};
NETCEXPORT bool clAssignJob(ClientInterface* ci, Job* nj, CJobText* jobtext);
//-----------------------------------------------------------------------------
//-- Helper functions, for submitting jobs with MaxNet
#define INETCREATEHELPERS_INTERFACE_ID Interface_ID(0x1d65311, 0x7e6d8b)
class INetCreateHelpers : public FPStaticInterface {
public:
virtual void NetCreateJob( Job& nj, CJobText& jobText )=0;
virtual bool NetCreateArchive( Job& nj, TCHAR* archivename )=0;
};
inline INetCreateHelpers* GetINetCreateHelpers()
{ return (INetCreateHelpers*)GetCOREInterface(INETCREATEHELPERS_INTERFACE_ID);}
#endif
//-- EOF: Client.h ------------------------------------------------------------