Files
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

43 lines
1.1 KiB
C++

/**********************************************************************
*<
FILE: IMtlEdit.h
DESCRIPTION: Material Editor Interface
CREATED BY: Nikolai Sander
HISTORY: Created 6/22/00
*> Copyright (c) 2000, All Rights Reserved.
**********************************************************************/
class MtlBase;
class IMtlEditInterface : public FPStaticInterface
{
public:
// function IDs
enum {
fnIdGetCurMtl,
fnIdSetActiveMtlSlot,
fnIdGetActiveMtlSlot,
fnIdPutMtlToMtlEditor,
fnIdGetTopMtlSlot,
fnIdOkMtlForScene,
fnIdUpdateMtlEditorBrackets,
};
virtual MtlBase *GetCurMtl() = 0;
virtual void SetActiveMtlSlot(int i, BOOL forceUpdate = FALSE)=0;
virtual int GetActiveMtlSlot()=0;
virtual void PutMtlToMtlEditor(MtlBase *mtlBase, int slot)=0;
virtual MtlBase* GetTopMtlSlot(int slot)=0;
virtual BOOL OkMtlForScene(MtlBase *m)=0;
virtual void UpdateMtlEditorBrackets()=0;
};
#define MTLEDIT_INTERFACE Interface_ID(0x2c7b3f6e, 0x16fb35d4)
inline IMtlEditInterface* GetMtlEditInterface () { return (IMtlEditInterface *)GetCOREInterface(MTLEDIT_INTERFACE); }